1 2019-07-01 Florian Weimer <fweimer@redhat.com>
4 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
5 Replace __vfork with __libpthread_version_placeholder for
7 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
8 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
10 * nptl/pt-vfork.c: Remove file.
11 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
12 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
13 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
14 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
15 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
16 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
17 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
18 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
19 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
20 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
21 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
22 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
23 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
24 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
25 Remove vfork, __vfork.
26 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
28 (GLIBC_2.1.2): Replace __vfork with
29 __libpthread_version_placeholder.
30 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
31 Remove vfork, __vfork.
32 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
34 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
36 (GLIBC_2.1.2): Replace __vfork with
37 __libpthread_version_placeholder.
38 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
40 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
41 (GLIBC_2.4): Remove vfork, __vfork.
42 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
43 (GLIBC_2.0): Remove vfork.
44 (GLIBC_2.1.2): Replace __vfork with
45 __libpthread_version_placeholder.
46 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
47 (GLIBC_2.18): Remove vfork, __vfork.
48 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
49 (GLIBC_2.0): Remove vfork.
50 (GLIBC_2.2): Remove __vfork.
51 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
52 (GLIBC_2.2): Remove vfork, __vfork.
53 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
54 (GLIBC_2.0): Remove vfork.
55 (GLIBC_2.1.2): Replace __vfork with
56 __libpthread_version_placeholder.
57 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
58 (GLIBC_2.3): Remove vfork, __vfork.
59 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
60 (GLIBC_2.17): Likewise.
61 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
62 (GLIBC_2.0): Remove vfork.
63 (GLIBC_2.1.2): Replace __vfork with
64 __libpthread_version_placeholder.
65 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
66 (GLIBC_2.2): Remove vfork, __vfork.
67 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
69 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
70 (GLIBC_2.0): Remove vfork.
71 (GLIBC_2.1.2): Replace __vfork with
72 __libpthread_version_placeholder.
73 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
74 (GLIBC_2.2): Remove vfork, __vfork.
75 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
76 (GLIBC_2.2.5): Likewise.
77 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
78 (GLIBC_2.16): Likewise.
79 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
80 Remove __errno_location.
82 2019-07-02 Florian Weimer <fweimer@redhat.com>
85 * malloc/Depend: Add nptl and htl, due to potential indirect
86 libpthread dependency of memusagestat.
88 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
90 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
93 2019-07-01 Florian Weimer <fweimer@redhat.com>
95 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
96 variant for arm-linux-gnueabi.
98 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
101 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
103 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
104 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
105 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
106 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
107 and tst-cet-legacy-mod-6c.
108 (CFLAGS-tst-cet-legacy-5a.c): New.
109 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
110 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
111 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
112 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
113 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
114 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
115 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
116 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
117 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
118 ($(objpfx)tst-cet-legacy-5a): Likewise.
119 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
120 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
121 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
122 ($(objpfx)tst-cet-legacy-5b): Likewise.
123 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
124 (tst-cet-legacy-5b-ENV): Likewise.
125 ($(objpfx)tst-cet-legacy-6a): Likewise.
126 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
127 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
128 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
129 ($(objpfx)tst-cet-legacy-6b): Likewise.
130 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
131 (tst-cet-legacy-6b-ENV): Likewise.
132 * sysdeps/x86/tst-cet-legacy-5.c: New file.
133 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
134 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
135 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
136 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
137 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
138 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
139 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
140 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
141 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
142 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
143 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
144 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
145 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
147 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
149 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
150 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
151 (__fegetround_ISA300) New.
152 (__fegetround_ISA2) New.
153 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
154 (_FPU_MFFS): Move implementation...
156 (_FPU_MFFSL): Move implementation....
157 (_FPU_GET_RC_ISA300): Here. New.
158 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
159 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
160 (fegetenv_status): New.
161 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
162 instead of fegetenv_register().
163 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
165 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
167 * benchtests/bench-math-inlines.c: Increase iterations.
168 * benchtests/bench-memcmp.c: Likewise.
169 * benchtests/bench-rawmemchr.c: Likewise.
170 * benchtests/bench-strcmp.c: Likewise.
171 * benchtests/bench-strcpy_chk.c: Likewise.
172 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
173 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
174 (INNER_LOOP_ITERS_SMALL): Likewise.
175 * benchtests/bench-strncat.c: Increase iterations.
176 * benchtests/bench-strncmp.c: Increase iterations.
177 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
178 * benchtests/bench-strrchr.c: Increase iterations.
179 * benchtests/bench-strstr.c: Keep iterations unchanged.
180 * benchtests/bench-strtod.c: Increase iterations.
182 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
184 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
185 with INNER_LOOP_ITERS_LARGE.
186 * benchtests/bench-memchr.c: Likewise.
187 * benchtests/bench-rawmemchr.c: Likewise.
188 * benchtests/bench-strcat.c: Likewise.
189 * benchtests/bench-strchr.c: Likewise.
190 * benchtests/bench-string.h: Likewise.
191 * benchtests/bench-strlen.c: Likewise.
192 * benchtests/bench-strncpy.c: Likewise.
193 * benchtests/bench-strnlen.c: Likewise.
195 2019-06-28 Florian Weimer <fweimer@redhat.com>
197 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
198 Use mmap instead of malloc. malloc with M_PERTURB writes to the
199 entire allocated memory range.
201 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
203 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
204 (prepare_version_base): New helper inline function.
205 (prepare_version): New macro replacing PREPARE_VERSION.
206 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
208 2019-06-28 Florian Weimer <fweimer@redhat.com>
211 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
212 mismatch in a versioned symbol reference.
213 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
214 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
215 tst-sonamemove-dlopen.
216 (module-names): Add tst-sonamemove-linkmod1,
217 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
218 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
219 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
220 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
221 (tst-sonamemove-runmod1.so): Link against
222 tst-sonamemove-runmod2.so.
223 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
224 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
225 tst-sonamemove-runmod2.so.
226 (tst-sonamemove-dlopen): Link with -ldl.
227 (tst-sonamemove-dlopen.out): Likewise.
228 * elf/tst-sonamemove-link.c: New file.
229 * elf/tst-sonamemove-dlopen.c: Likewise.
230 * elf/tst-sonamemove-linkmod1.c: Likewise.
231 * elf/tst-sonamemove-linkmod1.map: Likewise.
232 * elf/tst-sonamemove-runmod1.c: Likewise.
233 * elf/tst-sonamemove-runmod1.map: Likewise.
234 * elf/tst-sonamemove-runmod2.c: Likewise.
235 * elf/tst-sonamemove-runmod2.map: Likewise.
237 2019-06-28 Florian Weimer <fweimer@redhat.com>
239 * support/xdlfcn.h (xdlvsym): Declare function.
240 * support/xdlfcn.c (xdlvsym): Define funciton.
242 2019-06-28 Florian Weimer <fweimer@redhat.com>
245 io: Remove the copy_file_range emulation.
246 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
247 not define and call copy_file_range_compat.
248 * io/Makefile (tests-static, tests-internal): Do not add
249 tst-copy_file_range-compat.
250 * io/copy_file_range-compat.c: Remove file.
251 * io/copy_file_range.c (copy_file_range): Define as stub.
252 * io/tst-copy_file_range-compat.c: Remove file.
253 * io/tst-copy_file_range.c (xdevfile): Remove variable.
254 (typical_sizes): Update comment. Remove 16K sizes.
255 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
257 (find_maximum_offset, pipe_as_source, pipe_as_destination)
258 (delayed_write_failure_beginning, delayed_write_failure_end)
259 (cross_device_failure, enospc_failure_1, enospc_failure)
260 (oappend_failure): Remove functions.
261 (tests): Adjust test case list.
262 (do_test): Remove file system search code. Check for ENOSYS from
263 copy_file_range. Do not free xdevfile.
264 * manual/llio.texi (Copying File Data): Document ENOSYS error from
265 copy_file_range. Do not document the EXDEV error, which future
266 kernels may not report. Update the wording to reflect that
267 further errors are possible.
268 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
269 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
271 * sysdeps/unix/sysv/linux/arm/kernel-features.h
272 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
274 * sysdeps/unix/sysv/linux/kernel-features.h
275 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
277 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
278 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
280 * sysdeps/unix/sysv/linux/sh/kernel-features.h
281 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
284 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
286 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
287 used as a mask for the mode argument of __vfprintf_internal.
288 * stdio-common/printf-parse.h (printf_arg): New union member:
290 * stdio-common/vfprintf-internal.c
291 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
292 (PARSE_FLOAT_VA_ARG): Likewise.
293 (SETUP_FLOAT128_INFO): Likewise.
294 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
296 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
297 floating-point value to the new union member, pa_float128.
298 (printf_positional): Zero-initialize args_value[cnt] with memset.
300 2019-06-27 Florian Weimer <fweimer@redhat.com>
303 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
304 buffer size if necessary.
305 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
307 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
309 (large_buffer_checks): Likewise.
310 (do_test): Call large_buffer_checks.
312 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
314 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
315 * sysdeps/x86/dl-lookupcfg.h: Here.
316 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
318 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
321 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
322 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
324 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
325 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
326 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
327 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
328 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
330 * sysdeps/powerpc/powerpc32/fpu/Makefile
331 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
332 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
333 and fctidz optimization.
334 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
335 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
337 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
338 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
339 CFLAGS-s_lround-power5+.c): New rule.
340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
360 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
361 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
362 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
363 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
364 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
365 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
366 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
368 2019-06-26 Vincent Chen <vincentc@andestech.com>
370 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
371 specific system calls, fp_udfiex_crtl and udftrap.
373 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
375 * nptl/tst-eintr1.c (tf1): Add return statement.
376 (do_test): Remove unused th variable.
378 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
380 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
381 Return error if get_character fails.
383 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
385 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
387 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
390 * localedata/locales/szl_PL (day): Use the correct Unicode
391 sequences instead of non-ASCII characters.
393 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
396 * localedata/locales/szl_PL (abday): Spelling corrections.
400 (alt_mon): This, then apply spelling corrections.
401 (mon): New entry, month names in the genitive case.
403 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
406 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
407 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
408 (thousands_sep): Likewise.
409 (grouping): Set to 3;3.
411 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
413 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
414 PREPARE_VERSION_KNOWN.
415 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
416 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
418 (VDSO_HASH_LINUX_2_6_39): Likewise.
419 (VDSO_NAME_LINUX_4_9): Likewise.
420 (VDSO_HASH_LINUX_4_9): Likewise.
421 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
422 * sysdeps/unix/sysv/linux/powerpc/init-first.c
423 (_libc_vdso_platform_setup): Likewise.
424 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
425 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
427 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
430 2019-06-20 Mike Crowe <mac@mcrowe.com>
432 * nptl/eintr.c: Use libsupport.
433 * nptl/tst-eintr1.c: Likewise.
434 * nptl/tst-eintr2.c: Likewise.
435 * nptl/tst-eintr3.c: Likewise.
436 * nptl/tst-eintr4.c: Likewise.
437 * nptl/tst-eintr5.c: Likewise.
438 * nptl/tst-mutex-errorcheck.c: Likewise.
439 * nptl/tst-mutex5.c: Likewise.
441 * support/test-driver.h: Add verbose_printf macro.
443 * support/xtime.h: Add xclock_now() helper function.
445 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
446 Florian Weimer <fweimer@redhat.com>
449 * libio/genops.c (_IO_unbuffer_all)
450 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
451 buffers and access _IO_FILE_complete members of legacy libio streams.
452 * libio/tst-bz24228.c: New file.
453 * libio/tst-bz24228.map: Likewise.
454 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
455 [build-shared] (generated): Add tst-bz24228.mtrace and
457 [run-built-tests && build-shared] (tests-special): Add
458 $(objpfx)tst-bz24228-mem.out.
459 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
460 ($(objpfx)tst-bz24228-mem.out): New rule.
462 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
464 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
465 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
466 (__FPU_MFFSL): Likewise.
467 (_FPU_SETCW): Likewise.
469 2019-06-19 Stan Shebs <stanshebs@google.com>
470 Raoni Fassina Firmino <raoni@linux.ibm.com>
473 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
474 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
475 static-linking version.
476 * sysdeps/unix/sysv/linux/powerpc/Makefile
477 (tests-static): Add test-gettimebasefreq-static.
479 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
482 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
485 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
486 between the currency symbol and the minus sign).
487 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
489 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
492 * string/test-strcasestr.c (check_result): Add NULL check.
493 * nss/tst-field.c (check_rewrite): Likewise.
494 * benchtests/bench-strstr.c (do_one_test): Likewise.
495 * string/test-strstr.c (check_result): Likewise.
496 * argp/argp-test.c (popt): Increase size of buf to 12.
497 * benchtests/bench-malloc-simple.c (bench):
498 Do not initialize tests array out of bounds.
500 2019-06-19 Florian Weimer <fweimer@redhat.com>
503 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
506 2019-06-18 Florian Weimer <fweimer@redhat.com>
509 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
510 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
511 fail when called from dlopen.
512 * elf/Makefile [have-fpie && build-shared] (tests): Add
514 (tst-dlopen-pie): Link with -ldl.
515 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
516 * elf/tst-dlopen-pie.c (do_test): New file.
518 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
521 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
522 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
523 between the currency symbol and the minus sign).
524 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
525 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
527 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
529 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
530 sysdep-rtld-routines): Remove rules.
531 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
532 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
533 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
534 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
535 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
536 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
537 vDSO path for SHARED.
538 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
539 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
540 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
541 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
542 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
543 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
545 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
546 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
547 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
548 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
549 CFLAGS-s_llround-power5+.c): New rule.
550 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
552 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
554 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
556 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
558 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
561 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
563 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
565 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
566 * sysdeps/powerpc/powerpc64/fpu/Makefile
567 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
568 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
569 (libm-sysdep_routines): Remove s_llround-* objects.
570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
580 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
581 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
582 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
583 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
584 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
585 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
586 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
587 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
588 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
589 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
590 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
591 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
592 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
593 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
595 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
596 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
597 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
598 * sysdeps/powerpc/powerpc32/fpu/Makefile
599 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
600 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
602 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
603 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
604 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
606 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
607 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
608 CFLAGS-s_lrint-ppc32.c): New rule.
609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
619 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
620 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
621 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
622 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
634 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
635 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
637 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
638 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
640 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
642 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
645 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
647 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
649 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
650 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
651 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
652 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
653 (libm-sysdep_routines): Remove s_llrint-* objects.
654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
659 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
660 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
661 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
662 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
663 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
664 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
665 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
666 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
667 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
669 2019-06-14 Florian Weimer <fweimer@redhat.com>
671 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
672 argument to __glibc_has_include to inhibit macro expansion.
674 2019-06-14 Florian Weimer <fweimer@redhat.com>
676 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
677 function-like macro, so that __has_include can inhibit expansion
680 2019-06-13 Joseph Myers <joseph@codesourcery.com>
682 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
686 Allow memset in libc.so.
688 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
690 * sysdeps/aarch64/dl-dtprocnum.h: New file.
691 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
692 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
693 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
694 symbols at load time.
695 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
697 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
699 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
700 (DT_AARCH64_VARIANT_PCS): Define.
702 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
705 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
715 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
716 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
717 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
718 Remove s_finite* objects.
719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
725 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
726 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
727 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
728 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
730 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
731 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
734 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
744 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
745 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
746 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
747 Remove s_isinf* and s_isinf* objects.
748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
754 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
755 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
756 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
757 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
759 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
760 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
762 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
763 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
764 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
766 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
782 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
783 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
784 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
785 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
786 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
787 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
788 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
789 Remove s_isnan-* and s_isnanf-* objects.
790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
799 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
800 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
801 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
802 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
803 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
804 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
805 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
806 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
808 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
809 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
811 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
812 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
813 CFLAGS-bench-isfinite.c): New rule.
814 * benchtests/isnan-input: New file.
815 * benchtests/isinf-input: New file.
816 * benchtests/isfinite-input: New file.
818 * sysdeps/powerpc/fpu/s_copysign.c: New file.
819 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
820 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
821 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
823 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
833 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
834 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
836 Remove s_copysign-power6 s_copysign-ppc64.
837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
843 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
844 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
845 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
846 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
848 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
849 round_to_integer_float, round_mode): Add RINT handling.
850 (reset_fenv_mode): New symbol.
851 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
852 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
853 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
854 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
855 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
856 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
858 2019-06-12 Florian Weimer <fweimer@redhat.com>
861 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
862 * libio/freopen.c (freopen): Use it.
864 2019-06-12 Florian Weimer <fweimer@redhat.com>
866 Linux: Deprecate sysctl.
867 * include/sysctl.h (__sysctl): Remove declaration.
868 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
870 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
871 (sysctl): Add deprecation attribute.
872 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
873 directly, to avoid the deprecation warning. Do not include
875 (__sysctl): Remove hidden alias.
877 2019-06-12 Florian Weimer <fweimer@redhat.com>
879 Linux: Use kernel headers for statx definitions if available.
880 * include/bits/statx-generic.h: New file.
881 * include/bits/types/struct_statx.h: Likewise.
882 * include/bits/types/struct_statx_timestamp.h: Likewise.
883 * io/Makefile (headers): Add bits/statx-generic.h.
884 * io/bits/statx-generic.h: New file. Partly copied from
886 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
887 define original_statx.
888 * io/bits/types/struct_statx.h: Likewise.
889 * io/bits/types/struct_statx_timestamp.h: Likewise.
890 (statx_generic): Use original_statx.
891 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
892 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
894 2019-06-12 Florian Weimer <fweimer@redhat.com>
896 * misc/sys/cdefs.h (__glibc_has_include): Define.
898 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
900 * string/memmem.c (__memmem): Rewrite to improve performance.
902 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
904 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
906 (two_way_long_needle): Block inlining.
907 * string/strstr.c (strstr2): Add new function.
909 (STRSTR): Completely rewrite strstr to improve performance.
911 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
913 * benchtests/bench-strstr.c (test_hard_needle): New function.
915 2019-06-10 Joseph Myers <joseph@codesourcery.com>
917 * malloc/tst-calloc.c: Include <libc-diag.h>.
918 (null_test): Ignore -Wunused-result around calls to calloc.
919 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
920 (do_test): Ignore -Wunused-result around call to malloc.
922 2019-06-07 Florian Weimer <fweimer@redhat.com>
924 Linux: Add getdents64 system call.
925 * include/dirnent.h (getdents): Add comment and change buffer
926 argument type to void *.
927 (getdents64): Likewise. Add hidden prototype.
928 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
930 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
932 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
933 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
934 argument type to void *.
935 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
936 Add hidden definition and getdents64 alias.
937 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
939 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
940 * manual/filesys.texi (Accessing Directories): Add Low-level
941 Directory Access node reference.
942 (Opening a Directory): Cross-reference it.
943 (Low-level Directory Access): New node.
944 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
946 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
948 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
949 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
951 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
953 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
955 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
957 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
959 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
961 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
963 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
964 (GLIBC_2.30): Likewise.
965 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
966 (GLIBC_2.30): Likewise.
967 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
968 (GLIBC_2.30): Likewise.
969 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
970 (GLIBC_2.30): Likewise.
971 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
974 (GLIBC_2.30): Likewise.
975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
976 (GLIBC_2.30): Likewise.
977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
978 (GLIBC_2.30): Likewise.
979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
980 (GLIBC_2.30): Likewise.
981 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
983 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
985 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
987 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
988 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
990 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
992 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
994 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
997 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
999 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1003 (_FPU_GETCW): Use __FPU_MFFS().
1004 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1006 2019-06-06 Florian Weimer <fweimer@redhat.com>
1008 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1009 internal GCC preprocessor identifier __has_include__.
1011 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
1013 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1014 with call to equivalent function.
1016 2019-06-04 Florian Weimer <fweimer@redhat.com>
1018 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1019 (do_release_shlib): Adjust for __twalk_r.
1020 (__gconv_release_shlib): Call __twalk_r.
1022 2019-06-04 Andreas Schwab <schwab@suse.de>
1025 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
1026 no irreversible characters occurred.
1027 * iconv/gconv_simple.c (internal_ucs4_loop)
1028 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
1029 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
1030 (ucs4_internal_loop_single, internal_ucs4le_loop)
1031 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
1032 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
1033 (ucs4le_internal_loop_single): Add const to outend.
1034 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
1035 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
1036 * iconv/Makefile (tests): Add tst-iconv7.
1037 * iconv/tst-iconv7.c: New file.
1039 2019-06-03 Joseph Myers <joseph@codesourcery.com>
1041 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
1043 2019-06-01 Florian Weimer <fweimer@redhat.com>
1045 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
1046 * sysdeps/unix/sysv/linux/arm/Makefile
1047 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
1048 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
1049 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
1050 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
1051 compatibility symbols.
1053 2019-05-31 Florian Weimer <fweimer@redhat.com>
1055 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
1056 system calls for the arm architecture: breakpoint, get_tls,
1057 set_tls, usr26, usr32.
1059 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1061 * sysdeps/powerpc/Makefile
1062 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
1063 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
1064 Declare '.machine power7' to get support for ldbrx.
1065 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
1066 directive based on the directory of the file.
1067 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1068 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1069 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
1070 '.machine' directive.
1071 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
1072 (VADDUQM_V7_V8): Remove.
1073 (__STRCASECMP): Replace macros with actual instructions.
1074 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
1075 '.machine' directive.
1076 (VCLZD_V8_v7): Remove.
1077 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
1079 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1081 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
1083 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
1085 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1087 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1089 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
1090 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
1091 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
1092 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
1093 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1094 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1096 2019-05-28 mansayk <6688000@gmail.com>
1099 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1101 2019-05-28 mansayk <6688000@gmail.com>
1104 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1105 (abmon): Likewise, but remove the trailing dots.
1107 2019-05-28 Joseph Myers <joseph@codesourcery.com>
1109 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1111 2019-05-27 Florian Weimer <fweimer@redhat.com>
1113 * nptl/nptl-init.c: Add comment.
1115 2019-05-24 Florian Weimer <fweimer@redhat.com>
1117 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1118 struct in_addr/struct in6_addr alignment.
1120 2019-05-23 Joseph Myers <joseph@codesourcery.com>
1122 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1123 (F_SEAL_FUTURE_WRITE): New macro.
1125 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1127 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1128 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1129 * elf/tst-ldconfig_aux-cache.root: New directory.
1130 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1131 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1132 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1134 2019-05-22 Zack Weinberg <zackw@panix.com>
1136 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1138 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1139 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1141 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1146 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1147 Issue an #error if used with a compiler in SPE-float mode.
1148 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1149 * sysdeps/powerpc/powerpc32/setjmp_common.S
1150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1156 Remove code to preserve SPE register state.
1158 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1159 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1160 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1161 Remove __SPE__ ifndefs.
1163 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1165 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1166 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1167 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1168 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1169 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1170 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1171 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1172 (INNER_LOOP_ITERS_MEDIUM): New define.
1173 (INNER_LOOP_ITERS_SMALL): New define.
1174 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1175 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1176 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1177 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1178 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1180 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1182 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1184 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1185 (SEMTIMEDOP_IPC_ARGS): Likewise.
1187 2019-05-21 Florian Weimer <fweimer@redhat.com>
1190 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1191 before updating __counter field and release it afterwards. Add
1193 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1194 requirement for __counter member.
1196 2019-05-21 Florian Weimer <fweimer@redhat.com>
1199 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1200 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1201 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1202 instead of __gconv_release_step.
1203 * libio/Makefile (tests): Add tst-wfile-gconv.
1204 (tests-container): Add tst-wfile-ascii.
1205 (tst-wfile-gconv-ENV): Enable mtrace.
1206 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1207 (tests-special): Add tst-wfile-gconv-mem.out.
1208 (tst-wfile-gconv.out): Depend on locales.
1209 (tst-wfile-gconv-mem.out): Add mtrace rule.
1210 * libio/tst-wfile-ascii.c: New file.
1211 * libio/tst-wfile-gconv.c: Likewise.
1213 2019-05-20 Florian Weimer <fweimer@redhat.com>
1216 libio: Remove codecvt vtable.
1217 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1219 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1220 __libio_codecvt_encoding.
1221 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1222 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1223 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1224 * libio/iofwide.c (__libio_codecvt): Remove variable.
1225 (_IO_fwide): Do not copy __libio_codecvt.
1226 (__libio_codecvt_out): Rename from do_out and export.
1227 (do_unshift): Remove function.
1228 (__libio_codecvt_in): Rename from do_in and export.
1229 (__libio_codecvt_encoding): Rename from do_encoding and export.
1230 (do_always_noconv): Remove function.
1231 (__libio_codecvt_length): Rename from do_length and export.
1232 (do_max_length): Remove function.
1233 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1235 (struct _IO_codecvt): Remove fields __codecvt_destr,
1236 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1237 __codecvt_do_encoding, __codecvt_do_always_noconv,
1238 __codecvt_do_length, __codecvt_do_max_length.
1239 * libio/libioP.h (enum __codecvt_result): Define; moved from
1241 (__libio_codecvt_out, __libio_codecvt_in)
1242 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1244 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1245 (_IO_wfile_underflow): Call __libio_codecvt_in.
1246 (_IO_wfile_underflow): Likewise.
1247 (_IO_wfile_underflow_mmap): Likewise.
1248 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1249 __libio_codecvt_length.
1250 (adjust_wide_data): Call __libio_codecvt_encoding,
1252 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1253 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1254 __libio_codecvt_length.
1256 2019-05-20 Florian Weimer <fweimer@redhat.com>
1258 * support/support.h (support_sbindir_prefix): Declare.
1259 (support_install_rootsbindir): Update comment.
1260 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1261 * support/support_paths.c (support_sbindir_prefix): Define.
1263 2019-05-20 Mike Crowe <mac@mcrowe.com>
1265 * support/timespec.c: Add backslash to correct newline in failure
1268 * support/timespec.h: Correct confusing comment.
1270 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1272 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1274 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1275 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1276 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1277 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1280 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1283 2019-05-20 Joseph Myers <joseph@codesourcery.com>
1285 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1286 (NT_ARM_PACG_KEYS): Likewise.
1288 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1290 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1291 (tcache_put): Remove redundant assert.
1292 (tcache_get): Remove redundant asserts.
1293 (__libc_malloc): Check tcache count is not zero.
1294 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1296 2019-05-17 Florian Weimer <fweimer@redhat.com>
1298 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1300 2019-05-16 Joseph Myers <joseph@codesourcery.com>
1302 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1303 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1305 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1307 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1308 (__ASSUME_STATX): Likewise.
1310 2019-05-16 Florian Weimer <fweimer@redhat.com>
1312 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
1314 (LINE_PARSER): Do not map IPv4 addresses.
1315 (internal_nis_gethostent_r): Remove flags argument. Adjust call
1317 (_nss_nis_gethostent_r): Always pass AF_INET to
1318 internal_nis_gethostent_r.
1319 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1321 (_nss_nis_gethostbyname2_r): Adjust call to
1322 internal_nis_gethostent_r.
1323 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
1324 call to internal_nis_gethostent_r.
1325 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
1327 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1328 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1329 Remove flags argument. Do not map IPv4 addresses.
1330 (internal_nisplus_gethostent_r): Adjust call to
1331 _nss_nisplus_parse_hostent.
1332 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1333 to _nss_nisplus_parse_hostent.
1334 (_nss_nisplus_gethostbyname2_r): Adjust call to
1335 internal_gethostbyname2_r.
1336 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1337 Adjust call to internal_gethostbyname2_r.
1338 (_nss_nisplus_gethostbyaddr_r): Adjust call to
1339 _nss_nisplus_parse_hostent.
1340 (_nss_nisplus_gethostbyname4_r): Adjust call to
1341 internal_gethostbyname2_r.
1343 2019-05-16 Florian Weimer <fweimer@redhat.com>
1345 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
1347 (LINE_PARSER): Remove address mapping.
1348 (EXTRA_ARGS_VALUE): Remove flags argument.
1349 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
1350 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
1351 gethostbyname3_multi.
1352 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
1353 _nss_files_gethostbyname3_r.
1354 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
1356 2019-05-16 Florian Weimer <fweimer@redhat.com>
1358 * support/support_test_compare_blob.c (report_blob): Report
1359 incorrect NULL blobs.
1361 2019-05-15 Mark Wielaard <mark@klomp.org>
1364 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
1365 __libc_once_get (once) and static_buf == NULL.
1366 (__dlerror): Check we have a valid key, set result to static_buf
1369 2019-05-15 Andreas Schwab <schwab@suse.de>
1372 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
1373 __codecvt_do_length.
1374 * libio/Makefile (tests): Add tst-wfile-sync.
1375 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
1376 * libio/tst-wfile-sync.c: New file.
1377 * libio/tst-wfile-sync.input: New file.
1379 2019-05-15 Florian Weimer <fweimer@redhat.com>
1381 nss: Turn __nss_database_lookup into a compatibility symbol.
1382 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
1383 __nss_database_lookup.
1384 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
1385 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
1386 __nss_database_lookup.
1387 (__nss_next): Move to …
1388 * nss/compat-lookup.c (nss_next): … here. Change it to fail
1390 (__nss_database_lookup): New function.
1391 * nss/Versions (GLIBC_2.0): Update comment.
1392 (GLIBC_PRIVATE): Export __nss_database_lookup2.
1393 * grp/initgroups.c (internal_getgrouplist): Call
1394 __nss_database_lookup2 instead of __nss_database_lookup.
1395 * nscd/aicache.c (addhstaiX): Likewise.
1396 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1397 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1398 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
1399 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
1400 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
1402 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
1403 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
1404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1406 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
1408 * support/support.h (support_install_rootsbindir): New variable.
1409 * support/support_paths.c: Likewise.
1410 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
1412 2019-05-15 Florian Weimer <fweimer@redhat.com>
1414 * iconv/gconv.h (__gconv_transliterate): Move declaration …
1415 * iconv/gconv_int.h (__gconv_transliterate): … here.
1416 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
1417 * iconv/skeleton.c: Likewise.
1419 2019-05-14 Florian Weimer <fweimer@redhat.com>
1421 Linux: Add the tgkill function.
1422 * bits/signal_ext.h: New file.
1423 * manual/signal.texi (Signaling Another Process): Document tgkill.
1424 * signal/Makefile (headers): Add bits/signal_ext.h.
1425 * signal/signal.h: Include <bits/signal_ext.h>.
1426 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
1427 (tst-tgkill): Link with libpthread.
1428 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
1429 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
1430 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
1431 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1433 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1434 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1435 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1436 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1437 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1438 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1439 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1440 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1441 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1442 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1443 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1445 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1446 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1447 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
1456 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1457 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1458 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1459 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1460 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1461 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1462 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1463 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1465 2019-05-14 Carlos O'Donell <carlos@redhat.com>
1467 * manual/search.texi (Tree Search Function): Adjust twalk_r
1470 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1473 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1476 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1477 * support/support.h (support_bindir_prefix): New variable.
1478 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1480 * config.make.in (bindir): New variable.
1482 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1483 (lll_trylock): Call __lll_trylock.
1484 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1485 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1486 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1487 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1488 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1489 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1490 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1491 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1492 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1493 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1494 lowlevellock-futex.h.
1496 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1497 initialization for LLL_LOCK_INITIALIZER different than 0.
1498 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1499 Assume LLL_LOCK_INITIALIZER being 0.
1500 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1501 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1503 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1504 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1506 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1507 Optimize futex call and add systemtap probe.
1509 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1510 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1511 __libc_disable_asynccancel, __librt_enable_asynccancel,
1512 __libc_disable_asynccancel, __librt_enable_asynccancel,
1513 __librt_disable_asynccancel): Move to ...
1514 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1515 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1516 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1517 * sysdeps/generic/single-thread.h: New file.
1518 * sysdeps/unix/sysdep.h: Include single-thread.h.
1519 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1520 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1522 2019-05-08 Mike FABIAN <mfabian@redhat.com>
1525 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1526 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1528 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1529 * localedata/unicode-gen/PropList.txt: Likewise.
1530 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1531 * localedata/charmaps/UTF-8: Regenerate.
1532 * localedata/locales/i18n_ctype: Likewise.
1533 * localedata/locales/tr_TR: Likewise.
1534 * localedata/locales/translit_circle: Likewise.
1535 * localedata/locales/translit_cjk_compat: Likewise.
1536 * localedata/locales/translit_combining: Likewise.
1537 * localedata/locales/translit_compat: Likewise.
1538 * localedata/locales/translit_font: Likewise.
1539 * localedata/locales/translit_fraction: Likewise.
1541 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1544 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1545 (do_set_tcache_count): Only update if count is small enough.
1546 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1548 2019-05-10 Florian Weimer <fweimer@redhat.com>
1550 * nptl/sem_close.c (struct walk_closure): Define.
1551 (walker): Adjust for __twalk_r.
1552 (sem_close): Call __twalk_r.
1554 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1556 * support/timespec.c (test_timespec_before_impl,
1557 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1560 2019-05-09 Mike Crowe <mac@mcrowe.com>
1562 * nptl/tst-abstime.c: Use libsupport.
1564 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1565 small bug where only tv.tv_usec was checked which could cause an
1566 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1569 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1572 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1573 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1575 * nptl/tst-cond11.c: Use libsupport.
1577 * support/timespec.h: New file. Provide timespec helper functions
1578 along with macros in the style of those in check.h.
1579 * support/timespec.c: New file. Implement check functions declared
1580 in support/timespec.h.
1581 * support/timespec-add.c: New file from gnulib containing
1582 timespec_add implementation that handles overflow.
1583 * support/timespec-sub.c: New file from gnulib containing
1584 timespec_sub implementation that handles overflow.
1585 * support/README: Mention timespec.h.
1587 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1590 * nptl/Makefile: Move tst-eintr1 to xtests.
1592 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1594 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1596 (round_mode): Add definition for TRUNC.
1597 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1598 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1599 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1600 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1601 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1603 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1605 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1607 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1609 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1611 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1613 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1615 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1617 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1618 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1619 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1620 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1621 s_truncf-power5+, and s_truncf-ppc64.
1622 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1623 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1625 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1627 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1628 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1630 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1633 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1634 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1635 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1636 s_truncf-power5+, and s_truncf-ppc64.
1637 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1639 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1640 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1642 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1643 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1644 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1645 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1646 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1648 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1650 (round_mode): Add definition for ROUND.
1651 (round_to_integer_float): Likewise.
1652 * sysdeps/powerpc/fpu/s_round.c: New file.
1653 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1654 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1655 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1656 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1658 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1660 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1662 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1664 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1666 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1668 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1670 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1672 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1673 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1674 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1675 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1676 s_roundf-power5+, and s_roundf-ppc64.
1677 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1678 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1680 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1682 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1683 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1685 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1688 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1689 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1690 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1691 s_roundf-power5+, and s_roundf-ppc64.
1692 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1694 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1695 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1697 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1698 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1699 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1700 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1701 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1703 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1705 (round_mode): Add definition for FLOOR.
1706 * sysdeps/powerpc/fpu/s_floor.c: New file.
1707 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1708 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1709 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1726 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1727 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1728 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1729 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1730 s_floorf-power5+, and s_floorf-ppc64.
1731 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1732 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1734 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1736 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1737 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1739 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1742 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1744 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1745 s_floorf-power5+, and s_floorf-ppc64.
1746 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1754 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1755 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1756 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1757 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1759 2019-05-08 Mike Crowe <mac@mcrowe.com>
1761 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1762 clock_gettime wrapper for use in tests that fails the test rather
1763 than returning failure.
1765 * support/xtime.h: New file to declare xclock_gettime.
1767 * support/Makefile: Add xclock_gettime.c.
1769 * support/README: Mention xtime.h.
1771 2019-05-08 Florian Weimer <fweimer@redhat.com>
1773 malloc/tst-mallocfork2: Use process-shared barriers.
1774 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1775 (signal_count, sigusr1_sender_pid): Remove.
1776 (iterations): Define constant.
1777 (shared): New variable.
1778 (sigusr1_received): Update comment.
1779 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1780 (signal_sender): Optional use barriers to avoid sending signals
1781 during irrelevant times.
1782 (do_it): Initialize variable shared. Use xfork for error
1783 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1784 the iteration count, independent of signal delivery. Check for
1785 deadlocks in fork. Introduce barriers for reducing signal
1786 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1787 replaced by the barriers. Count signals during fork/free/malloc
1789 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1791 2019-05-07 Joseph Myers <joseph@codesourcery.com>
1793 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1795 (clock_adjtime64) New syscall.
1796 (clock_getres_time64) Likewise.
1797 (clock_gettime64) Likewise.
1798 (clock_nanosleep_time64) Likewise.
1799 (clock_settime64) Likewise.
1800 (futex_time64) Likewise.
1801 (io_pgetevents_time64) Likewise.
1802 (io_uring_enter) Likewise.
1803 (io_uring_register) Likewise.
1804 (io_uring_setup) Likewise.
1805 (mq_timedreceive_time64) Likewise.
1806 (mq_timedsend_time64) Likewise.
1807 (pidfd_send_signal) Likewise.
1808 (ppoll_time64) Likewise.
1809 (pselect6_time64) Likewise.
1810 (recvmmsg_time64) Likewise.
1811 (rt_sigtimedwait_time64) Likewise.
1812 (sched_rr_get_interval_time64) Likewise.
1813 (semtimedop_time64) Likewise.
1814 (timer_gettime64) Likewise.
1815 (timer_settime64) Likewise.
1816 (timerfd_gettime64) Likewise.
1817 (timerfd_settime64) Likewise.
1818 (utimensat_time64) Likewise.
1820 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1821 version to 9 branch.
1823 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1825 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1826 __memmove_thunderx2 to the list of implementations
1827 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1828 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1829 (__memmove_thunderx2): Rewritten using SIMD ld/st
1830 (__memcpy_thunderx2): Fixed handling overlapping cases.
1831 Used ldp/stp instead of ldr/str if possible. Made loops
1834 2019-05-03 Florian Weimer <fweimer@redhat.com>
1836 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1838 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1841 * elf/tst-pldd.c (in_str_list): New function.
1842 (do_test): Add default names for ld and libc as one option.
1844 2019-05-02 Florian Weimer <fweimer@redhat.com>
1846 misc: Add twalk_r function.
1847 * include/search.h (__twalk_r): Declare.
1848 * manual/examples/twalk.c: New file.
1849 * manual/search.texi (Tree Search Function): Document twalk_r.
1850 * misc/Versions (2.30): Export twalk_r.
1851 (GLIBC_PRIVATE): Export __twalk_r.
1852 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1853 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1854 (twalk_r): Add weak alias.
1855 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1856 (walk_trace): New variable.
1857 (struct twalk_with_twalk_r_closure): Define.
1858 (twalk_with_twalk_r_action): New function.
1859 (twalk_with_twalk_r): Likewise.
1860 (walk_action): Call walk_trace_add.
1861 (walk_tree_with): Rename from walk_tree. Add walk argument.
1862 (walk_tree): New function.
1863 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1864 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1866 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1868 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1869 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1870 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1871 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1872 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1873 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1875 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1877 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1879 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1880 (GLIBC_2.30): Likewise.
1881 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1882 (GLIBC_2.30): Likewise.
1883 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1884 (GLIBC_2.30): Likewise.
1885 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1886 (GLIBC_2.30): Likewise.
1887 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1890 (GLIBC_2.30): Likewise.
1891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1892 (GLIBC_2.30): Likewise.
1893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1894 (GLIBC_2.30): Likewise.
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1896 (GLIBC_2.30): Likewise.
1897 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1899 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1901 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1903 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1904 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1906 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1908 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1910 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1913 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1915 Make mktime etc. compatible with __time64_t
1916 Keep these functions compatible with Gnulib while adding
1917 __time64_t support. The basic idea is to move private API
1918 declarations from include/time.h to time/mktime-internal.h, since
1919 the former file cannot easily be shared with Gnulib whereas the
1921 Also, do some other minor cleanup while in the neighborhood.
1922 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1923 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1924 since Gnulib needs it.
1925 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1926 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1927 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1928 (in_time_t_range): New static function.
1929 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1930 so that glibc users are not tempted to use __time64_t.
1931 * time/mktime-internal.h: Rewrite so that it does both glibc
1932 and Gnulib work. Include time.h if not _LIBC.
1933 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1934 (__time64_t): New type or macro, moved here from
1936 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1937 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1938 from include/time.h.
1939 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1940 New macros, taken from GNulib.
1941 (__mktime_internal): New prototype, moved here from include/time.h.
1942 * time/mktime.c (mktime_min, mktime_max, convert_time)
1943 (ranged_convert, __mktime_internal, __mktime64):
1944 * time/timegm.c (__timegm64):
1945 Use __time64_t, not time_t.
1946 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1947 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1949 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1950 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1951 for libc_hidden_def.
1953 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1955 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1957 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
1960 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1961 from `-Wmaybe-uninitialized'.
1962 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1964 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1966 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1968 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1969 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1970 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1971 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1972 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1974 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1991 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1992 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1993 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1994 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1996 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1999 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2000 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2002 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2005 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2007 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2008 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2009 s_ceilf-power5+, and s_ceilf-ppc64.
2010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2015 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2016 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2017 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2018 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2020 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2021 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2022 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
2024 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2026 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
2027 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
2028 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
2029 (sem_getvalue): Likewise.
2031 2019-04-26 Florian Weimer <fweimer@redhat.com>
2033 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
2034 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
2036 2019-04-26 Florian Weimer <fweimer@redhat.com>
2038 Makeconfig: Move -Wl,-rpath-link options before library references.
2039 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
2040 (link-libc): Remove $(link-libc-rpath-link).
2042 2019-04-25 Florian Weimer <fweimer@redhat.com>
2044 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2045 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2046 (+link-static-before-libc): Remove $(CC).
2047 (+link-static, +link-static-tests): Add $(CC).
2048 (+link-before-libc): Remove $(CC).
2049 (+link, +link-pie, +link-pie-printers): Add $(CC).
2051 2019-04-26 Florian Weimer <fweimer@redhat.com>
2053 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2054 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2055 (+link-static-before-libc): Remove $(CC).
2056 (+link-static, +link-static-tests): Add $(CC).
2057 (+link-before-libc): Remove $(CC).
2058 (+link, +link-pie, +link-pie-printers): Add $(CC).
2060 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
2063 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
2065 2019-04-25 Florian Weimer <fweimer@redhat.com>
2067 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
2068 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
2069 (bench-link-targets): New variable.
2070 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
2072 2019-04-25 Florian Weimer <fweimer@redhat.com>
2074 Also enable BIND_NOW for programs if --enable-bind-now.
2075 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
2076 (+link-pie): Use $(link-extra-flags).
2077 (+link-static): Likewise.
2078 [! $(build-pie-default)] (+link): Likewise.
2079 * manual/install.texi (Configuring and compiling): Update
2080 --enable-bind-now description.
2081 * INSTALL: Regenerated.
2083 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
2085 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
2086 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
2088 2019-04-24 Mike Frysinger <vapier@gentoo.org>
2091 * malloc/Makefile (others): Add memusagestat.
2092 ($(objpfx)memusagestat): Delete rule.
2093 (LDLIBS-memusagestat): New variable.
2095 2019-04-24 Florian Weimer <fweimer@redhat.com>
2097 * locale/Makefile (tests-special): Guard setting by
2098 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2099 to run while cross-compiling.
2101 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2104 * elf/Makefile (tests-container): Add tst-pldd.
2105 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2106 (E(find_maps)): Avoid use alloca, use default read file operations
2107 instead of explicit LFS names, and fix infinite loop.
2108 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2109 (get_process_info): Use _Static_assert instead of assert, use default
2110 directory operations instead of explicit LFS names, and free some
2112 * elf/tst-pldd.c: New file.
2114 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2116 * malloc/arena.c (do_set_mallopt_check): Removed.
2118 2019-04-23 Florian Weimer <fweimer@redhat.com>
2120 locale: Add LOCPATH diagnostics to the locale program.
2121 * locale/programs/locale.c (setlocale_failed): New variable.
2122 (try_setlocale): New function.
2123 (quote_string): Likewise.
2124 (setlocale_diagnostics): Likewise.
2125 (main): Call try_setlocale instead of setlocale. Call
2126 setlocale_diagnostics.
2127 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2128 (tst-locale-locpath.out): New target.
2129 * locale/tst-locale-locpath.sh: New file.
2131 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2133 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2136 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2139 * malloc/hooks.c (malloc_check, realloc_check): Use
2140 __builtin_add_overflow on overflow check and adapt to
2141 checked_request2size change.
2142 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2143 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2144 allocation size to PTRDIFF_MAX.
2145 (REQUEST_OUT_OF_RANGE): Remove macro.
2146 (checked_request2size): Change to inline function and limit maximum
2147 requested size to PTRDIFF_MAX.
2148 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2149 maximum allocation size to PTRDIFF_MAX.
2150 (_mid_memalign): Use _int_memalign call for overflow check.
2151 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2152 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2153 limit maximum requested size to PTRDIFF_MAX.
2154 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2155 valloc, pvalloc): Add __attribute_alloc_size__.
2156 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2157 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2158 larger than PTRDIFF_MAX.
2159 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2160 around tests of malloc with negative sizes.
2161 * malloc/tst-posix_memalign.c (do_test): Likewise.
2162 * malloc/tst-pvalloc.c (do_test): Likewise.
2163 * malloc/tst-valloc.c (do_test): Likewise.
2164 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2165 with resulting size allocation larger than PTRDIFF_MAX with
2166 reallocarray_nowarn.
2167 (reallocarray_nowarn): New function.
2168 * NEWS: Mention the malloc function semantic change.
2170 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2172 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2173 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2175 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2176 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2177 * sysdeps/powerpc/fpu/s_fma.c: New file.
2178 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2180 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2181 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2183 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2184 the magic flag store.
2185 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2187 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2189 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2190 Remove rt_sigreturn call.
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2193 Remove rt_sigreturn call.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2199 * support/Makefile (libsupport-routines): Add support_subprocess,
2200 xposix_spawn, xposix_spawn_file_actions_addclose, and
2201 xposix_spawn_file_actions_adddup2.
2202 (tst-support_capture_subprocess-ARGS): New rule.
2203 * support/capture_subprocess.h (support_capture_subprogram): New
2205 * support/support_capture_subprocess.c (support_capture_subprocess):
2206 Refactor to use support_subprocess and support_capture_poll.
2207 (support_capture_subprogram): New function.
2208 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2209 str_to_write_mode, test_common, parse_int, handle_restart,
2210 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2211 (do_test): Add support_capture_subprogram tests.
2212 * support/subprocess.h: New file.
2213 * support/support_subprocess.c: Likewise.
2214 * support/xposix_spawn.c: Likewise.
2215 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2216 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2217 * support/xspawn.h: Likewise.
2219 2019-04-17 Mike Gerow <gerow@google.com>
2221 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2224 2019-04-11 Florian Weimer <fweimer@redhat.com>
2226 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2227 domain with empty string.
2228 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2230 2019-04-11 Florian Weimer <fweimer@redhat.com>
2232 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2234 (alloc_buffer_next): Change return type to non-const. Update
2237 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2239 * manual/time.texi (Formatting Calendar Time): Add missing percent
2240 sign to conversion specifier.
2242 2019-04-09 Carlos O'Donell <carlos@redhat.com>
2243 Kwok Cheung Yeung <kcy@codesourcery.com>
2246 * malloc/mtrace.c: Define prototypes for all hooks.
2247 (set_default_hooks): New function.
2248 (set_trace_hooks): Likewise.
2249 (save_default_hooks): Likewise.
2250 (tr_freehook): Use new s*_hooks functions.
2251 (tr_mallochook): Likewise.
2252 (tr_reallochook): Likewise.
2253 (tr_memalignhook): Likewise.
2255 (muntrace): Likewise.
2257 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2259 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2260 (generic_stpcpy): New function.
2261 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2262 (generic_stpncpy): New function.
2263 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2264 (generic_strcat): New function.
2265 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2266 (generic_strcpy): New function.
2267 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2268 (STUPID_STRNCAT): Remove function.
2269 (generic_strncat): New function.
2270 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2271 (STUPID_STRNCPY): Remove function.
2272 (generic_strncpy): New function.
2273 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2274 (generic_strnlen): New function.
2275 (memchr_strnlen): New function.
2276 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2277 (memchr_strlen): Likewise.
2279 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2281 * benchtests/bench-strstr.c (input): Add realistic input text.
2282 (stupid_strstr): Remove function.
2283 (basic_strstr): Add function.
2284 (twoway_strstr): Add function.
2285 (do_one_test): Add result checking.
2286 (do_test): Use new input text. Remove accidental early matches.
2287 (test_main): Improve range of tests, reduce unaligned cases.
2289 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2291 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2292 (basic_memmem): Add function.
2293 (twoway_memmem): Add function.
2295 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2297 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2298 * benchtests/bench-malloc-thread.c: Likewise.
2299 * benchtests/bench-skeleton.c: Likewise.
2300 * benchtests/bench-strtod.c: Likewise.
2301 * benchtests/bench-timing.h: Likewise.
2303 2019-04-08 Florian Weimer <fweimer@redhat.com>
2305 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2307 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2308 RES_INSECURE2 security checks.
2309 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2310 RES_INSECURE2 handling.
2312 2019-04-08 Florian Weimer <fweimer@redhat.com>
2314 resolv: Remove support for RES_USE_INET6 and the inet6 option.
2315 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
2316 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
2318 * resolv/Makefile (tests): Remove tst-res_use_inet6.
2319 (tests-internal): Update justification for tst-resolv-res_init,
2320 tst-resolv-res_init-thread.
2321 (tst-res_use_inet6): Remove target.
2322 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
2323 * resolv/res_debug.c (p_option): Remove "inet6" support.
2324 * resolv/res_init.c (res_setoptions): Likewise.
2325 * resolv/res_use_inet6.h: Remove file.
2326 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2328 (res_use_inet6): Always return false.
2329 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2330 * resolv/resolv_context.h: Adjust file comment.
2331 (struct resolv_context): Update comment on __next field.
2332 (__resolv_context_put): Update comment.
2333 * resolv/tst-res_use_inet6.c: Remove file.
2334 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2336 (test_cases): Adjust test case.
2337 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2338 (thread_byname2_af_inet6): Use old byname_inet6 code.
2339 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
2340 (gai): Remove do_inet6 argument.
2341 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
2342 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
2343 (thread_gai_unspec_inet6): Remove functions.
2344 (do_test): Adjust thread_funcs.
2345 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
2347 (gaih_inet): Do not disable RES_USE_INET6 flag.
2349 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2351 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
2352 and remove redundant code.
2354 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2356 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
2358 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
2359 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
2361 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
2363 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
2365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2366 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
2367 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
2368 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
2369 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2370 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
2371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2372 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
2374 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
2375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2377 Remove wcsrchr optimizations.
2378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2380 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
2383 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
2385 * sysdeps/powerpc/power6/wcschr.c: Remove file.
2386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
2388 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
2390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
2392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2393 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
2394 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
2395 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
2396 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2397 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
2398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2399 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
2401 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
2402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2404 Remove wcschr optimizations.
2405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2407 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
2410 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
2412 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
2413 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
2415 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
2417 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
2419 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2420 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
2421 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
2422 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
2423 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2424 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
2425 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2426 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
2428 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
2429 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2431 Remove wcscpy optimizations.
2432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2434 * include/loop_unroll.h: New file.
2435 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
2436 besides generic implementation.
2438 2019-04-03 DJ Delorie <dj@redhat.com>
2440 * time/tst-strftime3.c (tm_to_printed): Disable warning about
2441 snprintf truncating output.
2443 2019-04-02 DJ Delorie <dj@redhat.com>
2445 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
2448 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2451 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
2453 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
2454 (mkreftable): Add rules for the new Japanese era and the new dates.
2456 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2457 Rafal Luzynski <digitalfreak@lingonborough.com>
2459 * time/tst-strftime2.c (date_t): Explicitly define the type.
2460 (dates): Use natural month and year numbers to express a date.
2461 (is_before): New function to compare dates.
2462 (mkreftable): Minor improvements to simplify maintenance.
2463 (do_test): Reflect the changes in dates array.
2466 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
2467 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2468 * time/tst-strftime2.c (locales): Likewise.
2469 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2470 2010-04-01, and 2011-04-01.
2471 (mkreftable): Add rules for the new locales and the new dates.
2473 2019-04-01 Carlos O'Donell <carlos@redhat.com>
2475 * localedata/locales/ja_JP: Add comments to era entries.
2477 2019-04-01 DJ Delorie <dj@redhat.com>
2480 * time/strptime_l.c (%Ey): Fix fencepost error.
2481 * time/tst-strftime3.c: New.
2482 * time/Makefile (tests): Add tst-strftime3.
2484 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
2486 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2487 conditional branch to DIVBYZERO. Fix unwind info.
2488 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2489 excb after conditional branch to $powerof2. Add missing unop
2490 instructions and .align directives and reorder instructions to
2493 2019-04-01 Richard Henderson <rth@twiddle.net>
2495 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2497 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2500 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
2502 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2503 $libc_cv_riscv_float_abi in `test' invocation.
2504 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2506 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
2508 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2510 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2512 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2513 (_GET_SI_FPSCR): Likewise.
2514 (_SET_SI_FPSCR): Likewise.
2516 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2518 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2520 (signbit): Use builtin for clang 3.3.
2521 (isinf): Use builtin for clang 3.7.
2523 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2525 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2527 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2529 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2532 2019-03-25 Mike Crowe <mac@mcrowe.com>
2534 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2535 pthread_rwlock_timedrdlock with calls to
2536 pthread_rwlock_timedwrlock to ensure that the latter is tested
2537 too. Use new function name in diagnostic messages too.
2539 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2540 (do_test) Use libsupport test macros rather than hand-coded
2541 conditionals and error messages. Ensure that sem_init returns zero
2542 rather than not -1. Use <support/test-driver.c> rather than
2545 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2546 test macros rather than hand-coded conditionals and error messages.
2547 Use <support/test-driver.c> rather than test-skeleton.c.
2549 2019-03-25 Joseph Myers <joseph@codesourcery.com>
2551 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2553 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2554 (NT_MIPS_MSA): Likewise.
2556 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2558 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2559 * benchtests/README: Update description.
2560 * benchtests/bench-timing.h: Default to hp-timing.
2561 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2562 HP_TIMING_PRINT): Remove.
2563 (HP_TIMING_NOW): Add generic implementation.
2564 (hp_timing_t): Change to uint64_t.
2566 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2568 * nptl/descr.h: Likewise.
2569 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2570 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2571 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2572 Abstract hp-timing usage with RTLD_* macros.
2573 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2574 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2575 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2576 HP_TIMING_NONAVAIL): Likewise.
2577 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2579 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2580 HP_SMALL_TIMING_AVAIL): Likewise.
2581 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2582 HP_SMALL_TIMING_AVAIL): Likewise.
2583 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2584 HP_SMALL_TIMING_AVAIL): Likewise.
2585 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2586 HP_SMALL_TIMING_AVAIL): Likewise.
2587 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2589 * sysdeps/generic/hp-timing-common.h: Update comment with
2590 HP_TIMING_AVAIL removal.
2592 * include/random-bits.h: New file.
2593 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2594 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2596 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2597 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2600 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2601 * rt/Makefile (clock-routines): Remove get_clockfreq.
2602 * rt/get_clockfreq.c: Remove file.
2603 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2604 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2605 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2606 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2607 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2609 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2610 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2611 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2612 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2613 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2615 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2616 pthread_clock_settime.
2617 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2618 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2619 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2620 * elf/rtld.c (_dl_start_final): Likewise.
2621 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2622 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2624 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2625 (_dl_cpuclock_offset): Remove.
2626 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2627 cpuclock_offset_ununsed.
2628 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2629 cpuclock_offset set.
2630 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2631 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2632 * nptl/pthread_clock_gettime.c: Remove file.
2633 * nptl/pthread_clock_settime.c: Likewise.
2634 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2635 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2636 and CLOCK_PROCESS_CPUTIME_ID support.
2637 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2638 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2639 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2640 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2641 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2643 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2645 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2647 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2648 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2649 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2651 * sysdeps/s390/memmem-arch13.S: New file.
2652 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2653 if it is only used as fallback.
2654 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2655 * sysdeps/s390/multiarch/ifunc-impl-list.c
2656 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2658 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2660 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2661 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2662 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2664 * sysdeps/s390/multiarch/ifunc-impl-list.c
2665 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2666 * sysdeps/s390/strstr-arch13.S: New file.
2667 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2668 if it is only used as fallback.
2669 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2671 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2673 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2674 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2675 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2676 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2678 * sysdeps/s390/multiarch/ifunc-impl-list.c
2679 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2680 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2681 S390_IS_ARCH13_MIE3): New defines.
2683 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2685 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2686 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2687 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2688 * sysdeps/s390/configure: Regenerated.
2690 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2692 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2693 Add vxe2, vxp, dflt, sort flags.
2694 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2695 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2697 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2698 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2699 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2700 HWCAP_S390_DFLT): Define.
2702 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2705 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2706 of compiler warning.
2707 * locale/programs/ld-collate.c (collate_output): Likewise.
2709 2019-03-21 DJ Delorie <dj@redhat.com>
2712 * iconv/iconvconfig.c (write_output): Replace floating point math
2713 with integer math to avoid imprecise results.
2714 * locale/programs/ld-collate.c (collate_output): Likewise.
2716 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
2718 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2719 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2721 2019-03-20 mansayk <6688000@gmail.com>
2724 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2725 (abday): Likewise, but remove the trailing dots.
2727 2019-03-19 Joseph Myers <joseph@codesourcery.com>
2729 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2731 (HWCAP_PACA): Likewise.
2732 (HWCAP_PACG): Likewise.
2733 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2735 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2737 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2739 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2742 2019-03-15 Joseph Myers <joseph@codesourcery.com>
2744 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2746 (old_getpagesize): New syscall.
2748 2019-03-15 Felix Yan <felixonmars@archlinux.org>
2751 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2752 * localedata/locales/cmn_TW (era): Likewise.
2753 * localedata/locales/hak_TW (era): Likewise.
2754 * localedata/locales/lzh_TW (era): Likewise.
2755 * localedata/locales/nan_TW (era): Likewise.
2757 2019-03-14 Adam Maris <amaris@redhat.com>
2759 * malloc/malloc.c (_int_malloc): Check for large bin list
2760 corruption when inserting unsorted chunk.
2762 2019-03-14 Florian Weimer <fweimer@redhat.com>
2764 Remove obsolete, never-implemented XSI STREAMS declarations.
2765 * manual/terminal.texi (Allocation): Remove portability note and
2767 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2769 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2770 * sysdeps/unix/inet/Subdirs (streams): Remove.
2771 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2772 (conformtest-headers-UNIX98): Likewise.
2773 (conformtest-headers-XOPEN2K): Likewise.
2774 (conformtest-headers-POSIX2008): Likewise.
2775 * posix/compat-streams.c: New file.
2776 * posix/Makefile (routines): Add it.
2777 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2778 getpmsg, isastream, putmsg, putpmsg.
2779 (GLIBC_2.30): New section.
2780 * bits/stropts.h: Remove file.
2781 * bits/xtitypes.h: Likewise.
2782 * conform/data/stropts.h-data: Likewise.
2783 * include/stropts.h: Likewise.
2784 * include/sys/stropts.h: Likewise.
2785 * include/xtitypes.h: Likewise.
2786 * streams/Makefile: Likewise.
2787 * streams/fattach.c: Likewise.
2788 * streams/fdetach.c: Likewise.
2789 * streams/getmsg.c: Likewise.
2790 * streams/getpmsg.c: Likewise.
2791 * streams/isastream.c: Likewise.
2792 * streams/putmsg.c: Likewise.
2793 * streams/putpmsg.c: Likewise.
2794 * streams/stropts.h: Likewise.
2795 * streams/sys/stropts.h: Likewise.
2796 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2797 * sysdeps/s390/bits/xtitypes.h: Likewise.
2798 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2799 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2800 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2801 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2802 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2803 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2804 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2805 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2806 * sysdeps/x86/bits/xtitypes.h: Likewise.
2808 2019-03-14 Florian Weimer <fweimer@redhat.com>
2810 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2812 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2813 but not with libnss_files.
2814 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2816 2019-03-14 Zack Weinberg <zackw@panix.com>
2818 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2819 Specify encoding="utf-8" when opening headers to check.
2821 2019-03-13 Joseph Myers <joseph@codesourcery.com>
2823 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2825 (Context.checkout_tar): Handle variable major version for Linux
2828 2019-03-13 Florian Weimer <fweimer@redhat.com>
2831 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2833 2019-03-13 Zack Weinberg <zackw@panix.com>
2835 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2837 * include/inttypes.h: Adjust to match.
2838 * include/stdint.h: New wrapper.
2840 2019-03-13 Zack Weinberg <zackw@panix.com>
2842 * scripts/check-obsolete-constructs.py: New test script.
2843 * scripts/check-installed-headers.sh: Remove tests for
2844 obsolete typedefs, superseded by check-obsolete-constructs.py.
2845 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2846 as a special test. Update commentary.
2847 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2848 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2850 * posix/sys/types.h (__u_intN_t): Remove.
2851 (u_int8_t): Typedef using __uint8_t.
2852 (u_int16_t): Typedef using __uint16_t.
2853 (u_int32_t): Typedef using __uint32_t.
2854 (u_int64_t): Typedef using __uint64_t.
2856 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
2858 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2860 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2861 Ignore types other than AT_HWCAP.
2862 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2863 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2865 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2866 in the case of falling back to generic output mechanism.
2867 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2870 2019-03-12 Florian Weimer <fweimer@redhat.com>
2872 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2874 2019-03-12 Florian Weimer <fweimer@redhat.com>
2877 resolv: Enable full ICMP errors for UDP DNS sockets
2878 * resolv/res_enable_icmp.c: New file.
2879 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2880 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2881 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2884 2019-03-11 Mao Han <han_mao@c-sky.com>
2886 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2887 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2889 2019-03-11 Mao Han <han_mao@c-sky.com>
2891 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2892 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2893 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2895 2019-03-11 Mao Han <han_mao@c-sky.com>
2897 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2899 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2902 2019-03-11 Mao Han <han_mao@c-sky.com>
2904 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2905 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2908 2019-03-08 Mike FABIAN <mfabian@redhat.com>
2911 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2912 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2914 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2915 * localedata/unicode-gen/PropList.txt: Likewise.
2916 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2917 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2918 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2919 * localedata/charmaps/UTF-8: Regenerate.
2920 * localedata/locales/i18n_ctype: Likewise.
2921 * localedata/locales/tr_TR: Likewise.
2922 * localedata/locales/translit_circle: Likewise.
2923 * localedata/locales/translit_cjk_compat: Likewise.
2924 * localedata/locales/translit_combining: Likewise.
2925 * localedata/locales/translit_compat: Likewise.
2926 * localedata/locales/translit_font: Likewise.
2927 * localedata/locales/translit_fraction: Likewise.
2929 2019-03-07 Joseph Myers <joseph@codesourcery.com>
2931 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2932 than after operators.
2933 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2934 (setitimer_locked): Likewise.
2935 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2936 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2937 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2938 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2939 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2940 (PPC_CPU_SUPPORTED): Likewise.
2941 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2942 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2943 (stat_overflow): Likewise.
2944 (statfs_overflow): Likewise.
2945 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2946 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2947 (eq_ttyname_r): Likewise.
2948 (run_chroot_tests): Likewise.
2950 2019-03-07 Florian Weimer <fweimer@redhat.com>
2952 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2955 2019-03-07 Martin Liska <mliska@suse.cz>
2957 * math/Makefile: Change location where math-vector-fortran.h is
2959 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2960 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2961 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2962 * scripts/check-installed-headers.sh: Skip Fortran header files.
2963 * scripts/check-wrapper-headers.py: Likewise.
2965 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2967 * nptl/nptl-init.c (__have_futex_clock_realtime,
2968 __have_futex_clock_realtime): Remove definition.
2969 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2970 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2971 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2972 __ASSUME_FUTEX_CLOCK_REALTIME support.
2973 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2974 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2975 * sysdeps/unix/sysv/linux/kernel-features.h
2976 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2977 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2980 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2982 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2983 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2984 __GI___wcscpy and wcscpy.
2986 2019-03-04 Florian Weimer <fweimer@redhat.com>
2988 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2990 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2993 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
2995 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2996 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2998 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3001 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3002 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3004 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3006 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3008 (do_test): Likewise.
3009 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3010 (do_test_call_varg): Likewise.
3011 (do_test_call_rarg): Likewise.
3012 * sysdeps/ieee754/ldbl-opt/Makefile
3013 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3015 ($(objpfx)tst-nldbl-warn.c): New rule.
3016 ($(objpfx)tst-nldbl-error.c): Likewise.
3017 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3020 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3023 * include/bits/error-ldbl.h: New file.
3024 * include/error.h: Include stdarg.h. Declare internal functions
3025 __error_internal and __error_at_line_internal.
3026 * misc/Makefile (headers): Add bits/error-ldbl.h.
3027 * misc/bits/error-ldbl.h: New file.
3028 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
3029 avoid the inclusion of bits/error.h.
3030 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
3031 and __nldbl_error_at_line.
3032 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
3033 (__nldbl_error, __ndlbl_error_at_line): New functions.
3034 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
3035 Redirect error and error_at_line.
3036 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3045 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3046 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3047 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3049 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3052 * include/bits/err-ldbl.h: New file.
3053 * include/err.h: Add prototypes for the internal functions:
3054 __vwarnx_internal and __vwarn_internal.
3055 * misc/Makefile (headers): Add bits/err-ldbl.h.
3056 * misc/bits/err-ldbl.h: New file.
3057 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
3058 defined, i.e.: when -mlong-double-64 is in use.
3059 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
3060 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
3061 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
3062 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
3063 (VA_CALL): New macro.
3064 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
3065 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
3067 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
3068 declare prototypes for the new functions.
3069 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3078 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3079 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3080 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3082 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3084 * sysdeps/ieee754/ldbl-opt/Makefile
3085 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
3086 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
3087 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
3089 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3092 * argp/Makefile (headers): Add bits/argp-ldbl.h.
3093 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
3094 * argp/bits/argp-ldbl.h: New file.
3095 * include/argp.h: Include stdarg.h. Add prototypes for internal
3096 functions: __argp_error_internal and __argp_failure_internal.
3097 * include/bits/argp-ldbl.h: New file.
3098 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3099 __nldbl_argp_error and __nldbl_argp_failure.
3100 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3101 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3102 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3103 Redirect argp_error and argp_failure calls.
3104 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3113 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3114 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3115 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3117 2019-03-01 Florian Weimer <fweimer@redhat.com>
3120 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3121 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3122 code, to avoid creating an ABI tag note.
3123 (modules-names-nobuild): Add tst-big-note-lib.
3125 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
3127 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3128 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3130 2019-03-01 Florian Weimer <fweimer@redhat.com>
3133 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3134 (__netlink_assert_response): Add additional missing newlines.
3136 2019-02-28 Joseph Myers <joseph@codesourcery.com>
3138 * sysdeps/powerpc/powerpc32/dl-machine.c
3139 (__elf_machine_fixup_plt): Use space before '('.
3140 (__process_machine_rela): Likewise.
3141 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3143 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3145 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3147 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3148 (pattern): Likewise.
3150 (check_result): Likewise.
3151 (check_excepts): Likewise.
3152 (check_op): Likewise.
3153 (fail_xr): Likewise.
3154 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3155 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3157 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3160 (__makecontext): Likewise.
3161 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3164 2019-02-28 Florian Weimer <fweimer@redhat.com>
3167 elf: Add test with a local IFUNC resolver.
3168 * elf/ifuncmain9.c: New file.
3169 * elf/ifuncmain9pic.c: Likewise.
3170 * elf/ifuncmain9picstatic.c: Likewise.
3171 * elf/ifuncmain9pie.c: Likewise.
3172 * elf/ifuncmain9static.c: Likewise.
3173 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3174 ifuncmain9static, ifuncmain9picstatic.
3175 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3176 Add ifuncmain9, ifuncmain9pic.
3177 * elf/Makefile [multi-arch && build-shared && have-fpie]
3178 (ifunc-pie-tests): Add ifuncmain9pie.
3179 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3180 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3181 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3183 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3185 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3186 * configure: Regenerated.
3187 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3189 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3191 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3192 symbol as __wcspcy instead of wcscpy.
3194 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3196 * include/stdio.h (__renameat2): New hidden prototype.
3197 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3198 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3199 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3200 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3202 2019-02-27 Joseph Myers <joseph@codesourcery.com>
3204 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3207 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3208 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3209 * benchtests/bench-strlen.c (do_test): Likewise.
3210 (test_main): Likewise.
3211 * catgets/gencat.c (read_old): Likewise.
3212 * elf/cache.c (load_aux_cache): Likewise.
3213 * iconvdata/bug-iconv8.c (do_test): Likewise.
3214 * math/test-tgmath-ret.c (do_test): Likewise.
3215 * nis/nis_call.c (rec_dirsearch): Likewise.
3216 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3217 * nptl/tst-audit-threads.c (do_test): Likewise.
3218 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3219 * nss/nss_test1.c (init): Likewise.
3220 * nss/test-netdb.c (test_hosts): Likewise.
3221 * posix/execvpe.c (maybe_script_execute): Likewise.
3222 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3223 * stdio-common/tst-printf.c (do_test): Likewise.
3224 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3225 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3226 * stdlib/qsort.c (STACK_SIZE): Likewise.
3227 * stdlib/test-canon.c (do_test): Likewise.
3228 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3229 * string/memcmp.c (OPSIZ): Likewise.
3230 * string/test-strcpy.c (do_test): Likewise.
3231 (do_random_tests): Likewise.
3232 * string/test-strlen.c (do_test): Likewise.
3233 (test_main): Likewise.
3234 * string/test-strrchr.c (do_test): Likewise.
3235 (do_random_tests): Likewise.
3236 * string/tester.c (test_memrchr): Likewise.
3237 (test_memchr): Likewise.
3238 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3239 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3240 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3241 (read_encoded_value_with_base): Likewise.
3242 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3243 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3244 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3245 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3246 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3247 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3249 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3251 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3252 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3253 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3255 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3257 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3259 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3261 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3262 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3263 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3264 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3265 * time/test_time.c (main): Likewise.
3267 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3269 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3271 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3274 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3277 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3279 * include/wchar.h (__wcscpy): New prototype.
3280 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3281 (__wcscpy): Route internal symbol to generic implementation.
3282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3283 Add internal __wcscpy alias.
3284 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3285 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3286 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3287 * wcsmbs/wcscpy.c (wcscpy): Add
3288 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3289 use generic implementation.
3290 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3292 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3295 * sysdeps/m68k/wcpcpy.c: Remove file.
3296 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3298 2019-02-26 Joseph Myers <joseph@codesourcery.com>
3300 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3301 than after operators.
3302 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3303 * sysdeps/mach/hurd/getcwd.c
3304 (__hurd_canonicalize_directory_name_internal): Likewise.
3305 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3306 (pthread_mutex_consistent): Likewise.
3307 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3309 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3310 (__pthread_mutex_transfer_np): Likewise.
3311 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3312 (__pthread_mutex_unlock): Likewise.
3313 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
3314 (mtx_owned_p): Likewise.
3315 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
3316 (pthread_mutexattr_getrobust): Likewise.
3317 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
3318 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3320 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3321 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3322 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3323 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
3324 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3325 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3326 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3328 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3330 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3331 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3332 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3333 (____longjmp_chk): Likewise.
3334 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3336 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3337 (INTERNAL_SYSCALL): Likewise.
3338 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3339 (INTERNAL_SYSCALL): Likewise.
3340 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3341 (__get_clockfreq_via_cpuinfo): Likewise.
3343 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
3345 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
3346 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
3347 (WORD_COPY_BWD): Likewise.
3348 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3349 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3351 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
3352 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
3354 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3356 2019-02-25 Joseph Myers <joseph@codesourcery.com>
3358 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
3359 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
3360 rather than after operators.
3361 * elf/cache.c (print_cache): Likewise.
3362 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
3363 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
3364 * hurd/hurdinit.c (_hurd_setproc): Likewise.
3365 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
3366 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
3367 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3368 (reauth_proc): Likewise.
3369 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
3370 (__file_name_split_at): Likewise.
3371 (__directory_name_split_at): Likewise.
3372 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3373 * hurd/port2fd.c (_hurd_port2fd): Likewise.
3374 * iconv/gconv_dl.c (do_print): Likewise.
3375 * inet/netinet/in.h (struct sockaddr_in): Likewise.
3376 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
3377 * locale/setlocale.c (new_composite_name): Likewise.
3378 * malloc/memusagestat.c (main): Likewise.
3379 * misc/fstab.c (fstab_convert): Likewise.
3380 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3382 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
3383 (getgrent_next_file): Likewise.
3384 (internal_getgrnam_r): Likewise.
3385 (internal_getgrgid_r): Likewise.
3386 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
3388 (internal_getgrent_r): Likewise.
3389 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3390 (getpwent_next_nss): Likewise.
3391 (getpwent_next_file): Likewise.
3392 (internal_getpwnam_r): Likewise.
3393 (internal_getpwuid_r): Likewise.
3394 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
3396 (getspent_next_nss): Likewise.
3397 (internal_getspnam_r): Likewise.
3398 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3399 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3400 * string/strchr.c (STRCHR): Likewise.
3401 * string/strchrnul.c (STRCHRNUL): Likewise.
3402 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
3403 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3404 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
3405 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
3406 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
3408 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
3409 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3410 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3411 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
3412 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
3413 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
3414 (open_file): Likewise.
3415 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
3416 (pthread_mutexattr_setprotocol): Likewise.
3417 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3418 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3419 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3420 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3421 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3423 (elf_machine_rela): Likewise.
3424 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3425 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3426 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
3427 * sysdeps/posix/rename.c (rename): Likewise.
3428 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
3429 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
3430 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
3431 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
3432 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3433 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
3434 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
3436 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
3438 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
3439 * time/tzfile.c (__tzfile_compute): Likewise.
3441 2019-02-22 Joseph Myers <joseph@codesourcery.com>
3443 * benchtests/bench-memmem.c (simple_memmem): Break lines before
3444 rather than after operators.
3445 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
3446 * crypt/md5.c (md5_finish_ctx): Likewise.
3447 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
3448 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
3449 * elf/cache.c (load_aux_cache): Likewise.
3450 * elf/dl-load.c (open_verify): Likewise.
3451 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3452 * elf/readelflib.c (process_elf_file): Likewise.
3453 * elf/rtld.c (dl_main): Likewise.
3454 * elf/sprof.c (generate_call_graph): Likewise.
3455 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
3456 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3457 * hurd/dtable.c (reauth_dtable): Likewise.
3458 * hurd/getdport.c (__getdport): Likewise.
3459 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
3460 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
3461 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
3463 * hurd/hurdioctl.c (fioctl): Likewise.
3464 * hurd/hurdselect.c (_hurd_select): Likewise.
3465 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
3466 (STOPSIGS): Likewise.
3467 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3468 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3469 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3470 * hurd/msgportdemux.c (msgport_server): Likewise.
3471 * hurd/setauth.c (_hurd_setauth): Likewise.
3472 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3473 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3474 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3475 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3476 * login/tst-utmp.c (do_check): Likewise.
3477 (simulate_login): Likewise.
3478 * mach/lowlevellock.h (lll_lock): Likewise.
3479 (lll_trylock): Likewise.
3480 * math/test-fenv.c (ALL_EXC): Likewise.
3481 * math/test-fenvinline.c (ALL_EXC): Likewise.
3482 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3483 * nis/nis_call.c (__do_niscall3): Likewise.
3484 * nis/nis_callback.c (cb_prog_1): Likewise.
3485 * nis/nis_defaults.c (searchaccess): Likewise.
3486 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3487 * nis/nis_ismember.c (internal_ismember): Likewise.
3488 * nis/nis_local_names.c (nis_local_principal): Likewise.
3489 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3490 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3492 * nis/ypclnt.c (yp_match): Likewise.
3493 (yp_first): Likewise.
3494 (yp_next): Likewise.
3495 (yp_master): Likewise.
3496 (yp_order): Likewise.
3497 * nscd/hstcache.c (cache_addhst): Likewise.
3498 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3499 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3500 (internal_getpwuid_r): Likewise.
3501 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3502 * posix/glob.h (__GLOB_FLAGS): Likewise.
3503 * posix/regcomp.c (peek_token): Likewise.
3504 (peek_token_bracket): Likewise.
3505 (parse_expression): Likewise.
3506 * posix/regexec.c (sift_states_iter_mb): Likewise.
3507 (check_node_accept_bytes): Likewise.
3508 * posix/tst-spawn3.c (do_test): Likewise.
3509 * posix/wordexp-test.c (testit): Likewise.
3510 * posix/wordexp.c (parse_tilde): Likewise.
3511 (exec_comm): Likewise.
3512 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3513 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3514 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3515 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3516 * stdio-common/tst-fileno.c (do_test): Likewise.
3517 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3518 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3519 * stdlib/strtod_l.c (round_and_return): Likewise.
3520 (____STRTOF_INTERNAL): Likewise.
3521 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3522 * string/strcspn.c (STRCSPN): Likewise.
3523 * string/test-memmem.c (simple_memmem): Likewise.
3524 * termios/tcsetattr.c (tcsetattr): Likewise.
3525 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3526 * time/asctime.c (asctime_internal): Likewise.
3527 * time/strptime_l.c (__strptime_internal): Likewise.
3528 * time/sys/time.h (timercmp): Likewise.
3529 * time/tzfile.c (__tzfile_compute): Likewise.
3531 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3534 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
3536 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3538 * argp/argp-help.c (__argp_error_internal): New function,
3539 renamed from __argp_error, but that takes a 'mode_flags'
3540 parameter to control the format of long double parameters.
3541 (__argp_error): Converted into a call __argp_error_internal.
3542 (__argp_failure_internal): New function, renamed from
3543 __argp_failure, but that takes a 'mode_flags' parameter.
3544 (__argp_failure): Converted into a call __argp_failure_internal.
3545 * misc/err.c (__vwarnx_internal): New function, renamed from
3546 vwarnx, but that takes a 'mode_flags' parameter.
3547 (vwarnx): Converted into a call to __vwarnx_internal.
3548 (__vwarn_internal): New function, renamed from vwarn, but that
3549 takes a 'mode_flags' parameter.
3550 (vwarn): Converted into a call to __vwarn_internal.
3551 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3552 call to __vfxprintf with 'mode_flags'.
3553 (__error_internal): New function, renamed from error, but that
3554 takes a 'mode_flags' parameter.
3555 (error): Converted into a call to __error_internal.
3556 (__error_at_line_internal): New function, renamed from
3557 error_at_line, but that takes a 'mode_flags' parameter.
3558 (error_at_line): Converted into a call to
3559 __error_at_line_internal.
3560 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3561 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3564 2019-02-20 Martin Liska <mliska@suse.cz>
3566 * math/Makefile: Install math-vector-fortran.h.
3567 * bits/math-vector-fortran.h: New file.
3568 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3570 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3572 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3573 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3575 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
3577 * nptl/pthread_mutex_trylock.c: Fix comment.
3579 2019-02-19 Carlos O'Donell <carlos@redhat.com>
3581 * nptl/pthread_tryjoin.c: Fix comment.
3583 2019-02-18 Joseph Myers <joseph@codesourcery.com>
3586 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3587 after R_SPARC_H34 case.
3589 2019-02-18 Florian Weimer <fweimer@redhat.com>
3591 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3592 (getanswer): Do not call Dprintf.
3593 (res_gethostbyname2_context): Likewise.
3594 (res_gethostbyaddr_context): Likewise.
3596 2019-02-18 Florian Weimer <fweimer@redhat.com>
3598 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3600 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3602 * libio/stdfiles.c: Update comment.
3603 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3604 set _IO_stdin, _IO_stdout, _IO_stderr.
3605 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3606 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3608 (_IO_deallocate_file): New inline function.
3609 * libio/iolibio.h (_IO_vprintf): Remove definition.
3610 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3611 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3612 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3614 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3615 __builtin_expect. Use _IO_legacy_file.
3617 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
3619 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3620 Initialize ctid with a known value and remove update of ctid
3622 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3623 as assumed current value of ctid_ptr.
3625 2019-02-16 Florian Weimer <fweimer@redhat.com>
3627 Check that non-sysdeps headers have wrapper headers.
3628 * scripts/check-wrapper-headers.py: New file.
3629 * Makefile (tests-special): Add check-wrapper-headers.out.
3630 (check-wrapper-headers.out): New target.
3631 * Rules (tests-special): Add check-wrapper-headers.out.
3632 (check-wrapper-headers.out): New target.
3634 2019-02-16 Florian Weimer <fweimer@redhat.com>
3636 Add missing header wrappers under include/.
3637 * include/ar.h: New file.
3638 * include/bits/mqueue2.h: Likewise.
3639 * include/bits/stdio.h: Likewise.
3640 * include/bits/stdio2.h: Likewise.
3641 * include/fstab.h: Likewise.
3642 * include/fts.h: Likewise.
3643 * include/lastlog.h: Likewise.
3644 * include/netinet/icmp6.h: Likewise.
3645 * include/netinet/igmp.h: Likewise.
3646 * include/netinet/ip6.h: Likewise.
3647 * include/re_comp.h: Likewise.
3648 * include/regexp.h: Likewise.
3649 * include/rpcsvc/bootparam.h: Likewise.
3650 * include/rpcsvc/yp_prot.h: Likewise.
3651 * include/sys/random.h: Likewise.
3652 * include/sys/stropts.h: Likewise.
3653 * include/sys/ttychars.h: Likewise.
3654 * include/sys/vfs.h: Likewise.
3655 * include/wait.h: Likewise.
3657 2019-02-16 Florian Weimer <fweimer@redhat.com>
3659 * nptl_db/proc_service.h: Move to ...
3660 * sysdeps/nptl/proc_service.h: ... here.
3661 * nptl_db/thread_db.h: Move to ...
3662 * sysdeps/nptl/thread_db.h: ... here.
3663 * nptl/descr.h: Include <thread_db.h>.
3665 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3667 * io/Makefile (tests): Add tst-lockf.
3668 * io/lockf.c (lockf): Use __fcntl and only define for
3669 !__OFF_T_MATCHES_OFF64_T.
3670 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3671 __OFF_T_MATCHES_OFF64_T case.
3672 * io/tst-lockf.c: New file.
3673 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3674 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3675 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3676 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3677 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3679 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3680 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3681 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3683 2019-02-15 Florian Weimer <fweimer@redhat.com>
3686 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3687 pd->result after the thread descriptor has been freed.
3689 2019-02-15 Joseph Myers <joseph@codesourcery.com>
3691 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3692 from function return type.
3694 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3696 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3698 * scripts/test_printers_common.py: Set TERM to a known harmless
3701 2019-02-14 Joseph Myers <joseph@codesourcery.com>
3703 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3704 (xdr_u_int): Likewise.
3705 (xdr_enum): Likewise.
3706 (xdr_bytes): Reword fall-through comment.
3707 (xdr_string): Likewise.
3709 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3712 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3713 (tests): Add tst-join8 tst-join9.
3714 * nptl/lll_timedwait_tid.c: Remove file.
3715 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3716 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3717 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3718 * nptl/pthread_join_common.c (timedwait_tid): New function.
3719 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3721 * nptl/tst-join5.c (thread_join): New function.
3722 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3724 * nptl/tst-join8.c: New file.
3725 * nptl/tst-join9.c: Likewise.
3726 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3727 lll_futex_timed_wait_cancel): Add generic macros.
3728 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3730 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3731 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3732 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3733 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3735 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3737 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3738 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3739 (lll_futex_timed_wait_cancel): New macro.
3741 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3743 * benchtests/Makefile: Add malloc-simple benchmark.
3744 * benchtests/bench-malloc-simple.c: New benchmark.
3746 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3748 * benchtests/bench-memmove.c (do_one_test): Remove unused
3751 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3755 2019-01-13 Jim Wilson <jimw@sifive.com>
3758 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3759 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3761 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3763 * nptl/Makefile (tests): Add tst-unwind-thread.
3764 (CFLAGS-tst-unwind-thread.c): Define.
3765 * nptl/tst-unwind-thread.c: New file.
3766 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3769 2019-02-13 Joseph Myers <joseph@codesourcery.com>
3771 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3773 * nis/nis_call.c (__do_niscall3): Likewise.
3775 * catgets/gencat.c (normalize_line): Use braces around empty
3777 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3778 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3779 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3780 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3781 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3782 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3783 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3786 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3789 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3791 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3792 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3793 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3794 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3795 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3796 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3797 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3798 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3799 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3800 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3801 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3802 * benchtests/bench-bcopy.c: Delete file.
3803 * benchtests/bench-bzero.c: Likewise.
3804 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3805 (simple_memccpy): Remove.
3806 (generic_memccpy): Add function.
3807 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3808 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3809 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3810 (generic_mempcpy): Add new function.
3811 * benchtests/bench-memset.c (simple_bzero): Remove.
3812 (builtin_bzero): Remove.
3813 (builtin_memset): Remove.
3814 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3815 (generic_rawmemchr): Add new function.
3817 2019-02-12 Florian Weimer <fweimer@redhat.com>
3819 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3821 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3824 * elf/Makefile (tests): Add tst-audit13.
3825 (modules-names): Add tst-audit13mod1.
3826 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3828 * elf/tst-audit13.c: New file.
3829 * elf/tst-audit13mod1.c: Likewise.
3831 2019-02-12 Florian Weimer <fweimer@redhat.com>
3834 * elf/rtld.c (unload_audit_module): New function.
3835 (report_audit_module_load_error): Likewise.
3836 (load_audit_module): Likewise. Extracted from dl_main. Call
3837 _dl_close if the laversion symbol cannot be found. Use early
3838 returns for error handling. Add malloc error check. Check for a
3839 zero return value from la_version. Remove spurious comment about
3840 static TLS initialization. Remove useless casts.
3841 (notify_audit_modules_of_loaded_object): New function. Extracted
3843 (load_audit_module): Likewise.
3844 (dl_main): Call load_audit_modules.
3846 2019-02-12 Joseph Myers <joseph@codesourcery.com>
3848 * elf/dl-exception.c (_dl_exception_create_format): Add
3849 fall-through comments.
3850 * elf/ldconfig.c (parse_conf_include): Likewise.
3851 * elf/rtld.c (print_statistics): Likewise.
3852 * locale/programs/charmap.c (parse_charmap): Likewise.
3853 * misc/mntent_r.c (__getmntent_r): Likewise.
3854 * posix/wordexp.c (parse_arith): Likewise.
3855 (parse_backtick): Likewise.
3856 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3857 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3860 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
3862 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3863 Use float instead of double.
3865 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3867 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3869 2019-02-08 Joseph Myers <joseph@codesourcery.com>
3871 * sysdeps/powerpc/bits/mathinline.h: Remove.
3873 2019-02-08 Florian Weimer <fweimer@redhat.com>
3875 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3876 * math/bits/math-finite.h: Move to ...
3877 * bits/math-finite.h: ... here.
3879 2019-02-08 Florian Weimer <fweimer@redhat.com>
3881 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3882 * bits/unistd_ext.h: here.
3884 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3887 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3888 * nss/tst-nss-files-hosts-long.c: New file.
3889 * nss/tst-nss-files-hosts-long.root: New directory.
3890 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3891 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3893 2019-02-08 Florian Weimer <fweimer@redhat.com>
3895 * include/bits/unistd_ext.h: Remove file.
3896 * posix/bits/unistd_ext.h: Move to ...
3897 * sysdeps/generic/bits/unistd_ext.h: ... here.
3899 2019-02-08 Florian Weimer <fweimer@redhat.com>
3901 * include/bits/unistd_ext.h: New file.
3903 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3905 * time/tst-strftime2.c: Use array_length macros instead of magic
3908 2019-02-08 Florian Weimer <fweimer@redhat.com>
3911 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3913 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3914 locking if the new do_locking argument is true.
3915 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3916 __run_fork_handlers.
3918 2019-02-08 Florian Weimer <fweimer@redhat.com>
3921 Linux: Add gettid system call wrapper.
3922 * posix/Makefile (headers): Add bits/unistd_ext.h.
3923 * posix/bits/unistd_ext.h: New file.
3924 * posix/unistd.h: Include it.
3925 * manual/process.texi (Process Identification): Document gettid.
3926 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3927 tst-gettid, tst-gettid-kill.
3928 (tst-gettid): Link with $(shared-thread-library).
3929 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3930 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3931 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3932 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3933 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3934 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3936 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3938 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3939 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3941 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3943 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3945 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3947 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3949 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3951 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3953 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3954 (GLIBC_2.30): Likewise.
3955 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3956 (GLIBC_2.30): Likewise.
3957 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3958 (GLIBC_2.30): Likewise.
3959 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3960 (GLIBC_2.30): Likewise.
3961 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3964 (GLIBC_2.30): Likewise.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3966 (GLIBC_2.30): Likewise.
3967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3968 (GLIBC_2.30): Likewise.
3969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3970 (GLIBC_2.30): Likewise.
3971 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3973 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3975 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3977 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3978 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3980 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3982 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3984 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3986 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3988 2019-02-08 Florian Weimer <fweimer@redhat.com>
3990 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3991 compatibility symbols.
3993 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
3996 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3997 Add compiler barriers and comments.
3999 2019-02-07 Florian Weimer <fweimer@redhat.com>
4001 * include/array_length.h (array_length): Do not use a statement
4002 expression and _Static_assert, so that array_length can be used at
4003 file scope and as a constant expression.
4005 2019-02-07 Florian Weimer <fweimer@redhat.com>
4007 * support/xdlfcn.h (xdlmopen): Declare.
4008 * support/xdlmopen.c: New file.
4009 * support/Makefile (libsupport-routines): Add xdlmopen.
4011 2019-02-06 Joseph Myers <joseph@codesourcery.com>
4013 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4014 before return type, without separate inline.
4015 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4016 * elf/dl-tunables.h (tunable_is_name): Likewise.
4017 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4018 (do_set_top_pad): Likewise.
4019 (do_set_mmap_threshold): Likewise.
4020 (do_set_mmaps_max): Likewise.
4021 (do_set_mallopt_check): Likewise.
4022 (do_set_perturb_byte): Likewise.
4023 (do_set_arena_test): Likewise.
4024 (do_set_arena_max): Likewise.
4025 (do_set_tcache_max): Likewise.
4026 (do_set_tcache_count): Likewise.
4027 (do_set_tcache_unsorted_limit): Likewise.
4028 * nis/nis_subr.c (count_dots): Likewise.
4029 * nptl/allocatestack.c (advise_stack_range): Likewise.
4030 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
4032 (reduce_sincos): Likewise.
4033 (do_sincos): Likewise.
4034 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4035 (do_set_elision_enable): Likewise.
4036 (TUNABLE_CALLBACK_FNDECL): Likewise.
4038 2019-02-06 Florian Weimer <fweimer@redhat.com>
4040 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
4041 (xdlsym): Use dlerror to detect a NULL symbol.
4043 2019-02-06 Florian Weimer <fweimer@redhat.com>
4045 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
4047 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4049 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4051 * libio/tst-bz24153.c (wide): Use wide char format specifier.
4053 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4055 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
4056 __wmemcmp and weak alias to wmemcmp.
4058 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4061 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
4062 TLS_TCB_AT_TP tls variant.
4063 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
4064 Add alignment checks.
4065 * support/Makefile (libsupport-routines): Add xposix_memalign and
4067 * support/support.h: Add xposix_memalign.
4068 * support/xthread.h: Add xpthread_attr_setstack.
4069 * support/xposix_memalign.c: New File.
4070 * support/xpthread_attr_setstack.c: Likewise.
4072 2019-02-05 Florian Weimer <fweimer@redhat.com>
4075 arm: Use "nr" constraint for Systemtap probes, to avoid the
4076 compiler using memory operands for constants, due to the "o"
4077 alternative in the default "nor" constraint.
4078 * include/stap-probe.h [USE_STAP_PROBE]: Include
4079 <stap-probe-machine.h>
4080 * sysdeps/generic/stap-probe-machine.h: New file.
4081 * sysdeps/arm/stap-probe-machine.h: Likewise.
4083 2019-02-04 Joseph Myers <joseph@codesourcery.com>
4085 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
4086 with 0, not tcache->entries[tc_idx].
4088 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
4091 2019-02-04 Andreas Schwab <schwab@suse.de>
4095 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
4096 looking up collating elements match against (wide) character
4097 sequence instead of name. Correct alignment adjustment.
4098 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4099 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4100 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4101 (LOCALES): Add cs_CZ.ISO-8859-2.
4102 * posix/tst-fnmatch4.c: New file.
4103 * posix/tst-fnmatch5.c: New file.
4104 * include/wchar.h (__wmemcmp): Declare.
4105 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4106 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4107 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4108 * sysdeps/s390/wmemcmp.c: Likewise.
4110 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4114 * NEWS: Updated for CVE-2019-7309.
4115 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4116 upper 32 bits of RDX register for x32. Use unsigned Jcc
4117 instructions, instead of signed.
4118 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4119 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4121 2019-02-04 Florian Weimer <fweimer@redhat.com>
4123 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4124 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4125 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4127 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4128 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4129 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4130 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4132 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4134 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4136 (posix_spawn_file_actions_addopen): Likewise.
4137 (posix_spawn_file_actions_addclose): Likewise.
4138 (posix_spawn_file_actions_adddup2): Likewise.
4139 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4141 (posix_spawn_file_actions_addfchdir_np): Likewise.
4143 2019-02-04 David Newall <glibc@davidnewall.com>
4145 elf: Implement --preload option for the dynamic linker.
4146 * elf/rtld.c (preloadarg): New variable.
4147 (handle_preload_list): Pass through “where” argument to
4149 (dl_main): Handle "--preload" and add second call to
4150 handle_preload_list.
4151 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4152 (tst-rtld-preload-OBJS): Set variable.
4153 (tst-rtld-preload.out): New target.
4154 * elf/tst-rtld-preload.sh: New file.
4156 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4158 * Makefile (testrun.sh): Exit in case of incorrect argument.
4160 2019-02-04 Florian Weimer <fweimer@redhat.com>
4162 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4165 2019-02-03 Florian Weimer <fweimer@redhat.com>
4167 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4168 implicit overflow checks.
4170 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4172 * stdlib/isomac.c: Include <unistd.h>.
4174 2019-02-03 Florian Weimer <fweimer@redhat.com>
4176 * include/time.h (__tzfile_default): Use int, not long int, for
4178 * time/tzfile.c (struct ttinfo): Change type of the offset member
4180 (__tzfile_read): Remove useless cast.
4181 (__tzfile_default): Adjust prototype.
4182 * time/tzset.c (tz_rule): Change type of the offset member to int.
4183 (parse_offset): Change the type of the sign variable to int.
4185 2019-02-03 Florian Weimer <fweimer@redhat.com>
4188 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4189 * libio/getchar.c (getchar): Likewise.
4190 * libio/getchar_u.c (getchar_unlocked): Likewise.
4191 * libio/getwchar.c (getwchar): Likewise.
4192 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4193 * libio/iogets.c (_IO_gets): Likewise.
4194 * libio/vscanf.c (_IO_vscanf): Likewise.
4195 * libio/vwscanf.c (__vwscanf): Likewise.
4196 * libio/tst-bz24153.c: New file.
4197 * libio/Makefile (tests): Add it.
4199 2019-02-02 Florian Weimer <fweimer@redhat.com>
4202 * manual/resource.texi (Basic Scheduling Functions): Add
4203 portability note. Change process to task throughout the section.
4204 Remove incorrect comment about sched_yield as it affects
4205 tasks/threads, not entire processes.
4206 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4207 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4209 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4211 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4212 * configure: Regenerated.
4213 * manual/install.texi (Tools for Compilation): Update minimum GCC
4215 * INSTALL: Regenerated.
4217 2019-02-01 Florian Weimer <fweimer@redhat.com>
4219 * support/support_test_compare_string.c
4220 (support_test_compare_string): Use "string" in error message.
4221 * support/tst-test_compare_string.c (do_test): Adjust.
4223 2019-02-01 Florian Weimer <fweimer@redhat.com>
4225 * support/support_format_address_family.c
4226 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4228 2019-02-01 Florian Weimer <fweimer@redhat.com>
4230 * manual/socket.texi (Internet Address Formats): Clarify the byte
4231 order of struct sockaddr_in, struct sockaddr_in6. Document
4232 sin6_flowinfo and sin6_scope_id.
4234 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4236 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4237 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4238 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4239 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4240 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4241 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4243 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4245 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4246 [!MEMCHR](MEMCHR): Set to __memchr.
4247 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4248 Add memchr_generic and memchr_nosimd.
4249 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4250 (__libc_ifunc_impl_list): Add memchr ifuncs.
4251 * sysdeps/aarch64/multiarch/memchr.c: New file.
4252 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4253 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4255 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4257 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4259 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4260 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4261 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4262 Add IS_EMAG check for ifunc dispatch.
4263 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4264 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4266 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4268 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4269 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4271 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4274 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
4276 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4278 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
4280 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4281 syscall-template file.
4283 2019-01-31 Carlos O'Donell <carlos@redhat.com>
4284 Torvald Riegel <triegel@redhat.com>
4285 Rik Prohaska <prohaska7@gmail.com>
4288 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4289 tst-rwlock-trywrlock-stall.
4290 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4291 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4292 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4293 Set __wrphase_fute to 1 only if we started the write phase.
4294 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4295 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4296 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4297 * support/xpthread_rwlock_destroy.c: New file.
4298 * support/xthread.h: Declare xpthread_rwlock_destroy.
4300 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4302 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4305 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4308 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4309 * libio/fileops.c (_IO_new_file_underflow): Likewise
4310 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4311 * libio/putchar.c (putchar): Likewise.
4312 * libio/putchar_u.c (putchar_unlocked): Likewise.
4313 * libio/putwchar.c (putchar): Likewise.
4314 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4315 * libio/tst-bz24051.c: New test.
4316 * libio/Makefile (tests): Add tst-bz24051
4318 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
4321 regex: fix read overrun [BZ #24114]
4322 Problem found by AddressSanitizer, reported by Hongxu Chen in:
4323 https://debbugs.gnu.org/34140
4324 * posix/regexec.c (proceed_next_node):
4325 Do not read past end of input buffer.
4327 2019-01-31 Florian Weimer <fweimer@redhat.com>
4330 * nss/nss_files/files-alias.c (get_next_alias): Handle
4331 continuation line without newline at the end.
4332 * nss/tst-nss-files-alias-truncated.c: New file.
4333 * nss/Makefile [$(build-shared)] (tests): Add
4334 tst-nss-files-alias-truncated.
4335 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4336 * support/namespace.h (struct support_chroot_configuration): Add
4338 (struct support_chroot): Add path_aliases member.
4339 * support/support_chroot.c (support_chroot_create): Handle
4341 (support_chroot_free): Free path_aliases.
4343 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4345 * version.h (RELEASE): Set to "development".
4346 (VERSION): Set to "2.29.9000".
4347 * NEWS: Add section for 2.30.
4349 * version.h (RELEASE): Set to "stable".
4350 (VERSION): Set to "2.29".
4351 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
4353 * NEWS: Add the list of bugs fixed in 2.29.
4354 * manual/contrib.texi: Update contributors list with some more
4356 * manual/install.texi: Update latest versions of packages
4358 * INSTALL: Regenerated.
4360 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4362 * po/be.po: Update translations.
4363 * po/bg.po: Likewise.
4364 * po/ca.po: Likewise.
4365 * po/cs.po: Likewise.
4366 * po/da.po: Likewise.
4367 * po/de.po: Likewise.
4368 * po/el.po: Likewise.
4369 * po/eo.po: Likewise.
4370 * po/es.po: Likewise.
4371 * po/fi.po: Likewise.
4372 * po/fr.po: Likewise.
4373 * po/gl.po: Likewise.
4374 * po/hr.po: Likewise.
4375 * po/hu.po: Likewise.
4376 * po/ia.po: Likewise.
4377 * po/id.po: Likewise.
4378 * po/it.po: Likewise.
4379 * po/ja.po: Likewise.
4380 * po/ko.po: Likewise.
4381 * po/lt.po: Likewise.
4382 * po/nb.po: Likewise.
4383 * po/nl.po: Likewise.
4384 * po/pl.po: Likewise.
4385 * po/pt_BR.po: Likewise.
4386 * po/ru.po: Likewise.
4387 * po/rw.po: Likewise.
4388 * po/sk.po: Likewise.
4389 * po/sl.po: Likewise.
4390 * po/sv.po: Likewise.
4391 * po/tr.po: Likewise.
4392 * po/uk.po: Likewise.
4393 * po/vi.po: Likewise.
4394 * po/zh_CN.po: Likewise.
4395 * po/zh_TW.po: Likewise.
4397 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
4400 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
4401 of $f3 register on $y_is_neg path.
4403 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4406 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
4407 sigaltstack.ss_flags.
4409 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
4412 * manual/time.texi (strftime): Document "%Ey".
4413 * time/strftime_l.c (__strftime_internal): Set the default width
4414 padding with zero of "%Ey" to 2.
4417 * manual/time.texi (strftime): Document "%EC" and "%EY".
4418 * time/Makefile (tests): Add tst-strftime2.
4419 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
4420 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
4421 override padding for "%Ey".
4422 If an optional flag ('_' or '-') is specified to "%EY", interpret the
4423 "%Ey" in the subformat as if decorated with that flag.
4424 * time/tst-strftime2.c: New file.
4426 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4428 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
4432 * elf/Makefile (tests): Add tst-audit13.
4433 (modules-names): Add tst-audit13mod1.
4434 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4436 * elf/rtld.c (dl_main): Handle invalid audit module version.
4437 * elf/tst-audit13.c: New file.
4438 * elf/tst-audit13mod1.c: Likewise.
4440 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4442 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
4443 returned by __hurd_at_flags.
4444 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
4445 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
4446 directly instead of __hurd_file_name_lookup.
4448 2019-01-21 Joseph Myers <joseph@codesourcery.com>
4450 * scripts/build-many-glibcs.py (Context.checkout): Default
4451 binutils version to 2.32 branch.
4453 2019-01-21 Florian Weimer <fweimer@redhat.com>
4457 resolv: Reject trailing characters in host names
4458 * include/arpa/inet.h (__inet_aton_exact): Declare.
4459 (inet_aton): Remove hidden prototype. No longer used internally.
4460 * nscd/gai.c (__inet_aton): Do not define.
4461 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
4462 * nss/digits_dots.c (__inet_aton): Likewise.
4463 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
4464 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
4465 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
4466 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
4467 (tst-resolv-trailing): Likewise.
4468 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4470 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4471 Make static. Add endp parameter.
4472 (__inet_aton_exact): New function.
4473 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4474 (__inet_addr): Call inet_aton_end.
4475 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4476 not just IPv6. Call __inet_aton_exact.
4477 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4478 (tests): Make const. Add additional test cases with trailing
4480 (do_test): Use array_length.
4481 * resolv/tst-inet_aton_exact.c: New file.
4482 * resolv/tst-resolv-trailing.c: Likewise.
4483 * resolv/tst-resolv-nondecimal.c: Likewise.
4484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4486 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4490 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4491 Clear the upper 32 bits of RSI register.
4492 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4493 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4494 and tst-size_t-wcsnlen.
4495 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4496 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4498 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4502 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4503 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4504 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4505 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4506 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4508 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4512 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4513 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4514 * sysdeps/x86_64/strcmp.S: Likewise.
4515 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4516 tst-size_t-strncmp and tst-size_t-wcsncmp.
4517 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4518 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4519 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4521 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4525 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4526 RDX_LP for length. Clear the upper 32 bits of RDX register.
4527 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4528 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4529 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4530 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4532 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4536 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4537 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4538 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4539 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4541 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4545 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4546 length. Clear the upper 32 bits of RDX register.
4547 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4548 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4550 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4552 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4554 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4556 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4560 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4561 length. Clear the upper 32 bits of RDX register.
4562 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4563 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4564 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4566 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4567 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4569 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4573 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4574 upper 32 bits of RDX register.
4575 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4576 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4578 * sysdeps/x86_64/x32/test-size_t.h: New file.
4579 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4580 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4582 2019-01-18 Florian Weimer <fweimer@redhat.com>
4585 resolv: Do not send queries for non-host-names in nss_dns.
4586 * resolv/nss_dns/dns-host.c (check_name): New function.
4587 (_nss_dns_gethostbyname2_r): Use it.
4588 (_nss_dns_gethostbyname_r): Likewise.
4589 (_nss_dns_gethostbyname4_r): Likewise.
4591 2019-01-21 Florian Weimer <fweimer@redhat.com>
4593 * resolv/inet_addr.c: Reformat to GNU style.
4594 (__inet_addr, __inet_aton): Update comment.
4596 2019-01-18 Florian Weimer <fweimer@redhat.com>
4598 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4599 ("malloc: Use current (C11-style) atomics for fastbin access").
4600 This commit introduces a substantial performance regression on
4602 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4603 (REMOVE_FB): Define.
4604 (_int_malloc): Use it and reindent.
4605 (_int_free): Use CAS loop with
4606 catomic_compare_and_exchange_val_rel.
4607 (malloc_consolidate): Use atomic_exchange_acq.
4610 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4612 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4614 (LDFLAGS-tst-minsigstksz-2): Likewise.
4615 (LDFLAGS-tst-minsigstksz-3): Likewise.
4616 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4617 (LDFLAGS-tst-minsigstksz-4): Likewise.
4619 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4621 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4624 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
4626 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4628 2019-01-16 Zack Weinberg <zackw@panix.com>
4630 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4631 (xget_sigstack_location): New test support functions.
4632 * support/xsigstack.c: New file, implementing them.
4633 * support/tst-xsigstack.c: New test for them.
4634 * support/Makefile: Update.
4636 * signal/tst-minsigstksz-1.c
4637 * signal/tst-minsigstksz-2.c
4638 * signal/tst-minsigstksz-3.c
4639 * signal/tst-minsigstksz-3a.c
4640 * signal/tst-minsigstksz-4.c: New tests.
4641 * signal/Makefile: Run them.
4643 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4645 * po/libc.pot: Regenerate.
4647 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4649 * math/libm-test-fma.inc (fma_test_data): Set
4650 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4652 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4654 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4655 (do_test): Changed __vector __int128_t to __vector unsigned int.
4657 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4660 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4661 stpcpy-avx2 and stpncpy-avx2.
4662 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4663 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4664 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4666 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4667 ifunc-strcpy.h}: rename header for a more generic name.
4668 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4669 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4670 AVX unaligned load is fast and vzeroupper is preferred.
4671 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4672 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4673 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4674 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4675 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4676 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4678 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4680 * argp/argp-help.c: Fix typo in comment.
4681 * misc/sys/cdefs.h: Likewise.
4682 * posix/regexec.c (sift_states_iter_mb): Likewise.
4683 * socket/sockatmark.c: Likewise.
4684 * socket/sys/socket.h: Likewise.
4685 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4686 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4687 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4688 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4689 * sysdeps/unix/sockatmark.c: Likewise.
4690 * time/strptime_l.c: Likewise.
4692 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4694 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4695 missing space after the cast of "_NL_CURRENT".
4697 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4699 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4700 ifdef to fix read of VSCR.
4701 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4702 tst-ucontext-ppc64-vscr.c to test list.
4703 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4705 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4707 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4710 2019-01-09 Jim Wilson <jimw@sifive.com>
4712 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4714 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4716 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4717 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4718 __memcpy_falkor for ares.
4719 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4721 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4724 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4727 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4728 4_FP_W_TYPEs are used for IEEE quad precision.
4729 * soft-fp/extendhftf2.c: Likewise.
4730 * soft-fp/extendsftf2.c: Likewise.
4731 * soft-fp/extendxftf2.c: Likewise.
4732 * soft-fp/trunctfdf2.c: Likewise.
4733 * soft-fp/trunctfhf2.c: Likewise.
4734 * soft-fp/trunctfsf2.c: Likewise.
4735 * soft-fp/trunctfxf2.c: Likewise.
4736 * sysdeps/alpha/ots_cvttx.c: Likewise.
4737 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4738 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4739 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4740 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4741 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4742 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4743 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4744 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4745 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4746 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4747 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4748 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4749 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4750 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4751 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4752 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4753 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4755 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4758 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4759 code with -fmath-errno.
4760 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4761 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4762 * string/test-strerror-errno.c: New file.
4764 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4767 * localedata/locales/en_US (date_fmt): Add, set to
4768 "%a %d %b %Y %r %Z".
4770 2019-01-07 Florian Weimer <fweimer@redhat.com>
4773 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4774 instead of @var{errno}.
4775 (Parsing of Integers): Likewise.
4776 (Parsing of Floats): Likewise.
4777 * manual/filesys.texi (Working with Directory Trees): Likewise.
4778 (Temporary Files): Likewise.
4779 * manual/job.texi (Terminal Access Functions): Likewise.
4780 * manual/llio.texi (Synchronizing I/O): Likewise.
4781 * manual/math.texi (SVID Random): Likewise.
4782 * manual/message.texi (The catgets Functions): Likewise.
4783 (Translation with gettext): Likewise.
4784 (Locating gettext catalog): Likewise.
4785 (Charset conversion in gettext): Likewise.
4786 * manual/nss.texi (NSS Module Function Internals): Likewise.
4787 * manual/search.texi (Hash Search Function): Likewise.
4788 * manual/setjmp.texi (System V contexts): Likewise.
4789 * manual/time.texi (Sleeping): Likewise.
4790 * manual/users.texi (Lookup User): Likewise.
4791 (Lookup Group): Likewise.
4793 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4795 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4798 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
4801 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4802 __builtin_unreachable for default case in switch.
4803 (__ieee754_yn): Likewise.
4804 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4805 (__ieee754_ynl): Likewise.
4806 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4807 (__ieee754_ynl): Likewise.
4808 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4809 (__ieee754_ynl): Likewise.
4811 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4813 * manual/maint.texi: Use @{ and @}.
4815 2019-01-04 Florian Weimer <fweimer@redhat.com>
4817 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4819 (do_in_chroot_1): Call it.
4821 Improve error reporting in case it is not possible to create a
4822 collision for the PTY name required by the test.
4824 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4826 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4827 lll_wait_tid with timeout.
4828 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4829 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4830 futex_reltimed_wait_cancelable for cancelabla mode.
4831 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4832 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4834 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4835 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4836 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4837 SYSCALL_CANCEL_NCS): New macro.
4838 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4839 (lll_timedwait_tid): Remove macro.
4840 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4842 (lll_timedwait_tid): Likewise.
4843 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4845 (lll_timedwait_tid): Likewise.
4846 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4848 (lll_timedwait_tid): Likewise.
4849 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4850 Use INTERNAL_SYSCALL_CANCEL.
4851 * sysdeps/unix/sysv/linux/futex-internal.h
4852 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4853 instead of __pthread_{enable,disable}_asynccancel.
4854 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4855 (lll_futex_wait_cancel): New macro.
4857 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4858 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4860 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4861 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4863 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4864 in backtrace analysis.
4865 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4867 (tf_send): Likewise.
4869 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4870 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4871 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4872 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4873 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4874 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4875 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4876 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4877 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4878 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4879 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4880 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4882 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4883 tst-cancel-wrappers.sh.
4884 (generated): Remove tst-cancel-wrappers.out.
4885 (tst-cancel-wrappers.out): Remove rule.
4886 * nptl/tst-cancel-wrappers.sh: Remove file.
4888 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4890 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4891 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4894 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4897 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4898 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4899 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4900 close-on-exec reset for adddup2 file action.
4901 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4903 2019-01-03 Zack Weinberg <zackw@panix.com>
4905 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4906 parameter. Only use deprecated scanf when __USE_GNU is defined
4907 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4908 than 201103L, whichever is relevant for the language being compiled.
4910 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4911 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4912 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4913 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4914 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4918 * libio/iovswscanf.c
4923 * stdio-common/fscanf.c
4924 * stdio-common/scanf.c
4925 * stdio-common/vfscanf.c
4926 * stdio-common/vfwscanf.c
4927 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4928 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4929 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4930 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4931 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4932 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4933 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4934 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4935 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4936 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4937 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4938 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4939 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4940 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4941 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4943 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4944 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4945 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4947 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4948 with a preprocessor macro.
4950 * stdio-common/bug21.c, stdio-common/scanf14.c:
4951 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4952 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4953 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4954 to xscanf, xfscanf, xsscanf.
4956 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4957 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4958 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4959 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4961 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4962 override feature selection macros or provide definitions of u_char etc.
4963 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4964 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4965 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4968 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4971 bits/termios-misc.h.
4972 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4973 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4974 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4975 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4976 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4977 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4979 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4980 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4981 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4982 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4983 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4984 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4986 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4987 (sysdep_headers): Add termios-misc.h.
4989 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4990 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4991 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4995 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4996 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4997 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4998 TCSAFLUSH): Move to termios-tcflow.h.
4999 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5000 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5001 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5002 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5006 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5007 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5008 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5009 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5010 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5011 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5012 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5013 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
5015 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5016 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5017 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5018 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5022 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
5023 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
5024 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
5025 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
5026 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
5028 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5029 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5030 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5031 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5036 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
5037 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
5038 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
5039 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
5040 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
5041 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
5042 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
5043 __MAX_BAUD): Move to termios-baud.h.
5044 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
5045 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5046 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5047 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5048 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5050 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5052 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
5053 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
5054 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
5055 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
5056 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
5057 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
5059 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
5060 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
5062 [USE_MISC] (XTABS): Likewise.
5063 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5064 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5065 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5066 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
5068 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5070 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
5071 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
5072 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
5073 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
5074 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
5075 IUTF8): Move to termios-c_iflag.h.
5076 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5077 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5078 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5079 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5081 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5083 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
5084 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
5085 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
5086 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
5087 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
5088 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
5089 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
5090 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
5091 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5092 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5093 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5094 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5096 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5097 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5098 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5099 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5102 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5104 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5106 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5108 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5110 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5112 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5113 _HAVE_C_OSPEED): Define.
5114 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5115 _HAVE_C_OSPEED): Likewise.
5116 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5117 _HAVE_C_OSPEED): Likewise.
5118 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5119 (cfsetospeed): Check for define value instead of existence.
5120 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5121 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5122 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5123 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5124 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5127 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5129 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5130 (TIOCSER_TEMT): Likewise.
5131 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5132 (TEOCSER_TEMT): Likewise.
5134 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
5137 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5139 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5141 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5143 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5145 * sysdeps/htl/pt-barrierattr-setpshared.c
5146 (pthread_barrierattr_setpshared): Add stub warning.
5147 * sysdeps/htl/pt-condattr-setpshared.c
5148 (pthread_condattr_setpshared): Likewise.
5149 * sysdeps/htl/pt-mutexattr-setpshared.c
5150 (pthread_mutexattr_setpshared): Likewise.
5151 * sysdeps/htl/pt-rwlockattr-setpshared.c
5152 (pthread_rwlockattr_setpshared): Likewise.
5153 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5154 (pthread_mutexattr_setpshared): Likewise.
5156 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5158 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5159 constants to match with Linux 4.20.
5161 * sysdeps/mips/mips32/libm-test-ulps: Update.
5162 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5164 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5167 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5168 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5169 than __typeof (...) for the a_ptr variable.
5171 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5173 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5174 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5175 * libio/Makefile (tests): Add tst-sprintf-ub and
5177 (CFLAGS-tst-sprintf-ub.c): New variable.
5178 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5179 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5180 destination buffer and check for overflows in fortified mode.
5181 * libio/libioP.h (PRINTF_CHK): New macro.
5182 * libio/tst-sprintf-chk-ub.c: New file.
5183 * libio/tst-sprintf-ub.c: Likewise.
5185 2019-01-02 Florian Weimer <fweimer@redhat.com>
5188 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5191 2019-01-02 Florian Weimer <fweimer@redhat.com>
5193 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5195 2019-01-01 Joseph Myers <joseph@codesourcery.com>
5197 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5200 * sysdeps/unix/sysv/linux/netpacket/packet.h
5201 (PACKET_IGNORE_OUTGOING): New macro.
5203 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5206 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5208 (riscv_flush_icache): New syscall.
5210 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5211 trailing whitespace removed.
5212 * scripts/config.guess: Update to version 2019-01-01.
5213 * scripts/config.sub: Update to version 2019-01-01.
5214 * scripts/move-if-change: Update from gnulib.
5216 * NEWS: Update copyright dates.
5217 * catgets/gencat.c (print_version): Likewise.
5218 * csu/version.c (banner): Likewise.
5219 * debug/catchsegv.sh: Likewise.
5220 * debug/pcprofiledump.c (print_version): Likewise.
5221 * debug/xtrace.sh (do_version): Likewise.
5222 * elf/ldconfig.c (print_version): Likewise.
5223 * elf/ldd.bash.in: Likewise.
5224 * elf/pldd.c (print_version): Likewise.
5225 * elf/sotruss.sh: Likewise.
5226 * elf/sprof.c (print_version): Likewise.
5227 * iconv/iconv_prog.c (print_version): Likewise.
5228 * iconv/iconvconfig.c (print_version): Likewise.
5229 * locale/programs/locale.c (print_version): Likewise.
5230 * locale/programs/localedef.c (print_version): Likewise.
5231 * login/programs/pt_chown.c (print_version): Likewise.
5232 * malloc/memusage.sh (do_version): Likewise.
5233 * malloc/memusagestat.c (print_version): Likewise.
5234 * malloc/mtrace.pl: Likewise.
5235 * manual/libc.texinfo: Likewise.
5236 * nptl/version.c (banner): Likewise.
5237 * nscd/nscd.c (print_version): Likewise.
5238 * nss/getent.c (print_version): Likewise.
5239 * nss/makedb.c (print_version): Likewise.
5240 * posix/getconf.c (main): Likewise.
5241 * scripts/test-installation.pl: Likewise.
5242 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5244 * All files with FSF copyright notices: Update copyright dates
5245 using scripts/update-copyrights.
5246 * locale/programs/charmap-kw.h: Regenerated.
5247 * locale/programs/locfile-kw.h: Likewise.
5249 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5251 * timezone/zdump.c: Update from tzcode 2018i.
5252 * timezone/zic.c: Likewise.
5254 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5256 regex: improve Gnulib port to AIX
5257 From the glibc point of view, this removes duplicate macro
5258 definitions and is obviously safe.
5259 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5260 * posix/regex_internal.h:
5261 (__attribute__, __attribute_warn_unused_result__):
5262 Remove; already defined elsewhere.
5264 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
5267 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5268 copying operation. (ncopies had the wrong type, resulting in an
5269 integer wraparound and too few elements being copied.)
5271 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5274 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5275 <asm/syscalls.h> exists with __has_include__ before including it.
5277 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5279 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5282 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
5284 * hurd/lookup-retry: Include <unistd.h>.
5285 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5286 Release it on return. Handle "pid" magical lookup retry.
5288 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5291 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5292 (t_fmt_ampm): Likewise.
5293 * localedata/locales/aa_ER (t_fmt): Likewise.
5294 (t_fmt_ampm): Likewise.
5295 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5296 (t_fmt_ampm): Likewise.
5297 * localedata/locales/aa_ET (t_fmt): Likewise.
5298 (t_fmt_ampm): Likewise.
5299 * localedata/locales/am_ET (t_fmt): Likewise.
5300 (t_fmt_ampm): Likewise.
5301 * localedata/locales/byn_ER (t_fmt): Likewise.
5302 (t_fmt_ampm): Likewise.
5303 * localedata/locales/om_ET (t_fmt): Likewise.
5304 (t_fmt_ampm): Likewise.
5305 * localedata/locales/sid_ET (t_fmt): Likewise.
5306 (t_fmt_ampm): Likewise.
5307 * localedata/locales/so_DJ (t_fmt): Likewise.
5308 (t_fmt_ampm): Likewise.
5309 * localedata/locales/so_ET (t_fmt): Likewise.
5310 (t_fmt_ampm): Likewise.
5311 * localedata/locales/so_SO (t_fmt): Likewise.
5312 (t_fmt_ampm): Likewise.
5313 * localedata/locales/ti_ER (t_fmt): Likewise.
5314 (t_fmt_ampm): Likewise.
5315 * localedata/locales/ti_ET (t_fmt): Likewise.
5316 (t_fmt_ampm): Likewise.
5317 * localedata/locales/tig_ER (t_fmt): Likewise.
5318 (t_fmt_ampm): Likewise.
5319 * localedata/locales/wal_ET (t_fmt): Likewise.
5320 (t_fmt_ampm): Likewise.
5322 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
5323 * localedata/locales/ar_IN (t_fmt): Likewise.
5324 * localedata/locales/bhb_IN (t_fmt): Likewise.
5325 * localedata/locales/bho_IN (t_fmt): Likewise.
5326 * localedata/locales/bi_VU (t_fmt): Likewise.
5327 * localedata/locales/bn_BD (t_fmt): Likewise.
5328 * localedata/locales/bn_IN (t_fmt): Likewise.
5329 * localedata/locales/brx_IN (t_fmt): Likewise.
5330 * localedata/locales/doi_IN (t_fmt): Likewise.
5331 * localedata/locales/en_HK (t_fmt): Likewise.
5332 (t_fmt_ampm): Likewise.
5333 * localedata/locales/en_IN (t_fmt): Likewise.
5334 * localedata/locales/en_PH (t_fmt): Likewise.
5335 * localedata/locales/gu_IN (t_fmt): Likewise.
5336 * localedata/locales/hi_IN (t_fmt): Likewise.
5337 * localedata/locales/hif_FJ (t_fmt): Likewise.
5338 * localedata/locales/hne_IN (t_fmt): Likewise.
5339 * localedata/locales/kn_IN (t_fmt): Likewise.
5340 * localedata/locales/kok_IN (t_fmt): Likewise.
5341 * localedata/locales/ks_IN (t_fmt): Likewise.
5342 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
5343 * localedata/locales/mag_IN (t_fmt): Likewise.
5344 * localedata/locales/mai_IN (t_fmt): Likewise.
5345 * localedata/locales/mjw_IN (t_fmt): Likewise.
5346 * localedata/locales/ml_IN (t_fmt): Likewise.
5347 * localedata/locales/mni_IN (t_fmt): Likewise.
5348 * localedata/locales/mr_IN (t_fmt): Likewise.
5349 * localedata/locales/ms_MY (t_fmt): Likewise.
5350 * localedata/locales/pa_IN (t_fmt): Likewise.
5351 * localedata/locales/raj_IN (t_fmt): Likewise.
5352 * localedata/locales/sa_IN (t_fmt): Likewise.
5353 * localedata/locales/sat_IN (t_fmt): Likewise.
5354 * localedata/locales/sd_IN (t_fmt): Likewise.
5355 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
5356 * localedata/locales/tcy_IN (t_fmt): Likewise.
5357 * localedata/locales/the_NP (t_fmt): Likewise.
5358 * localedata/locales/to_TO (t_fmt): Likewise.
5359 * localedata/locales/ur_IN (t_fmt): Likewise.
5361 * localedata/locales/hif_FJ (d_t_fmt): Set to
5362 "%A %d %b %Y %I:%M:%S %p".
5363 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
5365 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
5366 * localedata/locales/ar_BH (t_fmt): Likewise.
5367 * localedata/locales/ar_DZ (t_fmt): Likewise.
5368 * localedata/locales/ar_EG (t_fmt): Likewise.
5369 * localedata/locales/ar_IQ (t_fmt): Likewise.
5370 * localedata/locales/ar_JO (t_fmt): Likewise.
5371 * localedata/locales/ar_KW (t_fmt): Likewise.
5372 * localedata/locales/ar_LB (t_fmt): Likewise.
5373 * localedata/locales/ar_LY (t_fmt): Likewise.
5374 * localedata/locales/ar_OM (t_fmt): Likewise.
5375 * localedata/locales/ar_QA (t_fmt): Likewise.
5376 * localedata/locales/ar_SD (t_fmt): Likewise.
5377 * localedata/locales/ar_SS (t_fmt): Likewise.
5378 * localedata/locales/ar_SY (t_fmt): Likewise.
5379 * localedata/locales/ar_TN (t_fmt): Likewise.
5380 * localedata/locales/ar_YE (t_fmt): Likewise.
5382 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
5383 (t_fmt_ampm): Likewise.
5384 * localedata/locales/gez_ET (t_fmt): Likewise.
5385 (t_fmt_ampm): Likewise.
5387 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
5388 (t_fmt_ampm): Likewise.
5389 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
5391 * localedata/locales/zh_HK (t_fmt):
5392 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
5394 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
5395 because this locale does not use the 12-hour clock.
5396 (t_fmt): Set to "%Z %H:%M:%S".
5397 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
5399 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
5400 because this locale does not use the 12-hour clock.
5401 (t_fmt): Set to "%H:%M:%S %Z".
5402 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
5404 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
5405 because this locale does not use the 12-hour clock.
5406 (t_fmt): Set to "%T".
5407 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
5408 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
5410 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
5411 because this locale does not use the 12-hour clock.
5412 (t_fmt): Set to "%H:%M:%S %Z".
5413 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
5415 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
5416 because this locale does not use the 12-hour clock.
5417 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
5418 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
5420 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5424 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
5425 (t_fmt_ampm): Likewise.
5426 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
5427 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
5428 (d_fmt): Set to "%-d.%-m.%y".
5430 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5432 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
5433 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
5434 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
5436 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5437 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
5438 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
5440 * support/blob_repeat.c (check_mul_overflow_size_t,
5441 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
5443 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
5445 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
5447 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
5449 regex: simplify Gnulib port
5450 This simplifies the code, by removing stuff intended for porting
5451 to Gnulib but no longer needed there.
5452 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
5453 uses of libc_hidden_def, weak_alias.
5454 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
5455 _Restrict_ except for public-facing headers.
5456 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
5457 Remove; already defined elsewhere.
5458 * posix/regex.c, posix/regex_internal.h:
5459 Use __GNUC_PREREQ instead of rolling our own.
5460 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
5462 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
5464 * benchtests/bench-strlen.c (generic_strlen): New function.
5465 (memchr_strlen): New function.
5467 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5469 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5470 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5471 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5473 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5475 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5477 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5479 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5480 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5481 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5482 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5483 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5484 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5485 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5487 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5490 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5491 PLT reference in libc.so.
5492 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5493 _Q_lltoq and _Q_qtod PLT references in libc.so.
5495 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5497 * benchtests/bench-memchr.c: Cleanup defines.
5498 * benchtests/bench-memcmp.c: Likewise.
5499 * benchtests/bench-memset.c: Likewise.
5500 * benchtests/bench-memset-large.c: Likewise.
5501 * benchtests/bench-memset-walk.c: Likewise.
5502 * benchtests/bench-stpcpy.c: Likewise.
5503 * benchtests/bench-stpncpy.c: Likewise.
5504 * benchtests/bench-strcat.c: Likewise.
5505 * benchtests/bench-strchr.c: Likewise.
5506 * benchtests/bench-strcmp.c: Likewise.
5507 * benchtests/bench-strcpy.c: Likewise.
5508 * benchtests/bench-strcspn.c: Likewise.
5509 * benchtests/bench-string.h: Likewise.
5510 * benchtests/bench-strlen.c: Likewise.
5511 * benchtests/bench-strncat.c: Likewise.
5512 * benchtests/bench-strncmp.c: Likewise.
5513 * benchtests/bench-strncpy.c: Likewise.
5514 * benchtests/bench-strnlen.c: Likewise.
5515 * benchtests/bench-strpbrk.c: Likewise.
5516 * benchtests/bench-strrchr.c: Likewise.
5517 * benchtests/bench-strspn.c: Likewise.
5519 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5521 * stdlib/longlong.h: Update from GCC.
5524 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5525 * configure: Regenerated.
5526 * manual/install.texi (Tools for Compilation): Update minimum GCC
5528 * INSTALL: Regenerated.
5530 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
5532 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5534 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
5536 * malloc/malloc.c (mremap_chunk): Additional checks.
5538 2018-12-21 Mao Han <han_mao@c-sky.com>
5540 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5541 * scripts/build-many-glibcs.py: Add C-SKY targets.
5542 * sysdeps/csky/Implies: New file.
5543 * sysdeps/csky/Makefile: Likewise.
5544 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5545 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5546 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5547 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5548 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5549 * sysdeps/csky/abiv2/memmove.S: Likewise.
5550 * sysdeps/csky/abiv2/memset.S: Likewise.
5551 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5552 * sysdeps/csky/abiv2/start.S: Likewise.
5553 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5554 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5555 * sysdeps/csky/abiv2/strlen.S: Likewise.
5556 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5557 * sysdeps/csky/abort-instr.h: Likewise.
5558 * sysdeps/csky/atomic-machine.h: Likewise.
5559 * sysdeps/csky/bits/endian.h: Likewise.
5560 * sysdeps/csky/bits/fenv.h: Likewise.
5561 * sysdeps/csky/bits/link.h: Likewise.
5562 * sysdeps/csky/bits/setjmp.h: Likewise.
5563 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5564 * sysdeps/csky/bsd-setjmp.S: Likewise.
5565 * sysdeps/csky/configure: Likewise.
5566 * sysdeps/csky/configure.ac: Likewise.
5567 * sysdeps/csky/dl-machine.h: Likewise.
5568 * sysdeps/csky/dl-procinfo.c: Likewise.
5569 * sysdeps/csky/dl-procinfo.h: Likewise.
5570 * sysdeps/csky/dl-sysdep.h: Likewise.
5571 * sysdeps/csky/dl-tls.h: Likewise.
5572 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5573 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5574 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5575 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5576 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5577 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5578 * sysdeps/csky/fpu/fegetround.c: Likewise.
5579 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5580 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5581 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5582 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5583 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5584 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5585 * sysdeps/csky/fpu/fesetround.c: Likewise.
5586 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5587 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5588 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5589 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5590 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5591 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5592 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5593 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5594 * sysdeps/csky/fpu_control.h: Likewise.
5595 * sysdeps/csky/gccframe.h: Likewise.
5596 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5597 * sysdeps/csky/ldsodefs.h: Likewise.
5598 * sysdeps/csky/libc-tls.c: Likewise.
5599 * sysdeps/csky/linkmap.h: Likewise.
5600 * sysdeps/csky/machine-gmon.h: Likewise.
5601 * sysdeps/csky/memusage.h: Likewise.
5602 * sysdeps/csky/nofpu/Implies: Likewise.
5603 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5604 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5605 * sysdeps/csky/nptl/Makefile: Likewise.
5606 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5607 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5608 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5609 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5610 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5611 * sysdeps/csky/nptl/tls.h: Likewise.
5612 * sysdeps/csky/preconfigure: Likewise.
5613 * sysdeps/csky/sfp-machine.h: Likewise.
5614 * sysdeps/csky/sotruss-lib.c: Likewise.
5615 * sysdeps/csky/stackinfo.h: Likewise.
5616 * sysdeps/csky/sysdep.h: Likewise.
5617 * sysdeps/csky/tininess.h: Likewise.
5618 * sysdeps/csky/tst-audit.h: Likewise.
5619 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5620 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5621 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5622 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5623 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5624 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5625 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5626 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5627 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5628 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5629 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5630 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5631 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5632 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5633 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5634 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5635 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5636 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5637 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5638 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5639 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5640 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5641 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5642 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5643 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5644 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5645 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5646 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5647 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5648 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5649 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5650 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5651 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5652 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5653 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5654 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5655 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5656 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5657 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5658 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5659 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5660 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5661 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5662 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5664 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5666 * include/time.h (__difftime64): Add.
5667 * time/difftime.c (subtract): convert to 64-bit time.
5668 * time/difftime.c (__difftime64): Add.
5669 * time/difftime.c (__difftime): Wrap around __difftime64.
5671 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5673 * manual/examples/add.c: Remove redundant "if not".
5674 * manual/examples/argp-ex1.c: Likewise.
5675 * manual/examples/argp-ex2.c: Likewise.
5676 * manual/examples/argp-ex3.c: Likewise.
5677 * manual/examples/argp-ex4.c: Likewise.
5678 * manual/examples/atexit.c: Likewise.
5679 * manual/examples/db.c: Likewise.
5680 * manual/examples/dir.c: Likewise.
5681 * manual/examples/dir2.c: Likewise.
5682 * manual/examples/execinfo.c: Likewise.
5683 * manual/examples/filecli.c: Likewise.
5684 * manual/examples/filesrv.c: Likewise.
5685 * manual/examples/fmtmsgexpl.c: Likewise.
5686 * manual/examples/genpass.c: Likewise.
5687 * manual/examples/inetcli.c: Likewise.
5688 * manual/examples/inetsrv.c: Likewise.
5689 * manual/examples/isockad.c: Likewise.
5690 * manual/examples/longopt.c: Likewise.
5691 * manual/examples/memopen.c: Likewise.
5692 * manual/examples/memstrm.c: Likewise.
5693 * manual/examples/mkdirent.c: Likewise.
5694 * manual/examples/mkfsock.c: Likewise.
5695 * manual/examples/mkisock.c: Likewise.
5696 * manual/examples/mygetpass.c: Likewise.
5697 * manual/examples/pipe.c: Likewise.
5698 * manual/examples/popen.c: Likewise.
5699 * manual/examples/rprintf.c: Likewise.
5700 * manual/examples/search.c: Likewise.
5701 * manual/examples/select.c: Likewise.
5702 * manual/examples/setjmp.c: Likewise.
5703 * manual/examples/sigh1.c: Likewise.
5704 * manual/examples/sigusr.c: Likewise.
5705 * manual/examples/stpcpy.c: Likewise.
5706 * manual/examples/strdupa.c: Likewise.
5707 * manual/examples/strftim.c: Likewise.
5708 * manual/examples/subopt.c: Likewise.
5709 * manual/examples/swapcontext.c: Likewise.
5710 * manual/examples/termios.c: Likewise.
5711 * manual/examples/testopt.c: Likewise.
5712 * manual/examples/testpass.c: Likewise.
5713 * manual/examples/timeval_subtract.c: Likewise.
5715 2018-12-19 Joseph Myers <joseph@codesourcery.com>
5717 * sysdeps/x86/fpu/math_private.h: New file.
5718 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5720 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5725 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5727 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5728 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5729 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5730 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5732 (_dl_show_auxv): Give a special treatment to
5733 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5734 and AT_L3_CACHEGEOMETRY.
5735 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5736 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5737 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5738 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5740 2018-12-19 Andreas Schwab <schwab@suse.de>
5742 * nscd/connections.c (check_use): Don't abort on invalid len.
5744 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5746 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5747 values in the 64bit value cases.
5749 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5755 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5761 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5764 (__gmtime64_r): Add.
5766 (__gmtime64_r): Add.
5767 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5773 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5776 (__localtime64_r): Add.
5778 (__localtime64_r): Add.
5779 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5781 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5783 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5784 kernel_sigction definition.
5786 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5788 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5790 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5791 __syscall_rt_sigaction.
5792 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5793 (kernel_sigaction): Use Linux generic defintion.
5795 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5796 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5797 (__syscall_rt_sigaction): Remove implementation.
5798 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5800 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5801 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5802 INTERNAL_SYSCALL): Remove definitions.
5803 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5804 action and signal set size.
5805 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5806 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5808 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5809 James Clarke <jrtc27@jrtc27.com>
5812 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5813 Define if SA_RESTORER is defined.
5814 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5815 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5817 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5818 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5820 (HAS_SA_RESTORER): Define.
5821 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5822 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5823 (HAS_SA_RESTORER): Define.
5824 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5825 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5826 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5827 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5828 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5830 2018-12-18 Joseph Myers <joseph@codesourcery.com>
5832 * sysdeps/unix/sysv/linux/kernel-features.h
5833 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5834 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5835 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5836 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5837 (__ASSUME_ST_INO_64_BIT): Likewise.
5838 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5839 <kernel-features.h>.
5840 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5841 Remove conditional code.
5842 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5843 <kernel-features.h>.
5844 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5845 Remove conditional code.
5846 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5847 <kernel-features.h>.
5848 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5849 Remove conditional code.
5850 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5851 <kernel-features.h>.
5852 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5853 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5855 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5857 * sysdeps/s390/multiarch/ifunc-resolve.h
5858 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5859 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5860 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5861 Delete macro definition.
5862 (s390_libc_ifunc_init): Rename to
5863 s390_libc_ifunc_expr_stfle_init.
5864 * sysdeps/s390/bzero: Use
5865 s390_libc_ifunc_expr_stfle_init instead of
5866 s390_libc_ifunc_init.
5867 * sysdeps/s390/memcmp.c: Likewise.
5868 * sysdeps/s390/memcpy.c: Likewise.
5869 * sysdeps/s390/mempcpy.c: Likewise.
5870 * sysdeps/s390/memset.c: Likewise.
5872 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5874 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5875 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5877 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5879 * sysdeps/s390/multiarch/Makefile
5880 (sysdep_routines): Remove wmemcmp variants.
5881 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5882 * sysdeps/s390/multiarch/ifunc-impl-list.c
5883 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5884 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5885 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5886 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5887 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5888 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5889 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5890 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5892 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5894 * sysdeps/s390/multiarch/Makefile
5895 (sysdep_routines): Remove wmemset variants.
5896 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5897 * sysdeps/s390/multiarch/ifunc-impl-list.c
5898 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5899 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5900 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5901 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5902 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5903 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5904 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5905 * sysdeps/s390/ifunc-wmemset.h: New file.
5907 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5909 * sysdeps/s390/multiarch/Makefile
5910 (sysdep_routines): Remove wmemchr variants.
5911 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5912 * sysdeps/s390/multiarch/ifunc-impl-list.c
5913 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5914 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5915 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5916 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5917 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5918 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5919 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5920 * sysdeps/s390/ifunc-wmemchr.h: New file.
5922 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5924 * sysdeps/s390/multiarch/Makefile
5925 (sysdep_routines): Remove wcscspn variants.
5926 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5927 * sysdeps/s390/multiarch/ifunc-impl-list.c
5928 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5929 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5930 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5931 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5932 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5933 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5934 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5935 * sysdeps/s390/ifunc-wcscspn.h: New file.
5937 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5939 * sysdeps/s390/multiarch/Makefile
5940 (sysdep_routines): Remove wcspbrk variants.
5941 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5942 * sysdeps/s390/multiarch/ifunc-impl-list.c
5943 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5944 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5945 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5946 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5947 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5948 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5949 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5950 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5952 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5954 * sysdeps/s390/multiarch/Makefile
5955 (sysdep_routines): Remove wcsspn variants.
5956 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5957 * sysdeps/s390/multiarch/ifunc-impl-list.c
5958 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5959 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5960 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5961 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5962 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5963 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5964 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5965 * sysdeps/s390/ifunc-wcsspn.h: New file.
5967 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5969 * sysdeps/s390/multiarch/Makefile
5970 (sysdep_routines): Remove wcsrchr variants.
5971 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5972 * sysdeps/s390/multiarch/ifunc-impl-list.c
5973 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5974 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5975 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5976 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5977 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5978 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5979 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5980 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5982 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5984 * sysdeps/s390/multiarch/Makefile
5985 (sysdep_routines): Remove wcschrnul variants.
5986 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5987 * sysdeps/s390/multiarch/ifunc-impl-list.c
5988 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5989 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5990 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5991 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5992 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5993 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5994 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5995 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5997 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5999 * sysdeps/s390/multiarch/Makefile
6000 (sysdep_routines): Remove wcschr variants.
6001 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6002 * sysdeps/s390/multiarch/ifunc-impl-list.c
6003 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6004 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6005 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6006 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6007 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6008 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6009 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6010 * sysdeps/s390/ifunc-wcschr.h: New file.
6012 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6014 * sysdeps/s390/multiarch/Makefile
6015 (sysdep_routines): Remove wcsncmp variants.
6016 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6017 * sysdeps/s390/multiarch/ifunc-impl-list.c
6018 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6019 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6020 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6021 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6022 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
6023 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
6024 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
6025 * sysdeps/s390/ifunc-wcsncmp.h: New file.
6027 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6029 * sysdeps/s390/multiarch/Makefile
6030 (sysdep_routines): Remove wcscmp variants.
6031 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
6032 * sysdeps/s390/multiarch/ifunc-impl-list.c
6033 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
6034 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
6035 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
6036 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
6037 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
6038 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
6039 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
6040 * sysdeps/s390/ifunc-wcscmp.h: New file.
6042 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6044 * sysdeps/s390/multiarch/Makefile
6045 (sysdep_routines): Remove wcsncat variants.
6046 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
6047 * sysdeps/s390/multiarch/ifunc-impl-list.c
6048 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
6049 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
6050 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
6051 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
6052 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
6053 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
6054 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
6055 * sysdeps/s390/ifunc-wcsncat.h: New file.
6057 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6059 * sysdeps/s390/multiarch/Makefile
6060 (sysdep_routines): Remove wcscat variants.
6061 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
6062 * sysdeps/s390/multiarch/ifunc-impl-list.c
6063 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
6064 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
6065 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
6066 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
6067 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
6068 * sysdeps/s390/multiarch/wcscat.c: Move to ...
6069 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
6070 * sysdeps/s390/ifunc-wcscat.h: New file.
6072 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6074 * sysdeps/s390/multiarch/Makefile
6075 (sysdep_routines): Remove wcpncpy variants.
6076 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
6077 * sysdeps/s390/multiarch/ifunc-impl-list.c
6078 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
6079 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
6080 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
6081 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
6082 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
6083 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
6084 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
6085 * sysdeps/s390/ifunc-wcpncpy.h: New file.
6087 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6089 * sysdeps/s390/multiarch/Makefile
6090 (sysdep_routines): Remove wcsncpy variants.
6091 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
6092 * sysdeps/s390/multiarch/ifunc-impl-list.c
6093 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
6094 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
6095 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
6096 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6097 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6098 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6099 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6100 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6102 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6104 * sysdeps/s390/multiarch/Makefile
6105 (sysdep_routines): Remove wcpcpy variants.
6106 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6107 * sysdeps/s390/multiarch/ifunc-impl-list.c
6108 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6109 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6110 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6111 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6112 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6113 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6114 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6115 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6117 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6119 * sysdeps/s390/multiarch/Makefile
6120 (sysdep_routines): Remove wcscpy variants.
6121 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6122 * sysdeps/s390/multiarch/ifunc-impl-list.c
6123 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6124 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6125 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6126 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6127 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6128 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6129 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6130 * sysdeps/s390/ifunc-wcscpy.h: New file.
6132 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6134 * sysdeps/s390/multiarch/Makefile
6135 (sysdep_routines): Remove wcsnlen variants.
6136 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6137 * sysdeps/s390/multiarch/ifunc-impl-list.c
6138 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6139 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6140 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6141 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6142 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6143 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6144 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6145 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6147 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6149 * sysdeps/s390/multiarch/Makefile
6150 (sysdep_routines): Remove wcslen variants.
6151 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6152 * sysdeps/s390/multiarch/ifunc-impl-list.c
6153 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6154 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6155 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6156 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6157 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6158 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6159 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6160 * sysdeps/s390/ifunc-wcslen.h: New file.
6162 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6164 * sysdeps/s390/multiarch/Makefile
6165 (sysdep_routines): Remove memrchr variants.
6166 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6167 * sysdeps/s390/multiarch/ifunc-impl-list.c
6168 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6169 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6170 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6171 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6172 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6173 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6174 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6175 * sysdeps/s390/ifunc-memrchr.h: New file.
6177 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6179 * sysdeps/s390/multiarch/Makefile
6180 (sysdep_routines): Remove memccpy variants.
6181 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6182 * sysdeps/s390/multiarch/ifunc-impl-list.c
6183 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6184 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6185 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6186 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6187 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6188 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6189 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6190 * sysdeps/s390/ifunc-memccpy.h: New file.
6192 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6194 * sysdeps/s390/multiarch/Makefile
6195 (sysdep_routines): Remove rawmemchr variants.
6196 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6197 * sysdeps/s390/multiarch/ifunc-impl-list.c
6198 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6199 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6200 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6201 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6202 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6203 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6204 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6205 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6207 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6209 * sysdeps/s390/multiarch/Makefile
6210 (sysdep_routines): Remove memchr variants.
6211 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6212 * sysdeps/s390/multiarch/ifunc-impl-list.c
6213 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6214 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6215 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6216 * sysdeps/s390/multiarch/memchr.c: Move to ...
6217 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6218 * sysdeps/s390/ifunc-memchr.h: New file.
6219 * sysdeps/s390/s390-64/memchr.S: Move to ...
6220 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6221 for 31/64bit and ifunc handling.
6222 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6223 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6224 * sysdeps/s390/s390-32/memchr.S: Likewise.
6226 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6228 * sysdeps/s390/multiarch/Makefile
6229 (sysdep_routines): Remove strcspn variants.
6230 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6231 * sysdeps/s390/multiarch/ifunc-impl-list.c
6232 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6233 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6234 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6235 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6236 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6237 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6238 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6239 * sysdeps/s390/ifunc-strcspn.h: New file.
6241 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6243 * sysdeps/s390/multiarch/Makefile
6244 (sysdep_routines): Remove strpbrk variants.
6245 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6246 * sysdeps/s390/multiarch/ifunc-impl-list.c
6247 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6248 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6249 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6250 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6251 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6252 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6253 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6254 * sysdeps/s390/ifunc-strpbrk.h: New file.
6256 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6258 * sysdeps/s390/multiarch/Makefile
6259 (sysdep_routines): Remove strspn variants.
6260 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6261 * sysdeps/s390/multiarch/ifunc-impl-list.c
6262 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6263 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6264 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6265 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6266 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6267 * sysdeps/s390/multiarch/strspn.c: Move to ...
6268 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6269 * sysdeps/s390/ifunc-strspn.h: New file.
6271 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6273 * sysdeps/s390/multiarch/Makefile
6274 (sysdep_routines): Remove strrchr variants.
6275 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6276 * sysdeps/s390/multiarch/ifunc-impl-list.c
6277 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6278 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6279 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6280 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6281 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6282 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6283 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6284 * sysdeps/s390/ifunc-strrchr.h: New file.
6286 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6288 * sysdeps/s390/multiarch/Makefile
6289 (sysdep_routines): Remove strchrnul variants.
6290 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6291 * sysdeps/s390/multiarch/ifunc-impl-list.c
6292 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6293 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6294 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6295 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6296 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6297 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6298 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6299 * sysdeps/s390/ifunc-strchrnul.h: New file.
6301 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6303 * sysdeps/s390/multiarch/Makefile
6304 (sysdep_routines): Remove strchr variants.
6305 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6306 * sysdeps/s390/multiarch/ifunc-impl-list.c
6307 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6308 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6309 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6310 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6311 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6312 * sysdeps/s390/multiarch/strchr.c: Move to ...
6313 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
6314 * sysdeps/s390/ifunc-strchr.h: New file.
6316 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6318 * sysdeps/s390/multiarch/Makefile
6319 (sysdep_routines): Remove strncmp variants.
6320 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
6321 * sysdeps/s390/multiarch/ifunc-impl-list.c
6322 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
6323 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
6324 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
6325 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
6326 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6327 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6328 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6329 * sysdeps/s390/ifunc-strncmp.h: New file.
6331 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6333 * sysdeps/s390/multiarch/Makefile
6334 (sysdep_routines): Remove strcmp variants.
6335 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6336 * sysdeps/s390/multiarch/ifunc-impl-list.c
6337 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6338 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
6339 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
6340 * sysdeps/s390/multiarch/strcmp.c: Move to ...
6341 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
6342 * sysdeps/s390/ifunc-strcmp.h: New file.
6343 * sysdeps/s390/s390-64/strcmp.S: Move to ...
6344 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
6345 for 31/64bit and ifunc handling.
6346 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
6347 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6348 * sysdeps/s390/s390-32/strcmp.S: Likewise.
6350 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6352 * sysdeps/s390/multiarch/Makefile
6353 (sysdep_routines): Remove strncat variants.
6354 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
6355 * sysdeps/s390/multiarch/ifunc-impl-list.c
6356 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
6357 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
6358 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
6359 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
6360 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
6361 * sysdeps/s390/multiarch/strncat.c: Move to ...
6362 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
6363 * sysdeps/s390/ifunc-strncat.h: New file.
6365 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6367 * sysdeps/s390/multiarch/Makefile
6368 (sysdep_routines): Remove strcat variants.
6369 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
6370 * sysdeps/s390/multiarch/ifunc-impl-list.c
6371 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
6372 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
6373 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
6374 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
6375 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
6376 * sysdeps/s390/multiarch/strcat.c: Move to ...
6377 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
6378 * sysdeps/s390/ifunc-strcat.h: New file.
6380 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6382 * sysdeps/s390/multiarch/Makefile
6383 (sysdep_routines): Remove stpncpy variants.
6384 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
6385 * sysdeps/s390/multiarch/ifunc-impl-list.c
6386 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
6387 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
6388 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
6389 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
6390 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
6391 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
6392 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
6393 * sysdeps/s390/ifunc-stpncpy.h: New file.
6395 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6397 * sysdeps/s390/multiarch/Makefile
6398 (sysdep_routines): Remove strncpy variants.
6399 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
6400 * sysdeps/s390/multiarch/ifunc-impl-list.c
6401 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
6402 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
6403 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
6404 * sysdeps/s390/multiarch/strncpy.c: Move to ...
6405 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
6406 * sysdeps/s390/ifunc-strncpy.h: New file.
6407 * sysdeps/s390/s390-64/strncpy.S: Move to ...
6408 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
6409 and adjust ifunc handling.
6410 * sysdeps/s390/s390-32/strncpy.S: Move to ...
6411 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
6412 and adjust ifunc handling.
6413 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
6414 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6416 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6418 * sysdeps/s390/multiarch/Makefile
6419 (sysdep_routines): Remove stpcpy variants.
6420 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
6421 * sysdeps/s390/multiarch/ifunc-impl-list.c
6422 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
6423 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
6424 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
6425 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
6426 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
6427 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
6428 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
6429 * sysdeps/s390/ifunc-stpcpy.h: New file.
6431 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6433 * sysdeps/s390/multiarch/Makefile
6434 (sysdep_routines): Remove strcpy variants.
6435 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
6436 * sysdeps/s390/multiarch/ifunc-impl-list.c
6437 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
6438 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
6439 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
6440 * sysdeps/s390/multiarch/strcpy.c: Move to ...
6441 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
6442 * sysdeps/s390/ifunc-strcpy.h: New file.
6443 * sysdeps/s390/s390-64/strcpy.S: Move to ...
6444 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
6445 for 31/64bit and ifunc handling.
6446 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
6447 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6448 * sysdeps/s390/s390-32/strcpy.S: Likewise.
6450 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6452 * sysdeps/s390/multiarch/Makefile
6453 (sysdep_routines): Remove strnlen variants.
6454 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
6455 * sysdeps/s390/multiarch/ifunc-impl-list.c
6456 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
6457 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
6458 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
6459 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
6460 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
6461 * sysdeps/s390/multiarch/strnlen.c: Move to ...
6462 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
6463 * sysdeps/s390/ifunc-strnlen.h: New file.
6465 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6467 * sysdeps/s390/multiarch/Makefile
6468 (sysdep_routines): Remove strlen variants.
6469 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6470 * sysdeps/s390/multiarch/ifunc-impl-list.c
6471 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6472 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6473 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6474 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6475 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6476 * sysdeps/s390/multiarch/strlen.c: Move to ...
6477 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6478 * sysdeps/s390/ifunc-strlen.h: New file.
6480 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6482 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6483 * sysdeps/s390/multiarch/ifunc-impl-list.c
6484 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6485 * sysdeps/s390/ifunc-memmem.h: New file.
6486 * sysdeps/s390/memmem.c: Likewise.
6487 * sysdeps/s390/memmem-c.c: Likewise.
6488 * sysdeps/s390/memmem-vx.c: Likewise.
6490 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6492 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6493 * sysdeps/s390/multiarch/ifunc-impl-list.c
6494 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6495 * sysdeps/s390/ifunc-strstr.h: New file.
6496 * sysdeps/s390/strstr.c: Likewise.
6497 * sysdeps/s390/strstr-c.c: Likewise.
6498 * sysdeps/s390/strstr-vx.c: Likewise.
6500 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6502 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6503 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6504 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6505 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6507 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6508 * sysdeps/s390/memmove-c.c: New file.
6509 * sysdeps/s390/memmove.c: Likewise.
6510 * sysdeps/s390/multiarch/ifunc-impl-list.c
6511 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6513 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6515 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6516 * sysdeps/s390/configure.ac: Add check for z13 support.
6517 * sysdeps/s390/configure: Regenerated.
6519 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6521 * sysdeps/s390/memcopy.h: New file.
6523 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6525 * sysdeps/s390/s390-32/bcopy.S: Remove.
6526 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6528 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6530 * sysdeps/s390/ifunc-memcpy.h: New File.
6531 * sysdeps/s390/memcpy.S: Move to ...
6532 * sysdeps/s390/memcpy-z900.S ... here.
6533 Move implementations from memcpy-s390x.s to here.
6534 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6535 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6536 Remove memcpy/mempcpy variants.
6537 * sysdeps/s390/Makefile (sysdep_routines):
6538 Add memcpy/mempcpy variants.
6539 * sysdeps/s390/multiarch/ifunc-impl-list.c
6540 (__libc_ifunc_impl_list): Adjust ifunc variants for
6542 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6544 * sysdeps/s390/memcpy.c: ... here.
6545 Adjust ifunc variants for memcpy.
6546 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6547 * sysdeps/s390/mempcpy.c: ... here.
6548 Adjust ifunc variants for mempcpy.
6549 * sysdeps/s390/mempcpy.S: Delete file.
6551 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6553 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6554 * sysdeps/s390/memcpy.S: ... here.
6555 Adjust to be usable for 31/64bit.
6556 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6557 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6558 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6559 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6560 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6561 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6562 Adjust to be usable for 31/64bit.
6563 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6564 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6565 * sysdeps/s390/multiarch/memcpy.c: ... here.
6566 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6568 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6570 * sysdeps/s390/ifunc-memcmp.h: New File.
6571 * sysdeps/s390/memcmp.S: Move to ...
6572 * sysdeps/s390/memcmp-z900.S ... here.
6573 Move implementations from memcmp-s390x.s to here.
6574 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6575 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6576 Remove memcmp variants.
6577 * sysdeps/s390/Makefile (sysdep_routines):
6578 Add memcmp variants.
6579 * sysdeps/s390/multiarch/ifunc-impl-list.c
6580 (__libc_ifunc_impl_list): Adjust ifunc variants for
6582 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6584 * sysdeps/s390/memcmp.c: ... here.
6585 Adjust ifunc variants for memcmp.
6587 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6589 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6590 * sysdeps/s390/memcmp.S: ... here.
6591 Adjust to be usable for 31/64bit.
6592 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6593 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6594 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6596 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6597 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6598 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6599 Adjust to be usable for 31/64bit.
6600 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6601 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6602 * sysdeps/s390/multiarch/memcmp.c: ... here.
6603 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6605 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6607 * sysdeps/s390/s390-32/bzero.S: Delete file.
6608 * sysdeps/s390/s390-64/bzero.S: Likewise.
6609 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6610 * sysdeps/s390/bzero.c: New file.
6611 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6612 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6613 * sysdeps/s390/multiarch/ifunc-impl-list.c
6614 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6616 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6618 * sysdeps/s390/ifunc-memset.h: New File.
6619 * sysdeps/s390/memset.S: Move to ...
6620 * sysdeps/s390/memset-z900.S ... here.
6621 Move implementations from memset-s390x.s to here.
6622 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6623 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6624 Remove memset variants.
6625 * sysdeps/s390/Makefile (sysdep_routines):
6626 Add memset variants.
6627 * sysdeps/s390/multiarch/ifunc-impl-list.c
6628 (__libc_ifunc_impl_list): Adjust ifunc variants for
6630 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6632 * sysdeps/s390/memset.c: ... here.
6633 Adjust ifunc variants for memset.
6635 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6637 * sysdeps/s390/s390-64/memset.S: Move to ...
6638 * sysdeps/s390/memset.S: ... here.
6639 Adjust to be usable for 31/64bit.
6640 * sysdeps/s390/s390-32/memset.S: Delete File.
6641 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6642 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6644 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6645 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6646 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6647 Adjust to be usable for 31/64bit.
6648 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6649 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6650 * sysdeps/s390/multiarch/memset.c: ... here.
6651 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6653 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6655 * sysdeps/s390/multiarch/ifunc-resolve.h
6656 (s390_libc_ifunc_init, s390_libc_ifunc,
6657 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6659 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6661 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6662 * sysdeps/s390/configure.ac: Add check for z10 support.
6663 * sysdeps/s390/configure: Regenerated.
6665 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6667 * sysdeps/i386/atomic-machine.h: Merged with ...
6668 * sysdeps/x86_64/atomic-machine.h: To ...
6669 * sysdeps/x86/atomic-machine.h: This. New file.
6671 2018-12-18 Florian Weimer <fweimer@redhat.com>
6673 Rewrite locale/gen-translit.pl in Python.
6674 * locale/Makefile (generated): Add C-translit.h.
6675 (before-compile): Add $(objpfx)C-translit.h.
6676 (C-translit.h): Move to $(objpfx). Create target directory.
6677 Build using Python script.
6678 * locale/gen-translit.py: New file.
6679 * locale/gen-translit.pl: Remove file.
6680 * locale/C-translit.h.in: Change comment character to '#' for
6681 easier parsing without a C preprocessor.
6682 * locale/C-translit.h: Remove generated file.
6683 * manual/install.texi (Tools for Compilation): Do not mention
6685 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6686 Remove locale/C-translit.h.
6687 * scripts/update-copyrights: Likewise.
6688 * INSTALL: Regenerate.
6690 2018-12-18 Florian Weimer <fweimer@redhat.com>
6693 * localedata/locales/bi_VU: Remove executable bit from file.
6695 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6698 (__localtime64): Add.
6699 * manual/maint.texi: Document Y2038 symbol handling.
6701 (__localtime64): Add.
6702 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6704 2018-12-17 Joseph Myers <joseph@codesourcery.com>
6706 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6709 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6710 to allow extra macros from first or second sources.
6711 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6712 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6713 (tests-special): Add $(objpfx)tst-mman-consts.out.
6714 ($(objpfx)tst-mman-consts.out): New makefile target.
6716 2018-12-17 Mao Han <han_mao@c-sky.com>
6718 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6719 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6720 without stat64 system call support.
6721 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6722 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6723 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6724 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6725 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6726 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6727 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6728 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6729 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6730 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6731 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6733 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6735 regex: fix storage-exhaustion error
6737 * posix/regexec.c (get_subexp):
6738 Do not continue if storage is exhausted.
6740 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
6742 regex: fix heap-use-after-free error
6744 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6745 https://debbugs.gnu.org/32592
6746 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6747 call extend_buffers which reallocates the re_string_t internal buffer.
6748 Local variable 'buf' was not updated in such case, resulting in
6750 * posix/regexec.c (get_subexp): Update 'buf' after call to
6753 2018-12-15 Florian Weimer <fweimer@redhat.com>
6755 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6756 (minimum_stride_size): Use it.
6757 (support_blob_repeat_allocate): Likewise.
6759 2018-12-14 Joseph Myers <joseph@codesourcery.com>
6761 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6766 2018-12-14 Florian Weimer <fweimer@redhat.com>
6768 * manual/process.texi (Process Creation Concepts): Remove
6769 documentation of process (ID) lifetime. List more process
6770 creation functions. Reference Process Identification section.
6771 (Process Identification): Add information about process ID
6772 lifetime. Describe Linux thread/task IDs.
6773 * manual/signal.texi (Signaling Another Process): Mention that the
6774 signal is always sent to the process.
6776 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6778 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6779 and tst-ldbl-efgcvt.
6780 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6781 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6782 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6783 (fcvt_tests, output_error, output_r_error, do_test): Use the
6784 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6785 select the type of floating-point variables and arguments; to
6786 produce extra tests for double and conversion specifiers for
6787 printf; and to set the names of called functions.
6788 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6789 in tst-efgcvt-template.c.
6790 * misc/tst-ldbl-efgcvt.c: Likewise.
6792 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
6794 * nss/Makefile (tst-nss-test3.out): New rule.
6796 2018-12-13 Joseph Myers <joseph@codesourcery.com>
6798 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6801 2018-12-13 fanjinke <fanjinke@hygon.cn>
6803 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6806 2018-12-13 Andreas Schwab <schwab@suse.de>
6809 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
6810 (__pthread_rwlock_rdlock_full): Update expected value for
6811 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6812 * nptl/tst-rwlock-pwn.c: New file.
6813 * nptl/Makefile (tests): Add tst-rwlock-pwn.
6815 2018-12-12 Joseph Myers <joseph@codesourcery.com>
6817 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6820 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6822 * benchtests/scripts/compare_bench.py (do_compare): write to
6823 stderr in casestat is not present.
6824 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6825 stderr in case timings field is not present. Also string showing
6826 the output filename goes into the stderr.
6828 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6830 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6831 and ZeroDivisorError exceptions.
6832 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6833 argument to loop through user provided statistics.
6834 * benchtests/scripts/compare_bench.py (main): Include the --stats
6837 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6839 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6842 2018-12-12 Florian Weimer <fweimer@redhat.com>
6844 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6845 clause to copyright header.
6847 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6850 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6851 registers saved in the stack frame.
6852 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6853 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6855 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6857 * include/bits/monetary-ldbl.h: New file.
6858 * include/bits/printf-ldbl.h: Likewise.
6859 * include/bits/stdio-ldbl.h: Likewise.
6860 * include/bits/stdlib-ldbl.h: Likewise.
6861 * include/bits/syslog-ldbl.h: Likewise.
6862 * include/bits/wchar-ldbl.h: Likewise.
6864 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6866 * libio/libio.h: Remove redirection for _IO_vfprintf.
6868 2018-12-11 Andreas Schwab <schwab@suse.de>
6870 * Makerules: Remove all references to abilist-pattern.
6871 (update-all-abi): Simplify find expression.
6873 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6876 * math/auto-libm-test-in: Add new test case.
6877 * math/auto-libm-test-out-pow: Regenerated.
6878 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6880 2018-12-10 DJ Delorie <dj@redhat.com>
6883 * support/test-container.c: Move postclean step to before we
6886 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6888 * scripts/gen-as-const.py (main): Handle --python option.
6889 * scripts/gen-py-const.awk: Remove.
6890 * Makerules (py-const-script): Use gen-as-const.py.
6891 ($(py-const)): Likewise.
6892 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6893 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6894 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6895 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6896 ~PTHREAD_MUTEX_NO_ELISION_NP.
6897 * manual/README.pretty-printers: Update reference to
6900 * scripts/glibcextract.py: New file.
6901 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6902 or tempfile. Import glibcexctract.
6903 (compute_c_consts): Remove. Moved to glibcextract.py.
6904 (gen_test): Update reference to compute_c_consts.
6906 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6907 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6908 * sysdeps/unix/sysv/linux/Makefile
6909 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6910 Redirect stderr as well as stdout.
6912 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6915 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
6916 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6917 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
6918 ALWAYS_USE_VSYSCALL.
6919 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
6920 ALWAYS_USE_VSYSCALL.
6921 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6922 ALWAYS_USE_VSYSCALL.
6924 2018-12-10 Florian Weimer <fweimer@redhat.com>
6927 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6928 offset instead of count for clarity. Fix typo in comment.
6929 (__old_getdents64): Keep track of previous offset. Use it to call
6931 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6932 that d_off is never zero.
6934 2018-12-10 Andreas Schwab <schwab@suse.de>
6936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6937 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6939 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6940 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6942 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6944 * timezone/private.h: Update from tzcode 2018g.
6945 * timezone/tzfile.h: Likewise.
6946 * timezone/tzselect.ksh: Likewise.
6947 * timezone/zdump.c: Likewise.
6948 * timezone/zic.c: Likewise.
6950 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6953 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6954 (do_test): Adjust buffer size and fix format.
6956 2018-12-07 DJ Delorie <dj@redhat.com>
6959 * malloc/tst-tcfree3.c: New.
6960 * malloc/Makefile: Add it.
6962 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6964 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6966 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6968 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6969 used as a mask for the mode argument of __vfscanf_internal and
6970 __vfwscanf_internal.
6971 * stdio-common/vfscanf-internal.c
6972 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6973 (__strtof128_internal): Define to __wcstof128_internal.
6974 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6975 __strtof128_internal or __wcstof128_internal when the format of
6976 long double is the same as _Float128.
6978 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6980 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6981 * posix/confstr.c (confstr): Rename to __confstr.
6982 (__confstr): Add hidden def.
6983 (confstr): Add weak alias for __confstr.
6984 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6987 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6989 * NEWS: Mention getcpu.
6990 * include/sched.h (__getcpu): New libc_hidden_proto.
6991 * manual/resource.texi: Document getcpu.
6992 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6993 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6994 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6995 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6996 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6997 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6998 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6999 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7000 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7001 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7002 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7003 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7004 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7006 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7007 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7008 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7017 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7018 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7019 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7020 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7021 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7022 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7023 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7024 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7025 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
7026 * sysdeps/unix/sysv/linux/getcpu.c: New file.
7027 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
7030 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7032 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
7034 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
7036 2018-12-07 Florian Weimer <fweimer@redhat.com>
7039 * posix/Makefile (routines): Add spawn_faction_addfchdir.
7040 * posix/Versions (GLIBC_2.29): Export
7041 posix_spawn_file_actions_addfchdir_np.
7042 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
7043 * posix/spawn_faction_destroy.c
7044 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
7045 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
7046 and the field action.fchdir_action.
7047 * posix/tst-spawn-chdir.c (add_chdir): New function.
7048 (do_test): Add do_fchdir loop. Call add_chdir.
7049 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
7050 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7051 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7052 posix_spawn_file_actions_addfchdir_np.
7053 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7055 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7057 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7058 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7060 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7062 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7064 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7066 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7068 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7070 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7071 (GLIBC_2.29): Likewise.
7072 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7073 (GLIBC_2.29): Likewise.
7074 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7075 (GLIBC_2.29): Likewise.
7076 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7077 (GLIBC_2.29): Likewise.
7078 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7081 (GLIBC_2.29): Likewise.
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7083 (GLIBC_2.29): Likewise.
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7085 (GLIBC_2.29): Likewise.
7086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7087 (GLIBC_2.29): Likewise.
7088 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7090 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7092 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7094 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7095 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7097 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7099 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7101 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7104 2018-12-06 Joseph Myers <joseph@codesourcery.com>
7106 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7107 trailing whitespace removed.
7108 * scripts/config.guess: Update to version 2018-11-28.
7109 * scripts/config.sub: Update to version 2018-11-28.
7110 * scripts/install-sh: Update to version 2018-03-11.20.
7111 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7112 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7114 2018-12-07 Florian Weimer <fweimer@redhat.com>
7118 * inet/tst-if_index-long.c: New file.
7119 * inet/Makefile (tests): Add tst-if_index-long.
7121 2018-12-07 Florian Weimer <fweimer@redhat.com>
7123 * support/check.h (support_record_failure_is_failed): Declare.
7124 * support/descriptors.h: New file.
7125 * support/support_descriptors.c: Likewise.
7126 * support/tst-support_descriptors.c: Likewise.
7127 * support/support_record_failure.c
7128 (support_record_failure_is_failed): New function.
7129 * support/Makefile (libsupport-routines): Add support_descriptors.
7130 (tests): Add tst-support_descriptors.
7132 2018-12-05 Zack Weinberg <zackw@panix.com>
7133 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7135 * stdio-common/vfprintf-internal.c
7136 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7137 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7138 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7139 and __no_long_double.
7140 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7141 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7142 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7143 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7144 and __nldbl_*syslog* functions.
7145 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7146 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7147 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7148 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7149 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7150 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7151 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7152 (__nldbl_vwprintf, __nldbl_wprintf):
7153 Directly call the appropriate __v*printf_internal routine, passing
7154 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7156 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7157 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7158 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7159 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7160 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7161 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7162 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7163 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7164 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7165 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7166 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7167 (__nldbl_syslog, __nldbl_vsyslog):
7168 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7169 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7171 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7174 2018-12-05 Zack Weinberg <zackw@panix.com>
7175 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7178 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7179 Moved here from debug/vsprintf_chk.c.
7180 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7181 and completion logic for the strfile to match exactly what
7182 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7183 _IO_str_init_static_internal instead of maxlen-1.
7184 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7185 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7186 __vsprintf_internal.
7188 * debug/vsprintf_chk.c (__vsprintf_chk)
7189 * debug/sprintf_chk.c (__sprintf_chk):
7190 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7191 'flags' argument is positive, and slen as maxlen. No need to lock
7192 the FILE and/or construct a temporary FILE. Minimize and normalize
7193 header inclusions and variable names. Do not libc_hidden_def anything.
7195 * debug/asprintf_chk.c (__asprintf_chk)
7196 * debug/dprintf_chk.c (__dprintf_chk)
7197 * debug/fprintf_chk.c (__fprintf_chk)
7198 * debug/fwprintf_chk.c (__fwprintf_chk)
7199 * debug/printf_chk.c (__printf_chk)
7200 * debug/snprintf_chk.c (__snprintf_chk)
7201 * debug/swprintf_chk.c (__swprintf_chk)
7202 * debug/vasprintf_chk.c (__vasprintf_chk)
7203 * debug/vdprintf_chk.c (__vdprintf_chk)
7204 * debug/vfprintf_chk.c (__vfprintf_chk)
7205 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7206 * debug/vprintf_chk.c (__vprintf_chk)
7207 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7208 * debug/vswprintf_chk.c (__vswprintf_chk)
7209 * debug/vwprintf_chk.c (__vwprintf_chk)
7210 * debug/wprintf_chk.c (__wprintf_chk):
7211 Directly call the corresponding vxxprintf_internal function, passing
7212 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7213 the FILE and/or construct a temporary FILE. Minimize and normalize
7214 header inclusions and variable names. Do not libc_hidden_def anything.
7216 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7217 __obstack_vprintf_internal.
7218 (__obstack_vprintf_chk): Convert into a wrapper that calls
7219 __obstack_vprintf_internal (these two functions already had the
7220 same code) and move to new file...
7221 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7223 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7224 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7225 * debug/Makefile (routines): Add vobprintf_chk.
7227 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7228 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7229 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7230 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7231 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7232 (__nldbl___obstack_vfprintf_chk):
7233 Directly call the corresponding vxxprintf_internal function,
7234 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7235 duplicate comparison of slen with 0 or maxlen from the corresponding
7236 non-__nldbl function.
7238 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7239 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7240 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7241 Remove libc_hidden_proto.
7243 * stdio-common/vfprintf-internal.c
7244 (__vfprintf_internal, __vfwprintf_internal):
7245 Do not check _IO_FLAGS2_FORTIFY.
7246 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7247 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7248 a comment explaining why it has the maxlen argument.
7249 (_IO_acquire_lock_clear_flags2_fct): Remove.
7250 (_IO_acquire_lock_clear_flags2): Remove.
7251 (_IO_release_lock): Remove conditional statement which will
7253 (_IO_acquire_lock): Remove variable which is now unused.
7254 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7255 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7257 * stdio-common/Makefile (tests): Add tst-bz11319 and
7258 tst-bz11319-fortify2.
7259 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7260 * stdio-common/tst-bz11319-fortify2.c: New file.
7261 * stdio-common/tst-bz11319.c: Likewise.
7263 2018-12-05 Zack Weinberg <zackw@panix.com>
7264 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7266 * misc/syslog.c: Include libioP.h, not iolibio.h.
7267 (__vsyslog_internal): New function with the former body of
7268 __vsyslog_chk; takes mode_flags argument same as
7269 __v*printf_internal. Call __vfprintf_internal directly.
7271 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7272 Remove libc_hidden_def.
7273 (__syslog, __syslog_chk): Use __vsyslog_internal.
7274 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7276 * include/sys/syslog.h: Add multiple inclusion guard.
7277 Add prototype for __vsyslog_internal.
7278 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7280 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7281 Use __vsyslog_internal.
7283 2018-12-05 Zack Weinberg <zackw@panix.com>
7284 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7286 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7287 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7288 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7290 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7291 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7293 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7294 Include wctype.h here if COMPILE_WPRINTF is defined.
7295 Define __vfprintf_internal or __vfwprintf_internal, depending
7297 Temporarily, on entry to this function, update mode_flags
7298 according to the environmental settings corresponding to
7299 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7300 Throughout, check mode_flags instead of __ldbl_is_dbl and
7301 _IO_FLAGS2_FORTIFY on the destination FILE.
7302 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7303 Include vfprintf-internal.c. Don't include wctype.h.
7304 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7305 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7307 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7308 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7310 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7312 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
7313 and add mode_flags argument; use __vfprintf_internal.
7314 (__vdprintf): New function. Alias vdprintf to this.
7315 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
7316 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
7317 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
7318 (__obstack_printf): Use __obstack_printf_internal.
7319 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
7320 public aliases __vsnprintf and vsnprintf.
7321 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
7323 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
7324 public aliases _IO_vsprintf and vsprintf.
7325 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
7326 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7327 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7328 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7329 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7331 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7332 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7333 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7334 * stdio-common/printf.c: Use __vfprintf_internal.
7336 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7337 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7338 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
7340 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
7341 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
7342 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
7343 __vfwprintf_internal.
7345 * libio/libio.h: Remove libc_hidden_proto and declaration for
7347 Remove declaration of _IO_vfwprintf.
7348 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
7350 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
7352 * include/stdio.h: Add prototype for __vasprintf.
7353 (__vsnprintf): Remove declaration, because there are no more
7355 * include/wchar.h (__vfwprintf, __vswprintf): Remove
7356 declaration, because there are no more internal calls.
7358 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
7359 __vsnprintf_internal, instead of _IO_vsnprintf.
7360 * argp/argp-help.c (__argp_error, __argp_failure): Use
7361 __vasprintf_internal, instead of _IO_vasprintf.
7362 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
7363 redefine, because there are no more internal calls.
7365 2018-12-05 Zack Weinberg <zackw@panix.com>
7366 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7368 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
7369 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
7370 Include libio/strfile.h instead of libioP.h.
7371 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
7372 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
7373 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
7374 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
7375 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
7376 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
7377 necessary. Do not set __no_long_double. Normalize variable names.
7378 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
7379 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
7380 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
7381 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
7382 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
7383 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
7384 Call __vfscanf_internal / __vfwscanf_internal directly, passing
7385 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
7386 Do not set __no_long_double. Normalize variable names.
7388 2018-12-05 Zack Weinberg <zackw@panix.com>
7389 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7391 * stdio-common/isoc99_scanf.c
7392 * stdio-common/isoc99_fscanf.c
7393 * stdio-common/isoc99_sscanf.c
7394 * stdio-common/isoc99_vscanf.c
7395 * stdio-common/isoc99_vfscanf.c
7396 * stdio-common/isoc99_vsscanf.c
7397 * wcsmbs/isoc99_wscanf.c
7398 * wcsmbs/isoc99_fwscanf.c
7399 * wcsmbs/isoc99_swscanf.c
7400 * wcsmbs/isoc99_vwscanf.c
7401 * wcsmbs/isoc99_vfwscanf.c
7402 * wcsmbs/isoc99_vswscanf.c:
7403 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
7404 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
7405 No need to lock and unlock the FILE passed to that function.
7407 * stdio-common/vfscanf-internal.c
7408 (__vfscanf_internal, __vfwscanf_internal):
7409 Don't look at _IO_FLAGS2_SCANF_STD.
7410 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
7411 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
7412 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
7414 2018-12-05 Zack Weinberg <zackw@panix.com>
7415 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7417 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
7418 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
7419 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
7420 * libio/strfile.h: Add multiple inclusion guard.
7421 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
7423 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
7424 consistency with the other version of this file.
7425 (ldbl_compat_symbol): New macro.
7426 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
7429 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
7430 Define __vfscanf_internal or __vfwscanf_internal, depending on
7431 COMPILE_WSCANF; don't define any other public symbols.
7432 Remove errval and code to set errp.
7433 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
7434 as the mode_flags argument.
7435 (encode_error, conv_error, input_error): Don't set errval.
7436 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
7437 Include vfscanf-internal.c.
7438 * stdio-common/vfscanf.c: New file defining the public entry
7439 point vfscanf, which calls __vfscanf_internal.
7440 * stdio-common/vfwscanf.c: New file defining the public entry
7441 point vfwscanf, which calls __vfwscanf_internal.
7443 * stdio-common/iovfscanf.c: New file.
7444 * stdio-common/iovfwscanf.c: Likewise.
7446 * stdio-common/Makefile (routines): Add vfscanf-internal,
7447 vfwscanf-internal, iovfscanf, iovfwscanf.
7448 * stdio-common/Versions: Mention GLIBC_2.29, so that
7449 it can be used in SHLIB_COMPAT expressions.
7450 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
7451 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
7452 Call __vfscanf_internal, instead of _IO_vfscanf.
7453 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
7455 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
7458 * libio/iovsscanf.c: Clean up includes, when possible. Use
7459 _IO_strfile_read or _IO_strfile_readw, when needed. Call
7460 __vfscanf_internal or __vfwscanf_internal directly.
7461 * libio/iovswscanf.c: Likewise.
7462 * libio/swscanf.c: Likewise.
7463 * libio/vscanf.c: Likewise.
7464 * libio/vwscanf.c: Likewise.
7465 * libio/wscanf.c: Likewise.
7466 * stdio-common/isoc99_fscanf.c: Likewise.
7467 * stdio-common/isoc99_scanf.c: Likewise.
7468 * stdio-common/isoc99_sscanf.c: Likewise.
7469 * stdio-common/isoc99_vfscanf.c: Likewise.
7470 * stdio-common/isoc99_vscanf.c: Likewise.
7471 * stdio-common/isoc99_vsscanf.c: Likewise.
7472 * stdio-common/scanf.c: Likewise.
7473 * stdio-common/sscanf.c: Likewise.
7474 * wcsmbs/isoc99_fwscanf.c: Likewise.
7475 * wcsmbs/isoc99_swscanf.c: Likewise.
7476 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7477 * wcsmbs/isoc99_vswscanf.c: Likewise.
7478 * wcsmbs/isoc99_vwscanf.c: Likewise.
7479 * wcsmbs/isoc99_wscanf.c: Likewise.
7481 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
7484 (__tz_compute): Replace time_t with __time64_t.
7485 (__tz_convert): Replace time_t* with __time64_t.
7486 (__offtime): Replace time_t* with __time64_t.
7488 (__gmtime_r): Adjust call to __tz_convert.
7491 (__localtime_r): Likewise.
7492 (localtime): Likewise.
7493 * time/offtime.c: Replace time_t with __time64_t.
7494 * time/tzset.c: Likewise.
7496 2018-12-04 Joseph Myers <joseph@codesourcery.com>
7498 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7499 dynamic linker unless [$(run-built-tests) = yes].
7501 2018-12-03 DJ Delorie <dj@delorie.com>
7503 * support/test-container.c (check_for_unshare_hints): New.
7504 (main): Call it if unshare fails. Add support for "su" scriptlet
7507 2018-12-03 Joseph Myers <joseph@codesourcery.com>
7509 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7510 'START' to indicate that start text should be output.
7511 (gen_test): Likewise.
7512 (main): Generate 'START' for first symbol or '--' line, or at end
7513 of input if not previously generated.
7515 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7518 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7519 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7520 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7521 ALWAYS_USE_VSYSCALL.
7523 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7526 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7529 2018-12-03 Carlos O'Donell <carlos@redhat.com>
7532 * locale/programs/localedef.c: Declare boolean hard_links default true.
7533 (options): Add --no-hard-links option.
7534 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7535 * locale/programs/localedef.h: Declare prototype for hard_links.
7536 * locale/programs/locfile.c (write_locale_data): Don't use hard
7537 links if hard_links is false.
7539 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7541 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7543 (__cache_sysconf): Likewise.
7544 (init_cacheinfo): Likewise.
7545 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7546 populate COMMON_CPUID_INDEX_80000007 and
7547 COMMON_CPUID_INDEX_80000008.
7548 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7549 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7550 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7551 (init_cpu_features): Use _Static_assert on
7552 index_arch_Fast_Unaligned_Load.
7553 __get_cpuid_registers and __get_arch_feature. Updated for
7554 cpu_features_basic. Set stepping in cpu_features.
7555 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7556 (FEATURE_INDEX_2): New.
7557 (FEATURE_INDEX_MAX): Changed to enum.
7558 (COMMON_CPUID_INDEX_D_ECX_1): New.
7559 (COMMON_CPUID_INDEX_80000007): Likewise.
7560 (COMMON_CPUID_INDEX_80000008): Likewise.
7561 (cpuid_registers): Likewise.
7562 (cpu_features_basic): Likewise.
7563 (CPU_FEATURE_USABLE): Likewise.
7564 (bit_arch_XXX_Usable): Likewise.
7565 (cpu_features): Use cpuid_registers and cpu_features_basic.
7566 (bit_arch_XXX): Reweritten.
7567 (bit_cpu_XXX): Likewise.
7568 (index_cpu_XXX): Likewise.
7569 (reg_XXX): Likewise.
7570 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7572 (CHECK_CPU_FEATURE): New.
7573 (CHECK_CPU_FEATURE_USABLE): Likewise.
7574 (cpu_kinds): Likewise.
7575 (do_test): Print vendor, family, model and stepping. Check
7576 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7577 (TEST_FUNCTION): Removed.
7578 Include <support/test-driver.c> instead of
7579 "../../test-skeleton.c".
7580 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7581 Check POPCNT instead of POPCOUNT.
7582 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7584 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7586 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7587 there is no element in `consts'.
7589 2018-12-01 Florian Weimer <fweimer@redhat.com>
7591 * support/support_capture_subprocess.c
7592 (support_capture_subprocess): Check that pipe descriptors have
7593 expected values. Close original pipe descriptors in subprocess.
7595 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7598 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7599 attr with __pthread_default_barrierattr.
7600 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7601 attr with __pthread_default_condattr.
7602 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7603 attr with __pthread_default_mutexattr.
7604 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7605 attr with __pthread_default_rwlockattr.
7607 2018-12-01 Kemi Wang <kemi.wang@intel.com>
7609 * manual/tunables.texi (POSIX Thread Tunables): New node.
7610 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7611 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7612 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7613 __pthread_tunables_init.
7614 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7615 (max_adaptive_count): Define.
7616 * nptl/pthread_mutex_conf.c: New file.
7617 * nptl/pthread_mutex_conf.h: New file.
7618 * sysdeps/generic/adaptive_spin_count.h: New file.
7619 * sysdeps/nptl/dl-tunables.list: New file.
7620 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7621 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7622 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7625 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7628 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7629 * stdlib/on_exit.c (__on_exit): Likewise.
7630 * stdlib/Makefile (tests): Add tst-bz20544.
7631 * stdlib/tst-bz20544.c: New test.
7633 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7636 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7637 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7640 2018-11-30 Florian Weimer <fweimer@redhat.com>
7642 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7643 Extend error logging.
7644 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7647 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7649 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7650 __sigismember instead of sigismember.
7651 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7652 cancel_handler): New definitions.
7653 (do_system): Use posix_spawn instead of fork and execl and remove
7655 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7656 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7657 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7658 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7659 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7660 * sysdeps/unix/sysv/linux/system.c: Likewise.
7664 * NEWS: Add new semantic for atfork with popen and system.
7665 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7668 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7671 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7672 modification order when accessing reloc_result->addr.
7673 * include/link.h (reloc_result): Add field init.
7674 * nptl/Makefile (tests): Add tst-audit-threads.
7675 (modules-names): Add tst-audit-threads-mod1 and
7676 tst-audit-threads-mod2.
7677 Add rules to build tst-audit-threads.
7678 * nptl/tst-audit-threads-mod1.c: New file.
7679 * nptl/tst-audit-threads-mod2.c: Likewise.
7680 * nptl/tst-audit-threads.c: Likewise.
7681 * nptl/tst-audit-threads.h: Likewise.
7683 2018-11-30 Joseph Myers <joseph@codesourcery.com>
7685 * scripts/gen-as-const.py: New file.
7686 * scripts/gen-as-const.awk: Remove.
7687 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7689 ($(objpfx)test-as-const-%.c): Likewise.
7691 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7693 * elf/dl-exception.c: Include <_itoa.h>.
7695 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7697 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7698 returned by __f_setlk.
7700 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7701 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7703 * elf/Makefile (tests-internal): Add tst-create_format1.
7704 * elf/dl-exception.c (_dl_exception_create_format): Support
7706 * elf/tst-create_format1.c: New file.
7708 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7710 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7711 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7713 * argp/argp-help.c (__argp_failure): Likewise.
7715 2018-11-29 Mao Han <han_mao@c-sky.com>
7717 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7718 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7719 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7720 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7721 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7722 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7723 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7724 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7725 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7726 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7727 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7728 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7729 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7730 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7731 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7732 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7733 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7734 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7735 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7736 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7737 (R_CKCORE_TLS_TPOFF32): New defines.
7739 2018-11-29 Florian Weimer <fweimer@redhat.com>
7741 * posix/Makefile (before-compile): Remove testcases.h and
7743 (generated): Add testcases.h and ptestcases.h.
7744 (testcases.h, ptestcases.h): Move to $(objpfx).
7745 (runtests.o): Add dependency on testcases.h.
7746 (runptests.o): Add dependency on ptestcases.h.
7747 * posix/testcases.h, posix/ptestcases.h: Remove files.
7748 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7749 not touch posix/testcases.h and posix/ptestcases.h.
7751 2018-11-28 Florian Weimer <fweimer@redhat.com>
7753 support: Add signal support to support_capture_subprocess_check.
7754 * support/capture_subprocess.h (support_capture_subprocess_check):
7755 Adjust comment and rename parameter.
7756 * support/support_capture_subprocess_check.c
7757 (print_actual_status): New function.
7758 (support_capture_subprocess_check): Support negative
7759 status_or_signal. Call print_actual_status.
7760 * support/tst-support_capture_subprocess.c (do_test): Call
7761 support_capture_subprocess_check.
7762 * libio/tst-vtables-common.c (termination_status)
7763 (init_termination_status): Remove.
7764 (check_for_termination): Adjust support_capture_subprocess_check
7766 (do_test): Remove call to init_termination_status.
7768 2018-11-28 Joseph Myers <joseph@codesourcery.com>
7770 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7771 source directory instead of a copy.
7772 (CommandList.create_copy_dir): Remove.
7774 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
7776 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7778 2018-11-28 Florian Weimer <fweimer@redhat.com>
7780 * support/support.h (support_quote_string): Do not use str
7783 2018-11-27 Joseph Myers <joseph@codesourcery.com>
7785 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7786 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7788 2018-11-27 Florian Weimer <fweimer@redhat.com>
7790 * support/support.h (support_quote_string): Declare.
7791 * support/support_quote_string.c: New file.
7792 * support/tst-support_quote_string.c: Likewise.
7793 * support/Makefile (libsupport-routines): Add
7794 support_quote_string.
7795 (tests): Add tst-support_quote_string.
7797 2018-11-27 Florian Weimer <fweimer@redhat.com>
7801 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7802 descriptor leak in case of ENODEV error.
7804 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7807 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7808 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7809 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7811 2018-11-26 Carlos O'Donell <carlos@redhat.com>
7813 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7814 Error for unknown lines.
7816 2018-11-26 Joseph Myers <joseph@codesourcery.com>
7818 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7819 Touch additional files.
7821 2018-11-26 Florian Weimer <fweimer@redhat.com>
7824 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7827 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7830 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7831 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7832 SHARED. Include sysdep.h.
7833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7834 ALWAYS_USE_VSYSCALL.
7835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7836 ALWAYS_USE_VSYSCALL.
7838 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7841 * nptl/Makefile (tests-static): Add tst-cond11-static.
7843 * nptl/tst-cond11-static.c: New File.
7844 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7845 tst-affinity-static.
7847 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7849 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7850 (USE_VSYSCALL): Likewise.
7851 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7852 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7854 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7856 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7859 2018-11-23 Joseph Myers <joseph@codesourcery.com>
7862 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7863 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7866 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7868 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7869 (tst-cet-legacy-1a-ARGS): New.
7870 ($(objpfx)tst-cet-legacy-1a): New target.
7871 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7873 2018-11-22 Joseph Myers <joseph@codesourcery.com>
7875 * conform/conformtest.py (CompileSubTest.__init__): Set
7876 self.run_early to False.
7877 (ExecuteSubTest.__init__): Likewise.
7878 (HeaderTests.run): Try running all non-optional, non-XFAILed
7879 compilation tests in a single execution of the compiler.
7881 * conform/conformtest.py (CompileSubTest): New class.
7882 (ExecuteSubTest): Likewise.
7883 (ElementTest.run): Rename to gen_subtests. Append tests to
7884 self.subtests instead of running them.
7885 (ConstantTest.run): Likewise.
7886 (SymbolTest.run): Likewise.
7887 (TypeTest.run): Likewise.
7888 (TagTest.run): Likewise.
7889 (FunctionTest.run): Likewise.
7890 (VariableTest.run): Likewise.
7891 (MacroFunctionTest.run): Likewise.
7892 (MacroStrTest.run): Likewise.
7893 (HeaderTests.handle_test_line): Generate subtests for tests.
7894 (HeaderTests.run): Run subtests for tests.
7896 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7898 * math/Versions (GLIBC_2.29): Add pow.
7899 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7901 * math/w_pow.c: New file.
7902 * sysdeps/i386/fpu/w_pow.c: New file.
7903 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7905 and add necessary aliases.
7906 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7907 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7908 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7909 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7910 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7911 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7912 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7913 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7914 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7915 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7916 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7917 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7918 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7919 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7920 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7925 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7926 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7927 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7928 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7929 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7930 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7931 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7932 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7934 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7935 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7936 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7938 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7940 * math/Versions (GLIBC_2.29): Add log2.
7941 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7943 * math/w_log2.c: New file.
7944 * sysdeps/i386/fpu/w_log2.c: New file.
7945 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7946 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7947 and add necessary aliases.
7948 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7949 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7950 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7951 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7952 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7953 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7954 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7955 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7956 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7957 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7958 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7959 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7960 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7961 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7962 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7967 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7968 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7969 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7970 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7971 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7972 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7973 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7975 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7977 * math/Versions (GLIBC_2.29): Add log.
7978 * math/w_log_compat.c (__log_compat): Change to versioned compat
7980 * math/w_log.c: New file.
7981 * sysdeps/i386/fpu/w_log.c: New file.
7982 * sysdeps/ia64/fpu/e_log.S: Update.
7983 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7984 and add necessary aliases.
7985 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7986 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7987 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7988 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7989 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7990 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7991 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7992 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7993 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7994 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7995 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7996 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7997 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7998 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7999 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8004 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8005 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8006 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8007 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8008 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8009 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8010 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8011 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8013 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8014 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8015 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8016 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8018 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8020 * math/Versions (GLIBC_2.29): Add exp and exp2.
8021 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8022 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
8023 * math/w_exp_compat.c (__exp_compat): Likewise.
8024 * math/w_exp.c: New file.
8025 * math/w_exp2.c: New file.
8026 * sysdeps/i386/fpu/w_exp.c: New file.
8027 * sysdeps/i386/fpu/w_exp2.c: New file.
8028 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
8029 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
8030 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
8031 and add necessary aliases.
8032 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
8033 and add necessary aliases.
8034 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
8035 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
8036 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
8037 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
8038 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8039 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8040 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8041 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8042 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8043 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8044 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8045 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8046 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8047 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8048 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8049 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8050 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8055 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8056 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8057 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8058 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8059 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8060 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8061 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8062 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
8063 (__ieee754_exp): Rename to __exp.
8064 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
8065 (__ieee754_exp): Rename to __exp.
8066 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
8067 (__ieee754_exp): Rename to __exp.
8068 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
8070 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
8072 2018-11-20 DJ Delorie <dj@redhat.com>
8074 * malloc/malloc.c (tcache_entry): Add key field.
8075 (tcache_put): Set it.
8076 (tcache_get): Likewise.
8077 (_int_free): Check for double free in tcache.
8078 * malloc/tst-tcfree1.c: New.
8079 * malloc/tst-tcfree2.c: New.
8080 * malloc/Makefile: Run the new tests.
8081 * manual/probes.texi: Document memory_tcache_double_free probe.
8083 * dlfcn/dlerror.c (check_free): Prevent double frees.
8085 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
8087 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
8089 2018-11-20 Joseph Myers <joseph@codesourcery.com>
8091 * conform/conformtest.py (ElementTest.run): Use unique identifiers
8092 in tests. Use names for format arguments.
8093 (ConstantTest.run): Likewise.
8094 (SymbolTest.run): Likewise.
8095 (TypeTest.run): Likewise.
8096 (TagTest.run): Likewise.
8097 (FunctionTest.run): Likewise.
8098 (VariableTest.run): Likewise.
8099 (MacroFunctionTest.run): Likewise.
8100 (MacroStrTest.run): Likewise.
8101 (HeaderTests.__init__): Set self.num_tests.
8102 (HeaderTests.handle_test_line): Set test.num. Increment
8105 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8107 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8108 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8111 2018-11-19 Mao Han <han_mao@c-sky.com>
8113 * scripts/config.guess: Update to version 2018-08-29.
8114 * scripts/config.sub: Update to version 2018-08-29.
8116 2018-11-19 Florian Weimer <fweimer@redhat.com>
8118 support: Print timestamps in timeout handler.
8119 * support/support_test_main.c (print_timestamp): New function.
8120 (signal_handler): Use it to print the termination time and the
8121 time of the last write to standard output.
8123 2018-11-16 Zack Weinberg <zackw@panix.com>
8124 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8126 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8127 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8129 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8130 and add flags argument. Check flags instead of __ldbl_is_dbl when
8131 deciding whether to set is_long_double.
8132 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8133 passing zero for flags argument.
8134 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8136 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8137 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8138 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8139 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8140 variable names. Remove libc_hidden_def/libc_hidden_proto from
8141 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8142 longer called from within the library.
8143 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8144 for __nldbl___vstrfmon_l, declare it explicitly.
8146 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8148 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8150 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8152 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8153 F_SETLK64, F_SETLKW64, respectively.
8154 * sysdeps/mach/hurd/f_setlk.c: New file.
8155 * sysdeps/mach/hurd/f_setlk.h: New file.
8156 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8158 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8159 (__libc_fcntl): Move non-flock operations to...
8160 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8161 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8163 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8165 mktime: DEBUG_MKTIME cleanup
8166 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8167 And it’s no longer needed now that glibc and Gnulib both have
8168 their own testing mechanisms for mktime.
8169 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8171 mktime: fix non-EOVERFLOW errno handling
8173 mktime was not properly reporting failures when the underlying
8174 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8175 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8176 The problem could happen on non-glibc platforms, with Gnulib.
8177 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8178 (tm_diff): ... this simpler function, which does not change errno.
8179 All callers changed to deal with errno themselves.
8180 (ranged_convert, __mktime_internal): Return failure immediately if
8181 the underlying function reports any failure other than EOVERFLOW.
8182 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8185 mktime: fix bug with Y2038 DST transition
8187 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8188 mishandle a DST transition that jumps over the Y2038 boundary.
8189 No such DST transitions are known so this is only a theoretical
8190 bug, but we might as well do things right.
8192 mktime: make more room for overflow
8194 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8195 This is so that we can add tm_diff results to a previous guess,
8196 which will be useful in a later patch.
8198 mktime: simplify offset guess
8200 * time/mktime.c (__mktime_internal): Omit excess precision.
8202 mktime: new test for mktime failure
8204 Based on a test suggested by Albert Aribaud in:
8205 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8206 * time/Makefile (tests): Add bug-mktime4.
8207 * time/bug-mktime4.c: New file.
8209 mktime: fix EOVERFLOW bug
8211 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8212 Include libc-config.h, not config.h, for __set_errno.
8213 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8215 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8217 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8218 __attribute_copy__ to copy attributes from name. Drop static qualifier
8219 to avoid warnings about leaf attribute not having effect on static
8222 2018-11-13 Florian Weimer <fweimer@redhat.com>
8224 * malloc/malloc.c (fastbin_push_entry): New function.
8225 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8226 (REMOVE_FB): Remove macro.
8227 (_int_malloc): Use fastbin_pop_entry and reindent.
8228 (_int_free): Use fastbin_push_entry.
8229 (malloc_consolidate): Use atomic_exchange_acquire.
8231 2018-11-13 Joseph Myers <joseph@codesourcery.com>
8233 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8234 alias attribute, not with strong_alias.
8236 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8237 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8238 with additional parameter thread.
8239 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8240 in terms of __hidden_ver2.
8241 (hidden_tls_def): New macro.
8242 (libc_hidden_tls_def): Likewise.
8243 (rtld_hidden_tls_def): Likewise.
8244 (libm_hidden_tls_def): Likewise.
8245 (libmvec_hidden_tls_def): Likewise.
8246 (libresolv_hidden_tls_def): Likewise.
8247 (librt_hidden_tls_def): Likewise.
8248 (libdl_hidden_tls_def): Likewise.
8249 (libnss_files_hidden_tls_def): Likewise.
8250 (libnsl_hidden_tls_def): Likewise.
8251 (libnss_nisplus_hidden_tls_def): Likewise.
8252 (libutil_hidden_tls_def): Likewise.
8253 (libutil_hidden_tls_def): Likweise.
8254 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8255 libc_hidden_tls_def.
8256 (__sim_disabled_exceptions_thread): Likewise.
8257 (__sim_round_mode_thread): Likewise.
8259 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8260 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8261 copy attributes from name.
8263 2018-11-12 Joseph Myers <joseph@codesourcery.com>
8265 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8266 Use __attribute_copy__ to copy attributes from name.
8268 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8269 with __hidden_ver1 call.
8270 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8271 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8272 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8273 (__cosf): Do not declare here.
8274 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8275 (__sincosf): Do not declare here.
8276 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8277 (__sinf): Do not declare here.
8279 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8280 (__BIG_ENDIAN): Likewise.
8281 (__BYTE_ORDER): Likewise.
8282 (strong_alias): Likewise.
8283 (_strong_alias): Likewise.
8285 2018-11-12 Florian Weimer <fweimer@redhat.com>
8287 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8288 function. Move after the definition of in_smallbin_range. Do not
8289 use __builtin_expect for paths that lead to a noreturn function.
8290 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8291 because it is unclear whether this is in fact an unlikely
8293 (_int_malloc, _int_free): Adjust.
8294 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8296 * malloc/arena.c (heap_trim): Likewise.
8298 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8300 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8301 it, free it if needed.
8302 (reauthenticate): Test and use ccwdir.
8303 (child_init_port): In non-resetids case, test and use ccwdir.
8304 (child_chdir): New nested function to set ccwdir.
8305 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8306 * hurd/hurd/port.h (_hurd_port_move): New function.
8307 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8308 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
8309 * hurd/Versions (_hurd_port_move): Export function.
8310 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8312 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
8313 of dtablesize for allocating dtable_cloexec.
8315 2018-11-09 Martin Sebor <msebor@redhat.com>
8317 * include/libc-symbols.h (__attribute_copy__): Define macro unless
8318 it's already defined.
8319 (_strong_alias): Use __attribute_copy__.
8320 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
8321 * misc/sys/cdefs.h (__attribute_copy__): New macro.
8322 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
8323 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
8324 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
8325 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
8326 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8327 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8328 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8329 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8330 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8331 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8332 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8333 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8334 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8335 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8336 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8337 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8338 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
8340 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8342 * misc/tst-efgcvt.c: Include support/check.h and
8343 support/test-driver.c. Do not include test-skeleton.c.
8344 (error_count): Remove.
8345 (output_error): Replace increments to error_count with calls to
8346 support_record_failure.
8347 (output_r_error): Likewise.
8348 (special): Likewise.
8349 (do_test): Unconditionally return zero.
8350 (TEST_FUNCTION): Remove.
8352 2018-11-09 Joseph Myers <joseph@codesourcery.com>
8354 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
8356 ($(linknamespace-header-tests)): Likewise.
8358 * conform/conformtest.py: New file.
8359 * conform/conformtest.pl: Remove.
8360 * conform/GlibcConform.pm: Likewise.
8361 * conform/glibcconform.py (KEYWORDS_C90): New constant.
8362 (KEYWORDS_C99): Likewise.
8363 (KEYWORDS): Likewise.
8364 * conform/Makefile ($(conformtest-header-tests)): Use
8365 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
8366 option. Use --header instead of --headers.
8367 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
8369 * conform/data/spawn.h-data: Likewise.
8370 * conform/data/fcntl.h-data (openat): Add space after function
8372 * conform/data/wchar.h-data (wcscasecmp): Likewise.
8373 (wcscasecmp_l): Likewise.
8374 * conform/data/termios.h-data (c_cc): Add space after element
8377 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8379 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
8380 instead of manually comparing and reporting mismatching strings.
8381 * misc/tst-ldbl-error.c (do_one_test): Likewise.
8382 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
8384 2018-11-08 Joseph Myers <joseph@codesourcery.com>
8386 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
8387 __ASSUME_SOCKETCALL.
8388 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8389 (__ASSUME_SOCKETCALL): Remove.
8390 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8391 (__ASSUME_SOCKETCALL): Likewise.
8392 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8393 (__ASSUME_SOCKETCALL): Likewise.
8394 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8395 (__ASSUME_SOCKETCALL): Likewise.
8396 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8397 (__ASSUME_SOCKETCALL): Likewise.
8398 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8399 (__ASSUME_SOCKETCALL): Likewise.
8400 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8401 (__ASSUME_SOCKETCALL): Likewise.
8403 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
8406 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
8407 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
8408 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
8409 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
8410 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
8413 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
8416 * resolv/tst-resolv-network.c: Add test for getnetbyname.
8418 2018-11-07 Joseph Myers <joseph@codesourcery.com>
8421 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8422 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8423 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8424 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8426 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8428 * support/support_test_compare_string.c
8429 (support_test_compare_string): Fix printf format.
8431 2018-11-07 Florian Weimer <fweimer@redhat.com>
8433 Implement TEST_COMPARE_STRING.
8434 * support/check.h (TEST_COMPARE_STRING): Define.
8435 (support_test_compare_string): Declare.
8436 * support/Makefile (libsupport-routines): Add
8437 support_test_compare_string.
8438 (tests): Add tst-test_compare_string.
8439 * support/support_test_compare_string.c: New file.
8440 * support/tst-test_compare_string.c: Likewise.
8442 2018-11-07 Andreas Schwab <schwab@suse.de>
8445 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
8446 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
8449 2018-11-06 Joseph Myers <joseph@codesourcery.com>
8452 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8453 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
8454 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
8455 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
8458 2018-11-06 Florian Weimer <fweimer@redhat.com>
8461 * posix/Makefile (routines): Add spawn_faction_addchdir.
8462 (tests): Add tst-spawn-chdir.
8463 * posix/Versions (GLIBC_2.29): Add
8464 posix_spawn_file_actions_addchdir_np.
8465 * posix/spawn_faction_addchdir.c: New file.
8466 * posix/spawn_faction_destroy.c
8467 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8468 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8469 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8471 * posix/tst-spawn-chdir.c: New file.
8472 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8473 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8474 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8475 posix_spawn_file_actions_addchdir_np.
8476 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8478 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8480 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8481 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8483 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8485 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8487 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8489 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8491 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8493 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8494 (GLIBC_2.29): Likewise.
8495 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8496 (GLIBC_2.29): Likewise.
8497 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8498 (GLIBC_2.29): Likewise.
8499 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8500 (GLIBC_2.29): Likewise.
8501 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8504 (GLIBC_2.29): Likewise.
8505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8506 (GLIBC_2.29): Likewise.
8507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8508 (GLIBC_2.29): Likewise.
8509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8510 (GLIBC_2.29): Likewise.
8511 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8513 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8515 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8517 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8518 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8520 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8522 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8524 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8527 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8529 * misc/Makefile (tests): Add tst-ldbl-error.
8530 * misc/tst-ldbl-error.c: New file.
8532 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8534 * misc/Makefile (tests): Add tst-ldbl-warn.
8535 * misc/tst-ldbl-warn.c: New file.
8537 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8539 * argp/Makefile (tests): Add tst-ldbl-argp.
8540 * argp/tst-ldbl-argp.c: New file.
8542 2018-11-05 Arjun Shankar <arjun@redhat.com>
8544 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8545 __gconv_path_elem and call __gconv_get_path unconditionally.
8547 2018-11-05 Andreas Schwab <schwab@suse.de>
8550 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8551 creating the first helper thread failed.
8553 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8555 * sysdeps/mach/hurd/msync.c: New file.
8557 2018-11-02 Florian Weimer <fweimer@redhat.com>
8559 * support/shell-container.c (copy_func): Call
8560 support_copy_file_range instead of copy_file_range to support
8561 cross-device copies.
8563 2018-11-02 Florian Weimer <fweimer@redhat.com>
8565 * support/test-container.c: Include <libc-pointer-arith.h> for
8568 2018-11-01 Zong Li <zong@andestech.com>
8570 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8571 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8572 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8573 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8575 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8576 variable to avoid overlap arguments.
8578 2018-11-01 Joseph Myers <joseph@codesourcery.com>
8580 * posix/bug-regex22.c (main): Use puts with distinct error
8581 messages for unexpected success of re_compile_pattern, not printf
8582 with NULL argument to %s.
8584 * stdio-common/bug22.c: Include <libc-diag.h>.
8585 (do_test): Disable -Wformat-overflow= warnings around fprintf
8586 calls outputting more than INT_MAX characters.
8587 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8588 around printf call with NULL %s argument.
8591 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8592 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8594 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8595 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8596 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8597 (__ASSUME_SENDTO_SYSCALL): Likewise.
8598 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8599 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8601 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8602 (__ASSUME_CONNECT_SYSCALL): Likewise.
8603 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8604 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8605 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8607 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8609 [__LINUX_KERNEL_VERSION >= 0x040400]
8610 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8611 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8614 (setsockopt): Likewise.
8616 2018-11-01 Fredrik Noring <noring@nocrew.org>
8618 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8619 with the ISA override.
8621 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8623 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8626 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8628 * manual/errno.texi (EIEIO): Document how translators should
8629 translate the error message.
8630 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8631 printing trailing whitespaces refused by git.
8632 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8633 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8634 * hurd/Makefile (user-interfaces): Add pci.
8636 2018-10-30 Joseph Myers <joseph@codesourcery.com>
8638 * conform/linknamespace.py: New file.
8639 * conform/linknamespace.pl: Remove file.
8640 * conform/Makefile ($(linknamespace-header-tests)): Use
8641 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8644 2018-10-30 Florian Weimer <fweimer@redhat.com>
8646 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8649 2018-10-30 Florian Weimer <fweimer@redhat.com>
8651 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8653 2018-10-30 Florian Weimer <fweimer@redhat.com>
8655 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8656 support_blob_repeat.
8658 2018-10-30 Florian Weimer <fweimer@redhat.com>
8660 Avoid spurious test failures in stdlib/test-bz22786.
8661 * support/Makefile (libsupport-routines): Add blob_repeat.
8662 (tests): Add tst-support_blob_repeat.
8663 * support/blob_repeat.h: New file.
8664 * support/blob_repeat.c: Likewise.
8665 * support/tst-support_blob_repeat.c: Likewise.
8666 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8667 support_blob_repeat_allocate.
8669 2018-10-30 Andreas Schwab <schwab@suse.de>
8672 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8673 Don't use tail call.
8674 * elf/tst-unwind-main.c: New file.
8675 * elf/Makefile (tests): Add tst-unwind-main.
8676 (CFLAGS-tst-unwind-main.c): Define.
8678 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
8681 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8683 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8685 2018-10-29 Joseph Myers <joseph@codesourcery.com>
8687 * conform/glibcconform.py: Do not import shutil.
8688 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8691 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8692 critic_missing for versions before 3.4.
8693 * configure: Regenerated.
8694 * manual/install.texi (Tools for Compilation): Document
8695 requirement for Python to build glibc.
8696 * INSTALL: Regenerated.
8697 * Rules [PYTHON]: Make code unconditional.
8698 * benchtests/Makefile [PYTHON]: Likewise.
8699 * conform/Makefile [PYTHON]: Likewise.
8700 * manual/Makefile [PYTHON]: Likewise.
8701 * math/Makefile [PYTHON]: Likewise.
8703 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8705 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
8706 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
8707 answer to interrupt_operation, return EIEIO instead of EINTR.
8708 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8709 _hurd_intr_rpc_msg_about_to global point to start of controlled
8710 assembly snippet. Make it check canceled flag.
8711 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8712 the _hurd_intr_rpc_msg_about_to point.
8713 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8714 issue, remove cancel flag check.
8716 2018-10-26 Joseph Myers <joseph@codesourcery.com>
8718 * scripts/build-many-glibcs.py: Remove compatibility for missing
8719 os.cpu_count and re.fullmatch.
8721 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8724 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8725 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8726 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8728 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8730 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8733 2018-10-25 Florian Weimer <fweimer@redhat.com>
8737 XFAIL siginfo_t si_band conform test on sparc64.
8738 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8739 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8740 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8741 (conformtest-xfail-conds): Add sparc64-linux.
8742 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8744 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8746 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8748 * elf/elf.h (NT_MIPS_DSP): New macro.
8749 (NT_MIPS_FP_MODE): Likewise.
8751 2018-10-25 Zong Li <zong@andestech.com>
8753 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8754 name by adding the file extension (.so).
8756 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8758 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8759 (test-xfail-ISO11/threads.h/linknamespace,
8760 test-xfail-ISO11/threads.h/conform): Add.
8762 2018-10-24 Joseph Myers <joseph@codesourcery.com>
8764 * math/gen-libm-test.py: Import os.
8765 (ALL_FLOATS_MANUAL): New constant.
8766 (ALL_FLOATS_SUFFIX): Likewise.
8767 (Ulps.all_functions): New function.
8768 (real_all_ulps): Likewise.
8769 (generate_err_table_sub): Likewise.
8770 (generate_err_table): Likewise.
8771 (main): Handle -s and -m options.
8772 * manual/libm-err-tab.pl: Remove.
8773 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8774 instead of libm-err-tab.pl.
8775 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8777 * manual/install.texi (Tools for Compilation): Document
8778 requirement for Python to build manual.
8779 * INSTALL: Regenerated.
8781 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8783 * bits/time64.h: New file.
8784 * include/time.h: Replace internal_time_t with __time64_t.
8785 * posix/bits/types (__time64_t): Add.
8786 * stdlib/Makefile: Add bits/time64.h to includes.
8787 * time/tzfile.c: Replace internal_time_t with __time64_t.
8789 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8791 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8792 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8793 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8794 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8795 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8797 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8798 * posix/spawn_faction_addclose.c
8799 (__posix_spawn_file_actions_addclose): Add hidden definition.
8800 * posix/spawn_faction_adddup2.c
8801 (__posix_spawn_file_actions_adddup2): Likewise.
8802 * posix/spawn_faction_destroy.c
8803 (__posix_spawn_file_actions_destroy): Likewise.
8804 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8806 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8807 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8808 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8810 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8811 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8814 2018-10-24 Andreas Schwab <schwab@suse.de>
8817 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8819 * elf/cache.c (print_cache): Likewise.
8821 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8823 * bits/timesize.h: New file.
8824 * stdlib/Makefile (headers): Add bits/timesize.h.
8825 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8826 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8827 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8828 (__SEM_PAD_AFTER_TIME): Likewise.
8829 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8830 (__SHM_PAD_AFTER_TIME): Likewise.
8831 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8832 (__MSQ_PAD_BEFORE_TIME): Likewise.
8833 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8834 (__SEM_PAD_BEFORE_TIME): Likewise.
8835 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8836 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8837 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
8838 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8839 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8840 (__MSQ_PAD_BEFORE_TIME): Likewise.
8841 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8842 (__SEM_PAD_BEFORE_TIME): Likewise.
8843 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8844 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8845 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8846 (__MSQ_PAD_BEFORE_TIME): Likewise.
8847 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8848 (__SEM_PAD_BEFORE_TIME): Likewise.
8849 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8850 (__SHM_PAD_BEFORE_TIME): Likewise.
8851 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8852 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8853 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8855 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8857 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8858 USE_RDTSCP is defined.
8859 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8860 USE_RDTSCP is defined.
8862 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8864 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8868 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8869 independently of other flags.
8871 2018-10-23 Florian Weimer <fweimer@redhat.com>
8873 * time/tst-mktime2.c (N_STRINGS): Remove.
8874 (set_timezone): New function.
8875 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8876 (mktime_test1): Report localtime failure and check errno value.
8878 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8879 (do_test): Remove alarm call. Use set_timezone and array_length.
8881 2018-10-23 Andreas Schwab <schwab@suse.de>
8883 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8884 (__start_context): Use END instead of PSEUDO_END.
8886 2018-10-22 Joseph Myers <joseph@codesourcery.com>
8888 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8891 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8895 * wcsmbs/c32rtomb.c: New file.
8896 * wcsmbs/mbrtoc32.c: Likewise.
8897 * wcsmbs/tst-c32-state.c: Likewise.
8898 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8899 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8900 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8901 (tests): Add tst-c32-state.
8902 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8905 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8907 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8908 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8910 2018-10-19 Joseph Myers <joseph@codesourcery.com>
8913 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8914 pair and return 0 in that case, and use saved character to
8915 interpret following character.
8916 * wcsmbs/tst-c16-surrogate.c: New file.
8917 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8918 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8919 Depend on $(gen-locales)
8921 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8924 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8925 (struct siginfo_t): Use correct type for si_band.
8927 2018-10-19 Florian Weimer <fweimer@redhat.com>
8930 * resource/bits/types/struct_rusage.h (struct rusage): Update
8931 comment on struct. Remove extraneous field comment.
8933 2018-10-18 David S. Miller <davem@davemloft.net>
8935 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8936 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8937 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8938 sysdep_routines in subdir elf.
8939 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8940 version for __vdso_clock_gettime.
8941 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8943 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8944 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8946 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8948 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8950 * sysdeps/i386/init-arch.h: Removed.
8951 * sysdeps/i386/i586/init-arch.h: Likewise.
8952 * sysdeps/i386/i686/init-arch.h: Likewise.
8953 * sysdeps/i386/i686/hp-timing.h: Likewise.
8954 * sysdeps/x86_64/hp-timing.h: Likewise.
8955 * sysdeps/i386/isa.h: New file.
8956 * sysdeps/i386/i586/isa.h: Likewise.
8957 * sysdeps/i386/i686/isa.h: Likewise.
8958 * sysdeps/x86_64/isa.h: Likewise.
8959 * sysdeps/x86/hp-timing.h: New file.
8960 * sysdeps/x86/init-arch.h: Include <isa.h>.
8962 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8964 * math/libm-test-pow.inc (pow_test_data): Do not allow
8965 divide-by-zero exception for pow(+/- 0, -Inf).
8967 2018-10-17 Zack Weinberg <zackw@panix.com>
8969 * manual/job.texi (Job Control is Optional): Remove node, as
8970 job control has not been optional in quite some time.
8971 (Job Control): Mention briefly that systems older than
8972 POSIX.1-2001 might not support job control.
8973 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8974 defined on systems conforming to POSIX.1-2001.
8976 2018-10-17 Arjun Shankar <arjun@redhat.com>
8979 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8981 * (__gconv_read_conf): Mark function static.
8982 * (once): New static variable.
8983 * (__gconv_load_conf): New function.
8984 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8985 * iconv/gconv_db.c (once): Remove static variable.
8986 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8988 * (__gconv_find_transform): Likewise.
8989 * iconv/tst-iconv-mt.c: New test.
8990 * iconv/Makefile: Add tst-iconv_mt.
8992 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8996 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8997 (shmatt_t): Define as __syscall_ulong_t.
8998 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8999 and [__SHM_PAD_AFTER_TIME].
9000 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9001 Define shm_segsz and associated padding based on
9002 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9003 Use __syscall_ulong_t instead of unsigned long int.
9004 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9006 [__USE_MISC] (struct shm_info): Likewise.
9007 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9008 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9009 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9010 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9011 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9012 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9013 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9014 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9015 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9016 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9017 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9021 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9022 (SHMLBA): Remove macro.
9023 (__getpagesize): Remove function declaration.
9024 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
9026 (SHMLBA): Remove macro.
9027 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
9029 (SHMLBA): Remove macro.
9030 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
9032 (SHMLBA): Remove macro.
9033 (__getpagesize): Remove function declaration.
9034 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
9036 (SHMLBA): Remove macro.
9037 (__getshmlba): Remove function declaration.
9038 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
9039 (SHMLBA): Remove macro.
9040 (__getpagesize): Remove function declaration.
9041 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
9042 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
9043 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9044 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
9045 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
9046 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
9047 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
9048 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
9049 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
9050 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
9052 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
9055 * nptl/tst-mutex10.c: New File.
9056 * nptl/Makefile (tests): Add tst-mutex10.
9057 (tst-mutex10-ENV): New variable.
9058 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
9059 Ensure that elision path is used if elision is available.
9060 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
9062 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
9064 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
9065 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
9066 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
9067 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
9069 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
9070 (__pthread_mutex_cond_lock_adjust): Likewise.
9071 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9073 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
9074 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9075 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9076 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
9078 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9079 Use atomic_load_relaxed and atomic_store_relaxed.
9080 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
9081 Use atomic_store_relaxed.
9083 2018-10-17 Andreas Schwab <schwab@suse.de>
9085 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
9086 * crypt/badsalttest.c (TIMEOUT): Likewise.
9087 * crypt/sha256c-test.c (TIMEOUT): Likewise.
9088 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
9089 * io/test-lfs.c (TIMEOUT): Likewise.
9090 * libio/tst-atime.c (TIMEOUT): Likewise.
9091 * localedata/tst-leaks.c (TIMEOUT): Likewise.
9092 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
9093 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
9094 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
9095 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
9096 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9097 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9098 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9099 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9100 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9101 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9102 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9103 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9104 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9105 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9106 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9107 * nptl/tst-once2.c (TIMEOUT): Likewise.
9108 * nptl/tst-once3.c (TIMEOUT): Likewise.
9109 * nptl/tst-once4.c (TIMEOUT): Likewise.
9110 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9111 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9112 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9113 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9114 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9115 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9116 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9117 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9118 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9119 * posix/tst-chmod.c (TIMEOUT): Likewise.
9120 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9121 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9122 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9123 * posix/tst-regex2.c (TIMEOUT): Likewise.
9124 * posix/tst-waitid.c (TIMEOUT): Likewise.
9125 * rt/tst-aio.c (TIMEOUT): Likewise.
9126 * rt/tst-aio10.c (TIMEOUT): Likewise.
9127 * rt/tst-aio4.c (TIMEOUT): Likewise.
9128 * rt/tst-aio5.c (TIMEOUT): Likewise.
9129 * rt/tst-aio6.c (TIMEOUT): Likewise.
9130 * rt/tst-aio64.c (TIMEOUT): Likewise.
9131 * rt/tst-aio7.c (TIMEOUT): Likewise.
9132 * rt/tst-aio9.c (TIMEOUT): Likewise.
9133 * rt/tst-clock.c (TIMEOUT): Likewise.
9134 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9135 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9136 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9137 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9138 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9139 * rt/tst-timer4.c (TIMEOUT): Likewise.
9140 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9141 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9142 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9143 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9144 * time/tst-ftime.c (TIMEOUT): Likewise.
9145 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9147 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
9149 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9150 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9153 2018-10-15 Joseph Myers <joseph@codesourcery.com>
9155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9157 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9158 instead of <bits/wordsize.h>.
9159 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9160 and [__SEM_PAD_AFTER_TIME].
9161 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9162 __syscall_ulong_t instead of unsigned long int.
9163 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9164 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9165 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9166 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9167 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9168 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9169 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9170 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9171 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9172 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9173 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9175 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9177 regex: simplify by using intprops.h
9179 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9180 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9181 intprops.h defines them.
9183 regex: __builtin_expect → __glibc_unlikely
9185 This refactoring was prompted by a problem when the regex code is
9186 used as part of Gnulib and when the builder’s compiler does not grok
9187 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9188 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9189 Although this refactoring does not fix the problem directly,
9190 we might as well have Gawk use the now-preferred glibc style for when
9191 __builtin_expect is unavailable.
9192 * posix/regex_internal.h (BE): Remove.
9193 All uses replaced by __glibc_unlikely or __glibc_likely.
9195 2018-10-11 Joseph Myers <joseph@codesourcery.com>
9197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9199 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9200 instead of <bits/wordsize.h>.
9201 (msgqnum_t): Define as __syscall_ulong_t.
9202 (msglen_t): Likewise.
9203 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9204 and [__MSQ_PAD_AFTER_TIME].
9205 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9206 __syscall_ulong_t instead of unsigned long int.
9207 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9208 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9209 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9210 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9211 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9212 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9213 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9214 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9215 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9216 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9217 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9219 2018-10-10 Joseph Myers <joseph@codesourcery.com>
9221 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9222 (struct shmid_ds): Condition padding after time fields on
9224 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9225 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9226 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9228 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9229 (struct semid_ds): Condition padding after time fields on
9231 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9232 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9233 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9234 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9236 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9237 (struct msqid_ds): Condition padding after time fields on
9239 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9240 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9241 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9242 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9244 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9246 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9248 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9250 * libio/tst-readline.c (TIMEOUT): Define.
9252 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9254 mktime fix for Gnulib + coreutils
9256 This fix affects only Gnulib. Problem discovered when
9257 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9259 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9260 Do not define since it is not used. Defining an unused static
9261 function prompts a warning from GCC when Coreutils is configured
9262 with --enable-gcc-warnings.
9264 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9266 * benchtests/scripts/compare_bench.py (main): set float type on
9269 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9272 * localedata/locales/kl_GL (mon): Update, the relative case.
9273 (alt_mon): Add, fill with month names in the nominative case.
9274 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9275 (d_fmt): Set to "%b %d %Y".
9277 2018-10-04 Joseph Myers <joseph@codesourcery.com>
9279 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9280 <bits/mman-linux.h>.
9281 (PROT_READ): Don't define here.
9282 (PROT_WRITE): Likewise.
9283 (PROT_EXEC): Likewise.
9284 (PROT_NONE): Likewise.
9285 (PROT_GROWSDOWN): Likewise.
9286 (PROT_GROWSUP): Likewise.
9287 (MAP_SHARED): Likewise.
9288 (MAP_PRIVATE): Likewise.
9289 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9290 [__USE_MISC] (MAP_FILE): Likewise.
9291 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9292 [__USE_MISC] (MAP_ANON): Likewise.
9293 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9294 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9295 (MCL_CURRENT): Likewise.
9296 (MCL_FUTURE): Likewise.
9297 (MCL_ONFAULT): Likewise.
9298 [__USE_MISC] (MADV_NORMAL): Likewise.
9299 [__USE_MISC] (MADV_RANDOM): Likewise.
9300 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9301 [__USE_MISC] (MADV_WILLNEED): Likewise.
9302 [__USE_MISC] (MADV_DONTNEED): Likewise.
9303 [__USE_MISC] (MADV_FREE): Likewise.
9304 [__USE_MISC] (MADV_REMOVE): Likewise.
9305 [__USE_MISC] (MADV_DONTFORK): Likewise.
9306 [__USE_MISC] (MADV_DOFORK): Likewise.
9307 [__USE_MISC] (MADV_HWPOISON): Likewise.
9308 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9309 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9310 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9311 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9312 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
9313 (__MAP_ANONYMOUS): New macro.
9314 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
9315 <bits/mman-linux.h> inclusion.
9316 (MAP_FIXED): Likewise.
9317 (MS_SYNC): Likewise.
9318 (MS_ASYNC): Likewise.
9319 (MS_INVALIDATE): Likewise.
9320 [__USE_MISC] (MADV_MERGEABLE): Likewise.
9321 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
9322 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
9323 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
9324 [__USE_MISC] (MADV_DONTDUMP): Likewise.
9325 [__USE_MISC] (MADV_DODUMP): Likewise.
9326 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9327 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9330 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9332 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9333 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9334 Add test-nldbl-redirect.
9335 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9336 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9337 $(objpfx)libnldbl_nonshared.a.
9339 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
9341 * support/support.h (support_objdir_elf_ldso): New variable.
9342 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
9343 * support/Makefile (CFLAGS-support_paths.c): Add definition
9344 for OBJDIR_ELF_LDSO_PATH.
9345 * support/test-container.c (main): Search for the ld.so
9346 which is also used by the testsuite.
9348 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
9351 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
9352 should be "sap" rather than "sab".
9353 (day): Fix spelling of Sunday, should be "sapaat" rather than
9356 2018-10-02 Joseph Myers <joseph@codesourcery.com>
9358 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9360 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
9363 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
9364 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
9365 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
9367 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9369 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
9371 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
9373 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
9375 (CFLAGS-elision-unlock.c): Likewise.
9376 (CFLAGS-elision-timed.c): Likewise.
9377 (CFLAGS-elision-trylock.c): Likewise.
9378 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
9380 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9383 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
9384 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
9385 new fd_to_filename interface.
9386 * libio/freopen64.c (freopen64): Likewise.
9387 * libio/tst-memstream.h: New file.
9388 * libio/tst-memstream4.c: Likewise.
9389 * libio/tst-wmemstream4.c: Likewise.
9390 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
9391 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
9392 and remove internal dynamic allocation.
9394 2018-10-01 Joseph Myers <joseph@codesourcery.com>
9396 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
9397 (MREMAP_MAYMOVE): Do not define here.
9398 [__USE_GNU] (MREMAP_FIXED): Likewise.
9399 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
9400 (MREMAP_MAYMOVE): Define here instead.
9401 [__USE_GNU] (MREMAP_FIXED): Likewise.
9402 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
9403 (MREMAP_MAYMOVE): Remove.
9404 [__USE_GNU] (MREMAP_FIXED): Likewise.
9406 2018-09-28 Joseph Myers <joseph@codesourcery.com>
9408 * math/fromfp.h: Do not include <math_private.h>.
9409 * math/s_cacosh_template.c: Likewise.
9410 * math/s_casin_template.c: Likewise.
9411 * math/s_casinh_template.c: Likewise.
9412 * math/s_ccos_template.c: Likewise.
9413 * math/s_cproj_template.c: Likewise.
9414 * math/s_fdim_template.c: Likewise.
9415 * math/s_fmaxmag_template.c: Likewise.
9416 * math/s_fminmag_template.c: Likewise.
9417 * math/s_iseqsig_template.c: Likewise.
9418 * math/s_ldexp_template.c: Likewise.
9419 * math/s_nextdown_template.c: Likewise.
9420 * math/w_log1p_template.c: Likewise.
9421 * math/w_scalbln_template.c: Likewise.
9422 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9423 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9424 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9425 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9426 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9427 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9428 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9429 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9430 * sysdeps/i386/fpu/s_atanl.c: Likewise.
9431 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9432 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9433 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9434 * sysdeps/i386/fpu/s_logbl.c: Likewise.
9435 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9436 * sysdeps/i386/fpu/s_significandl.c: Likewise.
9437 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
9438 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
9439 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9440 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9441 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9442 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9443 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9444 * sysdeps/ieee754/k_standardf.c: Likewise.
9445 * sysdeps/ieee754/k_standardl.c: Likewise.
9446 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9447 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9448 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
9449 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9450 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9451 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9452 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9453 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9454 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9455 * sysdeps/ieee754/s_signgam.c: Likewise.
9456 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9457 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
9458 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
9459 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9460 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9461 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9462 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9463 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9464 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9465 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9466 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9467 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9468 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9469 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9470 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9471 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9472 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9473 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9474 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9475 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9476 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9477 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9478 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9479 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9480 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9481 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9482 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9483 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9484 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9485 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9486 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9487 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9488 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9489 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9490 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9491 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9492 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9494 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9496 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9499 * sysdeps/i386/dl-cet.c: Removed.
9500 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9502 (_dl_runtime_profile_shstk): Likewise.
9503 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9504 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9506 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9509 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9510 do_test_with_invalid_iov): New tests.
9511 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9512 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9513 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9515 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9516 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9517 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9519 2018-09-27 Joseph Myers <joseph@codesourcery.com>
9521 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9522 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9523 (MATH_REDIRECT_BINARY_ARGS): New macro.
9524 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9525 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9526 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9528 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9529 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9530 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9531 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9541 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9542 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9547 * sysdeps/generic/math_private_calls.h
9548 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9549 Do not declare and define as an inline function.
9550 * math/divtc3.c (__divtc3): Use copysign functions instead of
9551 __copysign variants.
9552 * math/multc3.c (__multc3): Likewise.
9553 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9554 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9555 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9556 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9558 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9559 (__ieee754_yn): Likewise.
9560 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9561 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9562 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9563 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9564 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9566 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9567 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9569 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9571 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9573 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9574 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9576 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9577 (__ieee754_ynf): Likewise.
9578 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9579 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9580 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9581 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9583 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9584 (__ieee754_ynl): Likewise.
9585 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9586 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9587 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9589 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9590 (__ieee754_ynl): Likewise.
9591 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9592 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9593 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9594 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9596 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9598 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9599 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9600 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9601 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9602 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9604 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9605 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9606 using MATH_REDIRECT.
9607 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9609 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9610 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9611 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9612 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9613 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9614 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9620 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9621 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9622 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9623 (round): Redirect to __round.
9624 (__roundl): Call round instead of __round.
9625 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9627 [_ARCH_PWR5X] (__roundf): Likewise.
9628 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9629 functions instead of __round variants.
9630 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9631 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9633 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9635 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9637 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9638 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9640 (__ieee754_expl): Call roundl instead of __roundl.
9642 2018-09-27 Andreas Schwab <schwab@suse.de>
9645 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9646 (do_test): Make st1 static.
9648 2018-09-26 Andreas Schwab <schwab@suse.de>
9651 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9652 * elf/Makefile (tests): Add tst-unwind-ctor.
9653 (modules-names): Add tst-unwind-ctor-lib.
9654 ($(objpfx)tst-unwind-ctor): Depend on
9655 $(objpfx)tst-unwind-ctor-lib.so.
9657 2018-09-26 Joseph Myers <joseph@codesourcery.com>
9659 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9660 file. Most contents moved from ....
9661 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9662 and include <bits/mman-map-flags-generic.h>.
9663 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9664 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9665 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9666 <bits/mman-map-flags-generic.h>.
9667 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9668 macros defined in <bits/mman-map-flags-generic.h>.
9669 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9670 <bits/mman-map-flags-generic.h>.
9671 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9672 defined in <bits/mman-map-flags-generic.h>.
9674 2018-09-26 Andreas Schwab <schwab@suse.de>
9676 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9679 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9680 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9681 Fangrui Song <maskray@google.com>
9684 * config.make.in (have-textrel_ifunc): New define.
9685 * configure.ac: Add check if linker supports textrel relocation with
9687 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9689 (CFLAGS-tst-ifunc-textrel.c): New rule.
9690 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9691 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9692 * elf/tst-ifunc-textrel.c: New file.
9694 2018-09-25 Joseph Myers <joseph@codesourcery.com>
9696 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9697 <bits/procfs-prregset.h>.
9698 (prgregset_t): Define using __prgregset_t.
9699 (prfpregset_t): Define using __prfpregset_t.
9700 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9701 (sysdep_headers): Add bits/procfs-prregset.h.
9702 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9703 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9704 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9705 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9707 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9708 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9709 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9711 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9712 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9713 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9714 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9715 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9716 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9717 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9718 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9719 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9720 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9721 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9722 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9723 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9724 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9725 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9726 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9727 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9728 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9729 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9730 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9731 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9732 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9733 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9734 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9736 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9737 AArch64 version. Include <bits/procfs.h>.
9738 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9739 (sysdep_headers): Add bits/procfs.h.
9740 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9741 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9742 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9743 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9744 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9745 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9746 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9747 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9748 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9749 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9750 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9751 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9752 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9753 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9754 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9755 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9756 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9758 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9760 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9763 2018-09-25 Arjun Shankar <arjun@redhat.com>
9765 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9766 (__gconv_max_path_elem_len): Likewise.
9767 (__gconv_nmodules): Likewise.
9768 (__gconv_get_path): Likewise.
9769 (path_elem): Move to ...
9770 * iconv/gconv_conf.c: ... here.
9771 (__gconv_get_path): Mark function static.
9772 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9773 * iconv/gconv_open.c: ... here.
9775 2018-09-24 Andreas Schwab <schwab@suse.de>
9777 * scripts/haveversions.awk: New file.
9778 * Makerules ($(common-objpfx)Versions.def)
9779 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9780 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9782 * Makeconfig ($(common-objpfx)Versions.def)
9783 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9784 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9786 ($(common-objpfx)Versions.mk): New rule. Include it.
9787 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9788 Emit error if build-obsolete-nsl = yes.
9789 * manual/install.texi (Configuring and compiling): Describe
9790 --enable-obsolete-nsl as unavaiable after version 2.28.
9791 * INSTALL: Regenerate.
9793 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9795 * NEWS: Add note about new TLE support on powerpc64le.
9796 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9797 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9799 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9800 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9801 * sysdeps/powerpc/powerpc32/sysdep.h,
9802 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9803 ABORT_TRANSACTION): Remove macros.
9804 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9805 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9806 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9808 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9809 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9811 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9813 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9816 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9817 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9818 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9819 which is the same as in it_IT.
9820 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9821 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9823 2018-09-20 Joseph Myers <joseph@codesourcery.com>
9825 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9826 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9827 using MATH_REDIRECT.
9828 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9830 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9831 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9832 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9833 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9834 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9835 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9840 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9841 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9842 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9843 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9844 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9845 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9846 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9847 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9848 (ceil): Redirect to __ceil.
9849 (floor): Redirect to __floor.
9850 (trunc): Redirect to __trunc.
9851 (__truncl): Call trunc instead of __trunc.
9852 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9854 [_ARCH_PWR5X] (__truncf): Likewise.
9855 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9856 trunc functions instead of __trunc variants.
9857 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9859 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9861 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9863 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9866 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9867 [__i586__ || __pentium__].
9868 [__i486__]: Handle explicitly.
9869 (HAS_CPUID): Define to 1 if above macros are undefined.
9870 (HAS_I586): Likewise.
9871 (HAS_I686): Likewise.
9873 2018-09-20 Florian Weimer <fweimer@redhat.com>
9875 * misc/tst-gethostid.c: New file.
9876 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9877 (tst-gethostid): Link with -ldl.
9879 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9881 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9882 value from gethostbyname_r.
9884 2018-09-19 Carlos O'Donell <carlos@redhat.com>
9886 * stdlib/tst-setcontext9.c (f1): Rename to...
9888 (f1b): New function implementing lower half of f1 in alternate stack.
9890 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9892 Fix mktime localtime offset confusion
9894 * include/time.h (__mktime_internal): The localtime offset is now
9895 of type long int instead of time_t. This is the longstanding type
9896 in glibc, and it is more than enough to represent difference
9897 between localtime and gmtime even if it is 32 bits and time_t is
9898 64. Changing it now will let us avoid an unnecessary change when
9899 time_t is widened to 64 bits on 32-bit platforms.
9900 * time/mktime-internal.h (mktime_offset_t): Now long int.
9902 Merge mktime, timegm from upstream Gnulib
9903 [BZ #23603][BZ #16346]
9904 This fixes some obscure problems with integer overflow.
9905 Although it looks scary, it is almost all a byte-for-byte copy
9906 from Gnulib, and the Gnulib code has been tested reasonably well.
9907 * include/intprops.h: New file, copied from Gnulib.
9908 * include/verify.h, time/mktime-internal.h:
9909 New tiny files, simplified from Gnulib.
9910 * time/mktime.c: Copy from Gnulib. This has the following changes:
9911 Do not include config.h if DEBUG_MKTIME is nonzero.
9912 Include stdbool.h, intprops.h, verify.h.
9913 Include string.h only if needed.
9914 Include stdlib.h on MS-Windows.
9915 Include mktime-internal.h.
9916 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9917 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9918 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9919 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9920 simplify later conditionals; default the others to zero. Use
9921 these conditionals to express only the code needed on the current
9922 platform. In uses of these conditionals, explicitly spell out how
9923 _LIBC affects things, so it’s easier to review from a glibc
9925 (WRAPV): Remove; no longer needed now that we have
9926 systematic overflow checking.
9927 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9928 compartmentalize tzset issues. Move system-dependent tzsettish
9929 code here from mktime.
9930 (verify): Remove; now done by verify.h. All uses changed.
9931 (long_int): Use a more-conservative definition, to avoid
9933 (SHR): Remove, replacing with ...
9934 (shr): New function, which means we needn’t worry about side
9935 effects in args, and conversion analysis is simpler.
9936 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9937 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9938 (time_t_avg, time_t_add_ok): Remove.
9939 (mktime_min, mktime_max): New constants.
9940 (leapyear, isdst_differ): Use bool for booleans.
9941 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9942 Use long_int, not time_t, for mktime differences.
9943 (long_int_avg): New function, replacing time_t_avg.
9944 INT_ADD_WRAPV replaces time_t_add_ok.
9945 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9947 (convert_time): New function.
9948 (ranged_convert): Use it.
9949 (__mktime_internal): Last arg now points to mktime_offset_t, not
9950 time_t. All uses changed. This is a no-op on glibc, where
9951 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9952 offset guess. Directly check for integer overflow instead of
9953 using a heuristic that works only 99.9...% of the time.
9954 Access *OFFSET only once, to avoid an unlikely race if the
9955 compiler delays a load and if this cascades into a signed integer
9957 (mktime): Move tzsettish code to my_tzset, and move
9958 localtime_offset to within mktime so that it doesn’t
9959 need a separate ifdef.
9960 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9961 instead of localtime.
9962 * time/timegm.c: Copy from Gnulib. This has the following changes:
9963 Include mktime-internal.h.
9964 [!_LIBC]: Include config.h and time.h. Do not include
9965 timegm.h or time_r.h. Make __mktime_internal a macro,
9966 and include mktime-internal.h to get its declaration.
9967 (timegm): Temporary is now mktime_offset_t, not time_t.
9968 This affects only Gnulib.
9970 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9973 * string/test-strstr.c (pr23637): New function.
9974 (test_main): Add tests with longer needles.
9975 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9976 * string/strstr.c (AVAILABLE): Likewise.
9978 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9980 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9982 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9984 * NEWS: Mention pow improvements.
9985 * math/Makefile (type-double-routines): Add e_pow_log_data.
9986 * sysdeps/generic/math_private.h (__exp1): Remove.
9987 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9988 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9989 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9991 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9992 (exp_inline): Remove.
9993 (__ieee754_exp): Only single double input is handled.
9994 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9995 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9996 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9997 (__pow_log_data): Define.
9998 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9999 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10000 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10001 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10003 (CFLAGS-e_pow-fma4.c): Likewise.
10005 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10007 Simplify tzfile fstat failure code
10009 * time/tzfile.c (__tzfile_read): Simplify slightly.
10011 Fix tzfile low-memory assertion failure
10013 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10014 when registering time zone abbreviations.
10016 2018-09-18 Joseph Myers <joseph@codesourcery.com>
10018 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10019 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10020 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10021 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10022 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
10023 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
10024 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
10025 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10026 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10028 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
10030 (__ceill): Call ceil instead of __ceil.
10031 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
10033 (__floorl): Call floor instead of __floor.
10035 2018-09-17 Joseph Myers <joseph@codesourcery.com>
10037 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10038 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
10039 using MATH_REDIRECT.
10040 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
10042 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
10043 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10044 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10045 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
10046 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10047 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10048 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10049 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
10050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
10051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
10052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
10053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
10054 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10055 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10058 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10059 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10060 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
10062 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
10063 functions instead of __ceil variants.
10064 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10065 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10067 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10069 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10070 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10072 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10073 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10076 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
10078 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
10079 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
10080 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
10081 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
10082 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
10083 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
10084 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
10085 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
10086 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
10087 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
10088 (ILL_BADIADDR): Remove constant.
10089 (TRAP_BRANCH): Likewise.
10090 (TRAP_HWBKPT): Likewise.
10092 2018-09-14 Joseph Myers <joseph@codesourcery.com>
10095 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
10096 Remove [_MIPS_SIM = _ABIN32] conditional case.
10097 (struct elf_prpsinfo): Likewise.
10100 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10101 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10102 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10104 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10105 elf_prpsinfo): Likewise.
10106 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10107 elf_prpsinfo): Likewise.
10108 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10111 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10112 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10113 using MATH_REDIRECT.
10114 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10116 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10117 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10118 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10119 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10122 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10123 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10124 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10125 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10126 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10127 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10128 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10129 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10130 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10131 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10132 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10133 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10134 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10138 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10139 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10140 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10141 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10142 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10144 * math/e_scalbf.c (invalid_fn): Likewise.
10145 * math/e_scalbl.c (invalid_fn): Likewise.
10146 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10148 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10150 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10151 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10152 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10154 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10156 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10158 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10159 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10161 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10162 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10164 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10165 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10166 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10167 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10168 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10169 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10170 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10171 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10172 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10173 && !NO_MATH_REDIRECT] (floor): Likewise.
10174 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10176 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10177 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10178 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10179 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10180 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10181 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10182 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10183 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10188 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10189 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10190 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10191 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10192 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10193 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10194 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10196 [_ARCH_PWR5X] (__floorf): Likewise.
10197 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10199 [__SSE4_1__] (__floorf): Likewise.
10200 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10201 instead of __floor variants.
10202 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10203 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10204 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10205 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10206 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10207 * math/w_tgamma_compat.c (__tgamma): Likewise.
10208 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10209 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10210 * math/w_tgammal_compat.c (__tgammal): Likewise.
10211 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10212 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10214 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10215 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10216 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10217 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10219 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10220 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10222 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10223 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10225 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10226 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10228 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10230 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10231 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10232 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10233 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10235 2018-09-12 Joseph Myers <joseph@codesourcery.com>
10237 * elf/Makefile (modules-names-tests): New variable.
10239 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10241 * NEWS: Mention log2 improvements.
10242 * math/Makefile (type-double-routines): Add e_log2_data.
10243 * sysdeps/i386/fpu/e_log2_data.c: New file.
10244 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10245 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10246 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10247 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10248 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10249 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10251 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10253 * NEWS: Mention log improvement.
10254 * math/Makefile (type-double-routines): Add e_log_data.
10255 * sysdeps/i386/fpu/e_log_data.c: New file.
10256 * sysdeps/ia64/fpu/e_log_data.c: New file.
10257 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10258 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10259 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10260 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10261 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10262 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10264 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10265 Xuepeng Guo <xuepeng.guo@intel.com>
10268 * sysdeps/i386/start.S: Include <sysdep.h>
10269 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10270 enabled. Add cfi_undefined (eip).
10272 2018-09-11 Joseph Myers <joseph@codesourcery.com>
10274 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10276 (EXTRACT_WORDS64): Likewise.
10277 (INSERT_WORDS64): Likewise.
10278 (GET_FLOAT_WORD): Likewise.
10279 (SET_FLOAT_WORD): Likewise.
10281 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10283 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10284 build, but not for second build if --full-gcc. Use
10285 --enable-languages=all for second build if --full-gcc.
10286 (get_parser): Add --full-gcc option.
10287 (main): Update call to Context.
10289 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10292 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10293 Single Quotation Mark).
10294 (thousands_sep): Likewise.
10295 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10296 * localedata/locales/it_IT (thousands_sep): Use ".".
10297 (grouping): Use "3;3".
10299 2018-09-10 Joseph Myers <joseph@codesourcery.com>
10301 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10302 x86_64 and i686 configs using --enable-obsolete-rpc
10303 --enable-obsolete-nsl.
10305 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10307 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10309 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10311 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10312 Increment size of new_argv by one.
10314 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
10317 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
10318 * localedata/locales/ar_IN (d_fmt): Likewise.
10319 * localedata/locales/bhb_IN (d_fmt): Likewise.
10320 * localedata/locales/bho_IN (d_fmt): Likewise.
10321 * localedata/locales/bn_BD (d_fmt): Likewise.
10322 * localedata/locales/bn_IN (d_fmt): Likewise.
10323 * localedata/locales/doi_IN (d_fmt): Likewise.
10324 * localedata/locales/gu_IN (d_fmt): Likewise.
10325 * localedata/locales/hi_IN (d_fmt): Likewise.
10326 * localedata/locales/hne_IN (d_fmt): Likewise.
10327 * localedata/locales/kn_IN (d_fmt): Likewise.
10328 * localedata/locales/mag_IN (d_fmt): Likewise.
10329 * localedata/locales/mai_IN (d_fmt): Likewise.
10330 * localedata/locales/mjw_IN (d_fmt): Likewise.
10331 * localedata/locales/ml_IN (d_fmt): Likewise.
10332 * localedata/locales/mni_IN (d_fmt): Likewise.
10333 * localedata/locales/mr_IN (d_fmt): Likewise.
10334 * localedata/locales/pa_IN (d_fmt): Likewise.
10335 * localedata/locales/raj_IN (d_fmt): Likewise.
10336 * localedata/locales/sat_IN (d_fmt): Likewise.
10337 * localedata/locales/sd_IN (d_fmt): Likewise.
10338 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
10339 * localedata/locales/ta_IN (d_fmt): Likewise.
10340 * localedata/locales/ta_LK (d_fmt): Likewise.
10341 * localedata/locales/tcy_IN (d_fmt): Likewise.
10342 * localedata/locales/ur_IN (d_fmt): Likewise.
10344 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
10345 * localedata/locales/ks_IN (d_fmt): Likewise.
10346 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
10348 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
10349 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
10350 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
10351 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
10353 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10355 * NEWS: Mention exp and exp2 improvements.
10356 * math/Makefile (libm-support): Remove t_exp.
10357 (type-double-routines): Add math_err and e_exp_data.
10358 * sysdeps/aarch64/libm-test-ulps: Update.
10359 * sysdeps/arm/libm-test-ulps: Update.
10360 * sysdeps/i386/fpu/e_exp_data.c: New file.
10361 * sysdeps/i386/fpu/math_err.c: New file.
10362 * sysdeps/i386/fpu/t_exp.c: Remove.
10363 * sysdeps/ia64/fpu/e_exp_data.c: New file.
10364 * sysdeps/ia64/fpu/math_err.c: New file.
10365 * sysdeps/ia64/fpu/t_exp.c: Remove.
10366 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
10367 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
10368 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
10369 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
10370 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
10371 * sysdeps/ieee754/dbl-64/math_config.h: New file.
10372 * sysdeps/ieee754/dbl-64/math_err.c: New file.
10373 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
10374 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
10375 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
10376 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
10377 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
10378 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
10379 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
10380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10383 2018-09-05 Joseph Myers <joseph@codesourcery.com>
10385 * sysdeps/alpha/fpu/math_private.h: Remove.
10387 * sysdeps/generic/math_private.h
10388 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
10389 Move this inline function ....
10390 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
10391 * include/math.h [!_ISOMAC]: To here....
10393 2018-09-04 Joseph Myers <joseph@codesourcery.com>
10395 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
10397 [!FE_HAVE_ROUNDING_MODES]: And this code ....
10398 * include/fenv.h [!_ISOMAC]: ... to here.
10399 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
10400 (feraiseexcept): Likewise.
10401 * math/fromfp.h: Do not include <fenv_private.h>.
10402 * math/s_cexp_template.c: Likewise.
10403 * math/s_csin_template.c: Likewise.
10404 * math/s_csinh_template.c: Likewise.
10405 * math/s_ctan_template.c: Likewise.
10406 * math/s_ctanh_template.c: Likewise.
10407 * math/s_iseqsig_template.c: Likewise.
10408 * math/w_acos_compat.c: Likewise.
10409 * math/w_acosf_compat.c: Likewise.
10410 * math/w_acosl_compat.c: Likewise.
10411 * math/w_asin_compat.c: Likewise.
10412 * math/w_asinf_compat.c: Likewise.
10413 * math/w_asinl_compat.c: Likewise.
10414 * math/w_j0_compat.c: Likewise.
10415 * math/w_j0f_compat.c: Likewise.
10416 * math/w_j0l_compat.c: Likewise.
10417 * math/w_j1_compat.c: Likewise.
10418 * math/w_j1f_compat.c: Likewise.
10419 * math/w_j1l_compat.c: Likewise.
10420 * math/w_jn_compat.c: Likewise.
10421 * math/w_jnf_compat.c: Likewise.
10422 * math/w_log10_compat.c: Likewise.
10423 * math/w_log10f_compat.c: Likewise.
10424 * math/w_log10l_compat.c: Likewise.
10425 * math/w_log2_compat.c: Likewise.
10426 * math/w_log2f_compat.c: Likewise.
10427 * math/w_log2l_compat.c: Likewise.
10428 * math/w_log_compat.c: Likewise.
10429 * math/w_logf_compat.c: Likewise.
10430 * math/w_logl_compat.c: Likewise.
10431 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10432 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10433 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10434 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10435 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10436 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10437 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10438 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10439 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10440 * sysdeps/ieee754/k_standardl.c: Likewise.
10441 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10442 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10443 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10444 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10445 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10446 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10448 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10453 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10454 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10457 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10458 * math/w_ilogb_template.c: Include <fenv.h> instead of
10460 * math/w_llogb_template.c: Likewise.
10461 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10462 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10464 2018-09-03 Joseph Myers <joseph@codesourcery.com>
10466 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
10467 * math/fromfp.h: Include <fenv_private.h>.
10468 * math/math-narrow.h: Likewise.
10469 * math/s_cexp_template.c: Likewise.
10470 * math/s_csin_template.c: Likewise.
10471 * math/s_csinh_template.c: Likewise.
10472 * math/s_ctan_template.c: Likewise.
10473 * math/s_ctanh_template.c: Likewise.
10474 * math/s_iseqsig_template.c: Likewise.
10475 * math/w_acos_compat.c: Likewise.
10476 * math/w_acosf_compat.c: Likewise.
10477 * math/w_acosl_compat.c: Likewise.
10478 * math/w_asin_compat.c: Likewise.
10479 * math/w_asinf_compat.c: Likewise.
10480 * math/w_asinl_compat.c: Likewise.
10481 * math/w_ilogb_template.c: Likewise.
10482 * math/w_j0_compat.c: Likewise.
10483 * math/w_j0f_compat.c: Likewise.
10484 * math/w_j0l_compat.c: Likewise.
10485 * math/w_j1_compat.c: Likewise.
10486 * math/w_j1f_compat.c: Likewise.
10487 * math/w_j1l_compat.c: Likewise.
10488 * math/w_jn_compat.c: Likewise.
10489 * math/w_jnf_compat.c: Likewise.
10490 * math/w_llogb_template.c: Likewise.
10491 * math/w_log10_compat.c: Likewise.
10492 * math/w_log10f_compat.c: Likewise.
10493 * math/w_log10l_compat.c: Likewise.
10494 * math/w_log2_compat.c: Likewise.
10495 * math/w_log2f_compat.c: Likewise.
10496 * math/w_log2l_compat.c: Likewise.
10497 * math/w_log_compat.c: Likewise.
10498 * math/w_logf_compat.c: Likewise.
10499 * math/w_logl_compat.c: Likewise.
10500 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10501 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10502 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10503 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10505 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10506 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10507 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10508 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10509 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10510 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10511 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10512 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10513 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10514 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10515 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10516 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10517 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10518 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10519 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10522 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10523 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10524 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10525 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10526 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10527 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10528 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10529 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10530 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10531 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10532 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10533 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10534 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10535 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10536 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10537 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10538 * sysdeps/ieee754/k_standardl.c: Likewise.
10539 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10540 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10541 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10542 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10543 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10544 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10545 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10546 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10547 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10549 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10550 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10551 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10552 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10553 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10554 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10555 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10556 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10557 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10558 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10559 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10560 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10561 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10562 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10563 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10564 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10565 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10566 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10567 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10568 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10569 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10570 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10571 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10572 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10573 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10574 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10575 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10576 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10577 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10578 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10579 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10580 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10581 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10582 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10583 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10584 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10585 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10586 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10587 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10588 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10589 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10590 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10591 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10592 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10593 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10594 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10595 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10596 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10597 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10598 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10599 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10600 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10601 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10602 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10603 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10604 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10605 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10606 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10607 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10608 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10609 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10611 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10614 * include/stdio.h (__libc_fatal): Mention newline in comment.
10615 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10616 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10617 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10618 * nss/nsswitch.c (__nss_next2): Likewise.
10619 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10620 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10621 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10622 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10623 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10624 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10625 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10626 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10627 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10628 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10629 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10630 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10631 (__netlink_assert_response): Likewise.
10633 2018-08-31 Joseph Myers <joseph@codesourcery.com>
10635 * conform/glibcconform.py: New file.
10636 * conform/list-header-symbols.py: Likewise.
10637 * conform/list-header-symbols.pl: Remove.
10638 * conform/Makefile (tests-special): Only add linknamespace tests
10640 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10642 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10645 * support/Makefile (libsupport-routines): Add
10646 support_copy_file_range and xcopy_file_range.
10647 * support/support.h: Include <sys/types.h>.
10648 (support_copy_file_range): New prototype.
10649 * support/support_copy_file_range.c: New file. Copied and
10650 modified from io/copy_file_range-compat.c.
10651 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10652 instead of copy_file_range.
10653 * support/xcopy_file_range.c: New file.
10654 * support/xunistd.h (xcopy_file_range): New prototype.
10656 2018-08-30 Carlos O'Donell <carlos@redhat.com>
10658 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10659 xpthread_create and xpthread_join.
10661 2018-08-30 Florian Weimer <fweimer@redhat.com>
10663 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10665 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
10667 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10670 2018-08-29 Joseph Myers <joseph@codesourcery.com>
10672 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10673 and minus_oflow as non-finite.
10675 2018-08-28 Joseph Myers <joseph@codesourcery.com>
10677 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10678 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10679 moved to fenv_private.h except for ...
10680 (TOINT_INTRINSICS): Kept in math_private.h.
10681 (roundtoint): Likewise.
10682 (converttoint): Likewise.
10683 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10684 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10685 * sysdeps/arm/math_private.h: Remove.
10686 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10688 * sysdeps/generic/math_private.h: ... this file. Include
10689 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10690 Include <fenv_private.h>. Remove functions and macros moved to
10692 * sysdeps/i386/fpu/math_private.h: Remove.
10693 * sysdeps/mips/math_private.h: Move to ....
10694 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10695 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10696 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10697 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10698 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10699 * sysdeps/powerpc/fpu/math_private.h: Do not include
10701 * sysdeps/riscv/rvf/math_private.h: Move to ....
10702 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10703 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10705 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10706 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10707 * sysdeps/sparc/fpu/math_private.h: Remove.
10708 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10709 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10710 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10712 * sysdeps/x86_64/fpu/math_private.h: Do not include
10713 <sysdeps/i386/fpu/fenv_private.h>.
10715 2018-08-28 Florian Weimer <fweimer@redhat.com>
10718 * posix/tst-regcomp-truncated.c: New file.
10719 * posix/Makefile (tests): Add it.
10720 (tst-regcomp-truncated.out): Depend on generated locales.
10722 2018-08-28 Florian Weimer <fweimer@redhat.com>
10724 * support/test-container.c (main): Treat unshare failure with
10725 EPERM as an unsupported test.
10727 2018-08-28 Florian Weimer <fweimer@redhat.com>
10730 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10731 * nscd/netgroupcache.c
10732 (addgetnetgrentX): Add tofreep parameter. Do not free
10733 heap-allocated buffer.
10734 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10735 (addgetnetgrentX_ignore): New function.
10736 (addgetnetgrent): Call it.
10737 (readdgetnetgrent): Likewise.
10739 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10741 * string/memmem.c: Use memcmp for first match.
10743 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10746 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10748 2018-08-27 DJ Delorie <dj@redhat.com>
10750 * support/Makefile (others): Don't list programs explicitly as a
10751 dependency of "others".
10753 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10755 * sysdeps/generic/math-tests-trap-force.h: New file.
10756 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10757 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10758 * sysdeps/powerpc/math-tests.h: Remove file.
10759 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10761 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10762 Torvald Riegel <triegel@redhat.com>
10765 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10766 Update r to include the set wake-request flag if waiters are
10767 remaining after spinning.
10769 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10771 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10773 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10776 regex: fix uninitialized memory access
10777 I introduced this bug into gnulib in commit
10778 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10779 eventually it was merged into glibc. The bug was found by
10780 project-repo <bugs@feusi.co> and reported here:
10781 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10782 Diagnosis and draft fix reported by Assaf Gordon here:
10783 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10784 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10785 * posix/regex_internal.c (build_wcs_upper_buffer):
10786 Fix bug when mbrtowc returns 0.
10788 2018-08-24 Carlos O'Donell <carlos@redhat.com>
10790 * po/be.po: Update translation.
10792 2018-08-24 DJ Delorie <dj@delorie.com>
10794 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10797 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10800 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10801 create temporary files in source tree.
10803 2018-08-24 Joseph Myers <joseph@codesourcery.com>
10805 * sysdeps/generic/math-tests-trap.h: New file.
10806 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10807 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10808 * sysdeps/aarch64/math-tests.h: Remove file.
10809 * sysdeps/arm/math-tests.h: Likewise.
10810 * sysdeps/riscv/math-tests.h: Likewise.
10811 * sysdeps/aarch64/math-tests-trap.h: New file.
10812 * sysdeps/arm/math-tests-trap.h: Likewise.
10813 * sysdeps/riscv/math-tests-trap.h: Likewise.
10815 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10817 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10818 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10819 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10820 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10821 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10822 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10823 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10824 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10825 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10826 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10827 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10828 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10829 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10830 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10831 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10832 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10833 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10834 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10836 2018-08-23 Joseph Myers <joseph@codesourcery.com>
10838 * sysdeps/generic/math-tests-exceptions.h: New file.
10839 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10840 (EXCEPTION_TESTS_float): Do not define here.
10841 (EXCEPTION_TESTS_double): Likewise.
10842 (EXCEPTION_TESTS_long_double): Likewise.
10843 (EXCEPTION_TESTS_float128): Likewise.
10844 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10846 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10847 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10848 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10849 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10850 * sysdeps/mips/math-tests.h: Likewise.
10851 * sysdeps/nios2/math-tests.h: Likewise.
10852 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10853 (EXCEPTION_TESTS_float): Do not define here.
10854 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10855 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10856 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10858 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10860 * NEWS: Move optimized sinf entry to 2.29.
10862 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10864 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10866 2018-08-22 DJ Delorie <dj@redhat.com>
10868 * Makefile (testroot.pristine): New rules to initialize the
10869 test-in-container "testroot".
10870 * Makerules (all-testsuite): Add tests-container.
10871 * Rules (tests-expected): Add tests-container.
10872 (binaries-all-tests): Likewise.
10873 (tests-container): New, run these tests in the testroot container.
10874 * support/Makefile (others): Add *-container, support_paths.c,
10875 xmkdirp, and links-dso-program.
10876 * support/links-dso-program-c.c: New.
10877 * support/links-dso-program.cc: New.
10878 * support/test-container.c: New.
10879 * support/shell-container.c: New.
10880 * support/echo-container.c: New.
10881 * support/true-container.c: New.
10882 * support/xmkdirp.c: New.
10883 * support/xsymlink.c: New.
10884 * support/support_paths.c: New.
10885 * support/support.h: Add support paths prototypes.
10886 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10888 * nss/tst-nss-test3.c: Convert to test-in-container.
10889 * nss/tst-nss-test3.root/: New.
10891 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10893 regex: port Gnulib code to z/OS POSIX environment
10894 Problem reported by Arnold Robbins in:
10895 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10896 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10899 2018-08-22 Joseph Myers <joseph@codesourcery.com>
10901 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10902 (ROUNDING_TESTS_double): Remove.
10903 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10904 (ROUNDING_TESTS_double): Remove.
10905 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10906 (ROUNDING_TESTS_double): Remove.
10907 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10908 (ROUNDING_TESTS_float): Remove.
10909 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10910 (ROUNDING_TESTS_float): Remove.
10911 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10912 (ROUNDING_TESTS_float): Remove.
10913 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10914 !TEST_MATHVEC here.
10915 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10916 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10918 * sysdeps/generic/math-tests-rounding.h: New file.
10919 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10920 (ROUNDING_TESTS_float): Do not define here.
10921 (ROUNDING_TESTS_double): Likewise.
10922 (ROUNDING_TESTS_long_double): Likewise.
10923 (ROUNDING_TESTS_float128): Likewise.
10924 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10925 (ROUNDING_TESTS_double): Undefine before defining.
10926 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10927 (ROUNDING_TESTS_double): Undefine before defining.
10928 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10929 (ROUNDING_TESTS_double): Undefine before defining.
10930 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10931 (ROUNDING_TESTS_float): Undefine before defining.
10932 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10933 (ROUNDING_TESTS_float): Undefine before defining.
10934 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10935 (ROUNDING_TESTS_float): Undefine before defining.
10936 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10937 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10939 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10940 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10941 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10942 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10943 (ROUNDING_TESTS_float): Do not define here.
10944 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10945 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10946 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10947 (ROUNDING_TESTS_float): Likewise.
10948 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10949 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10950 * sysdeps/mips/math-tests.h [__mips_soft_float]
10951 (ROUNDING_TESTS_float): Likewise.
10952 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10953 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10954 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10955 (ROUNDING_TESTS_double): Likewise.
10956 (ROUNDING_TESTS_long_double): Likewise.
10958 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
10960 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10961 (PF_XDP): New macro.
10962 (AF_XDP): New macro.
10963 (SOL_XDP): New macro.
10965 2018-08-21 Joseph Myers <joseph@codesourcery.com>
10967 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10968 (TCP_INQ): Likewise.
10969 (TCP_CM_INQ): Likewise.
10970 (TCP_REPAIR_ON): Likewise.
10971 (TCP_REPAIR_OFF): Likewise.
10972 (TCP_REPAIR_OFF_NO_WP): Likewise.
10973 (struct tcp_zerocopy_receive): New type.
10975 2018-08-21 Florian Weimer <fweimer@redhat.com>
10977 * support/support.h (support_descriptor_supports_holes): Declare.
10978 * support/Makefile (libsupport-routines): Add
10979 support_descriptor_supports_holes.
10980 * support/support_descriptor_supports_holes.c: New file.
10981 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10982 and stop testing if holes are not supported.
10983 * io/test-lfs.c (do_prepare): Likewise.
10984 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10986 * timezone/tst-tzset.c (create_tz_file): Likewise.
10987 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10989 (do_prepare): Set it.
10990 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10992 2018-08-21 Florian Weimer <fweimer@redhat.com>
10995 * Makeconfig (+cflags): Do not sort (and deduplicate).
10997 2018-08-21 Florian Weimer <fweimer@redhat.com>
10999 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11000 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11002 2018-08-20 Florian Weimer <fweimer@redhat.com>
11004 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11005 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11007 2018-08-20 Joseph Myers <joseph@codesourcery.com>
11009 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11010 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11011 and ssi_arch members.
11013 * elf/elf.c (NT_VMCOREDD): New macro.
11014 (AT_MINSIGSTKSZ): Likewise.
11016 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11019 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11020 s_cosf-ppc64 and s_cosf-power8.
11021 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11022 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11023 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11024 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
11028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11031 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
11032 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11034 2018-08-17 Florian Weimer <fweimer@redhat.com>
11036 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11038 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
11040 * malloc/malloc.c (_int_malloc): Additional binning code checks.
11042 2018-08-16 Florian Weimer <fweimer@redhat.com>
11044 * configure.ac: Add --with-nonshared-cflags option.
11045 * config.make.in (extra-nonshared-cflags): Set variable.
11046 * Makeconfig (CFLAGS-.oS): Use it.
11047 * manual/install.texi (Configuring and compiling): Document
11048 --with-nonshared-cflags.
11049 * configure: Regenerate.
11050 * INSTALL: Likewise.
11052 2018-08-16 Florian Weimer <fweimer@redhat.com>
11054 * Makeconfig (ASFLAGS): Always append required assembler flags.
11056 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
11058 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
11059 (malloc_consolidate): Likewise.
11061 2018-08-16 Pochang Chen <johnchen902@gmail.com>
11063 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
11065 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11067 * benchtests/bench-strlen.c (do_test): Allocate buffers before
11070 * benchtests/bench-strlen.c: Print performance numbers in json.
11072 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11074 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11075 (sysdep_routines): Build strcmp-power9 and strncmp-power9
11076 only for little endian.
11077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11078 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
11079 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
11080 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
11081 Add check for little endian.
11082 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11083 (__strcmp_power9): Add check for little endian.
11084 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
11085 Add check for little endian.
11086 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11087 (__strncmp_power9): Add check for little endian.
11088 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
11089 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
11090 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
11091 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
11092 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
11094 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11096 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11097 [!STRLEN](STRLEN): Set to __strlen.
11098 * sysdeps/aarch64/multiarch/strlen.c: New file.
11099 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11100 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11101 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11102 (__libc_ifunc_impl_list): Add strlen.
11103 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11104 strlen_generic and strlen_asimd.
11106 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11108 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11109 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11110 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11112 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11114 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11116 2018-08-14 Florian Weimer <fweimer@redhat.com>
11119 * include/stdio.h (__vfxprintf): Declare.
11120 * stdio-common/fxprintf.c (__vfxprintf): New function.
11121 (__fxprintf): Call it.
11122 * misc/err.c (convert_and_print): Remove function.
11123 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11124 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11125 * misc/Makefile (tests): Add tst-warn-wide.
11126 * misc/tst-warn-wide.c: New file.
11128 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11129 Szabolcs Nagy <szabolcs.nagy@arm.com>
11131 * NEWS: Mention sinf, cosf, sincosf.
11132 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11133 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11134 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11135 constants rather than including generic sincosf.h.
11136 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11137 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11138 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11139 (reduced_cos): Remove.
11140 (sinf_poly): New function.
11141 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11143 2018-08-14 Florian Weimer <fweimer@redhat.com>
11147 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11148 processing, bail out if no room, and close the stream before
11150 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11151 (tst-nss-files-alias-leak): Link with libdl.
11152 (tst-nss-files-alias-leak.out): Depend on nss_files.
11154 * nss/tst-nss-files-alias-leak.c: New file.
11156 2018-08-14 Florian Weimer <fweimer@redhat.com>
11158 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11159 server_user, stat_user.
11161 2018-08-13 Joseph Myers <joseph@codesourcery.com>
11163 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11165 (io_pgetevents): New syscall.
11168 * manual/install.texi (Configuring and compiling): Do not list
11169 tools used for testing pretty printers here.
11170 (Tools for Compilation): List Python, PExpect and GDB here.
11171 Update descriptions of uses of Perl and Python.
11172 * INSTALL: Regenerate.
11174 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11177 2018-08-13 Florian Weimer <fweimer@redhat.com>
11179 * misc/error.c (error): Add missing va_end call.
11180 (error_at_line): Likewise.
11182 2018-08-13 Florian Weimer <fweimer@redhat.com>
11184 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11186 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11188 * benchtests/scripts/benchout.schema.json (properties): Add
11191 * benchtests/bench-skeleton.c (main): Add duration and
11192 iterations attributes.
11194 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11196 regex: Gnulib unibyte RRI uses bytes not chars
11197 Adjust the non-glibc code to agree with what Gawk needs for
11198 rational range interpretation (RRI) for regular expression ranges.
11199 In unibyte locales, Gawk wants ranges to use the underlying byte
11200 rather than the character code point. This change does not affect
11202 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11203 In unibyte locales, use the byte value rather than
11204 running it through btowc.
11206 2018-08-10 Joseph Myers <joseph@codesourcery.com>
11208 * sysdeps/generic/math-tests-snan.h: New file.
11209 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11210 (SNAN_TESTS_float): Do not define here.
11211 (SNAN_TESTS_double): Likewise.
11212 (SNAN_TESTS_long_double): Likewise.
11213 (SNAN_TESTS_float128): Likewise.
11214 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11215 * sysdeps/i386/fpu/math-tests.h: Remove file.
11216 * sysdeps/ia64/math-tests-snan.h: New file.
11217 * sysdeps/ia64/math-tests.h: Remove file.
11218 * sysdeps/x86/math-tests.h: Likewise.
11219 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11221 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11222 Szabolcs Nagy <szabolcs.nagy@arm.com>
11224 * math/Makefile: Add s_sincosf_data.c.
11225 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11226 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11227 (sincosf_poly): Likewise.
11228 (reduce_small): Likewise.
11229 (reduce_large): Likewise.
11230 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11231 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11232 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11233 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11235 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11236 Szabolcs Nagy <szabolcs.nagy@arm.com>
11238 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11239 (converttoint): Use lround.
11240 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11241 document the semantics when TOINT_INTRINSICS is set.
11242 (converttoint): Likewise.
11243 (TOINT_RINT): Remove.
11244 (TOINT_SHIFT): Remove.
11245 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11248 2018-08-10 Florian Weimer <fweimer@redhat.com>
11251 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11253 (__old_getdents64): Use getdents64. Convert entries without
11255 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11256 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11257 tst-readdir64-compat.
11259 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11261 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11264 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11266 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11267 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11268 code to s390x-mcount.h and #include it.
11269 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11270 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11273 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11275 * stdlib/Versions: Remove __fentry__.
11276 * sysdeps/i386/Versions: Add __fentry__.
11277 * sysdeps/x86_64/Versions: Add __fentry__.
11279 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11281 * sysdeps/s390/Makefile: Register the new tests.
11282 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11283 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11284 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11285 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11286 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11287 * sysdeps/s390/tst-dl-runtime.c: New file.
11289 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11291 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11294 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11296 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11299 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11301 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11304 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11306 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11309 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11311 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11312 Use symbolic offsets for stack variables.
11314 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11316 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11317 Use symbolic offsets for stack variables.
11319 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11321 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11322 Use symbolic offsets for stack variables.
11324 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11326 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11327 Use symbolic offsets for stack variables.
11329 2018-08-09 Joseph Myers <joseph@codesourcery.com>
11331 * math/gen-libm-test.py: New file.
11332 * math/gen-libm-test.pl: Remove.
11333 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11334 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11336 ($(libm-test-c-noauto-obj)): Likewise.
11337 ($(libm-test-c-auto-obj)): Likewise.
11338 ($(libm-test-c-narrow-obj)): Likewise.
11339 (regen-ulps): Likewise.
11340 * math/README.libm-test: Update references to gen-libm-test.pl.
11341 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
11342 referencing gen-libm-test.pl.
11343 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
11344 * math/libm-test-support.c: Likewise.
11345 * math/libm-test-support.h: Likewise.
11346 * sysdeps/generic/libm-test-ulps: Likewise.
11348 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
11350 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
11353 2018-08-08 Joseph Myers <joseph@codesourcery.com>
11355 * math/libm-test-nextdown.inc (do_test): Move comment to ....
11356 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
11358 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11360 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
11362 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
11363 __pthread_setspecific): Add hidden proto.
11364 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
11365 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
11367 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11369 * benchtests/bench-string.h (buf1_size, buf2_size): New
11371 (init_sizes): New function.
11372 (test_init): Use it.
11373 (alloc_buf, exit_error): New functions.
11374 (alloc_bufs): Use ALLOC_BUF.
11375 (realloc_bufs): Remove.
11376 * benchtests/bench-memcmp.c (do_test): Adjust.
11377 * benchtests/bench-memset-large.c (do_test): Likewise.
11378 * benchtests/bench-memset-walk.c (do_test): Likewise.
11379 * benchtests/bench-memset.c (do_test): Likewise.
11380 * benchtests/bench-strncmp.c (do_test): Likewise.
11382 2018-08-06 Andreas Schwab <schwab@suse.de>
11384 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
11385 of CONST_THREAD_AREA.
11387 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
11389 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
11390 (STATE_SAVE_MASK): Likewise.
11391 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
11392 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
11393 (STATE_SAVE_MASK): Likewise.
11394 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
11395 instead of <cpu-features.h>.
11397 2018-08-03 DJ Delorie <dj@redhat.com>
11399 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
11400 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
11402 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
11404 2018-08-03 Joseph Myers <joseph@codesourcery.com>
11406 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
11407 after TEST_* calls.
11408 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
11409 * math/libm-test-logb.inc (logb_test_data): Likewise.
11411 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
11413 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
11414 * string/strstr.c (AVAILABLE): Likewise.
11416 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11418 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
11420 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
11421 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
11422 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
11424 2018-08-03 Carlos O'Donell <carlos@redhat.com>
11426 * po/be.po: Update translation.
11428 * po/be.po: Update translation.
11430 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11432 * sysdeps/x86/cpu-features-offsets.sym
11433 (rtld_global_ro_offsetof): Removed.
11434 (CPU_FEATURES_SIZE): Likewise.
11435 (CPUID_OFFSET): Likewise.
11436 (CPUID_SIZE): Likewise.
11437 (CPUID_EAX_OFFSET): Likewise.
11438 (CPUID_EBX_OFFSET): Likewise.
11439 (CPUID_ECX_OFFSET): Likewise.
11440 (CPUID_EDX_OFFSET): Likewise.
11441 (FAMILY_OFFSET): Likewise.
11442 (MODEL_OFFSET): Likewise.
11443 (FEATURE_OFFSET): Likewise.
11444 (FEATURE_SIZ): Likewise.
11445 (COMMON_CPUID_INDEX_1): Likewise.
11446 (COMMON_CPUID_INDEX_7): Likewise.
11447 (FEATURE_INDEX_1): Likewise.
11448 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
11450 2018-08-02 Carlos O'Donell <carlos@redhat.com>
11452 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
11453 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
11454 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
11455 (install-locales): Depend on install-locale-archive.
11456 (install-locale-archive): Define.
11457 (install-locale-files): Define.
11458 (build-one-locale): Define macro.
11459 * manual/install.texi (Running make install): Document.
11460 * manual/INSTALL: Regenerate.
11462 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
11464 * benchtests/scripts/compare_strings.py: Import traceback.
11465 (parse_file): Pretty-print error.
11467 * NEWS: Mention the change.
11468 * elf/dl-tunables.list: Rename tune namespace to cpu.
11469 * sysdeps/powerpc/dl-tunables.list: Likewise.
11470 * sysdeps/x86/dl-tunables.list: Likewise.
11471 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11473 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11474 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11475 * manual/README.tunables: Likewise.
11476 * manual/tunables.texi: Likewise.
11477 * sysdeps/powerpc/cpu-features.c: Likewise.
11478 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11479 (init_cpu_features): Likewise.
11480 * sysdeps/x86/cpu-features.c: Likewise.
11481 * sysdeps/x86/cpu-features.h: Likewise.
11482 * sysdeps/x86/cpu-tunables.c: Likewise.
11483 * sysdeps/x86_64/Makefile: Likewise.
11484 * sysdeps/x86/dl-cet.c: Likewise.
11486 2018-08-02 Joseph Myers <joseph@codesourcery.com>
11489 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11490 [__mips_hard_float].
11491 (FE_UNDERFLOW): Likewise.
11492 (FE_OVERFLOW): Likewise.
11493 (FE_DIVBYZERO): Likewise.
11494 (FE_INVALID): Likewise.
11495 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11496 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11497 (FE_UPWARD): Likewise.
11498 (FE_DOWNWARD): Likewise.
11499 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11500 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11501 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11502 [__mips_hard_float].
11503 (FP_ROUNDMODE): Likewise.
11504 (FP_RND_NEAREST): Likewise.
11505 (FP_RND_ZERO): Likewise.
11506 (FP_RND_PINF): Likewise.
11507 (FP_RND_MINF): Likewise.
11508 (FP_EX_INVALID): Likewise.
11509 (FP_EX_OVERFLOW): Likewise.
11510 (FP_EX_UNDERFLOW): Likewise.
11511 (FP_EX_DIVZERO): Likewise.
11512 (FP_EX_INEXACT): Likewise.
11513 (FP_INIT_ROUNDMODE): Likewise.
11514 * sysdeps/mips/nofpu/fesetenv.c: New file.
11515 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11517 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11519 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11520 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11521 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11522 conditional on [FE_UPWARD].
11524 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11526 regex: fix memory leak in Gnulib
11527 Problem and fix reported by Assaf Gordon in:
11528 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11529 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11530 range_ends members too, as they are defined in 'struct
11531 re_charset_t' even if not _LIBC. This affects only Gnulib.
11533 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11535 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11537 (get_common_indices): This.
11538 (init_cpu_features): Updated.
11540 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11542 * sysdeps/generic/math-tests-snan-payload.h: New file.
11543 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11544 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11545 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11546 * sysdeps/generic/math-tests.h: Include
11547 <math-tests-snan-payload.h>.
11548 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11549 * sysdeps/hppa/math-tests.h: Remove file.
11550 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11551 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11552 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11555 * sysdeps/generic/math-tests-snan-cast.h: New file.
11556 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11557 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11558 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11559 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11561 2018-08-01 Carlos O'Donel <carlos@redhat.com>
11563 * version.h (RELEASE): Set to "development".
11564 (VERSION): Set to "2.28.9000".
11565 * NEWS (2.29): New section.
11567 * version.h (RELEASE): Set to "stable".
11568 (VERSION): Set to "2.28".
11569 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11570 * NEWS: Add the list of bugs fixed in 2.28.
11572 * po/ca.po: Update to latest version.
11573 * po/cs.po: Likewise
11574 * po/da.po: Likewise
11575 * po/el.po: Likewise
11576 * po/eo.po: Likewise
11577 * po/es.po: Likewise
11578 * po/fi.po: Likewise
11579 * po/fr.po: Likewise
11580 * po/gl.po: Likewise
11581 * po/hu.po: Likewise
11582 * po/ia.po: Likewise
11583 * po/id.po: Likewise
11584 * po/it.po: Likewise
11585 * po/ja.po: Likewise
11586 * po/ko.po: Likewise
11587 * po/lt.po: Likewise
11588 * po/nb.po: Likewise
11589 * po/nl.po: Likewise
11590 * po/pt_BR.po: Likewise
11591 * po/ru.po: Likewise
11592 * po/rw.po: Likewise
11593 * po/sk.po: Likewise
11594 * po/sl.po: Likewise
11595 * po/tr.po: Likewise
11596 * po/zh_CN.po: Likewise
11597 * po/zh_TW.po: Likewise
11599 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11601 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11603 (init): ... before initializing libpthread.
11605 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11606 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11607 (__mach_setup_tls): ... new function.
11608 (mach_setup_tls): New alias.
11609 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11610 __mach_setup_thread.
11611 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11612 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11613 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11614 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11616 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11618 * manual/install.texi: Update versions.
11619 * INSTALL: Regenerate.
11621 * manual/contrib.texi (Contributors): Update contributions.
11623 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11625 * po/be.po: Update translations.
11627 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11629 * sysdeps/sh/libm-test-ulps: Update.
11631 2018-07-30 Carlos O'Donell <carlos@redhat.com>
11633 * po/bg.po: Update translations.
11634 * po/de.po: Likewise.
11635 * po/hr.po: Likewise.
11636 * po/pt_BR.po: Likewise.
11637 * po/sv.po: Likewise.
11638 * po/vi.po: Likewise.
11640 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11643 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11644 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11645 (CFLAGS-tst-cet-property-1.o): New.
11646 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11647 ($(objpfx)tst-cet-property-2): Likewise.
11648 ($(objpfx)tst-cet-property-2.out): Likewise.
11649 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11650 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11651 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11652 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11653 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11655 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11658 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11660 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11662 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11663 __sbrk): Do not set attribute_hidden.
11664 * sysdeps/mach/hurd/not-errno.h: New file.
11665 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11666 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11668 2018-07-27 Carlos O'Donell <carlos@redhat.com>
11670 * po/uk.po: Update translations.
11671 * po/cs.po: Likewise.
11672 * po/pl.po: Likewise.
11674 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11676 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11677 parse beyond the note end.
11679 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11681 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11682 kernel does not support OFD locks.
11683 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11685 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11687 * sysdeps/mach/hurd/Versions (libc): Make __access and
11688 __access_noerrno external so they can override the ld symbols.
11689 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11690 __writev, __open64, __access_noerrno extern so they can be overrided.
11691 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11692 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11694 2018-07-26 Carlos O'Donell <carlos@redhat.com>
11696 * po/libc.pot: Regenerate.
11698 2018-07-26 Joseph Myers <joseph@codesourcery.com>
11700 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11702 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11705 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11707 (init_cpu_features): Call get_extended_indices for both Intel
11709 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11710 Remove "for AMD" comment.
11712 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11715 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11716 COMMON_CPUID_INDEX_80000001.
11718 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
11720 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11721 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11723 2018-07-26 Florian Weimer <fweimer@redhat.com>
11725 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11726 aliases for symbols not in the implementation namespace.
11728 2018-07-25 Carlos O'Donell <carlos@redhat.com>
11731 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11732 lowercase in LATIN script.
11733 * localedata/Makefile (test-input): Add en_US.UTF-8.
11734 * localedata/en_US.UTF-8.in: New file.
11735 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11736 and restore old tests.
11737 * posix/tst-regexloc.c (do_test): Add back range expression test.
11739 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11741 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11743 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11745 * nptl/threads.h: Move to ...
11746 * sysdeps/nptl/threads.h: ... here.
11747 * sysdeps/hurd/stdc-predef.h: New file.
11749 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11751 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11752 tst-cet-setcontext-1 if CET is enabled.
11753 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11754 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11756 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11758 * include/threads.h: Move to ...
11759 * sysdeps/nptl/threads.h: ... here.
11760 * sysdeps/htl/threads.h: New file.
11761 * conform/Makefile (linknamespace-libs-ISO11): Use
11762 static-thread-library instead of linking libpthread.
11763 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11765 2018-07-25 Florian Weimer <fweimer@redhat.com>
11767 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11768 nanoseconds into seconds.
11769 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11770 (do_test): Likewise.
11771 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11772 (do_test): Likewise. Avoid nanosecond overflow and spurious
11773 timeouts due to system load.
11774 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11775 (child_wait): Increment it.
11776 (do_test): Wait as long as necessary until all expected threads
11779 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11780 H.J. Lu <hongjiu.lu@intel.com>
11782 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11784 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11785 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11786 (__push___start_context): New.
11787 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11789 (__getcontext): Record the current shadow stack base. Save the
11790 caller's shadow stack pointer and base.
11791 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11792 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11793 (__push___start_context): New prototype.
11794 (__makecontext): Call __push___start_context to allocate a new
11795 shadow stack, push __start_context onto the new stack as well
11796 as the new shadow stack.
11797 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11799 (__setcontext): Restore the target shadow stack.
11800 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11802 (__swapcontext): Record the current shadow stack base. Save
11803 the caller's shadow stack pointer and base. Restore the target
11805 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11806 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11807 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11809 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11811 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11812 tst-setcontext8 and tst-setcontext9.
11813 * stdlib/tst-setcontext6.c: New file.
11814 * stdlib/tst-setcontext7.c: Likewise.
11815 * stdlib/tst-setcontext8.c: Likewise.
11816 * stdlib/tst-setcontext9.c: Likewise.
11818 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11820 * stdlib/Makefile ((tests): Add tst-setcontext5.
11821 * stdlib/tst-setcontext5.c: New file.
11823 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11825 * stdlib/Makefile (tests): Add tst-setcontext4.
11826 * stdlib/tst-setcontext4.c: New file.
11828 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11830 * stdlib/Makefile (tests): Add tst-swapcontext1.
11831 * stdlib/tst-swapcontext1.c: New test.
11833 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11835 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11836 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11837 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11838 and tst-cet-legacy-4c.
11839 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11840 and tst-cet-legacy-mod-4.
11841 (CFLAGS-tst-cet-legacy-2.c): New.
11842 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11843 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11844 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11845 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11846 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11847 ($(objpfx)tst-cet-legacy-1): Likewise.
11848 ($(objpfx)tst-cet-legacy-2): Likewise.
11849 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11850 ($(objpfx)tst-cet-legacy-2a): Likewise.
11851 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11852 ($(objpfx)tst-cet-legacy-4): Likewise.
11853 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11854 ($(objpfx)tst-cet-legacy-4a): Likewise.
11855 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11856 (tst-cet-legacy-4a-ENV): Likewise.
11857 ($(objpfx)tst-cet-legacy-4b): Likewise.
11858 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11859 (tst-cet-legacy-4b-ENV): Likewise.
11860 ($(objpfx)tst-cet-legacy-4c): Likewise.
11861 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11862 (tst-cet-legacy-4c-ENV): Likewise.
11863 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11864 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11865 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11866 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11867 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11868 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11869 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11870 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11871 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11872 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11873 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11875 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11877 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11878 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11880 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11881 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11884 2018-07-25 Andreas Schwab <schwab@suse.de>
11887 * locale/weightwc.h (findidx): Handle the case where usrc is a
11888 prefix of cp but one character too short.
11890 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11892 * NEWS: Add ISO C threads addition.
11894 2018-07-24 Florian Weimer <fweimer@redhat.com>
11896 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11897 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11898 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11901 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11903 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11904 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11905 <sys/prctl.h> and <asm/prctl.h>.
11906 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11907 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11909 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11910 ARCH_CET_LEGACY_BITMAP.
11911 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11912 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11913 * sysdeps/x86/libc-start.c: Include <startup.h>.
11915 2018-07-24 Florian Weimer <fweimer@redhat.com>
11917 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11918 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11920 2018-07-24 Rical Jasan <rj@2c3t.io>
11921 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11922 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11925 * manual/debug.texi: Update adjacent chapter name.
11926 * manual/probes.texi: Likewise.
11927 * manual/threads.texi (ISO C Threads): New section.
11928 (POSIX Threads): Convert to a section.
11930 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11931 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11934 * nptl/Makefile (tests): Add new test files.
11935 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11936 * nptl/tst-cnd-basic.c: Likewise.
11937 * nptl/tst-cnd-broadcast.c: Likewise.
11938 * nptl/tst-cnd-timedwait.c: Likewise.
11939 * nptl/tst-mtx-basic.c: Likewise.
11940 * nptl/tst-mtx-recursive.c: Likewise.
11941 * nptl/tst-mtx-timedlock.c: Likewise.
11942 * nptl/tst-mtx-trylock.c: Likewise.
11943 * nptl/tst-thrd-basic.c: Likewise.
11944 * nptl/tst-thrd-detach.c: Likewise.
11945 * nptl/tst-thrd-sleep.c: Likewise.
11946 * nptl/tst-tss-basic.c: Likewise.
11948 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11951 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11952 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11954 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11955 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11956 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11957 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11958 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11959 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11960 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11961 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11962 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11963 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11964 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11975 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11977 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11978 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11979 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11980 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11981 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11982 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11983 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11984 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11985 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11987 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11988 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11989 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11990 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11991 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11992 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11993 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11994 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11995 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11996 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11997 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11998 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12005 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12006 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12007 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12008 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12009 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12010 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12011 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12012 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12015 * conform/data/threads.h-data (thread_local): New macro.
12016 (TSS_DTOR_ITERATIONS): Likewise.
12018 (tss_dtor_t): Likewise.
12019 (tss_create): New function.
12020 (tss_get): Likewise.
12021 (tss_set): Likewise.
12022 (tss_delete): Likewise.
12023 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
12024 tss_get, and tss_set objects.
12025 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12026 * nptl/tss_create.c: New file.
12027 * nptl/tss_delete.c: Likewise.
12028 * nptl/tss_get.c: Likewise.
12029 * nptl/tss_set.c: Likewise.
12030 * sysdeps/nptl/threads.h (thread_local): New define.
12031 (TSS_DTOR_ITERATIONS): Likewise.
12032 (tss_t): New typedef.
12033 (tss_dtor_t): Likewise.
12034 (tss_create): New prototype.
12035 (tss_get): Likewise.
12036 (tss_set): Likewise.
12037 (tss_delete): Likewise.
12040 * conform/data/threads.h-data (cnd_t): New type.
12041 (cnd_init): New function.
12042 (cnd_signal): Likewise.
12043 (cnd_broadcast): Likewise.
12044 (cnd_wait): Likewise.
12045 (cnd_timedwait): Likewise.
12046 (cnd_destroy): Likewise.
12047 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
12048 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
12050 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12051 * nptl/cnd_broadcast.c: New file.
12052 * nptl/cnd_destroy.c: Likewise.
12053 * nptl/cnd_init.c: Likewise.
12054 * nptl/cnd_signal.c: Likewise.
12055 * nptl/cnd_timedwait.c: Likewise.
12056 * nptl/cnd_wait.c: Likewise.
12057 * sysdeps/nptl/threads.h (cnd_t): New type.
12058 (cnd_init): New prototype.
12059 (cnd_signa): Likewise.
12060 (cnd_broadcast): Likewise.
12061 (cnd_wait): Likewise.
12062 (cnd_timedwait): Likewise.
12063 (cnd_destroy): Likewise.
12066 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
12067 (once_flag): New type.
12068 (call_once): New function.
12069 * nptl/Makefile (libpthread-routines): Add call_once object.
12070 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
12071 * nptl/call_once.c: New file.
12072 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
12073 (once_flag): New type.
12074 (call_once): New prototype.
12077 * conform/data/threads.h-data (mtx_plain): New constant.
12078 (mtx_recursive): Likewise.
12079 (mtx_timed): Likewise.
12081 (mtx_init): New function.
12082 (mtx_lock): Likewise.
12083 (mtx_timedlock): Likewise.
12084 (mtx_trylock): Likewise.
12085 (mtx_unlock): Likewise.
12086 (mtx_destroy): Likewise.
12087 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
12088 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
12089 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
12090 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
12091 * nptl/mtx_destroy.c: New file.
12092 * nptl/mtx_init.c: Likewise.
12093 * nptl/mtx_lock.c: Likewise.
12094 * nptl/mtx_timedlock.c: Likewise.
12095 * nptl/mtx_trylock.c: Likewise.
12096 * nptl/mtx_unlock.c: Likewise.
12097 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12098 (mtx_recursive): Likewise.
12099 (mtx_timed): Likewise.
12101 (mtx_init): New prototype.
12102 (mtx_lock): Likewise.
12103 (mtx_timedlock): Likewise.
12104 (mtx_trylock): Likewise.
12105 (mtx_unlock): Likewise.
12106 (mtx_destroy): Likewise.
12109 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12110 (linknamespace-libs-ISO11): Add libpthread.a.
12111 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12113 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12114 * nptl/Makefile (headers): Add threads.h.
12115 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12116 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12118 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12119 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12120 thrd_join, thrd_sleep, and thrd_yield symbols.
12121 * nptl/descr.h (struct pthread): Add c11 field.
12122 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12123 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12124 routine with expected function prototype.
12125 (__pthread_create_2_1): Add C11 threads check based on attribute
12127 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12128 * nptl/thrd_create.c: New file.
12129 * nptl/thrd_current.c: Likewise.
12130 * nptl/thrd_detach.c: Likewise.
12131 * nptl/thrd_equal.c: Likewise.
12132 * nptl/thrd_exit.c: Likewise.
12133 * nptl/thrd_join.c: Likewise.
12134 * nptl/thrd_priv.h: Likewise.
12135 * nptl/thrd_sleep.c: Likewise.
12136 * nptl/thrd_yield.c: Likewise.
12137 * include/threads.h: Likewise.
12139 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12141 * bits/indirect-return.h: New file.
12142 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12143 * sysdeps/x86/bits/indirect-return.h: Likewise.
12144 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12145 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12146 (swapcontext): Add __INDIRECT_RETURN.
12147 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12148 (prepare_test_buffer): Use it.
12150 2018-07-24 Andreas Schwab <schwab@suse.de>
12153 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12154 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12156 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12158 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12159 Redefine if shadow stack is enabled.
12160 (SYSCALL_ERROR_LABEL): Likewise.
12161 (__vfork): Pop shadow stack and jump back to to caller directly
12162 when shadow stack is in use.
12163 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12164 Redefine if shadow stack is enabled.
12165 (SYSCALL_ERROR_LABEL): Likewise.
12166 (__vfork): Pop shadow stack and jump back to to caller directly
12167 when shadow stack is in use.
12169 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12171 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12174 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12177 2018-07-20 Joseph Myers <joseph@codesourcery.com>
12179 * scripts/build-many-glibcs.py (Context.checkout): Default
12180 binutils version to 2.31 branch.
12182 2018-07-20 Zong Li <zong@andestech.com>
12184 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12185 URL of gcc's tarball.
12187 2018-07-20 Florian Weimer <fweimer@redhat.com>
12190 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12191 not compare an extra byte after the end of the weights.
12193 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12195 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12197 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12199 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12200 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
12201 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12202 list of libraries whose stack executability is expected.
12203 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12204 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12206 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12207 libc.so libpthread.so.
12209 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12211 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12213 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12215 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12217 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
12219 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12221 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12222 library to improve command line parsing.
12223 (__main__): make schema file as optional parameter (--schema),
12224 defaulting to benchtests/scripts/benchout.schema.json.
12225 (main): move out of the parsing stuff to __main_ and leave it
12226 only as caller of main comparison functions.
12228 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12230 * NEWS: Add a note for Intel CET status.
12231 * manual/install.texi: Likewise.
12232 * INSTALL: Regenerated.
12234 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12237 * localedata/locales/oc_FR (mon): Rename to...
12238 (alt_mon): This, then update October (typo fix).
12239 (mon): New content (genitive case, month names preceded by
12243 * localedata/locales/oc_FR (abday): Update all items.
12244 (day): Update Wednesday and Saturday (typo fixes).
12245 (abmon): Update all items, except May.
12246 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12247 (LC_IDENTIFICATION): Bump the revision number and date.
12248 Keep the "category" entries in alphabetic order.
12249 (LC_ADDRESS): Remove no longer needed comment.
12250 (LC_COLLATE): Use “copy "ca_ES"”.
12251 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12254 2018-07-18 Joseph Myers <joseph@codesourcery.com>
12256 * grp/tst_fgetgrent.c: Include <unistd.h>.
12257 (main): Use mkstemp instead of tmpnam.
12258 * io/test-utime.c (main): Likewise.
12259 * posix/annexc.c (macrofile): Change to modifiable array.
12260 (main): Remove macrofile here.
12261 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12263 (check_header): Do not remove macrofile here.
12264 * posix/bug-getopt1.c: Include <stdlib.h>.
12265 (do_test): Use mkstemp instead of tmpnam.
12266 * posix/bug-getopt2.c: Include <stdlib.h>.
12267 (do_test): Use mkstemp instead of tmpnam.
12268 * posix/bug-getopt3.c: Include <stdlib.h>.
12269 (do_test): Use mkstemp instead of tmpnam.
12270 * posix/bug-getopt4.c: Include <stdlib.h>.
12271 (do_test): Use mkstemp instead of tmpnam.
12272 * posix/bug-getopt5.c: Include <stdlib.h>.
12273 (do_test): Use mkstemp instead of tmpnam.
12274 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12275 (main): Use mkstemp instead of tmpnam.
12276 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12277 (main): Use mkstemp instead of tmpnam.
12278 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12279 (main): use mkstemp instead of tmpnam.
12280 * stdlib/isomac.c (macrofile): Change to modifiable array.
12281 (main): Remove macrofile here.
12282 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12284 (check_header): Do not remove macrofile here.
12286 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12288 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12289 glibc.tune.x86_shstk.
12291 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12293 * NEWS: Mention --enable-cet.
12294 * manual/install.texi: Document --enable-cet.
12295 * INSTALL: Regenerated.
12297 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12299 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12300 Add _CET_NOTRACK before indirect jump to jump table.
12302 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12304 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12305 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12308 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12310 * sysdeps/i386/i686/multiarch/strcat-sse2.S
12311 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12314 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12316 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
12317 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12320 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12322 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
12323 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12326 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12328 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
12329 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12331 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12333 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12335 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12336 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12339 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12341 * sysdeps/i386/i686/multiarch/memset-sse2.S
12342 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12345 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12347 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
12348 indirect jump to jump table.
12350 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12352 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
12353 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12355 (MEMCPY): Likewise.
12357 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12359 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
12360 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12362 (MEMCPY): Likewise.
12364 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12366 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12367 _CET_NOTRACK before indirect jump to jump table.
12369 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12371 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
12372 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12375 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12377 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
12378 indirect jump to jump table.
12380 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
12383 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
12384 (LOCALES): Likewise.
12385 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
12386 * localedata/locales/sah_RU: New file.
12387 * localedata/sah_RU.UTF-8.in: New file.
12389 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12391 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
12393 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12394 _CET_ENDBR to indirect jump targets and adjust jump destination
12396 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
12398 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12399 _CET_ENDBR to indirect jump targets and adjust jump destination
12401 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
12403 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
12404 _CET_ENDBR to indirect jump targets and adjust jump destination
12407 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12409 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12412 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12414 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
12416 (_dl_tlsdesc_undefweak): Likewise.
12417 (_dl_tlsdesc_dynamic): Likewise.
12418 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
12419 (_dl_tlsdesc_resolve_rel): Likewise.
12420 (_dl_tlsdesc_resolve_rela): Likewise.
12421 (_dl_tlsdesc_resolve_hold): Likewise.
12422 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
12423 (_dl_tlsdesc_undefweak): Likewise.
12424 (_dl_tlsdesc_dynamic): Likewise.
12425 (_dl_tlsdesc_resolve_rela): Likewise.
12426 (_dl_tlsdesc_resolve_hold): Likewise.
12428 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12430 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
12432 * sysdeps/x86_64/crti.S (_init): Likewise.
12435 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12438 * localedata/locales/os_RU (mon): Rename to...
12440 (mon): Import from CLDR (genitive case).
12442 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12444 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
12445 cet-tunables.h> when CET is enabled.
12447 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
12450 * configure.ac: Add --enable-cet.
12451 * configure: Regenerated.
12452 * elf/Makefille (all-built-dso): Add a comment.
12453 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
12454 Include <dl-prop.h>.
12455 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
12457 * elf/dl-open.c: Include <dl-prop.h>.
12458 (dl_open_worker): Call _dl_open_check.
12459 * elf/rtld.c: Include <dl-prop.h>.
12460 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
12462 * sysdeps/generic/dl-prop.h: New file.
12463 * sysdeps/i386/dl-cet.c: Likewise.
12464 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
12465 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
12466 * sysdeps/x86/cet-tunables.h: Likewise.
12467 * sysdeps/x86/check-cet.awk: Likewise.
12468 * sysdeps/x86/configure: Likewise.
12469 * sysdeps/x86/configure.ac: Likewise.
12470 * sysdeps/x86/dl-cet.c: Likewise.
12471 * sysdeps/x86/dl-procruntime.c: Likewise.
12472 * sysdeps/x86/dl-prop.h: Likewise.
12473 * sysdeps/x86/libc-start.h: Likewise.
12474 * sysdeps/x86/link_map.h: Likewise.
12475 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12477 (_dl_runtime_profile): Likewise.
12478 (_dl_runtime_resolve_shstk): New.
12479 (_dl_runtime_profile_shstk): Likewise.
12480 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12482 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12483 (CFLAGS-.os): Likewise.
12484 (CFLAGS-.op): Likewise.
12485 (CFLAGS-.oS): Likewise.
12486 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12488 (tests-special): Add $(objpfx)check-cet.out.
12489 (cet-built-dso): New.
12490 (+$(cet-built-dso:=.note)): Likewise.
12491 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12492 ($(objpfx)check-cet.out): New.
12493 (generated): Add check-cet.out.
12494 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12496 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12497 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12498 (init_cpu_features): Call get_cet_status to check CET status
12499 and update dl_x86_feature_1 with CET status. Call
12500 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12501 (set_x86_shstk). Disable and lock CET in libc.a.
12502 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12503 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12504 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12505 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12506 (_CET_ENDBR): Define if not defined.
12507 (ENTRY): Add _CET_ENDBR.
12508 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12510 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12512 (_dl_runtime_profile): Likewise.
12514 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12517 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12518 restore r2 on longjmp.
12519 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12521 Added rules to build test tst-setjmp-bug21895-static.
12522 Added module setjmp-bug21895 and rules to build a shared object from it.
12523 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12524 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12526 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12528 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12529 * benchtests/bench-strstr.c: Likewise.
12530 * string/memmem.c (FASTSEARCH): Define.
12531 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12532 Add support for FASTSEARCH.
12533 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12534 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12535 (FASTSEARCH): Define.
12536 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12537 * string/test-strstr.c: Likewise.
12539 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12541 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12542 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12544 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12545 H.J. Lu <hongjiu.lu@intel.com>
12547 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12548 (__longjmp): Restore shadow stack pointer if shadow stack is
12549 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12550 isn't defined for __longjmp_cancel.
12551 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12552 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12553 and SHADOW_STACK_POINTER_OFFSET is defined.
12554 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12555 (setjmp): Save shadow stack pointer if shadow stack is enabled
12556 and SHADOW_STACK_POINTER_OFFSET is defined.
12557 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12558 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12559 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12560 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12562 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12563 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12564 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12565 Remove jmp_buf-ssp.sym.
12566 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12568 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12569 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12570 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12572 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12573 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12574 (__longjmp): Restore shadow stack pointer if shadow stack is
12575 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12576 isn't defined for __longjmp_cancel.
12577 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12578 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12579 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12581 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12584 * nptl/pthread_create.c: Include <tls-setup.h>.
12585 (__pthread_create_2_1): Call tls_setup_tcbhead.
12586 * sysdeps/generic/tls-setup.h: New file.
12587 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12588 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12589 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12591 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12593 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12594 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12595 (X86_FEATURE_1_SHSTK): Likewise.
12596 (CET_ENABLED): Likewise.
12597 (IBT_ENABLED): Likewise.
12598 (SHSTK_ENABLED): Likewise.
12600 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12603 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12604 (LOCALES): Likewise.
12605 * localedata/dsb_DE.UTF-8.in: New file.
12606 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12608 2018-07-12 Florian Weimer <fweimer@redhat.com>
12610 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12611 __mprotect, not mprotect.
12613 2018-07-11 Florian Weimer <fweimer@redhat.com>
12615 * io/Makefile (headers): Add bits/statx.h.
12617 2018-07-10 Mike FABIAN <mfabian@redhat.com>
12619 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12620 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12622 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12623 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12626 2018-07-10 Florian Weimer <fweimer@redhat.com>
12628 * io/Makefile (routines): Add statx.
12629 (tests-internal): Add tst-statx.
12630 * io/Versions (GLIBC_2.28): Export statx.
12631 * io/bits/statx.h: New file.
12632 * io/sys/stat.h [__USE_GNU]: Include it.
12633 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12634 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12636 * io/statx.c: New file.
12637 * io/statx_generic.: Likewise.
12638 * io/tst-statx.: Likewise.
12639 * include/bits/statx.h: Likewise.
12640 * sysdeps/unix/sysv/linux/kernel-features.h
12641 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12642 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12643 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12644 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12646 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12647 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12648 * sysdeps/unix/sysv/linux/statx.c: New file.
12649 * manual/filesys.texi: Note that statx is undocumented.
12650 * sysdeps/**/libc*.abilist: Update.
12652 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12654 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12655 a kernel issue which lead to test failure in some cases.
12657 2018-07-10 Florian Weimer <fweimer@redhat.com>
12660 * posix/regexec.c (check_node_accept_bytes): When comparing
12661 weights, do not compare an extra byte after the end of the
12664 2018-07-10 Florian Weimer <fweimer@redhat.com>
12666 * libio/readline.c: Fix copyright year.
12667 * libio/tst-readline.c Likewise.
12668 * nss/tst-nss-files-hosts-getent.c: Likewise.
12670 2018-07-06 Florian Weimer <fweimer@redhat.com>
12673 * nss/nss_files/files-XXX.c (internal_getent): Use
12674 __libc_readline_unlocked. Seek back to the start of the line if
12675 parsing failes with ERANGE.
12676 (get_contents_ret, get_contents): Remove.
12677 * nss/tst-nss-files-hosts-getent.c: New file.
12678 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12679 (tst-nss-files-hosts-getent): Link with -ldl.
12681 2018-07-06 Florian Weimer <fweimer@redhat.com>
12683 * include/stdio.h (__libc_readline_unlocked): Declare.
12684 (__ftello64, __fseeko64): Declare aliases.
12685 * libio/readline.c: New file.
12686 * libio/tst-readline.c: Likewise.
12687 (routines): Add readline.
12688 (tests-internal): Add tst-readlime.
12689 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12690 __libc_readline_unlocked.
12691 * libio/fseeko.c (__fseeko): Rename from fseeko.
12692 (fseeko): Add alias.
12693 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12694 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12695 (fseeko64): Add alias.
12696 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12697 * libio/ftello64.c (__ftello64): Rename from ftello64.
12698 (ftello64): Add alias.
12700 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12702 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12705 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12707 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12708 Use dl_hwcap without masking.
12709 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12710 Remove HWCAP_CPUID.
12712 2018-07-06 Florian Weimer <fweimer@redhat.com>
12714 * conform/conformtest.pl (checknamespace): Escape literal braces
12715 in regular expressions.
12717 2018-07-06 Amit Pawar <amit.pawar@amd.com>
12719 * sysdeps/x86/cpu-features.c (get_common_indeces):
12720 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12721 * sysdeps/x86/cpu-features.c (init_cpu_features):
12722 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12724 2018-07-05 Florian Weimer <fweimer@redhat.com>
12726 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12728 (CFLAGS-elf-init.oS): Likewise.
12730 2018-07-05 Florian Weimer <fweimer@redhat.com>
12731 Carlos O'Donell <carlos@redhat.com>
12733 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12734 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12735 with stack protector enabled because there is no risk of infinite
12738 2018-07-05 Maciej W. Rozycki <macro@mips.com>
12742 * libc-abis (ABSOLUTE): New ABI.
12743 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12744 * NEWS: Mention the new ABI.
12746 2018-07-05 Florian Weimer <fweimer@redhat.com>
12749 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12750 (RENAME_WHITEOUT): Define.
12751 [__USE_GNU] (renameat2): Declare.
12752 * stdio-common/Makefile (routines): Add renameat2.
12753 (tests): Add tst-renameat2.
12754 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12755 * stdio-common/renameat2.c: New file.
12756 * stdio-common/tst-renameat2.c: Likewise.
12757 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12758 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12760 * sysdeps/unix/sysv/linux/kernel-features.h
12761 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12762 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12763 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12764 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12765 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12766 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12767 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12768 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12769 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12770 * include/stdio.h (__renameat): Add alias for renameat.
12771 * stdio-common/renameat.c (__renameat): Rename from renameat.
12772 Add hidden definition and alias.
12773 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12774 * sysdeps/mach/hurd/renameat.c: Likewise.
12775 * sysdeps/**/libc*.abilist: Add renameat2.
12777 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12779 * posix/bug-regex33.c: Fix build after regex sync.
12781 2018-07-04 Carlos O'Donell <carlos@redhat.com>
12784 * localedata/tst-langinfo-setlocale.c: New file.
12785 * localedata/tst-langinfo-setlocale-static.c: New file.
12786 * localedata/tst-langinfo-newlocale.c: New file.
12787 * localedata/tst-langinfo-newlocale-static.c: New file.
12788 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12789 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12790 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12791 (tests-static): Remove tst-langinfo-static. Add
12792 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12793 (tests-special): Remove $(objpfx)tst-langinfo.out,
12794 $(objpfx)tst-langinfo-static.out. Add
12795 $(objpfx)tst-langinfo-setlocale.out,
12796 $(objpfx)tst-langinfo-newlocale.out,
12797 $(objpfx)tst-langinfo-setlocale-static.out,
12798 $(objpfx)tst-langinfo-newlocale-static.out.
12799 ($(objpfx)tst-langinfo.out): Remove.
12800 ($(objpfx)tst-langinfo-static.out): Remove.
12801 ($(objpfx)tst-langinfo-newlocale.out): New target.
12802 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12803 (test-xfail-tst-langinfo-newlocale-static): Add.
12804 ($(objpfx)tst-langinfo-setlocale.out): New target.
12805 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12806 * localedata/tst-langinfo.c: Call test_locale.
12807 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12810 2018-07-04 Florian Weimer <fweimer@redhat.com>
12812 testrun.sh: Implement --tool=strace, --tool=valgrind
12813 * Makefile (testrun-script): Define variable.
12814 (testrun.sh): Use variable.
12815 * manual/install.texi (Tools for Compilation): make 4.0 or later
12817 * configure.ac: Check for make 4.0 or later.
12818 * INSTALL: Regenerate.
12819 * configure: Likewise.
12821 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12827 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12828 * posix/PCRE.tests: Remove invalid test.
12829 * posix/bug-regex28.c: Fix expected values for used syntax.
12830 * posix/bug-regex37.c: New file.
12831 * posix/bug-regex38.c: Likewise.
12832 * posix/regcomp.c: Sync with gnulib.
12833 * posix/regex.c: Likewise.
12834 * posix/regex.h: Likewise.
12835 * posix/regex_internal.c: Likewise.
12836 * posix/regex_internal.h: Likewise.
12837 * posix/regexec.c: Likewise.
12839 2018-06-26 Mike FABIAN <mfabian@redhat.com>
12842 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12843 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12844 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12845 * localedata/unicode-gen/PropList.txt: likewise.
12846 * localedata/unicode-gen/UnicodeData.txt: likewise.
12847 * localedata/charmaps/UTF-8: Regenerate.
12848 * localedata/locales/i18n_ctype: likewise.
12849 * localedata/locales/tr_TR: likewise.
12850 * localedata/locales/translit_circle: likewise.
12851 * localedata/locales/translit_cjk_compat: likewise.
12852 * localedata/locales/translit_combining: likewise.
12853 * localedata/locales/translit_compat: likewise.
12854 * localedata/locales/translit_font: likewise.
12855 * localedata/locales/translit_fraction: likewise.
12857 2018-07-03 Florian Weimer <fweimer@redhat.com>
12860 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12861 * stdio-common/tst-printf.sh: Adjust expected output.
12862 * LICENSES: Update.
12864 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12866 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12869 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12871 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12872 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12873 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12874 * stdio-common/tst-printfsz-islongdouble.c: New file.
12875 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12876 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12877 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12878 [subdir == stdio-common] (tests-internal): Add
12879 test-printf-size-ieee128, and test-printf-size-ibm128.
12880 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12881 (CFLAGS-test-printf-size-ibm128.c): New variables.
12882 [subdir == stdio-common] (tests-special): Add
12883 $(objpfx)test-printf-size-ieee128.out and
12884 $(objpfx)test-printf-size-ibm128.out.
12885 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12886 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12887 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12888 __printf_sizeieee128.
12889 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12891 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12893 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12896 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12898 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12899 (exp2f_inline): Likewise.
12900 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12901 (__math_uflowf): Likewise.
12902 (__math_may_uflowf): Likewise.
12903 (__math_divzerof): Likewise.
12904 (__math_invalidf): Likewise.
12905 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12906 (__math_oflowf): Likewise.
12907 (__math_uflowf): Likewise.
12908 (__math_may_uflowf): Likewise.
12909 (__math_divzerof): Likewise.
12910 (__math_invalidf): Likewise.
12912 2018-06-29 DJ Delorie <dj@redhat.com>
12913 Carlos O'Donell <carlos@redhat.com>
12916 * include/libc-symbols.h: Comment the freeres framework.
12917 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12918 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12919 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12920 * dlfcn/dlerror.c: Include libc-symbols.h
12921 (__dlerror_main_freeres): New function.
12922 * dlfcn/dlfreeres.c: New file.
12923 * dlfcn/sdlfreeres.c: New file.
12924 * include/dlfcn.h: Declare __dlerror_main_freeres.
12925 * malloc/set-freeres.c: Declare __libdl_freeres, and
12926 __libpthread_freeres.
12927 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12928 the releavant libraries are loaded.
12929 * malloc/thread-freeres.c: Add comments.
12930 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12931 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12932 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12933 (__free_stacks): Rename to...
12934 (free_stacks): ...this. Mark static.
12935 (queue_stack): Call free_stacks.
12936 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12937 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12938 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12939 ptr_freeres element from struct.
12940 (pthread_functions): Remove .ptr_freeres from struct initializer.
12941 [SHARED] (nptl_freeres): Remove.
12942 * nptl/nptlfreeres.c: New file.
12944 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12945 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12947 (__free_stacks): Rename to...
12948 (__nptl_stacks_freeres): ...this.
12949 (__shm_directory_freeres): Declare.
12950 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12951 (__nptl_unwind_freeres): ...this.
12952 * resolv/res-close.c: Add comment.
12953 * resolv/resolv_conf.c: Include libc-symbols.h.
12954 * string/strerror_l.c: Include libc-symbols.h.
12955 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12956 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12957 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12958 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12960 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12962 * stdlib/tst-strfmon_l.c: Add tests for long double.
12964 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
12967 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12968 * localedata/locales/dsb_DE: New file.
12970 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12973 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12975 (alt_mon): New entry, import from CLDR (nominative case).
12977 2018-06-29 Sylvain Lesage <severo@rednegra.net>
12980 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12982 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12984 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12985 Use vector registers.
12987 * sysdeps/aarch64/multiarch/memmove_falkor.S
12988 (__memcpy_falkor): Use vector registers.
12990 2018-06-29 Martin Sebor <msebor@redhat.com>
12992 * manual/stdio.texi (Customizing Printf): Mention interaction
12993 with GCC built-ins.
12995 2018-06-29 Maciej W. Rozycki <macro@mips.com>
12998 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12999 `st_value' is 0 if `st_shndx' is SHN_ABS.
13000 * elf/tst-absolute-zero.c: New file.
13001 * elf/tst-absolute-zero-lib.c: New file.
13002 * elf/tst-absolute-zero-lib.lds: New file.
13003 * elf/Makefile (tests): Add `tst-absolute-zero'.
13004 (modules-names): Add `tst-absolute-zero-lib'.
13005 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13006 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13007 ($(objpfx)tst-absolute-zero: New dependency.
13009 2018-06-29 Zack Weinberg <zackw@panix.com>
13011 * configure.ac: New command-line option --disable-crypt.
13012 Force --disable-nss-crypt when --disable-crypt is given, with a
13013 warning if it was explicitly enabled.
13014 * configure: Regenerate.
13015 * config.make.in: New boolean substitution variable $(build-crypt).
13016 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13017 when $(build-crypt).
13018 * manual/install.texi: Document --disable-crypt.
13019 * INSTALL: Regenerate.
13021 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13022 which is never set.
13023 * conform/Makefile: Only include libcrypt.a in
13024 linknamespace-libs-xsi and linknamespace-libs-XPG4
13025 when $(build-crypt).
13026 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
13027 USE_CRYPT to 1 when $(build-crypt).
13028 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
13029 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
13030 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
13032 2018-06-29 Zack Weinberg <zackw@panix.com>
13034 * crypt/crypt.h, posix/unistd.h: Update comments and
13035 prototypes for crypt and crypt_r.
13037 * manual/crypt.texi (Cryptographic Functions): New initial
13039 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
13040 (Unpredictable Bytes): Improve initial exposition. Clarify error
13041 behavior of getentropy and getrandom.
13042 * manual/examples/genpass.c: Generate a salt using getentropy
13043 instead of the current time. Use hash $5$ (SHA-2-256).
13044 * manual/examples/testpass.c: Demonstrate validation against
13045 hashes generated with three different one-way functions.
13047 * manual/intro.texi: crypt.texi does not need an overview
13050 * manual/nss.texi, manual/memory.texi, manual/socket.texi
13051 * manual/terminal.texi: Consistently refer to "passphrases"
13052 * instead of "passwords", and to the "user database" instead
13053 * of the "password database".
13054 * manual/users.texi: Similarly. Add notes about how actual
13055 passphrase hashes are now stored in the shadow database.
13056 Remove 20-year-old junk todo note.
13058 2018-06-29 Zack Weinberg <zackw@panix.com>
13060 * manual/crypt.texi: Use a normal top-level @node declaration.
13061 Move most of the introductory text to the 'crypt' section.
13062 Move the example programs below the @deftypefun for 'crypt_r'.
13063 Move the 'getpass' section...
13064 * manual/terminal.texi: ...here.
13066 2018-06-29 Zack Weinberg <zackw@panix.com>
13067 Florian Weimer <fweimer@redhat.com>
13069 * posix/unistd.h: Do not declare encrypt.
13070 (_XOPEN_CRYPT): Remove macro definition.
13071 (crypt): Declare only for _USE_MISC.
13072 * stdlib/stdlib.h: Do not declare setkey.
13073 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
13074 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
13076 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
13077 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
13078 into compat symbols. Don't define initial_perm if it's not
13080 * crypt/cert.c: Link explicitly with the expected versions for
13081 setkey and encrypt. If they are not available at all, mark
13082 the test as unsupported.
13084 * sunrpc/des_crypt.c: Unconditionally block linkage with
13085 cbc_crypt and ecb_crypt for new binaries.
13086 * sunrpc/des_soft.c: Unconditionally block linkage with
13087 des_setparity for new binaries.
13089 * manual/crypt.texi: Remove the entire "DES Encryption"
13090 section. Also remove the paragraph talking about FIPS 140-2
13091 from the introduction.
13092 * manual/string.texi (strfry, memfrob): Revise. Recommend use
13093 of libgcrypt for "real" encryption, not DES.
13094 * manual/conf.texi (Constants for Sysconf): Mention that
13095 _XOPEN_CRYPT is no longer impelemented.
13097 * conform/data/unistd.h-data: Remove crypt function declaration.
13099 2018-06-29 Florian Weimer <fweimer@redhat.com>
13102 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13103 (disallow_malloc_check): Remove variable.
13104 (__malloc_check_init): Adjust.
13105 (malloc_set_state): Update comment.
13106 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13109 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13112 * localedata/locales/ast_ES (mon): Rename to...
13114 (mon): Import from CLDR (genitive case).
13116 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13117 Jakub Sitnicki <jkbs@redhat.com>
13120 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13121 on NLM_F_DUMP_INTR.
13123 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13125 * manual/llio.texi: Remove spurious space.
13127 2018-06-28 Florian Weimer <fweimer@redhat.com>
13130 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13133 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13135 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
13136 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
13137 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13138 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13139 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13140 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13141 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13143 2018-06-27 Maciej W. Rozycki <macro@mips.com>
13146 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13147 Copy and null-terminate entries that are not terminated, in
13148 addition to empty ones.
13150 2018-06-27 Florian Weimer <fweimer@redhat.com>
13153 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13154 (extend_alloca_account): Remove.
13155 * manual/stdio.texi (Variable Arguments Output): Update comment.
13157 2018-06-27 Joseph Myers <joseph@codesourcery.com>
13159 * nptl/sockperf.c: Remove file.
13161 2018-06-27 Florian Weimer <fweimer@redhat.com>
13164 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13165 scratch_buffer instead of extend_alloca.
13167 2018-06-27 Florian Weimer <fweimer@redhat.com>
13170 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13171 scratch_buffer instead of extend_alloca. Update comments.
13173 2018-06-27 Florian Weimer <fweimer@redhat.com>
13176 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13177 instead of extend_alloca.
13179 2018-06-26 Joseph Myers <joseph@codesourcery.com>
13182 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13183 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13185 * scripts/test-installation.pl: Put temporary files in build
13186 directory, not /tmp.
13187 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13188 (CFLAGS-bug4.c): Likewise.
13189 (CFLAGS-bug5.c): Likewise.
13190 (CFLAGS-test-fseek.c): Likewise.
13191 (CFLAGS-test-popen.c): Likewise.
13192 (CFLAGS-test_rdwr.c): Likewise.
13193 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13195 * stdio-common/bug4.c (main): Likewise.
13196 * stdio-common/bug5.c (main): Likewise.
13197 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13198 * stdio-common/test-popen.c (do_test): Likewise.
13199 * stdio-common/test_rdwr.c (main): Likewise.
13201 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
13203 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13204 (sem_open): Set sem.newsem.pad to zero for valgrind.
13206 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13209 * NEWS: Mention fcntl64 addition.
13210 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13211 * login/utmp_file.c: Likewise.
13212 * sysdeps/posix/fdopendir.c: Likewise.
13213 * sysdeps/posix/opendir.c: Likewise.
13214 * sysdeps/unix/pt-fcntl.c: Likewise.
13215 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13216 __fcntl64_nocancel_adjusted): New prototype.
13217 (__fcntl_nocancel_adjusted): Remove prototype.
13218 * io/Makefile (routines): Add fcntl64.
13219 (CFLAGS-fcntl64.c): New rule.
13220 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13221 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13222 * io/fcntl.h (fcntl64): Add prototype and redirect if
13223 __USE_FILE_OFFSET64 is defined.
13224 * io/fcntl64.c: New file.
13225 * manual/llio.text: Add a note for which commands fcntl acts a
13226 cancellation point.
13227 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13228 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13229 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13231 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13232 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13234 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13235 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13236 to __fcntl64_nocancel.
13237 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13238 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13239 to __fcntl64_nocancel.
13240 * sysdeps/generic/not-cancel.h: Likewise.
13241 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13242 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13243 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13244 (fcntl64): New symbol.
13245 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13246 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13247 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13250 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13251 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13252 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13253 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13254 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13255 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13256 fcntl64): Likewise.
13257 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13258 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13259 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13260 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13261 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13262 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13263 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13264 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13265 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13270 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13271 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13272 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13274 2018-06-26 Florian Weimer <fweimer@redhat.com>
13276 Run thread shutdown functions in an explicit order.
13277 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13279 (__libc_thread_freeres): Call thread shutdown functions
13281 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13282 * include/string.h (__strerror_thread_freeres): Declare.
13283 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13284 arena_thread_freeres. No longer static. Remove thread shutdown
13286 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13288 * resolv/res-close.c (__res_thread_freeres): Renamed from
13289 res_thread_freeres. No longer static. Remove thread shutdown
13291 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13292 * resolv/resolv_conf.c (freeres): Remove incorrect section
13293 attribute and use libc_freeres_fn.
13294 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13295 strerror_thread_freeres. No longer static. Remove thread
13296 shutdown hook registration.
13297 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13298 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13299 shutdown hook registration.
13300 * Makerules (shlib.lds): Do not provide section boundary symbols
13301 for __libc_thread_subfreeres.
13302 * manual/memory.texi (Basic Allocation): Update comment.
13304 2018-06-26 Florian Weimer <fweimer@redhat.com>
13306 Remove always-defined _RPC_THREAD_SAFE_ macro.
13307 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13308 Do not define _RPC_THREAD_SAFE_.
13309 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13311 * sunrpc/clnt_perr.c: Likewise.
13312 * sunrpc/clnt_raw.c: Likewise.
13313 * sunrpc/clnt_simp.c: Likewise.
13314 * sunrpc/key_call.c: Likewise.
13315 * sunrpc/rpc_common.c: Likewise.
13316 * sunrpc/rpc_main.c: Likewise.
13317 * sunrpc/rpc_thread.c: Likewise.
13318 * sunrpc/svc.c: Likewise.
13319 * sunrpc/svc_raw.c: Likewise.
13320 * sunrpc/svc_simple.c: Likewise.
13321 * sumrpc/svcauth_des.c: Likewise.
13323 2018-06-26 Florian Weimer <fweimer@redhat.com>
13325 * libio/Makefile (tests-internal): Add tst-vtables,
13326 tst-vtables-interposed.
13327 * libio/tst-vtables.c: New file.
13328 * libio/tst-vtables-common.c: Likewise.
13329 * libio/tst-vtables-interposed.c: Likewise.
13331 2018-06-26 Florian Weimer <fweimer@redhat.com>
13333 * support/support_test_main.c (support_test_main): Only call
13334 setvbuf if not disables.
13335 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13336 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13338 2018-06-26 Florian Weimer <fweimer@redhat.com>
13341 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
13343 2018-06-25 Florian Weimer <fweimer@redhat.com>
13346 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13347 Use struct scratch_buffer instead of extend_alloca.
13349 2018-06-25 Florian Weimer <fweimer@redhat.com>
13352 * nss/getent.c (initgroups_keys): Use dynarray instead of
13355 2018-06-25 Florian Weimer <fweimer@redhat.com>
13358 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
13359 Use struct scratch_buffer instead of extend_alloca.
13361 2018-06-25 Florian Weimer <fweimer@redhat.com>
13364 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
13365 back to malloc directly, without stack allocations.
13367 2018-06-25 Florian Weimer <fweimer@redhat.com>
13370 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
13373 2018-06-25 Florian Weimer <fweimer@redhat.com>
13376 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
13378 * nscd/hstcache.c (addhstbyX): Likewise.
13379 * nscd/pwdcache.c (addpwbyX): Likewise.
13380 * nscd/servicescache.c (addservbyX): Likewise.
13382 2018-06-25 Florian Weimer <fweimer@redhat.com>
13385 * nscd/connections.c (read_cmdline): New function.
13386 (restart): Use it. Update comment.
13388 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13391 * localedata/locales/csb_PL (mon): Rename to...
13393 (abmon): Rename to...
13394 (ab_alt_mon): This.
13395 (mon): Add with proper genitive forms, copy from Wikipedia.
13398 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13401 * localedata/locales/csb_PL (mon): Fix typos:
13402 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
13403 (yesstr): Add, value is "jo".
13404 (nostr): Add, value is "nié".
13406 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13408 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
13409 all log1p and significand functions on m680x0.
13410 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
13411 of s_significand.c..
13412 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13413 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
13414 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
13415 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
13416 s_log1p.c and include it..
13418 2018-06-21 Vincent Chen <vincentc@andestech.com>
13420 * elf/elf.h (R_NDS32_NONE): New define.
13421 (R_NDS32_32_RELA): Likewise.
13422 (R_NDS32_COPY): Likewise.
13423 (R_NDS32_GLOB_DAT): Likewise.
13424 (R_NDS32_JUMP_SLOT): Likewise.
13425 (R_NDS32_RELATIVE): Likewise.
13426 (R_NDS32_TLS_TPOFF): Likewise.
13427 (R_NDS32_TLS_DESC): Likewise.
13429 2018-06-21 Mark Wielaard <mark@klomp.org>
13431 * elf/elf.h (R_BPF_MAP_FD): Removed.
13432 (R_BPF_64_64, R_BPF_64_32): New.
13434 2018-06-21 Florian Weimer <fweimer@redhat.com>
13437 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
13438 Renamed from libc_feholdsetround_ctx.
13439 (default_libc_feresetround_ctx): Renamed from
13440 libc_feresetround_ctx.
13441 (default_libc_feholdsetround_noex_ctx): Renamed from
13442 libc_feholdsetround_noex_ctx.
13443 (default_libc_feresetround_noex_ctx): Renamed from
13444 libc_feresetround_noex_ctx.
13445 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
13446 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
13447 forwardning to the old implementations under the new names.
13448 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
13449 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
13450 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
13451 (libc_feresetround_ctx): Forward to default implements for i386
13452 and MATH_SET_BOTH_ROUNDING_MODES.
13453 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
13454 Add -DMATH_SET_BOTH_ROUNDING_MODES.
13456 2018-06-20 Joseph Myers <joseph@codesourcery.com>
13458 * string/tst-cmp.c: Include <libc-diag.h>.
13459 (strncmp_max): Disable -Wstringop-overflow= around call to
13461 (strncasecmp_max): Disable -Wstringop-overflow= around call to
13464 * string/bug-strpbrk1.c: Include <libc-diag.h>.
13465 (main): Disable -Wunused-value around call to strpbrk.
13466 * string/bug-strspn1.c: Include <libc-diag.h>.
13467 (main): Disable -Wunused-value around call to strspn.
13469 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13470 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13472 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13473 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13475 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13477 * math/Makefile (libm-calls): Move s_significandF to...
13478 (gen-libm-calls): ... here.
13479 * math/s_significand_template.c: New file.
13480 * math/s_significand.c: Removed.
13481 * math/s_significandf.c: Removed.
13482 * math/s_significandl.c: Removed.
13483 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13484 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13486 * math/e_exp2_template.c (declare_mgen_finite_alias,
13487 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13488 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13489 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13491 2018-06-20 Florian Weimer <fweimer@redhat.com>
13493 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13495 2018-06-19 Joseph Myers <joseph@codesourcery.com>
13498 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13499 floating-point number to strtod functions rather than possibly
13500 negating result of those functions.
13501 * stdio-common/tst-scanf-round.c: New file.
13502 * stdio-common/Makefile (tests): Add tst-scanf-round.
13503 ($(objpfx)tst-scanf-round): Depend on $(libm).
13505 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13507 * sysdeps/mach/hurd/localplt.data: Move to...
13508 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13509 R_386_GLOB_DAT like on Linux i386.
13511 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13513 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13514 (SHM_STAT_ANY): New macro.
13515 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13516 (SHM_STAT_ANY): Likewise.
13517 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13518 (SHM_STAT_ANY): Likewise.
13519 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13520 (SHM_STAT_ANY): Likewise.
13521 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13522 (SHM_STAT_ANY): Likewise.
13523 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13524 (SHM_STAT_ANY): Likewise.
13525 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13526 (SHM_STAT_ANY): Likewise.
13527 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13528 (SHM_STAT_ANY): Likewise.
13529 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13530 (SHM_STAT_ANY): Likewise.
13531 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13532 (SHM_STAT_ANY): Likewise.
13533 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13534 (SHM_STAT_ANY): Likewise.
13535 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13536 (SHM_STAT_ANY): Likewise.
13538 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13539 (SEM_STAT_ANY): New macro.
13540 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13541 (SEM_STAT_ANY): Likewise.
13542 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13543 (SEM_STAT_ANY): Likewise.
13544 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13545 (SEM_STAT_ANY): Likewise.
13546 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13547 (SEM_STAT_ANY): Likewise.
13548 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13549 (SEM_STAT_ANY): Likewise.
13550 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13551 (SEM_STAT_ANY): Likewise.
13552 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13553 (SEM_STAT_ANY): Likewise.
13554 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13555 (SEM_STAT_ANY): Likewise.
13556 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13557 (SEM_STAT_ANY): Likewise.
13559 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13560 (MSG_STAT_ANY): New macro.
13561 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13562 (MSG_STAT_ANY): Likewise.
13563 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13564 (MSG_STAT_ANY): Likewise.
13565 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13566 (MSG_STAT_ANY): Likewise.
13567 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13568 (MSG_STAT_ANY): Likewise.
13569 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13570 (MSG_STAT_ANY): Likewise.
13571 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13572 (MSG_STAT_ANY): Likewise.
13573 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13574 (MSG_STAT_ANY): Likewise.
13575 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13576 (MSG_STAT_ANY): Likewise.
13577 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13578 (MSG_STAT_ANY): Likewise.
13580 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13581 (MAP_TYPE): Change value to 0x2b.
13583 2018-06-18 Florian Weimer <fweimer@redhat.com>
13586 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13587 socket with SOCK_CLOEXEC.
13589 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13592 * sysdeps/powerpc/powerpc64/le/Makefile
13593 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13594 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13595 (gnulib-tests): Also add $(f128-loader-link) for
13596 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13598 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13600 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13601 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13603 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13604 (sendfile64): New strong alias.
13605 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13606 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13607 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
13608 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13610 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13611 ___pthread_get_cleanup_stack.
13612 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
13613 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13614 * mach/shortcut.awk: Make syscall stubs include
13615 <mach-shortcuts-hidden.h> and add hidden definition.
13616 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
13617 (__mach_msg): Add hidden prototype.
13618 * mach/msg.c: Include <mach.h>.
13619 (__mach_msg): Add hidden definition.
13620 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13621 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13622 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13623 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
13624 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13625 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
13626 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13627 prototype and definition.
13628 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13629 hidden target for _hurd_self_sigstate.
13631 2018-06-15 Joseph Myers <joseph@codesourcery.com>
13634 * stdlib/tst-strtod-nan-sign-main.c: New file.
13635 * stdlib/tst-strtod-nan-sign.c: Likewise.
13636 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13637 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13638 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13639 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13640 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13642 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13645 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13648 2018-06-14 Florian Weimer <fweimer@redhat.com>
13651 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13652 that the result stays within the ISO-8859-1 range.
13653 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13654 characters are defined in IBM273.
13656 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13658 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13659 __mach_task_self): Remove attribute_hidden.
13661 2018-06-14 Joseph Myers <joseph@codesourcery.com>
13663 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13664 ignore -Wrestrict for one test.
13666 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13667 Szabolcs Nagy <szabolcs.nagy@arm.com>
13669 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13671 2018-06-14 Florian Weimer <fweimer@redhat.com>
13673 * scripts/update-abilist.sh: Accept empty list of files to patch.
13675 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13677 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13678 test-xfail-check-abi-libmachuser): Add.
13679 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13680 __libc_read and __libc_write to __read and __write.
13681 * sysdeps/hurd/include/hurd/port.h: New file.
13682 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13683 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13684 __thread_switch, __evc_wait): Move declarations to...
13685 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13687 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13688 use PLT to call _hurd_self_sigstate.
13690 2018-06-13 Joseph Myers <joseph@codesourcery.com>
13693 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13694 MAX_EXP as overflowing.
13695 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13697 (round_str): Output also whether result overflows in each rounding
13699 * stdlib/tst-strtod-round-data: Add more tests.
13700 * stdlib/tst-strtod-round-data.h: Regenerated.
13701 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13702 (TEST): Handle extra arguments for overflow flags.
13703 (struct test_overflow): New type.
13704 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13705 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13706 (test_in_one_mode): Take argument with overflow information.
13707 (do_test): Update calls to test_in_one_mode.
13709 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13711 * elf/dl-load (_dl_dst_substitute): Correct comment.
13712 (_dl_dst_count): Likewise.
13714 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13715 lll_futex_timed_wait.
13717 2018-06-12 Joseph Myers <joseph@codesourcery.com>
13720 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13722 * math/test-nan-const.c: New file.
13723 * math/Makefile (tests): Add test-nan-const.
13724 (CFLAGS-test-nan-const.c): New variable.
13726 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13728 * benchtests/scripts/compare_strings.py (process_results): Add
13729 funcs argument. Compare only functions which are selected.
13730 (main): Check if base function is among selected functions.
13731 Pass selected functions to process_results.
13732 (__main__): Add -f/--functions argument.
13734 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13735 Hongbo Zhang <hongbo.zhang@linaro.org>
13737 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13738 __memcpy_falkor for phecda core.
13739 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13740 __memmove_falkor for phecda core.
13741 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13742 __memset_falkor for phecda core.
13743 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13745 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13746 macro to identify phecda core.
13748 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13749 Andreas Schwab <schwab@suse.de>
13750 Dmitry V. Levin <ldv@altlinux.org>
13751 Florian Weimer <fweimer@redhat.com>
13758 * elf/dl-dst.h: Remove DL_DST_COUNT.
13759 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13760 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13761 (is_dst): Comment. Support ELF gABI.
13762 (_dl_dst_count): Comment. Simplify and count DSTs.
13763 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13764 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13767 2018-06-12 Zack Weinberg <zackw@panix.com>
13769 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13770 * sysdeps/unix/sysv/linux/dl-sysdep.c
13771 Include not-cancel.h. Use __close_nocancel instead of __close,
13772 __open64_nocancel instead of __open, __read_nocancel instead of
13773 __libc_read, and __write_nocancel instead of __libc_write.
13775 * csu/check_fds.c (check_one_fd)
13776 * sysdeps/posix/fdopendir.c (__fdopendir)
13777 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
13778 instead of __fcntl and/or __libc_fcntl.
13780 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13781 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
13782 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
13783 Use __open64_nocancel instead of __open_nocancel.
13785 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13786 hidden_proto declarations to the end and issue them if either
13787 IS_IN(libc) or IS_IN(rtld).
13788 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13789 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13790 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13791 read_nocancel, waitpid_nocancel, write_nocancel.
13793 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13794 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13795 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
13797 * nptl/pt-fcntl.c: New file.
13798 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13799 (libpthread-routines): Add pt-fcntl.
13800 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13801 (__libc_fcntl): Remove attribute_hidden.
13802 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13803 __fcntl_nocancel_adjusted, not fcntl_common.
13804 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
13805 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13806 to fcntl_nocancel.c.
13807 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13810 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13812 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13813 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13814 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13815 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13816 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13817 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13818 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13819 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13820 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13821 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13822 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13823 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13824 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13825 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13826 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13827 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13828 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13829 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13830 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13831 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13833 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13834 libpthread-routines.
13835 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13838 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13839 __libc_read, and __write instead of __libc_write. Define
13840 __open64 in addition to __open.
13842 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13846 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13847 to _private_tm[3] and add __glibc_reserved2.
13848 Add _Static_assert of offset of __private_ss == 0x30.
13849 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13850 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13852 2018-06-12 Florian Weimer <fweimer@redhat.com>
13854 x86: Make strncmp usable from rtld.
13855 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13856 __strncmp_ia32 if in libc (and not in rtld).
13857 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13858 strncmp if not in libc (and not to __strncmp_sse2).
13860 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13863 * localedata/locales/gd_GB (mon): Rename to...
13865 (mon): Import from CLDR (genitive case).
13866 * localedata/locales/hsb_DE (mon): Rename to...
13868 (mon): Import from CLDR (genitive case).
13869 * localedata/locales/wa_BE (mon): Rename to...
13871 (mon): Add, fill with the proper genitive forms, but CLDR data
13872 is incomplete; completed according to the comments in this file.
13873 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13875 * localedata/locales/wa_BE (country_name): Reword
13876 "Beljike" -> "Beldjike".
13878 2018-06-11 Joseph Myers <joseph@codesourcery.com>
13881 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13882 cases of non-finite arguments.
13883 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13885 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
13888 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13890 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13893 * include/unistd.h (__execvpex): New prototype.
13894 * posix/Makefile (tests): Add tst-spawn4.
13895 (tests-internal): Add tst-spawn4-compat.
13896 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13897 * posix/tst-spawn4-compat.c: New file.
13898 * posix/tst-spawn4.c: Likewise.
13899 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13900 binaries as shell scripts.
13901 * sysdeps/posix/spawni.c (__spawni): Likewise.
13903 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13906 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13907 ($(all-built-dso:=.dynsym): New target.
13908 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13909 ($(objpfx)check-initfini.out): New target.
13910 (generated): Add check-initfini.out.
13911 * scripts/check-initfini.awk: New file.
13912 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13914 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13916 * sysdeps/arm/crti.S (_init): Mark as hidden.
13918 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13920 * sysdeps/i386/crti.S (_init): Mark as hidden.
13922 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13924 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13926 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13928 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13930 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13932 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13934 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13936 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13938 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13940 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13942 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13944 * sysdeps/sh/crti.S (_init): Mark as hidden.
13946 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13948 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13951 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13953 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13954 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13955 and TF redirection to KFtype and KF only when the default
13956 long double type is not the IEEE 128-bit floating point type.
13958 2018-06-05 Joseph Myers <joseph@codesourcery.com>
13960 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13962 (HWCAP_USCAT): Likewise.
13963 (HWCAP_ILRCPC): Likewise.
13964 (HWCAP_FLAGM): Likewise.
13965 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13967 (_dl_aarch64_cap_flags): Add new flag names.
13969 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13970 (MAP_FIXED_NOREPLACE): New macro.
13971 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13972 (MAP_FIXED_NOREPLACE): Likewise.
13973 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13974 (MAP_FIXED_NOREPLACE): Likewise.
13975 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13976 (MAP_FIXED_NOREPLACE): Likewise.
13977 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13978 (MAP_FIXED_NOREPLACE): Likewise.
13979 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13980 (MAP_FIXED_NOREPLACE): Likewise.
13981 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13982 (MAP_FIXED_NOREPLACE): Likewise.
13983 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13984 (MAP_FIXED_NOREPLACE): Likewise.
13985 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13986 (MAP_FIXED_NOREPLACE): Likewise.
13987 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13988 (MAP_FIXED_NOREPLACE): Likewise.
13989 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13990 (MAP_FIXED_NOREPLACE): Likewise.
13991 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13992 (MAP_FIXED_NOREPLACE): Likewise.
13993 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13994 (MAP_FIXED_NOREPLACE): Likewise.
13995 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13996 (MAP_FIXED_NOREPLACE): Likewise.
13997 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13998 (MAP_FIXED_NOREPLACE): Likewise.
14000 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14003 2018-06-04 Joseph Myers <joseph@codesourcery.com>
14005 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14008 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14010 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14012 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14014 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14016 * benchtests/scripts/compare_string.py: (process_results) Catch
14017 exception in non-existent base_func and catch exception in
14018 non-existent attribute.
14019 (parse_file) Catch exception if input file does not exist.
14021 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14023 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
14024 options to avoid diff calculation and omit header, respectively.
14025 (main): process --no-diff and --no-header
14027 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14028 H.J. Lu <hongjiu.lu@intel.com>
14030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14031 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
14033 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14034 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
14035 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
14036 and __wcsncmp_sse2.
14037 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
14038 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
14039 AVX unaligned load is fast and vzeroupper is preferred.
14040 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
14041 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
14042 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
14043 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
14044 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
14045 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
14046 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
14047 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
14048 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
14049 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
14052 2018-06-01 Florian Weimer <fweimer@redhat.com>
14054 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
14055 configuring with --disable-multi-arch, building with
14056 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
14059 2018-06-01 Florian Weimer <fweimer@redhat.com>
14061 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
14062 results from building with “-march=x86-64 -mtune=generic
14063 -mfpmath=sse” and running on a Haswell-era CPU.
14065 2018-06-01 Joseph Myers <joseph@codesourcery.com>
14068 * soft-fp/sqrttf2.c: Remove file.
14069 * soft-fp/sqrtdf2.c: Move to ....
14070 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
14072 (__sqrtdf2): Make conditional on
14073 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14075 * soft-fp/sqrtsf2.c: Move to ....
14076 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
14078 (__sqrtsf2): Make conditional on
14079 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14081 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
14082 (gcc-double-routines): Remove sqrtdf2.
14083 (gcc-quad-routines): Remove sqrttf2.
14084 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14085 Do not filter out sqrtsf2 and sqrtdf2.
14086 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14087 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
14089 2018-06-01 Florian Weimer <fweimer@redhat.com>
14091 * sysdeps/generic/libcidn.abilist: Remove file.
14093 2018-06-01 Florian Weimer <fweimer@redhat.com>
14096 * libio/strfile.h (struct _IO_str_fields): Rename members to
14097 discourage their use and add comment.
14098 (_IO_STR_DYNAMIC): Remove unused macro.
14099 * libio/strops.c (_IO_str_init_static_internal): Do not use
14100 callback pointers. Call malloc and free.
14101 (_IO_str_overflow): Do not use callback pointers. Call malloc
14103 (enlarge_userbuf): Likewise.
14104 (_IO_str_finish): Call free.
14105 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14106 _allocate_buffer_unused.
14107 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14109 (enlarge_userbuf): Likewise.
14110 (_IO_wstr_finish): Call free.
14111 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14112 _allocate_buffer_unused, _free_buffer_unused.
14113 * libio/memstream.c (__open_memstream): Likewise.
14114 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14115 * libio/wmemstream.c (open_wmemstream): Likewise.
14117 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14119 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14122 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14124 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14125 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14126 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14128 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14130 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14132 2018-05-29 Florian Weimer <fweimer@redhat.com>
14134 * support/Makefile (libsupport-routines): Add
14135 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14136 xpthread_barrierattr_setpshared.
14137 * support/xpthread_barrierattr_destroy.c: New file.
14138 * support/xpthread_barrierattr_init.c: Likewise.
14139 * support/xpthread_barrierattr_setpshared.c: Likewise.
14141 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14144 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14145 _r_debug and update DT_DEBUG for debugger.
14147 2018-05-29 Florian Weimer <fweimer@redhat.com>
14149 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14150 (tst-strtod5i.out): Likewise.
14152 2018-05-25 Joseph Myers <joseph@codesourcery.com>
14154 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14155 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14156 (sparc64-quad-routines): New variable. Moved from ....
14157 [$(subdir) = soft-fp] (sysdep_routines): Add
14158 $(sparc64-quad-routines). Moved from ....
14159 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14160 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14161 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14163 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14164 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14165 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14166 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14167 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14168 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14169 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14170 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14171 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14172 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14173 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14174 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14175 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14176 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14177 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14178 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14179 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14180 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14181 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14182 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14183 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14184 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14185 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14186 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14187 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14188 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14189 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14190 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14191 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14192 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14193 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14194 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14195 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14196 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14197 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14198 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14199 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14200 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14201 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14202 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14203 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14204 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14205 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14206 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14207 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14208 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14209 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14210 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14211 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14212 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14213 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14214 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14215 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14216 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14217 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14218 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14219 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14220 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14222 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14223 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14224 (sparc32-quad-routines): New variable. Moved from ....
14225 [$(subdir) = soft-fp] (sysdep_routines): Add
14226 $(sparc32-quad-routines). Moved from ....
14227 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14228 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14230 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14231 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14232 * sysdeps/sparc/sparc32/q_add.c: ... here.
14233 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14234 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14235 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14236 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14237 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14238 * sysdeps/sparc/sparc32/q_div.c: ... here.
14239 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14240 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14241 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14242 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14243 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14244 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14245 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14246 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14247 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14248 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14249 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14250 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14251 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14252 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14253 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14254 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14255 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14256 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14257 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14258 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14259 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14260 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14261 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14262 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14263 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14264 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14265 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14266 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14267 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14268 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14269 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14270 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14271 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14272 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14273 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14274 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14275 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14276 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14277 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14278 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14279 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14280 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14281 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14282 * sysdeps/sparc/sparc32/q_util.c: ... here.
14283 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14284 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14285 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14286 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14288 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14289 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14291 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14292 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14293 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14294 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14296 2018-05-24 Joseph Myers <joseph@codesourcery.com>
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14302 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14303 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14305 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14308 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14311 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14313 * sysdeps/sh/Implies: Remove sh/soft-fp.
14314 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
14315 * sysdeps/sh/sfp-machine.h: ... here.
14317 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14319 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14320 (__mempcpy_erms): Skip zero length.
14321 (__memmove_erms): Likewise.
14322 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14323 (__memset_erms): Likewise.
14325 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14327 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14328 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14329 Add functions moved from ....
14330 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14331 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14332 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14334 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14335 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14336 * sysdeps/alpha/e_sqrtl.c: ... here.
14337 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14338 * sysdeps/alpha/local-soft-fp.h: ... here.
14339 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
14340 * sysdeps/alpha/ots_add.c: ... here.
14341 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
14342 * sysdeps/alpha/ots_cmp.c: ... here.
14343 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
14344 * sysdeps/alpha/ots_cmpe.c: ... here.
14345 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
14346 * sysdeps/alpha/ots_cvtqux.c: ... here.
14347 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
14348 * sysdeps/alpha/ots_cvtqx.c: ... here.
14349 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
14350 * sysdeps/alpha/ots_cvttx.c: ... here.
14351 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
14352 * sysdeps/alpha/ots_cvtxq.c: ... here.
14353 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
14354 * sysdeps/alpha/ots_cvtxt.c: ... here.
14355 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
14356 * sysdeps/alpha/ots_div.c: ... here.
14357 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
14358 * sysdeps/alpha/ots_mul.c: ... here.
14359 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
14360 * sysdeps/alpha/ots_nintxq.c: ... here.
14361 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
14362 * sysdeps/alpha/ots_sub.c: ... here.
14363 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
14364 * sysdeps/alpha/sfp-machine.h: ... here.
14366 2018-05-23 Florian Weimer <fweimer@redhat.com>
14374 Switch to extern IDNA implementation (libidn2).
14375 * libidn: Remove subdirectory.
14376 * LICENSES: Do not mention licensing conditions for the removed
14378 * config.h.in (HAVE_LIBIDN): Remove.
14379 * include/dlfcn.h (__libc_dlopen): Update comment.
14380 * include/idna.h: Remove file.
14381 * inet/Makefile (routines): Add idna.
14382 (tests-static, tests-internal): Add tst-idna_name_classify.
14383 (LOCALES): Generate locales for tests.
14384 (tst-idna_name_classify.out): Depend on generated locales.
14385 * inet/idna_name_classify.c: New file.
14386 * inet/tst-idna_name_classify.c: Likewise.
14387 * inet/net-internal.h (__idna_to_dns_encoding)
14388 (__idna_from_dns_encoding): Declare.
14389 * inet/net-internal.h (enum idna_name_classification): Define.
14390 (__idna_name_classify): Declare.
14391 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
14392 __idna_from_dns_encoding.
14393 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
14394 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
14395 name as a fallback in case of encoding errors.
14396 (getnameinfo): Use DEPRECATED_NI_IDN.
14397 * inet/idna.c: New file.
14398 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
14399 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
14400 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
14401 (modules-names): Add tst-no-libidn2.
14402 (extra-test-objs): Add tst-no-libidn2.os.
14403 (LDFLAGS-tst-no-libidn2.so): Set soname.
14404 (LOCALES): Set, and generate locales.
14405 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
14406 (tst-resolv-ai_idn-latin1): Likewise.
14407 (tst-resolv-ai_idn-nolibidn2): Likewise.
14408 (tst-resolv-ai_idn.out): Depend on locales.
14409 (tst-resolv-ai_idn-latin1.out): Depend on locales.
14410 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
14412 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
14413 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
14414 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
14415 * resolv/tst-resolv-ai_idn.c: New file.
14416 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
14417 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
14418 * resolv/tst-no-libidn2.c: Likewise.
14419 * support/support_format_addrinfo.c (format_ai_flags): Do not
14420 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
14421 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
14422 (gaih_inet): Call __idna_to_dns_encoding and
14423 __idna_from_dns_encoding, and use the original (punycode) name if
14424 __idna_from_dns_encoding fails due to an encoding error.
14425 (getaddrinfo): Use DEPRECATED_AI_IDN.
14426 * sysdeps/unix/inet/Subdirs (libidn): Remove.
14427 * sysdeps/unix/inet/configure: Remove file.
14428 * sysdeps/unix/inet/configure.ac: Likewise.
14430 2018-05-23 Florian Weimer <fweimer@redhat.com>
14432 Implement allocate_once.
14433 * include/allocate_once.h: New file.
14434 * misc/allocate_once.c: Likewise.
14435 * misc/tst-allocate_once.c: Likewise.
14436 * misc/Makefile (routines): Add allocate_once.
14437 (tests-internal): Add tst-allocate_once.
14438 (generated): Add tst-allocate_once.mtrace,
14439 tst-allocate_once-mem.out.
14440 (tests-special): Add tst-allocate_once-mem.out.
14441 (tst-allocate_once-ENV): Set MALLOC_TRACE.
14442 (tst-allocate_once-mem.out): Call mtrace.
14443 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
14445 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14448 * string/test-memcpy.c (do_test1): New function.
14449 (test_main): Call it.
14451 2018-05-23 Andreas Schwab <schwab@suse.de>
14455 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
14456 (L(preloop_large)): Save initial destination pointer in %r11 and
14457 use it instead of %rax after the loop.
14458 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
14460 2018-05-22 Joseph Myers <joseph@codesourcery.com>
14462 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
14463 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
14464 -I../soft-fp. Moved from ....
14465 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
14466 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
14467 * sysdeps/aarch64/e_sqrtl.c: ... here.
14468 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14469 * sysdeps/aarch64/sfp-machine.h: ... here.
14471 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14472 -Wmaybe-uninitialized around access to fq[0].
14473 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14477 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14478 aliases for non-libc case of versioned symbols.
14479 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14480 (llseek): Define as compat symbol if
14481 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14483 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14484 Make into a compat symbol, disabled for minimum symbol version
14485 GLIBC_2.28 and later.
14486 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14488 2018-05-22 Florian Weimer <fweimer@redhat.com>
14490 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14491 not add -mpreferred-stack-boundary=4.
14492 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14493 (stack-align-test-flags): Likewise.
14494 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14496 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14497 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14498 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14499 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14500 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14501 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14502 (CFLAGS-tst-align2.c): Likewise.
14504 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14506 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14507 (index_arch_Prefer_FSRM): Likewise.
14508 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14509 Also check Prefer_FSRM.
14510 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14511 Also return OPTIMIZE (erms) for Prefer_FSRM.
14513 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14515 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14516 (index_cpu_FSRM): Likewise.
14517 (reg_FSRM): Likewise.
14519 2018-05-18 Joseph Myers <joseph@codesourcery.com>
14521 * math/gen-tgmath-tests.py: Import sys.
14522 (Tests.__init__): Initialize macros_seen.
14523 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14524 if requested to do so for this macro.
14525 (Tests.add_all_tests): Take argument for macro for which to
14527 (Tests.check_macro_list): New function.
14528 (main): Handle check-list argument and argument specifying macro
14529 for which to generate tests.
14530 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14531 [PYTHON] (tgmath3-macro-tests): Likewise.
14532 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14533 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14534 not test-tgmath3.c.
14535 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14536 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14538 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14539 [PYTHON] ($(foreach
14540 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14542 [PYTHON] (tests-special): Add
14543 $(objpfx)test-tgmath3-macro-list.out.
14544 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14546 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14547 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14551 * time/tzset.c (SECSPERDAY): Cast to time_t.
14552 * time/tst-y2039.c: New file.
14553 * time/Makefile (tests): Add tst-y2039.
14555 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14557 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14558 (PREFETCH_ONE_SET): Remove duplicate line.
14560 2018-05-17 Florian Weimer <fweimer@redhat.com>
14562 * sysdeps/generic/math-type-macros-double.h: Include
14563 <math-nan-payload-double.h> after <libm-alias-double.h>.
14564 * sysdeps/generic/math-type-macros-float.h: Include
14565 <math-nan-payload-float.h> after <libm-alias-float.h>.
14566 * sysdeps/generic/math-type-macros-float128.h: Include
14567 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14568 * sysdeps/generic/math-type-macros-ldouble.h: Include
14569 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14571 2018-05-17 Andreas Schwab <schwab@suse.de>
14573 * resolv/res_send.c (__res_context_send): Don't set errno when
14574 returing error after malloc failure.
14576 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14578 * nptl/allocatestack.c (allocate_stack): Remove the
14579 !__ASSUME_PRIVATE_FUTEX paths.
14580 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14581 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14583 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14584 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14585 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14586 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14587 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14588 !__ASSUME_PRIVATE_FUTEX path.
14589 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14590 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14591 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14592 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14593 !__ASSUME_PRIVATE_FUTEX macros.
14594 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14595 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14596 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14597 * sysdeps/unix/sysv/linux/kernel-features.h
14598 (__ASSUME_PRIVATE_FUTEX): Removed.
14600 2018-05-17 Joseph Myers <joseph@codesourcery.com>
14602 * math/Makefile (libm-narrow-fns): Add div.
14603 (libm-test-funcs-narrow): Likewise.
14604 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14605 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14606 * math/gen-auto-libm-tests.c (test_functions): Add div.
14607 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14608 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14609 (NARROW_DIV_TRIVIAL): Likewise.
14610 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14612 (__ddivl): Likewise.
14613 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14615 (CFLAGS-nldbl-ddiv.c): New variable.
14616 (CFLAGS-nldbl-fdiv.c): Likewise.
14617 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14619 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14621 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14622 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14623 * math/auto-libm-test-in: Add tests of div.
14624 * math/auto-libm-test-out-narrow-div: New generated file.
14625 * math/libm-test-narrow-div.inc: New file.
14626 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14627 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14628 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14629 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14630 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14631 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14632 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14633 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14634 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14635 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14636 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14637 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14638 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14639 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14640 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14641 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14642 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14643 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14645 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14646 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14647 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14648 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14649 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14650 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14651 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14652 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14653 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14654 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14655 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14656 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14657 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14662 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14663 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14664 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14665 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14666 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14667 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14668 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14669 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14671 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14674 * nscd/nscd-client.h (sendfileall): Remove prototype.
14675 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14676 (handle_request): Use writeall instead of sendfileall.
14677 * nscd/aicache.c (addhstaiX): Likewise.
14678 * nscd/grpcache.c (cache_addgr): Likewise.
14679 * nscd/hstcache.c (cache_addhst): Likewise.
14680 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14681 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14682 * nscd/pwdcache.c (cache_addpw): Likewise.
14683 * nscd/servicescache.c (cache_addserv): Likewise.
14684 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14685 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14686 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14689 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14691 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14692 Include <string/strncat.c>.
14693 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14695 (__GI___strncat): New hidden alias.
14697 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14699 * sysdeps/mips/mips32/libm-test-ulps: Update.
14700 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14702 2018-05-16 Florian Weimer <fweimer@redhat.com>
14704 * support/Makefile (libsupport-routines): Add support_quote_blob,
14705 support_test_compare_blob.
14706 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14707 * support/check.h (TEST_COMPARE_BLOB): Define.
14708 (support_test_compare_blob): Declare.
14709 * support/support.h (support_quote_blob): Declare.
14710 * support/support_quote_blob.c: New file.
14711 * support/support_test_compare_blob.c: Likewise.
14712 * support/tst-support_quote_blob.c: Likewise.
14713 * support/tst-test_compare_blob.c: Likewise.
14715 2018-05-16 Florian Weimer <fweimer@redhat.com>
14717 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14718 of <strtod_nan_double.h>.
14719 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14720 instead of SET_MANTISSA.
14721 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14722 of include <strtod_nan_float.h>.
14723 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14724 instead of <strtod_nan_ldouble.h>.
14725 * stdlib/strtod_nan_double.h: Move to ...
14726 * sysdeps/generic/math-nan-payload-double.h: ... here.
14727 (FLOAT): Remove definition.
14728 (SET_MANTISSA): Rename to ...
14729 (SET_NAN_PAYLOAD): ... this.
14730 * stdlib/strtod_nan_float.h: Move to ...
14731 * sysdeps/generic/math-nan-payload-float.h: ... here.
14732 (FLOAT): Remove definition.
14733 (SET_MANTISSA): Rename to ...
14734 (SET_NAN_PAYLOAD): ... this.
14735 * sysdeps/generic/math-type-macros-double.h: Include
14736 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14737 instead of <math-svid-compat.h>.
14738 * sysdeps/generic/math-type-macros-float.h: Include
14739 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14740 instead of <math-svid-compat.h>.
14741 * sysdeps/generic/math-type-macros-float128.h: Include
14742 <math-nan-payload-float128.h>.
14743 * sysdeps/generic/math-type-macros-ldouble.h: Include
14744 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14745 instead of <math-svid-compat.h>.
14746 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14747 check for definition.
14748 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14749 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14750 Include <ieee754_float128.h>.
14751 (FLOAT): Remove definition.
14752 (SET_MANTISSA): Rename to ...
14753 (SET_NAN_PAYLOAD): ... this.
14754 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14755 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14756 Do not include <float128_private.h>.
14757 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14758 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14759 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14760 (FLOAT): Remove definition.
14761 (SET_MANTISSA): Rename to ...
14762 (SET_NAN_PAYLOAD): ... this.
14763 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14764 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14765 (FLOAT): Remove definition.
14766 (SET_MANTISSA): Rename to ...
14767 (SET_NAN_PAYLOAD): ... this.
14768 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14769 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14770 (FLOAT): Remove definition.
14771 (SET_MANTISSA): Rename to ...
14772 (SET_NAN_PAYLOAD): ... this.
14773 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14774 of "../stdlib/strtod_nan_double.h".
14775 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14776 of "../stdlib/strtod_nan_float.h".
14777 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14778 instead of "../stdlib/strtod_nan_ldouble.h".
14779 * manual/arith.texi (Parsing of Floats): Adjust comment.
14781 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14783 * math/Makefile (libm-narrow-fns): Add mul.
14784 (libm-test-funcs-narrow): Likewise.
14785 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14786 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14787 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14788 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14789 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14790 (NARROW_MUL_TRIVIAL): Likewise.
14791 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14792 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14794 (__dmull): Likewise.
14795 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14797 (CFLAGS-nldbl-dmul.c): New variable.
14798 (CFLAGS-nldbl-fmul.c): Likewise.
14799 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14801 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14803 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14804 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14805 * math/auto-libm-test-in: Add tests of mul.
14806 * math/auto-libm-test-out-narrow-mul: New generated file.
14807 * math/libm-test-narrow-mul.inc: New file.
14808 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14809 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14811 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14812 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14813 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14814 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14815 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14816 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14817 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14818 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14819 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14820 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14821 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14822 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14823 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14824 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14825 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14827 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14828 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14829 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14830 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14831 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14832 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14833 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14834 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14835 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14836 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14837 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14838 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14839 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14844 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14845 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14846 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14847 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14848 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14849 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14850 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14851 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14853 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14855 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14856 with *%eax in call.
14858 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14860 * sysdeps/i386/ldsodefs.h: Removed.
14861 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14862 * sysdeps/x86/ldsodefs.h: This.
14863 (La_i86_regs): New.
14864 (La_i86_retval): Likewise.
14865 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14866 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14868 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14870 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14873 2018-05-13 Alan Modra <amodra@gmail.com>
14875 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14876 R_PARISC_TLS_DTPOFF32 reloc addend.
14878 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14880 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14881 * math/math.h: Restrict the prototype definition for the functions
14882 issignaling(_Float128) and iszero(_Float128); and template
14883 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14884 __HAVE_FLOAT128_UNLIKE_LDBL.
14885 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14886 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14887 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14888 __f128() constants; define the type _Float128 as long double;
14889 and reuse long double in __CFLOAT128.
14891 2018-05-11 Joseph Myers <joseph@codesourcery.com>
14893 * sysdeps/generic/math_private.h: Do not include
14895 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14897 * math/fromfp.h: Include <math-barriers.h>.
14898 * math/math-narrow.h: Likewise.
14899 * math/s_nextafter.c: Likewise.
14900 * math/s_nexttowardf.c: Likewise.
14901 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14902 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14903 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14904 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14905 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14906 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14907 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14909 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14910 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14911 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14912 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14913 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14914 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14915 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14916 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14917 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14918 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14919 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14920 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14921 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14922 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14923 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14924 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14925 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14926 * sysdeps/ieee754/k_standardl.c: Likewise.
14927 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14928 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14929 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14930 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14932 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14933 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14935 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14936 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14937 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14938 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14939 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14940 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14941 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14942 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14943 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14944 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14945 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14946 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14947 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14948 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14950 2018-05-11 Florian Weimer <fweimer@redhat.com>
14952 Use 64-bit epoch values in the time zone file parser.
14953 * include/time.h (internal_time_t): Define.
14954 (__tzfile_compute): Use it.
14955 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14957 (transitions): Switch to internal_time_t.
14958 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14960 (__tzfile_compute): Use internal_time_t for timer argument. Check
14961 for truncation before calling __offtime.
14963 2018-05-11 Florian Weimer <fweimer@redhat.com>
14966 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14967 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14969 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14970 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14971 export without --enable-obsolete-rpc.
14972 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14973 symbol. This should not have been exported, ever.
14975 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14978 * localedata/locales/gd_GB (abmon): Fix typo in May:
14979 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14981 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14983 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14984 Use multiple registers to copy data in loop tail.
14986 * sysdeps/aarch64/multiarch/memmove_falkor.S
14987 (__memmove_falkor): Use multiple registers to move data in
14990 2018-05-10 Joseph Myers <joseph@codesourcery.com>
14992 * math/math-underflow.h: New file.
14993 * sysdeps/generic/math_private.h: Do not include <float.h>.
14994 (fabs_tg): Remove macro. Moved to math-underflow.h.
14995 (min_of_type_f): Likewise.
14996 (min_of_type_): Likewise.
14997 (min_of_type_l): Likewise.
14998 (min_of_type_f128): Likewise.
14999 (min_of_type): Likewise.
15000 (math_check_force_underflow): Likewise.
15001 (math_check_force_underflow_nonneg): Likewise.
15002 (math_check_force_underflow_complex): Likewise.
15003 * math/e_exp2_template.c: Include <math-underflow.h>.
15004 * math/k_casinh_template.c: Likewise.
15005 * math/s_catan_template.c: Likewise.
15006 * math/s_catanh_template.c: Likewise.
15007 * math/s_ccosh_template.c: Likewise.
15008 * math/s_cexp_template.c: Likewise.
15009 * math/s_clog10_template.c: Likewise.
15010 * math/s_clog_template.c: Likewise.
15011 * math/s_csin_template.c: Likewise.
15012 * math/s_csinh_template.c: Likewise.
15013 * math/s_csqrt_template.c: Likewise.
15014 * math/s_ctan_template.c: Likewise.
15015 * math/s_ctanh_template.c: Likewise.
15016 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15017 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15018 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15019 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15020 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15021 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15022 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15024 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15025 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15026 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15027 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15028 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15029 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15030 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15031 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15032 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15033 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15034 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15035 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15036 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15037 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15038 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15039 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15040 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15041 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15042 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15043 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15044 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15045 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15046 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15047 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15048 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15049 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15050 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15051 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15052 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15053 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15054 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15055 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15056 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15057 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15058 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15059 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15060 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15061 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15062 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15063 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15064 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15065 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15066 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15067 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15068 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15069 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15070 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15071 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15072 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15073 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15074 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15075 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15076 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15077 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15079 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15080 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15081 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15082 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15083 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15084 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15085 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15086 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15087 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15088 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15089 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
15090 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15091 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15092 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15093 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15094 * sysdeps/x86/fpu/powl_helper.c: Likewise.
15095 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
15096 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15097 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15098 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15099 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15101 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15103 * sysdeps/generic/math-barriers.h: New file.
15104 * sysdeps/generic/math_private.h [!math_opt_barrier]
15105 (math_opt_barrier): Move to math-barriers.h.
15106 [!math_opt_barrier] (math_force_eval): Likewise.
15107 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15108 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15110 (math_force_eval): Likewise.
15111 * sysdeps/alpha/fpu/math-barriers.h: New file.
15112 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15114 (math_force_eval): Likewise.
15115 * sysdeps/x86/fpu/math-barriers.h: New file.
15116 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15118 (math_force_eval): Likewise.
15119 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15120 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15121 multiple-include guard for rename.
15122 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15123 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15125 (math_force_eval): Likewise.
15127 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15131 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15133 * stdlib/Makefile (test-bz22786): New test.
15134 * stdlib/test-bz22786.c: New test.
15136 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15138 * include/math-narrow-eval.h: New file. Contents moved from ....
15139 * sysdeps/generic/math_private.h: ... here.
15140 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15141 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15142 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15143 * stdlib/strtod_l.c: Likewise.
15144 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15145 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15146 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15147 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15148 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15149 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15150 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15151 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15152 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15153 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15154 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15155 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15156 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15157 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15158 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15159 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15160 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15161 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15162 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15163 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15164 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15165 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15166 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15167 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15168 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15169 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15170 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15171 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15172 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15174 2018-05-08 Andreas Schwab <schwab@suse.de>
15176 * sysdeps/nptl/internaltypes.h: Fix comment.
15178 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15180 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15181 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15184 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15186 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15187 of I into loop header.
15188 * benchtests/bench-memmove-walk.c
15189 (test_main): Likewise.
15191 2018-05-07 Alexandre Oliva <oliva@gnu.org>
15194 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15195 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15197 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15200 * elf/dl-load.c (open_verify): Fix stack overflow.
15201 * elf/Makefile (tst-big-note): New test.
15202 * elf/tst-big-note-lib.S: New.
15203 * elf/tst-big-note.c: New.
15205 2018-05-04 Joseph Myers <joseph@codesourcery.com>
15207 * scripts/abilist.awk: Ignore absolute symbols.
15208 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15209 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15210 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15211 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15212 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15213 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15214 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15215 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15216 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15217 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15218 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15219 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15220 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15221 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15222 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15223 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15224 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15225 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15227 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15228 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15229 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15230 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15231 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15232 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15233 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15234 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15235 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15236 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15237 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15238 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15239 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15240 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15241 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15242 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15243 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15244 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15245 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15246 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15247 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15248 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15249 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15250 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15251 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15252 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15253 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15254 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15255 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15256 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15257 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15258 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15259 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15260 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15261 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15262 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15263 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15264 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15265 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15266 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15267 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15268 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15269 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15270 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15271 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15272 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15273 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15274 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15275 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15276 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15277 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15278 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15279 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15280 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15281 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15282 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15283 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15284 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15285 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15286 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15287 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15288 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15289 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15290 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15291 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15292 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15293 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15294 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15295 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15296 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15297 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15298 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15299 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15301 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15302 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15303 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15304 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15305 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15306 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15307 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15308 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15309 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15310 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15311 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15312 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
15313 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15315 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
15316 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15317 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
15318 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
15319 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15320 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
15321 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15322 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
15323 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
15324 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
15325 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
15326 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15327 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15328 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15329 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15330 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15331 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15332 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15333 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15334 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15335 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15336 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15337 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15338 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
15339 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15340 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
15341 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15343 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
15344 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
15345 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
15346 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
15347 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15348 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
15349 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
15350 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
15351 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
15352 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
15353 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
15354 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
15355 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
15356 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15357 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
15358 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
15359 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
15360 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
15361 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15362 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15364 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
15365 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
15366 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
15367 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15368 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
15369 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15370 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
15371 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
15372 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
15373 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
15374 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15375 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
15376 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
15377 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15378 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
15379 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
15380 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
15381 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
15382 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15383 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
15384 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
15385 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15386 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
15387 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15388 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
15389 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
15390 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
15391 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
15392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
15395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
15398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
15399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
15400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
15406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
15409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
15421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
15422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
15427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
15428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
15429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
15433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
15434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
15442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
15443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
15444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
15451 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15452 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
15454 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15455 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15456 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
15457 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15458 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15459 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15460 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15461 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
15462 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15463 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
15464 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15465 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
15466 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
15467 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15469 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15470 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15471 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15472 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15473 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15474 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15475 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15476 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15477 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15478 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15479 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15480 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15482 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15483 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15484 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15485 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15486 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15487 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15488 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15489 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15490 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15491 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15492 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15493 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15494 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15495 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15496 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15497 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15498 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15499 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15500 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15501 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15502 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15503 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15504 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15505 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15506 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15508 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15509 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15510 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15511 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15512 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15513 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15514 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15515 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15516 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15517 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15518 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15519 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15520 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15522 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15523 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15524 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15525 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15526 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15527 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15528 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15529 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15530 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15531 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15532 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15533 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15534 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15535 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15536 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15537 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15538 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15539 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15540 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15541 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15542 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15543 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15544 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15545 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15546 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15547 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15548 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15549 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15550 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15551 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15552 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15553 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15554 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15555 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15556 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15557 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15558 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15559 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15561 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15564 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15565 Use atomic_load_acquire to load __tid.
15567 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15569 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15570 Restore the pointer into %rdx, after syscall and use %rdx,
15571 instead of %rsi, to restore context.
15573 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15575 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15576 Pop the pointer into %rdx after syscall and use %rdx, instead
15577 of %rsi, to restore context.
15579 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15581 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15582 handlers after setjmp.
15583 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15585 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15586 <libc-pointer-arith.h>.
15587 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15588 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15589 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15590 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15591 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15592 * sysdeps/x86/__longjmp_cancel.S: New file.
15593 * sysdeps/x86/longjmp.c: Likewise.
15594 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15596 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15598 * NEWS: Add ustat.h deprecation entry.
15599 * bits/ustat.h: Remove file.
15600 * misc/sys/ustat.h: Likewise.
15601 * misc/ustat.h: Likewise.
15602 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15603 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15604 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15605 compatibility mode.
15606 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15607 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15608 generic Linux implementation.
15610 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15612 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15613 * math/w_expl_compat.c: Likewise.
15614 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15616 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15618 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15620 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15622 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15623 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15624 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15626 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15628 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15629 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15630 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15633 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15635 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15637 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15638 * math/w_asin_template.c: Likewise.
15639 * math/w_atanh_template.c: Likewise.
15641 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15643 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15644 to powerpc/powerpc64/be for big-endian.
15645 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15648 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15649 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15650 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15651 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15652 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15653 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15654 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15655 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15656 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15657 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15658 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15659 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15660 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15661 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15662 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15663 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15664 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15665 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15666 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15667 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15668 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15669 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15670 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15671 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15672 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15673 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15674 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15675 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15676 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15677 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15678 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15679 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15681 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15682 adjusted to imply powerpc64 and older processors on powerpc64/be.
15683 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15684 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15685 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15686 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15687 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15688 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15689 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15690 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15691 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15692 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15693 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15694 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15695 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15696 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15697 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15698 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15699 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15700 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15701 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15702 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15703 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15704 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15705 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15706 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15707 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15708 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15709 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15710 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15711 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15712 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15713 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15715 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15716 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15717 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15718 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15720 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15721 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15722 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15723 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15725 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15726 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15727 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15728 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15729 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15730 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15731 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15732 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15733 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15734 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15735 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15737 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15738 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15739 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15740 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15741 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15742 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15743 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15744 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15745 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15746 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15747 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15749 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15750 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15751 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15752 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15753 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15754 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15755 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15756 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15757 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15758 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15759 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15760 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15762 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15763 and adjusted to imply olders processors.
15764 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15765 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15766 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15767 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15768 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15769 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15770 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15771 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15772 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15773 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15774 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15776 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15778 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15779 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15793 powerpc64 and adjusted.
15794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15799 2018-04-27 Joseph Myers <joseph@codesourcery.com>
15801 * sysdeps/tile: Remove.
15802 * sysdeps/unix/sysv/linux/tile: Likewise.
15803 * README (tilegx-*-linux-gnu): Remove from list of supported
15805 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15806 contribution of support for generic Linux kernel syscall
15808 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15809 tilegx configurations.
15810 (Config.install_linux_headers): Do not handle tile.
15811 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15813 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15814 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15815 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15816 conditional undefine and redefine.
15817 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15819 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15820 conditional undefine and redefine.
15822 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15824 * signal/tst-sigaction.c: New file to test BZ #23069.
15825 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15827 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15830 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15831 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15832 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15833 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15835 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15837 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15838 _DIRENT_MATCHES_DIRENT64 is not defined.
15839 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15840 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15842 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15843 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15845 2018-04-25 Joseph Myers <joseph@codesourcery.com>
15847 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15848 version to GCC 8 branch.
15850 2018-04-24 Joseph Myers <joseph@codesourcery.com>
15852 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15853 (check_no_hidden): Use type of original function when declaring
15856 * sysdeps/unix/sysv/linux/sys/ptrace.h
15857 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15858 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15859 (struct __ptrace_seccomp_metadata): New type.
15860 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15861 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15862 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15863 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15864 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15865 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15866 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15867 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15868 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15869 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15870 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15871 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15872 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15873 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15874 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15875 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15877 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15879 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15881 * dirent/versionsort.c (versionsort): Likewise.
15882 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15883 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15884 * dirent/versionsort64.c (versionsort64): Likewise.
15885 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15886 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15887 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15888 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15889 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15890 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15891 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15892 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15893 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15894 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15897 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15898 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15900 2018-04-23 Joseph Myers <joseph@codesourcery.com>
15902 * elf/elf.h (NT_PPC_PKEY): New macro.
15904 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
15907 * localedata/locales/hr_HR: fix thousands_sep and
15910 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15912 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15913 (XTABS): Define to TAB3.
15915 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15917 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15919 * dirent/scandir-tail-common.c: New file.
15920 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15921 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15922 * dirent/scandir.c: Use scandir-tail-common.c.
15923 * dirent/scandirat.c: Likewise.
15924 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15925 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15926 if _DIRENT_MATCHES_DIRENT64 is defined.
15927 * dirent/scandirat64.c (scandirat64): Likewise.
15928 * include/dirent.h (__scandir_tail): Only define iff
15929 _DIRENT_MATCHES_DIRENT64 is not defined.
15930 (__scandir64_tail): Define regardless.
15931 (__scandirat, scandirat64): Remove libc_hidden_proto.
15932 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15933 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15935 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15936 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15937 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15938 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15940 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15942 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15944 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15946 (_dl_aarch64_cap_flags): Add asimdfhm.
15948 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15950 * sysdeps/nios2/libm-test-ulps: Update.
15952 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15954 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15955 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15957 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15959 (_DIRENT_MATCHES_DIRENT64): Undef
15960 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15961 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15962 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15963 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15964 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15965 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15966 use getdents64 syscalls as base.
15967 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15968 symbol if required.
15969 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15970 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15971 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15972 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15973 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15974 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15975 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15976 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15977 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15978 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15979 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15981 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15983 * scripts/test_printers_common.py (init_test): Disable lock elision.
15985 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15987 * math/test-tgmath.c (count_double, count_float,
15988 count_ldouble, count_cdouble, count_cfloat,
15989 count_cldouble): Use volatile int.
15991 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15993 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15994 (conformtest-xfail-conds): Add i386-gnu.
15995 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
15997 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15998 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15999 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16000 msqid_ds.msg_lrpid): Likewise.
16001 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16003 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16004 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
16005 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16006 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16008 (struct statvfs64): Likewise.
16009 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16011 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16012 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16013 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16014 instead of wait_queue.
16015 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16016 instead of vm_area_struct.
16017 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16018 struct sched_param definition to it.
16019 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16020 * bits/types/struct_sched_param.h: New file.
16021 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16022 <bits/types/struct_sched_param.h> instead of <sched.h>.
16023 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
16024 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
16025 generic version but include <bits/pthreadtypes.h> to make struct
16026 sigevent's sigev_notify_attributes field a pthread_attr_t*.
16027 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
16029 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
16030 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
16031 [__USE_XOPEN] (OFDEL): New macro.
16032 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
16033 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
16034 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
16036 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
16037 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
16038 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
16040 * sysdeps/i386/sys/ucontext.h: Likewise.
16041 * sysdeps/m68k/sys/ucontext.h: Likewise.
16042 * sysdeps/mips/sys/ucontext.h: Likewise.
16043 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
16044 * sysdeps/mach/hurd/i386/Makefile
16045 (test-xfail-POSIX/fcntl.h/conform): Add.
16046 (test-xfail-POSIX/signal.h/conform): Add.
16047 (test-xfail-POSIX/semaphore.h/conform): Add.
16048 (test-xfail-POSIX/regex.h/conform): Add.
16049 (test-xfail-POSIX/aio.h/conform): Add.
16050 (test-xfail-POSIX/mqueue.h/conform): Add.
16051 (test-xfail-POSIX/sys/types.h/conform): Add.
16052 (test-xfail-UNIX98/fcntl.h/conform): Add.
16053 (test-xfail-UNIX98/netdb.h/conform): Add.
16054 (test-xfail-UNIX98/signal.h/conform): Add.
16055 (test-xfail-UNIX98/semaphore.h/conform): Add.
16056 (test-xfail-UNIX98/regex.h/conform): Add.
16057 (test-xfail-UNIX98/aio.h/conform): Add.
16058 (test-xfail-UNIX98/ftw.h/conform): Add.
16059 (test-xfail-UNIX98/mqueue.h/conform): Add.
16060 (test-xfail-UNIX98/netinet/in.h/conform): Add.
16061 (test-xfail-UNIX98/sys/wait.h/conform): Add.
16062 (test-xfail-UNIX98/sys/sem.h/conform): Add.
16063 (test-xfail-UNIX98/sys/uio.h/conform): Add.
16064 (test-xfail-UNIX98/sys/socket.h/conform): Add.
16065 (test-xfail-UNIX98/sys/types.h/conform): Add.
16066 (test-xfail-UNIX98/stdlib.h/conform): Add.
16067 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
16068 (test-xfail-POSIX2008/fcntl.h/conform): Add.
16069 (test-xfail-POSIX2008/netdb.h/conform): Add.
16070 (test-xfail-POSIX2008/signal.h/conform): Add.
16071 (test-xfail-POSIX2008/semaphore.h/conform): Add.
16072 (test-xfail-POSIX2008/regex.h/conform): Add.
16073 (test-xfail-POSIX2008/aio.h/conform): Add.
16074 (test-xfail-POSIX2008/mqueue.h/conform): Add.
16075 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
16076 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
16077 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
16078 (test-xfail-POSIX2008/sys/types.h/conform): Add.
16079 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
16080 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
16081 (test-xfail-XOPEN2K/netdb.h/conform): Add.
16082 (test-xfail-XOPEN2K/signal.h/conform): Add.
16083 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
16084 (test-xfail-XOPEN2K/regex.h/conform): Add.
16085 (test-xfail-XOPEN2K/aio.h/conform): Add.
16086 (test-xfail-XOPEN2K/ftw.h/conform): Add.
16087 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
16088 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
16089 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
16090 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
16091 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
16092 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
16093 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
16094 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
16095 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
16096 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16097 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16098 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16099 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16100 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16101 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16102 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16103 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16104 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16105 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16106 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16107 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16108 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16109 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16110 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16111 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
16112 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16114 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16115 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
16117 2018-04-18 Joseph Myers <joseph@codesourcery.com>
16119 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16120 --enable-obsolete for powerpc-linux-gnuspe.
16122 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16124 * conform/data/sys/un.h-data: Allow sun_ prefix.
16125 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
16127 * sysdeps/mach/include/mach.h: Likewise.
16128 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16129 * sysdeps/mach/include/mach_error.h: Likewise.
16131 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16133 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16134 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16135 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16136 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16138 2018-04-16 Andreas Schwab <schwab@suse.de>
16141 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16143 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16145 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16146 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16148 2018-04-12 DJ Delorie <dj@redhat.com>
16150 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16153 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16155 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16156 (struct kernel_sigaction): Use the same definition on 31bit as is used
16159 2018-04-09 Florian Weimer <fweimer@redhat.com>
16162 * resolv/res_send.c (send_dg): Use designated initializers instead
16163 of assignment to zero-initialize other fields of struct mmsghdr.
16165 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16167 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16168 __READDIR_ALIAS): Undefine after usage.
16169 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16170 __READDIR_R_ALIAS): Likewise.
16171 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16172 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16173 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16174 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16175 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16176 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16177 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16178 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16179 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16180 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16181 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16182 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16183 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16184 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16185 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16186 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16187 * sysdeps/unix/sysv/linux/readdir.c: New file.
16188 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16189 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16190 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16192 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16194 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16196 * manual/charset.texi (Converting a Character): Fix typo.
16198 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16202 * sysdeps/arm/libm-test-ulps: Update.
16204 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16205 as base implementation.
16206 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16207 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16208 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16209 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16210 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16211 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16212 remove unrequired definitions and update comments.
16213 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16214 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16215 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16216 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16217 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16218 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16219 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16220 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16221 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16222 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16223 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16224 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16225 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16226 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16227 and RESET_SA_RESTORER hooks.
16229 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16231 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16233 2018-04-05 Florian Weimer <fweimer@redhat.com>
16235 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16236 integer overflow, memory leak on error, and indeterminate errno
16237 value. Add a null wide character to terminate the result string.
16238 * manual/charset.texi (Converting a Character): Mention embedded
16239 null bytes in the mbrtowc input string. Explain what happens in
16240 the -2 result case. Do not claim that mbrtowc is simple or
16241 obvious to use. Adjust the description of the code example. Use
16242 @code, not @var, for concrete variables.
16244 2018-04-05 Florian Weimer <fweimer@redhat.com>
16246 * manual/examples/mbstouwcs.c: New file.
16247 * manual/charset.texi (Converting a Character): Include it.
16249 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16251 * include/dirent.h (dirfd): Add hidden proto.
16252 * dirent/dirfd.c (dirfd): Add hidden def.
16253 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16254 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
16256 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16258 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16259 sin, cos and sincos to 1 ULP.
16261 2018-04-04 Maciej W. Rozycki <macro@mips.com>
16264 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16266 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16267 * elf/tst-absolute-sym.c: New file.
16268 * elf/tst-absolute-sym-lib.c: New file.
16269 * elf/tst-absolute-sym-lib.lds: New file.
16270 * elf/Makefile (tests): Add `tst-absolute-sym'.
16271 (modules-names): Add `tst-absolute-sym-lib'.
16272 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16273 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16274 ($(objpfx)tst-absolute-sym): New dependency.
16277 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16279 (SYMBOL_ADDRESS): New macro.
16280 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16281 SYMBOL_ADDRESS for symbol address calculation.
16282 * elf/dl-runtime.c (_dl_fixup): Likewise.
16283 (_dl_profile_fixup): Likewise.
16284 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16285 * elf/rtld.c (dl_main): Likewise.
16286 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16287 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16288 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16289 (elf_machine_rela): Likewise.
16290 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16291 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16292 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16293 (elf_machine_rela): Likewise.
16294 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16295 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16296 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16297 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16299 (elf_machine_reloc): Likewise.
16300 (elf_machine_got_rel): Likewise.
16301 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16302 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16303 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16305 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16307 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16308 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16310 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16312 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16313 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16315 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16317 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
16318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16320 2018-04-04 Zack Weinberg <zackw@panix.com>
16322 * sysdeps/generic/internal-signals.h: Include signal.h,
16323 sigsetops.h, and stdbool.h.
16324 (__libc_signal_block_all): Actually block all signals.
16325 (__libc_signal_block_app): Likewise.
16326 (__libc_signal_restore_set): Actually restore the signal mask.
16328 2018-04-04 Florian Weimer <fweimer@redhat.com>
16330 inet: Actually build and run tst-deadline.
16331 * inet/Makefile (tests-internal): Add tst-deadline and do not
16332 overwrite the variable.
16333 (tests-static-internal): Remove variable.
16335 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16338 * bits/uio-ext.h (RWF_APPEND): New.
16339 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
16340 * manual/llio.texi: Document RWF_APPEND.
16341 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
16342 (RWF_SUPPORTED): Add RWF_APPEND.
16344 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16347 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
16348 check for internal nptl signals.
16349 * nptl/sigaction.c (__sigaction): Likewise.
16350 * signal/sigaddset.c (sigaddset): Likewise.
16351 * signal/sigdelset.c (sigdelset): Likewise.
16352 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16353 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
16355 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
16356 to filter out internal nptl signals.
16357 * signal/tst-sigset.c (do_test): Check ech signal indidually and
16358 also check realtime signals using standard macros.
16359 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
16360 __is_internal_signal, __libc_signal_block_all,
16361 __libc_signal_block_app, __libc_signal_restore_set): New functions.
16362 * sysdeps/nptl/sigfillset.c: Remove file.
16363 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
16364 Change return to bool.
16365 (__clear_internal_signals): Remove SIGTIMER clean since it is
16366 equal to SIGCANEL on Linux.
16367 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
16368 signal set was constructed using standard functions.
16370 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16372 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
16373 ifname is too long.
16374 * hurd/hurdsig.c (interrupted_reply_port_location): Use
16375 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
16376 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
16378 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
16379 * signal/sigaddset.c: Include <sigsetopts.h>.
16380 * signal/sigdelset.c: Likewise.
16382 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16384 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
16386 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
16387 logic as sin and cos.
16389 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16391 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
16392 inputs. Return correct sign.
16393 (do_sincos): Remove small input check before do_sin, let do_sin set
16398 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16400 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
16401 (do_cos_slow): Likewise.
16402 (do_sin_slow): Likewise.
16403 (reduce_and_compute): Likewise.
16408 (sloww1): Likewise.
16409 (sloww2): Likewise.
16411 (bslow1): Likewise.
16412 (bslow2): Likewise.
16413 (cslow2): Likewise.
16415 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16417 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
16418 (do_cos): Remove corp parameter and calculations.
16419 (do_sin): Likewise.
16420 (do_sincos): Remove cor variable.
16421 (__sin): Use do_sincos for huge inputs.
16423 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16424 (reduce_and_compute_sincos): Remove unused function.
16426 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16428 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
16429 reduce_sincos, improve accuracy to 136 bits.
16430 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
16431 (__sin): Use improved reduction and simplified do_sincos calculation.
16433 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16435 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16437 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
16438 (do_sincos_2): Likewise.
16439 (__sin): Remove middle range reduction case.
16441 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
16444 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16446 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
16447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
16450 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
16452 2018-04-03 Joseph Myers <joseph@codesourcery.com>
16454 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16457 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16459 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
16460 Remove definitions.
16461 (opendir_oflags): Use O_DIRECTORY regardless.
16462 (__opendir, __opendirat): Remove need_isdir_precheck usage.
16463 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
16465 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16467 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16468 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16470 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16471 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16472 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16473 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
16474 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16475 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
16477 * htl/Makefile: Bump licence to LGPL 2.1+.
16478 * htl/alloca_cutoff.c: Likewise.
16479 * htl/cthreads-compat.c: Likewise.
16480 * htl/lockfile.c: Likewise.
16481 * htl/pt-alloc.c: Likewise.
16482 * htl/pt-cancel.c: Likewise.
16483 * htl/pt-cleanup.c: Likewise.
16484 * htl/pt-create.c: Likewise.
16485 * htl/pt-dealloc.c: Likewise.
16486 * htl/pt-detach.c: Likewise.
16487 * htl/pt-exit.c: Likewise.
16488 * htl/pt-getattr.c: Likewise.
16489 * htl/pt-initialize.c: Likewise.
16490 * htl/pt-internal.h: Likewise.
16491 * htl/pt-join.c: Likewise.
16492 * htl/pt-self.c: Likewise.
16493 * htl/pt-setcancelstate.c: Likewise.
16494 * htl/pt-setcanceltype.c: Likewise.
16495 * htl/pt-sigmask.c: Likewise.
16496 * htl/pt-spin-inlines.c: Likewise.
16497 * htl/pt-testcancel.c: Likewise.
16498 * htl/pt-yield.c: Likewise.
16499 * htl/tests/test-1.c: Likewise.
16500 * htl/tests/test-10.c: Likewise.
16501 * htl/tests/test-11.c: Likewise.
16502 * htl/tests/test-12.c: Likewise.
16503 * htl/tests/test-13.c: Likewise.
16504 * htl/tests/test-14.c: Likewise.
16505 * htl/tests/test-15.c: Likewise.
16506 * htl/tests/test-16.c: Likewise.
16507 * htl/tests/test-17.c: Likewise.
16508 * htl/tests/test-2.c: Likewise.
16509 * htl/tests/test-3.c: Likewise.
16510 * htl/tests/test-4.c: Likewise.
16511 * htl/tests/test-5.c: Likewise.
16512 * htl/tests/test-6.c: Likewise.
16513 * htl/tests/test-7.c: Likewise.
16514 * htl/tests/test-8.c: Likewise.
16515 * htl/tests/test-9.c: Likewise.
16516 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16517 * sysdeps/htl/bits/cancelation.h: Likewise.
16518 * sysdeps/htl/bits/pthread-np.h: Likewise.
16519 * sysdeps/htl/bits/pthread.h: Likewise.
16520 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16521 * sysdeps/htl/bits/semaphore.h: Likewise.
16522 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16523 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16524 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16525 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16526 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16527 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16528 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16529 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16530 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16531 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16532 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16533 * sysdeps/htl/old_pt-atfork.c: Likewise.
16534 * sysdeps/htl/pt-atfork.c: Likewise.
16535 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16536 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16537 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16538 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16539 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16540 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16541 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16542 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16543 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16544 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16545 * sysdeps/htl/pt-attr-init.c: Likewise.
16546 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16547 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16548 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16549 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16550 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16551 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16552 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16553 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16554 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16555 * sysdeps/htl/pt-attr.c: Likewise.
16556 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16557 * sysdeps/htl/pt-barrier-init.c: Likewise.
16558 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16559 * sysdeps/htl/pt-barrier.c: Likewise.
16560 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16561 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16562 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16563 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16564 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16565 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16566 * sysdeps/htl/pt-cond-init.c: Likewise.
16567 * sysdeps/htl/pt-cond-signal.c: Likewise.
16568 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16569 * sysdeps/htl/pt-cond-wait.c: Likewise.
16570 * sysdeps/htl/pt-cond.c: Likewise.
16571 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16572 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16573 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16574 * sysdeps/htl/pt-condattr-init.c: Likewise.
16575 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16576 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16577 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16578 * sysdeps/htl/pt-equal.c: Likewise.
16579 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16580 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16581 * sysdeps/htl/pt-getschedparam.c: Likewise.
16582 * sysdeps/htl/pt-getspecific.c: Likewise.
16583 * sysdeps/htl/pt-init-specific.c: Likewise.
16584 * sysdeps/htl/pt-key-create.c: Likewise.
16585 * sysdeps/htl/pt-key-delete.c: Likewise.
16586 * sysdeps/htl/pt-key.h: Likewise.
16587 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16588 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16589 * sysdeps/htl/pt-mutex-init.c: Likewise.
16590 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16591 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16592 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16593 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16594 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16595 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16596 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16597 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16598 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16599 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16600 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16601 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16602 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16603 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16604 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16605 * sysdeps/htl/pt-mutexattr.c: Likewise.
16606 * sysdeps/htl/pt-once.c: Likewise.
16607 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16608 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16609 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16610 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16611 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16612 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16613 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16614 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16615 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16616 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16617 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16618 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16619 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16620 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16621 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16622 * sysdeps/htl/pt-setschedparam.c: Likewise.
16623 * sysdeps/htl/pt-setschedprio.c: Likewise.
16624 * sysdeps/htl/pt-setspecific.c: Likewise.
16625 * sysdeps/htl/pt-spin.c: Likewise.
16626 * sysdeps/htl/pt-startup.c: Likewise.
16627 * sysdeps/htl/pthread.h: Likewise.
16628 * sysdeps/htl/sem-close.c: Likewise.
16629 * sysdeps/htl/sem-destroy.c: Likewise.
16630 * sysdeps/htl/sem-getvalue.c: Likewise.
16631 * sysdeps/htl/sem-init.c: Likewise.
16632 * sysdeps/htl/sem-open.c: Likewise.
16633 * sysdeps/htl/sem-post.c: Likewise.
16634 * sysdeps/htl/sem-timedwait.c: Likewise.
16635 * sysdeps/htl/sem-trywait.c: Likewise.
16636 * sysdeps/htl/sem-unlink.c: Likewise.
16637 * sysdeps/htl/sem-wait.c: Likewise.
16638 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16639 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16640 * sysdeps/mach/htl/pt-block.c: Likewise.
16641 * sysdeps/mach/htl/pt-spin.c: Likewise.
16642 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16643 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16644 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16645 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16646 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16647 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16648 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16649 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16650 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16651 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16652 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16653 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16654 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16655 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16656 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16657 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16658 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16659 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16660 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16661 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16662 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16663 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16664 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16665 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16666 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16667 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16668 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16669 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16670 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16671 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16672 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16673 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16674 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16675 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16676 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16677 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16678 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16679 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16680 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16681 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16682 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16683 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16684 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16686 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16687 * README: Remove the mention of out-of-tree patches needed for
16690 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16691 (UTIME_NOW, UTIME_OMIT): Define macros.
16693 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16694 instead of pthread_detach.
16695 (__cthread_fork): Call __pthread_create instead of pthread_create.
16696 (__cthread_keycreate): Call __pthread_key_create instead of
16697 pthread_key_create.
16698 (__cthread_getspecific): Call __pthread_getspecific instead of
16699 pthread_getspecific.
16700 (__cthread_setspecific): Call __pthread_setspecific instead of
16701 pthread_setspecific.
16702 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16703 __pthread_mutex_unlock instead of pthread_mutex_lock and
16704 pthread_mutex_unlock.
16705 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16706 ___pthread_get_cleanup_stack.
16707 (__pthread_get_cleanup_stack): New strong alias.
16708 * htl/pt-create.c: Include <pthreadP.h>.
16709 (entry_point): Call __pthread_exit instead of pthread_exit.
16710 (pthread_create): Rename to __pthread_create.
16711 (pthread_create): New strong alias.
16712 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16713 (pthread_detach): New strong alias.
16714 (__pthread_detach): Call __pthread_cond_broadcast instead of
16715 pthread_cond_broadcast.
16716 * htl/pt-exit.c: Include <pthreadP.h>.
16717 (__pthread_exit): Call __pthread_setcancelstate and
16718 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16719 __pthread_get_cleanup_stack.
16720 * htl/pt-testcancel.c: Include <pthreadP.h>.
16721 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16722 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16723 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16724 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16725 pthread_attr_getstacksize.
16726 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16727 Rename to __pthread_attr_getstackaddr.
16728 (pthread_attr_getstackaddr): New strong alias.
16729 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16730 Rename to __pthread_attr_getstacksize.
16731 (pthread_attr_getstacksize): New strong alias.
16732 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16733 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16734 (pthread_attr_setstack): New strong alias.
16735 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16736 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16737 pthread_attr_getstacksize, pthread_attr_setstacksize and
16738 pthread_attr_setstackaddr.
16739 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16740 Rename to __pthread_attr_setstackaddr.
16741 (pthread_attr_setstackaddr): New strong alias.
16742 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16743 Rename to __pthread_attr_setstacksize.
16744 (pthread_attr_setstacksize): New strong alias.
16745 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16746 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16748 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16749 (__pthread_key_create): New hidden def.
16750 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16751 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16752 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16753 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16754 __pthread_setspecific, __pthread_setcancelstate,
16755 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16756 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16757 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16759 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16760 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16761 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16762 (pthread_attr_setstackaddr): New strong alias.
16763 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16764 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16765 (pthread_attr_setstacksize): New strong alias.
16766 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16767 (call_exit): Call __pthread_exit instead of pthread_exit.
16768 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16769 (_pthread_mutex_init): New hidden definition.
16770 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16771 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16772 instead of pthread_attr_init and pthread_attr_setstack.
16774 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16775 __vm_deallocate instead of vm_allocate and vm_deallocate.
16776 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16778 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16780 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16782 * hurd/siginfo.c: Include <libioP.h>.
16783 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16784 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16786 * mach/devstream.c: Include <libioP.h>.
16787 (dealloc_ref): Call __mach_port_deallocate instead of
16788 mach_port_deallocate.
16789 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16790 Call __mach_port_deallocate instead of mach_port_deallocate.
16791 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16793 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16795 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16796 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16797 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16799 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16801 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16802 instead of sysconf.
16803 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16804 __clock_gettime instead of clock_gettime.
16805 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16806 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16807 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16808 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16809 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16811 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16812 __clock_gettime and __nanosleep instead of clock_gettime and
16814 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16815 __hurd_catch_signal.
16816 (hurd_catch_signal): New strong alias.
16817 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16818 __hurd_catch_signal instead of hurd_catch_signal.
16819 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16820 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16821 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16822 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16823 (_hurd_thread_sigstate): Add hidden def.
16824 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16826 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16827 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16828 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16829 __hurd_file_name_path_lookup.
16830 (hurd_file_name_path_lookup): New strong alias.
16831 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16832 hurd_file_name_path_lookup.
16833 * mach/errstring.c (mach_error_type): Add hidden def.
16834 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16835 * mach/mutex-init.c (__mutex_init): Add hidden def.
16836 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16837 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16838 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16839 * sysdeps/mach/hurd/getcwd.c
16840 (_hurd_canonicalize_directory_name_internal): Rename to
16841 __hurd_canonicalize_directory_name_internal.
16842 (_hurd_canonicalize_directory_name_internal): New strong alias.
16843 (__canonicalize_directory_name_internal, __getcwd): Call
16844 __hurd_canonicalize_directory_name_internal instead of
16845 _hurd_canonicalize_directory_name_internal.
16846 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16847 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16849 * sysdeps/hurd/include/hurd.h: New file.
16850 * sysdeps/hurd/include/hurd/fd.h: New file.
16851 * sysdeps/hurd/include/hurd/signal.h: New file.
16852 * sysdeps/mach/include/lock-intern.h: New file.
16853 * sysdeps/mach/include/mach.h: New file.
16854 * sysdeps/mach/include/mach/mig_support.h: New file.
16855 * sysdeps/mach/include/mach_error.h: New file.
16856 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16858 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16859 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16860 _HEADER_H_HIDDEN_DEF macro.
16861 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16862 _hurd_fd_error_signal): Add hidden prototype.
16863 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16865 * libio/iolibio.h (_IO_puts): New hidden prototype.
16866 * libio/ioputs.c (_IO_puts): New hidden def.
16867 * sysdeps/mach/hurd/localplt.data: New file.
16869 2018-04-02 Agustina Arzille <avarzille@riseup.net>
16870 Amos Jeffries <squid3@treenet.co.nz>
16871 David Michael <fedora.dm0@gmail.com>
16872 Marco Gerards <marco@gnu.org>
16873 Marcus Brinkmann <marcus@gnu.org>
16874 Neal H. Walfield <neal@gnu.org>
16875 Pino Toscano <toscano.pino@tiscali.it>
16876 Richard Braun <rbraun@sceen.net>
16877 Roland McGrath <roland@gnu.org>
16878 Samuel Thibault <samuel.thibault@ens-lyon.org>
16879 Thomas DiModica <ricinwich@yahoo.com>
16880 Thomas Schwinge <tschwinge@gnu.org>
16882 * htl: New directory.
16883 * sysdeps/htl: New directory.
16884 * sysdeps/hurd/htl: New directory.
16885 * sysdeps/i386/htl: New directory.
16886 * sysdeps/mach/htl: New directory.
16887 * sysdeps/mach/hurd/htl: New directory.
16888 * sysdeps/mach/hurd/i386/htl: New directory.
16889 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16890 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16891 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16893 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16895 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16896 signals in thread created for runing timers.
16898 2018-04-01 Florian Weimer <fweimer@redhat.com>
16900 * support/support_format_addrinfo.c (support_format_addrinfo):
16901 Include unknown error number in formatted result.
16903 2018-03-29 Florian Weimer <fweimer@redhat.com>
16905 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16908 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16910 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16911 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16912 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16913 (__ASSUME_CLONE_BACKWARDS): Define.
16915 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16918 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16919 early when linux sentinel value is set.
16921 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16923 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16925 2018-03-27 Andreas Schwab <schwab@suse.de>
16928 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16929 allocation of private copy of nsaddr_list fails.
16931 2018-03-26 Joseph Myers <joseph@codesourcery.com>
16934 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16935 * sysdeps/unix/sysv/linux/umount.c: ... here.
16936 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16937 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16938 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16939 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16941 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16942 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16944 2018-03-26 Andreas Schwab <schwab@suse.de>
16946 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16947 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16948 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16949 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16950 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16951 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16952 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16953 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16954 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16955 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16956 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16957 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16958 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16959 (R_RISCV_NUM): Define.
16961 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16963 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16964 TLS declaration of errno.
16965 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16967 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16968 (ARCH_SETUP_TLS): Likewise.
16969 * sysdeps/mach/hurd/libc-start.h: New file copied from
16970 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
16971 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16972 instead of __libc_setup_tls.
16973 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
16974 __libc_setup_tls before initializing libpthread and running _hurd_init
16975 which starts the signal thread.
16976 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16978 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16980 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16983 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16984 after it is defined.
16986 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16987 Max Horn <max@quendi.de>
16991 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16993 * string/test-memmove.c (do_test2): New testcase.
16995 2018-03-22 Joseph Myers <joseph@codesourcery.com>
16997 * sysdeps/generic/frame.h: Remove file.
16998 * sysdeps/arm/frame.h: Likewise.
16999 * sysdeps/hppa/frame.h: Likewise.
17000 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17002 (GET_FRAME): Likewise.
17003 (GET_STACK): Likewise.
17004 (CALL_SIGHANDLER): Likewise.
17005 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17007 (GET_FRAME): Likewise.
17008 (GET_STACK): Likewise.
17009 (CALL_SIGHANDLER): Likewise.
17010 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17011 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17012 (GET_FRAME): Likewise.
17013 (GET_STACK): Likewise.
17014 (CALL_SIGHANDLER): Likewise.
17015 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17016 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17017 (GET_FRAME): Likewise.
17018 (GET_STACK): Likewise.
17019 (ADVANCE_STACK_FRAME): Likewise.
17020 (CALL_SIGHANDLER): Likewise.
17021 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17022 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17023 (GET_FRAME): Likewise.
17024 (GET_STACK): Likewise.
17025 (CALL_SIGHANDLER): Likewise.
17026 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
17027 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17028 (GET_FRAME): Likewise.
17029 (GET_STACK): Likewise.
17030 (CALL_SIGHANDLER): Likewise.
17031 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
17032 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17033 (GET_FRAME): Likewise.
17034 (GET_STACK): Likewise.
17035 (CALL_SIGHANDLER): Likewise.
17036 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
17037 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17038 (GET_FRAME): Likewise.
17039 (GET_STACK): Likewise.
17040 (CALL_SIGHANDLER): Likewise.
17041 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
17042 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17043 (GET_FRAME): Likewise.
17044 (GET_STACK): Likewise.
17045 (CALL_SIGHANDLER): Likewise.
17046 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
17047 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17048 (GET_FRAME): Likewise.
17049 (GET_STACK): Likewise.
17050 (CALL_SIGHANDLER): Likewise.
17051 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
17052 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17053 (GET_FRAME): Likewise.
17054 (GET_STACK): Likewise.
17055 (CALL_SIGHANDLER): Likewise.
17056 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
17057 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17058 (GET_FRAME): Likewise.
17059 (GET_STACK): Likewise.
17060 (CALL_SIGHANDLER): Likewise.
17061 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
17062 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17063 (GET_FRAME): Likewise.
17064 (GET_STACK): Likewise.
17065 (CALL_SIGHANDLER): Likewise.
17066 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
17067 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17068 (FIRST_FRAME_POINTER): Likewise.
17069 (ADVANCE_STACK_FRAME): Likewise.
17070 (GET_STACK): Likewise.
17071 (GET_FRAME): Likewise.
17072 (CALL_SIGHANDLER): Likewise.
17073 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
17074 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17075 (ADVANCE_STACK_FRAME): Likewise.
17076 (GET_STACK): Likewise.
17077 (GET_FRAME): Likewise.
17078 (CALL_SIGHANDLER): Likewise.
17079 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
17080 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17081 (GET_FRAME): Likewise.
17082 (GET_STACK): Likewise.
17083 (CALL_SIGHANDLER): Likewise.
17084 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
17085 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17086 (GET_FRAME): Likewise.
17087 (GET_STACK): Likewise.
17088 (CALL_SIGHANDLER): Likewise.
17090 2018-03-21 Joseph Myers <joseph@codesourcery.com>
17092 * sysdeps/x86_64/backtrace.c: Move to ....
17093 * debug/backtrace.c: ... here.
17094 * sysdeps/aarch64/backtrace.c: Remove file.
17095 * sysdeps/alpha/backtrace.c: Likewise.
17096 * sysdeps/hppa/backtrace.c: Likewise.
17097 * sysdeps/ia64/backtrace.c: Likewise.
17098 * sysdeps/mips/backtrace.c: Likewise.
17099 * sysdeps/nios2/backtrace.c: Likewise.
17100 * sysdeps/riscv/backtrace.c: Likewise.
17101 * sysdeps/sh/backtrace.c: Likewise.
17102 * sysdeps/tile/backtrace.c: Likewise.
17104 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17107 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17110 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17113 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17114 possibly overflowing computations.
17116 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17118 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17119 values from Linux-specific section now that it is in the GNU section.
17120 * sysdeps/gnu/errlist.c: Regenerate.
17122 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17124 * math/Makefile (libm-narrow-fns): Add sub.
17125 (libm-test-funcs-narrow): Likewise.
17126 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17127 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17128 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17129 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17130 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17131 (NARROW_SUB_TRIVIAL): Likewise.
17132 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17134 (__dsubl): Likewise.
17135 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17137 (CFLAGS-nldbl-dsub.c): New variable.
17138 (CFLAGS-nldbl-fsub.c): Likewise.
17139 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17141 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17143 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17144 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17145 * math/auto-libm-test-in: Add tests of sub.
17146 * math/auto-libm-test-out-narrow-sub: New generated file.
17147 * math/libm-test-narrow-sub.inc: New file.
17148 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17149 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17150 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17151 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17152 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17153 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17154 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17155 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17156 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17157 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17158 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17159 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17160 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17161 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17162 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17163 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17164 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17165 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17167 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17168 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17169 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17170 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17171 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17172 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17173 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17174 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17175 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17176 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17177 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17178 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17179 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17184 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17185 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17186 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17187 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17188 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17189 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17190 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17191 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17192 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17193 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17195 2018-03-19 Joseph Myers <joseph@codesourcery.com>
17198 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17200 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17202 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17204 2018-03-18 Richard Braun <rbraun@sceen.net>
17206 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17209 2018-03-18 Agustina Arzille <avarzille@riseup.net>
17211 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17212 (__libc_cleanup_fct): Define function.
17213 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17214 __libc_cleanup_end): Rewrite implementation using
17215 __attribute__ ((__cleanup__)).
17216 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
17217 * hurd/Makefile (routines): Add hurdlock.
17218 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17220 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17221 * hurd/hurdpid.c: Include <lowlevellock.h>
17222 (_S_msg_proc_newids): Use lll_wait to synchronize.
17223 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17224 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17225 * mach/Makefile (lock-headers): Remove machine-lock.h.
17226 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17228 (__spin_lock_t): New type.
17229 (__SPIN_LOCK_INITIALIZER): New macro.
17230 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17231 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17232 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17233 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17234 (__mutex_init): Initialize with lll.
17235 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17236 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17238 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17239 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17240 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17241 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17242 (__setpgid): Use lll for synchronization.
17243 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17244 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17245 instead of <cthreads.h>.
17246 (_IO_lock_inexpensive): New macro
17247 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17248 (__libc_lock_self0): New declaration.
17249 (__libc_lock_owner_self): New macro.
17250 (__libc_key_t): Remove type.
17251 (_LIBC_LOCK_INITIALIZER): New macro.
17252 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17253 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17254 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17255 __libc_lock_define_initialized_recursive,
17256 __rtld_lock_define_initialized_recursive,
17257 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17258 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17259 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17260 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17261 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17262 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17263 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17265 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17266 * hurd/hurdlock.c: New file.
17267 * hurd/hurdlock.h: New file.
17268 * mach/lowlevellock.h: New file
17270 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17272 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
17273 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17274 when opening a symlink with O_NOFOLLOW.
17275 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17276 path when flags contains O_NOFOLLOW.
17277 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17278 if flags contains O_DIRECTORY and the result is a directory.
17279 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17280 oneself when the pointer given in D is nul (as set by ext2fs).
17281 * sysdeps/mach/hurd/mlockall.c: New file.
17282 * sysdeps/mach/hurd/munlockall.c: New file.
17284 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17286 * hurd/hurdsig.c: Include <pthread.h>.
17287 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17288 get the signal thread stack layout.
17289 * hurd/Makefile (headers): Remove threadvar.h.
17290 (inline-headers): Remove threadvar.h.
17291 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17292 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17293 __hurd_threadvar_max, __hurd_errno_location.
17294 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17295 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17296 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17297 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17298 unless TLS is not initialized yet, in which case we do not need a
17299 critical section yet anyway.
17300 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17302 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17304 (__hurd_threadvar_index): Remove enum.
17305 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17306 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17308 (__hurd_reply_port0): New variable declaration.
17309 (__hurd_local_reply_port): New macro.
17310 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17311 (interrupted_reply_port_location): Add thread_t parameter. Use it
17312 with THREAD_TCB to access thread-local variables.
17313 (_hurdsig_abort_rpcs): Pass ss->thread to
17314 interrupted_reply_port_location.
17315 (_hurd_internal_post_signal): Likewise.
17316 (_hurdsig_init): Use presence of cthread_fork instead of
17317 __hurd_threadvar_stack_mask to start signal thread by hand.
17318 Remove signal thread threadvar initialization.
17319 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
17320 * hurd/sigunwind.c: Include <hurd/threadvar.h>
17321 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
17323 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
17325 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
17326 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17327 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17328 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17329 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17330 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17331 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17333 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17334 <hurd/threadvar.h>.
17335 [IS_IN(rtld)] (rtld_errno): New variable.
17336 [IS_IN(rtld)] (__errno_location): New weak function.
17337 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17338 * sysdeps/mach/hurd/errno.c: Remove file.
17339 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
17340 (__fork): Remove THREADVAR_SPACE macro and its use.
17341 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
17343 (init): Do not initialize threadvar.
17344 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
17346 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
17347 __hurd_local_reply_port instead of threadvar.
17348 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
17349 _hurd_sigstate fields.
17350 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
17351 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
17352 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
17353 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
17354 instead of threadvar.
17355 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
17356 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
17357 (use_threadvar, global_reply_port): Remove variables.
17358 (__hurd_reply_port0): New variable.
17359 (__mig_get_reply_port): Use __hurd_local_reply_port and
17360 __hurd_reply_port0 instead of threadvar.
17361 (__mig_dealloc_reply_port): Likewise.
17362 (__mig_init): Do not initialize threadvar.
17363 * sysdeps/mach/hurd/profil.c: Fix comment.
17364 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
17365 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
17366 cthread_keycreate, cthread_getspecific, cthread_setspecific to
17367 __cthread_fork, __cthread_detach, __pthread_getattr_np,
17368 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
17369 __cthread_setspecific.
17370 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
17371 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
17372 __cthread_t instead of cthread_fork, cthread_detach,
17373 pthread_getattr_np, pthread_attr_getstack.
17374 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
17375 __cthread_keycreate.
17376 (cthread_getspecific): Rename to __cthread_getspecific.
17377 (cthread_setspecific): Rename to __cthread_setspecific.
17378 (__libc_getspecific): Use __cthread_getspecific instead of
17379 cthread_getspecific.
17380 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
17381 __cthread_keycreate instead of cthread_keycreate.
17382 (__libc_setspecific): Use __cthread_setspecific instead of
17383 cthread_setspecific.
17384 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
17386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
17387 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
17388 testing whether it is defined.
17390 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17392 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
17394 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
17395 * sysdeps/mach/i386/thread_state.h
17396 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
17398 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
17400 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
17402 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
17403 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
17405 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
17407 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
17408 descriptor instead of creating a new one.
17409 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
17411 * mach/setup-thread.c: Include <ldsodefs.h>.
17412 (__mach_setup_thread): Call _dl_allocate_tls, pass
17413 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
17414 MACHINE_THREAD_STATE_FLAVOR, before getting
17415 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
17416 MACHINE_THREAD_STATE_FLAVOR with the result.
17417 * hurd/hurdfault.c (_hurdsig_fault_init): Call
17418 MACHINE_THREAD_STATE_FIX_NEW.
17419 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
17420 too. Add original thread parameter.
17422 2018-03-16 Joseph Myers <joseph@codesourcery.com>
17424 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
17425 Remove inline function.
17427 * sysdeps/i386/fpu/libm-test-ulps: Update.
17428 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17430 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
17432 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
17435 2018-03-15 Joseph Myers <joseph@codesourcery.com>
17437 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
17438 (__sincos_code): Remove define and undefine.
17439 [__FAST_MATH__] (__sincos): Remove inline function.
17440 [__FAST_MATH__] (__sincosf): Remove inline function.
17441 [__FAST_MATH__] (__sincosl): Remove inline function.
17442 (__atan2l): Remove inline functions.
17443 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
17444 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
17446 (floor): Remove inline function.
17448 [__FAST_MATH__] (__ldexp_code): Remove macro.
17449 [__FAST_MATH__] (ldexp): Remove inline function.
17450 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
17451 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
17452 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
17453 [__USE_ISOC99] (__lrint_code): Remove macro.
17454 [__USE_ISOC99] (__llrint_code): Likewise.
17455 [__USE_ISOC99] (lrintf): Remove inline function.
17456 [__USE_ISOC99] (lrint): Likewise.
17457 [__USE_ISOC99] (lrintl): Likewise.
17458 [__USE_ISOC99] (llrint): Likewise.
17459 [__USE_ISOC99] (llrintf): Likewise.
17460 [__USE_ISOC99] (llrintl): Likewise.
17462 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17464 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
17465 (__ieee754_sqrtf): Remove.
17466 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
17467 (__ieee754_sqrtf): Remove.
17468 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17469 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17470 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17471 (__ieee754_sqrtf): Remove.
17472 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17473 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17476 (__ieee754_sqrt): Remove.
17477 (__ieee754_sqrtf): Remove.
17478 (__ieee754_sqrtl): Remove.
17479 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17480 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17481 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17482 (__ieee754_sqrtf): Remove.
17483 (__ieee754_sqrtl): Remove.
17485 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17487 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17488 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17489 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17490 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17491 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17492 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17493 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17494 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17496 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17497 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17498 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17499 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17500 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17501 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17502 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17503 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17504 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17505 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17506 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17507 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17508 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17509 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17510 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17511 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17512 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17513 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17514 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17515 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17516 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17517 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17518 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17519 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17520 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17521 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17522 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17523 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17524 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17525 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17526 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17527 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17528 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17529 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17530 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17531 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17532 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17533 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17534 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17535 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17537 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17539 * include/math.h (sqrt): Declare with asm redirect.
17542 (sqrtf128): Likewise.
17543 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17544 nonlib and libnldbl with -fmath-errno.
17545 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17546 * math/w_sqrt_template.c: Likewise.
17547 * math/w_sqrtf_compat.c: Likewise.
17548 * math/w_sqrtl_compat.c: Likewise.
17549 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17550 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17551 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17554 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17556 * benchtests/Makefile: Define _ISOMAC.
17557 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17558 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17559 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17560 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17561 * benchtests/bench-timing.h: Define attribute_hidden.
17563 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17565 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17568 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17571 * localedata/locales/cs_CZ (mon): Rename to...
17573 (mon): Import from CLDR (genitive case).
17575 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17578 * localedata/locales/el_CY (abmon): Rename to...
17579 (ab_alt_mon): This.
17580 (abmon): Import from CLDR (abbreviated genitive case).
17581 * localedata/locales/el_GR (abmon): Rename to...
17582 (ab_alt_mon): This.
17583 (abmon): Import from CLDR (abbreviated genitive case).
17585 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17588 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17590 2018-03-15 Robert Buj <robert.buj@gmail.com>
17593 * localedata/locales/ca_ES (abmon): Rename to...
17594 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17595 (mon): Rename to...
17597 (abmon): Import from CLDR (genitive case, month names preceded by
17600 (abday): Synchronize with CLDR.
17601 (d_t_fmt): Likewise.
17605 (LC_TIME): Improve indentation.
17606 (LC_TELEPHONE): Likewise.
17607 (LC_NAME): Likewise.
17608 (LC_ADDRESS): Likewise.
17610 2018-03-14 Joseph Myers <joseph@codesourcery.com>
17612 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17613 (lrintf): Remove definitions used only with old GCC.
17614 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17615 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17616 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17617 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17618 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17619 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17620 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17621 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17622 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17623 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17624 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17625 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17626 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17627 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17628 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17629 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17630 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17631 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17632 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17633 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17634 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17635 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17636 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17637 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17638 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17639 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17640 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17641 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17643 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17645 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17646 instruction to unbreak builds with binutils 2.26 and older.
17648 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17650 * sysdeps/aarch64/strncmp.S (count): New macro.
17651 (strncmp): Store misaligned length in SRC1 in COUNT.
17652 (mutual_align): Adjust.
17653 (misaligned8): Load dword at a time when it is safe.
17655 2018-03-12 Zack Weinberg <zackw@panix.com>
17659 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17660 if the _IO_EOF_SEEN bit is already set; update commentary.
17661 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17662 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17664 * support/support_openpty.c, support/tty.h: New files.
17665 * support/Makefile (libsupport-routines): Add support_openpty.
17667 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17669 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17670 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17672 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17674 * po/pt_BR.po: Update translations.
17676 2018-03-12 David Michael <fedora.dm0@gmail.com>
17678 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17679 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17680 get a port to the startup server.
17682 2018-03-11 Zack Weinberg <zackw@panix.com>
17684 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17685 before nldbl-compat.h.
17687 2018-03-10 Zack Weinberg <zackw@panix.com>
17689 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17690 math.h or math_private.h.
17692 * sysdeps/alpha/fpu/s_isnan.c
17693 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17694 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17695 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17696 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17697 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17698 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17699 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17700 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17701 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17704 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17705 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17706 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17707 Include math_private.h.
17709 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17710 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17711 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17712 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17713 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17714 * sysdeps/powerpc/power7/fpu/s_logb.c:
17715 Include math.h and math_private.h.
17717 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17718 uses of $at in .set noat / .set at.
17720 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17722 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17723 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17724 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17725 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17728 2018-03-09 Florian Weimer <fweimer@redhat.com>
17730 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17733 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17736 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17737 Add nop before __startcontext, add explaining comments.
17739 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17742 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17744 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17745 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17746 Do not build hardware transactional code for __SPE__.
17747 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17748 (__lll_trylock_elision): Likewise.
17749 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17750 (__lll_unlock_elision): Likewise.
17752 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
17753 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17754 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17755 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17756 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17757 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17758 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17759 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17760 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17761 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17762 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17763 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17764 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17765 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17766 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17767 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17768 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17769 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17770 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17771 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17772 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17773 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17774 (__ASSUME_CLONE_BACKWARDS): Define.
17775 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17776 __clone2 if __NR_clone2 is defined.
17777 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17778 (__ASSUME_CLONE_BACKWARDS): Likewise.
17779 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17780 (__ASSUME_CLONE_BACKWARDS): Likewise.
17781 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17782 (__ASSUME_CLONE2): Likewise.
17783 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17784 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17785 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17786 variants and the define architecture can use.
17787 (__ASSUME_CLONE_DEFAULT): Define as default.
17788 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17789 (__ASSUME_CLONE_BACKWARDS): Likewise.
17790 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17791 (__ASSUME_CLONE_BACKWARDS): Likewise.
17792 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17793 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17795 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17797 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17799 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17802 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17803 (do_test_limit): Likewise.
17805 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17806 for every implementation.
17807 (do_test): Likewise.
17809 * benchtests/bench-strncmp.c: Convert output to json.
17811 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17813 * io/futimens.c: Add missing start-of-file descriptive comment.
17814 * io/utime.c: Likewise.
17815 * misc/futimesat.c: Likewise.
17816 * misc/utimes.c: Likewise.
17817 * sysdeps/mach/hurd/futimesat.c: Likewise.
17818 * sysdeps/mach/hurd/utimes.c: Likewise.
17819 * sysdeps/posix/utime.c: Likewise.
17820 * sysdeps/posix/utimes.c: Likewise.
17821 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17822 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17823 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17824 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17826 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17828 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17830 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17831 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17832 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17833 (__futimens): Move implementation to...
17834 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17835 utime_tvalue_from_tspec): ... new helper functions.
17836 (hurd_futimens): New function.
17837 * sysdeps/mach/hurd/futimesat.c: New file.
17838 * sysdeps/mach/hurd/utimensat.c: New file.
17840 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17842 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17843 UTIME_OMIT): New macros.
17844 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17845 before reverting to converting time spec to time value and calling
17847 * sysdeps/mach/hurd/utime-helper.c: New file.
17848 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17849 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17850 reverting to utime_tvalue_from_tval and __file_utimes.
17851 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17852 (__lutimes): Just call hurd_futimens after lookup.
17853 * sysdeps/mach/hurd/utimes.c: Likewise.
17855 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17857 * bits/sigaction.h: Add include guard.
17858 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17859 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17860 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17861 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17862 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17863 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17864 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17865 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17866 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17868 2018-03-05 Joseph Myers <joseph@codesourcery.com>
17870 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17871 -Wmaybe-uninitialized for -Os.
17872 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17875 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17877 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17878 __INO_T_MATCHES_INO64_T is defined.
17879 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17880 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17882 * dirent/alphasort64.c: Likewise.
17883 * dirent/scandir.c: Likewise.
17884 * dirent/scandir64-tail.c: Likewise.
17885 * dirent/scandir64.c: Likewise.
17886 * dirent/scandirat.c: Likewise.
17887 * dirent/scandirat64.c: Likewise.
17888 * dirent/versionsort.c: Likewise.
17889 * dirent/versionsort64.c: Likewise.
17890 * include/dirent.h: Likewise.
17892 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17893 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17894 for socketpair endpoint.
17895 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17896 WRITE_BUFFER_SIZE as buffer size for sending socket.
17897 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17898 issue on system where send is implemented with sendto syscall.
17899 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17900 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17901 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17902 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17905 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17906 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17907 sa_restorer for vDSO case.
17908 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17910 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17912 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
17913 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17914 * hurd/hurd/ioctl.h: Include <mach/port.h>
17915 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
17916 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17917 <mach/mach_types.h> and <mach/message.h>.
17918 (headers): Move mach/param.h to bits/mach/param.h.
17919 * sysdeps/mach/i386/mach/param.h: Move file to ...
17920 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17921 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17923 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17924 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17925 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
17926 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17927 trivial, for C++ conformity.
17928 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
17929 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17930 Process mig output through $(migheadersed).
17931 * hurd/Makefile (migheadersed): Define variable.
17932 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17933 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17935 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17936 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17937 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17938 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17939 <bits/types/sigset_t.h>.
17940 [!defined __USE_GNU]: Do not #error out.
17941 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17942 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17943 Include <stddef.h> and <bits/types/sigset_t.h>
17944 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17945 instead of sighandler_t.
17946 * stdlib/errno.h (error_t): Move definition to...
17947 * bits/types/error_t.h: ... new header.
17948 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17949 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17950 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17951 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17952 * hurd/hurd.h: Include <bits/types/error_t.h>
17953 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17954 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17955 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17956 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17957 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17958 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
17959 * sysdeps/mach/hurd/futimens.c: New file.
17961 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17964 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17965 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17966 * nscd/gai.c (__nss_hosts_database): Readd definition.
17967 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17968 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17969 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17971 2018-03-02 Joseph Myers <joseph@codesourcery.com>
17973 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17974 (ifunc_one): Likewise.
17976 2018-03-01 DJ Delorie <dj@delorie.com>
17979 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17982 2018-03-01 Maciej W. Rozycki <macro@mips.com>
17984 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17985 `match_pid' parameter.
17986 (td_ta_thr_iter): Update accordingly.
17988 2018-03-01 Florian Weimer <fweimer@redhat.com>
17990 * nptl/Makefile (install-lib-ldscripts): Remove.
17991 (install): Remove rule.
17992 ($(inst_libdir)/libpthread.so): Likewise.
17994 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17997 * localedata/locales/an_ES: update month and day names,
17998 improve d_fmt, improve postal_fmt, add country_post,
18001 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18003 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18004 Ukrainian instead of Bulgarian.
18006 2018-03-01 Florian Weimer <fweimer@redhat.com>
18008 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18011 2018-03-01 Florian Weimer <fweimer@redhat.com>
18013 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18014 * nptl/Makefile (routines): Add pthread_atfork.
18015 (static-only-routines): Set to pthread_atfork.
18016 (libpthread-routines): Remove pthread_atfork.
18017 (libpthread-static-only-routines): Remove.
18018 (install): Update comment.
18019 (libpthread.so): Do not install libpthread_nonshared.a.
18020 (tests): Do not link with libpthread_nonshared.a.
18021 (generated): Remove libpthread_nonshared.a.
18022 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
18023 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
18024 with libpthread_nonshared.a.
18026 2018-02-28 Joseph Myers <joseph@codesourcery.com>
18029 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
18030 (libc_feholdexcept_setroundf128): New macro.
18031 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
18034 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
18036 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
18037 * include/inttypes.h: New file.
18039 2018-02-27 Joseph Myers <joseph@codesourcery.com>
18041 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
18042 -Os in two more places.
18044 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18046 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
18047 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
18048 be sorted correctly at the moment because of a bug.
18050 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18052 [BZ #22550] - es_ES locale (and other es_* locales): collation should
18053 treat ñ as a primary different character, sync the collation
18054 for Spanish with CLDR.
18055 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
18056 * localedata/Makefile: Add new test files.
18057 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
18058 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
18060 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
18061 * localedata/am_ET.UTF-8.in: New test file.
18062 * localedata/az_AZ.UTF-8.in: Likewise.
18063 * localedata/be_BY.UTF-8.in: Likewise.
18064 * localedata/ber_DZ.UTF-8.in: Likewise.
18065 * localedata/ber_MA.UTF-8.in: Likewise.
18066 * localedata/bg_BG.UTF-8.in: Likewise.
18067 * localedata/br_FR.UTF-8.in: Likewise.
18068 * localedata/cmn_TW.UTF-8.in: Likewise.
18069 * localedata/crh_UA.UTF-8.in: Likewise.
18070 * localedata/csb_PL.UTF-8.in: Likewise.
18071 * localedata/cv_RU.UTF-8.in: Likewise.
18072 * localedata/cy_GB.UTF-8.in: Likewise.
18073 * localedata/dz_BT.UTF-8.in: Likewise.
18074 * localedata/eo.UTF-8.in: Likewise.
18075 * localedata/es_ES.UTF-8.in: Likewise.
18076 * localedata/fa_IR.UTF-8.in: Likewise.
18077 * localedata/fi_FI.UTF-8.in: Likewise.
18078 * localedata/fil_PH.UTF-8.in: Likewise.
18079 * localedata/fur_IT.UTF-8.in: Likewise.
18080 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
18081 * localedata/ha_NG.UTF-8.in: Likewise.
18082 * localedata/ig_NG.UTF-8.in: Likewise.
18083 * localedata/ik_CA.UTF-8.in: Likewise.
18084 * localedata/kk_KZ.UTF-8.in: Likewise.
18085 * localedata/ku_TR.UTF-8.in: Likewise.
18086 * localedata/ky_KG.UTF-8.in: Likewise.
18087 * localedata/ln_CD.UTF-8.in: Likewise.
18088 * localedata/mi_NZ.UTF-8.in: Likewise.
18089 * localedata/ml_IN.UTF-8.in: Likewise.
18090 * localedata/mn_MN.UTF-8.in: Likewise.
18091 * localedata/mr_IN.UTF-8.in: Likewise.
18092 * localedata/mt_MT.UTF-8.in: Likewise.
18093 * localedata/nb_NO.UTF-8.in: Likewise.
18094 * localedata/om_KE.UTF-8.in: Likewise.
18095 * localedata/os_RU.UTF-8.in: Likewise.
18096 * localedata/ps_AF.UTF-8.in: Likewise.
18097 * localedata/ro_RO.UTF-8.in: Likewise.
18098 * localedata/ru_RU.UTF-8.in: Likewise.
18099 * localedata/sc_IT.UTF-8.in: Likewise.
18100 * localedata/se_NO.UTF-8.in: Likewise.
18101 * localedata/sq_AL.UTF-8.in: Likewise.
18102 * localedata/sv_SE.UTF-8.in: Likewise.
18103 * localedata/szl_PL.UTF-8.in: Likewise.
18104 * localedata/tg_TJ.UTF-8.in: Likewise.
18105 * localedata/tk_TM.UTF-8.in: Likewise.
18106 * localedata/tt_RU.UTF-8.in: Likewise.
18107 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18108 * localedata/ug_CN.UTF-8.in: Likewise.
18109 * localedata/uz_UZ.UTF-8.in: Likewise.
18110 * localedata/vi_VN.UTF-8.in: Likewise.
18111 * localedata/yi_US.UTF-8.in: Likewise.
18112 * localedata/yo_NG.UTF-8.in: Likewise.
18113 * localedata/zh_CN.UTF-8.in: Likewise.
18114 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18115 file and fix bugs in the collation.
18116 * localedata/locales/az_AZ: Likewise.
18117 * localedata/locales/be_BY: Likewise.
18118 * localedata/locales/ber_DZ: Likewise.
18119 * localedata/locales/ber_MA: Likewise.
18120 * localedata/locales/bg_BG: Likewise.
18121 * localedata/locales/br_FR: Likewise.
18122 * localedata/locales/br_FR@euro: Likewise.
18123 * localedata/locales/ca_ES: Likewise.
18124 * localedata/locales/cns11643_stroke: Likewise.
18125 * localedata/locales/crh_UA: Likewise.
18126 * localedata/locales/cs_CZ: Likewise.
18127 * localedata/locales/csb_PL: Likewise.
18128 * localedata/locales/cv_RU: Likewise.
18129 * localedata/locales/cy_GB: Likewise.
18130 * localedata/locales/da_DK: Likewise.
18131 * localedata/locales/dz_BT: Likewise.
18132 * localedata/locales/en_CA: Likewise.
18133 * localedata/locales/eo: Likewise.
18134 * localedata/locales/es_CU: Likewise.
18135 * localedata/locales/es_EC: Likewise.
18136 * localedata/locales/es_ES: Likewise.
18137 * localedata/locales/es_US: Likewise.
18138 * localedata/locales/et_EE: Likewise.
18139 * localedata/locales/fa_IR: Likewise.
18140 * localedata/locales/fi_FI: Likewise.
18141 * localedata/locales/fil_PH: Likewise.
18142 * localedata/locales/fur_IT: Likewise.
18143 * localedata/locales/gez_ER@abegede: Likewise.
18144 * localedata/locales/ha_NG: Likewise.
18145 * localedata/locales/hr_HR: Likewise.
18146 * localedata/locales/hsb_DE: Likewise.
18147 * localedata/locales/hu_HU: Likewise.
18148 * localedata/locales/ig_NG: Likewise.
18149 * localedata/locales/ik_CA: Likewise.
18150 * localedata/locales/is_IS: Likewise.
18151 * localedata/locales/iso14651_t1_pinyin: Likewise.
18152 * localedata/locales/kk_KZ: Likewise.
18153 * localedata/locales/ku_TR: Likewise.
18154 * localedata/locales/ky_KG: Likewise.
18155 * localedata/locales/ln_CD: Likewise.
18156 * localedata/locales/lt_LT: Likewise.
18157 * localedata/locales/lv_LV: Likewise.
18158 * localedata/locales/mi_NZ: Likewise.
18159 * localedata/locales/ml_IN: Likewise.
18160 * localedata/locales/mn_MN: Likewise.
18161 * localedata/locales/mr_IN: Likewise.
18162 * localedata/locales/mt_MT: Likewise.
18163 * localedata/locales/nb_NO: Likewise.
18164 * localedata/locales/om_KE: Likewise.
18165 * localedata/locales/os_RU: Likewise.
18166 * localedata/locales/pl_PL: Likewise.
18167 * localedata/locales/ps_AF: Likewise.
18168 * localedata/locales/ro_RO: Likewise.
18169 * localedata/locales/ru_RU: Likewise.
18170 * localedata/locales/ru_UA: Likewise.
18171 * localedata/locales/sc_IT: Likewise.
18172 * localedata/locales/se_NO: Likewise.
18173 * localedata/locales/si_LK: Likewise.
18174 * localedata/locales/sq_AL: Likewise.
18175 * localedata/locales/sv_FI: Likewise.
18176 * localedata/locales/sv_FI@euro: Likewise.
18177 * localedata/locales/sv_SE: Likewise.
18178 * localedata/locales/szl_PL: Likewise.
18179 * localedata/locales/tg_TJ: Likewise.
18180 * localedata/locales/ti_ER: Likewise.
18181 * localedata/locales/tk_TM: Likewise.
18182 * localedata/locales/tl_PH: Likewise.
18183 * localedata/locales/tr_TR: Likewise.
18184 * localedata/locales/tt_RU: Likewise.
18185 * localedata/locales/tt_RU@iqtelif: Likewise.
18186 * localedata/locales/ug_CN: Likewise.
18187 * localedata/locales/uk_UA: Likewise.
18188 * localedata/locales/uz_UZ: Likewise.
18189 * localedata/locales/uz_UZ@cyrillic: Likewise.
18190 * localedata/locales/vi_VN: Likewise.
18191 * localedata/locales/yi_US: Likewise.
18192 * localedata/locales/yo_NG: Likewise.
18194 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18196 * gen-locales.mk: Make test files which contain @ modifiers in their
18198 * localedata/gen-locale.sh: Likewise.
18200 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18202 * posix/tst-fnmatch.input: Fix results for range expressions
18204 * posix/tst-regexloc.c: Do not use a range expression for
18205 de_DE.ISO-8859-1 locale.
18207 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18209 * posix/bug-regex5.c: Fix test case because with the new
18210 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18211 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18214 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18216 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18217 downloaded from ISO, the collation order of @-. and space has changed.
18218 Therefore, this test file needed to be adapted.
18219 * localedata/fr_CA.UTF-8.in: Likewise.
18220 * localedata/fr_FR.UTF-8.in: Likewise.
18221 * localedata/uk_UA.UTF-8.in: Likewise.
18223 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18225 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18226 order of ȥ in the new iso14651_t1_common file.
18227 * localedata/pl_PL.UTF-8.in: Likewise.
18229 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18231 * localedata/locales/iso14651_t1_common: Add sections for various
18232 scripts to the iso14651_t1_common file.
18234 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18236 * localedata/locales/iso14651_t1_common: Use the code point of a
18237 character in the fourth collation level instead of IGNORE for all
18238 entries which have IGNORE on all 4 levels.
18240 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18242 * localedata/locales/iso14651_t1_common: Add some convenient collation
18243 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18244 rules similar to those in CLDR.
18246 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18248 * localedata/locales/iso14651_t1_common: The new version of this
18249 file downloaded from ISO contained several syntax errors which
18250 are fixed by this patch.
18252 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18254 * localedata/locales/iso14651_t1_common: replace all <U.....>
18255 with <U000.....> because glibc understands only 4 digit or 8 digit
18257 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18259 * localedata/locales/iso14651_t1_common: Necessary changes
18260 to make the file downloaded from ISO usable by glibc.
18262 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18265 * localedata/locales/iso14651_t1_common: Update file to
18266 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18268 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18270 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18271 of <nptl/pthreadP.h>
18272 (thread_attr_compare): Move function to...
18273 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
18274 * sysdeps/nptl/timer_routines.h: ... new header.
18275 * sysdeps/mach/hurd/gai_misc.h: New file.
18277 2018-02-26 Joseph Myers <joseph@codesourcery.com>
18279 * string/strcoll_l.c: Include <libc-diag.h>.
18280 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18281 declarations of seq1 and seq2.
18284 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18285 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18287 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18291 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18292 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18293 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18294 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18295 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18296 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18298 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18300 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18301 macros used in __ptrace_request.
18303 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18306 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18308 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18309 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18310 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
18313 2018-02-23 Joseph Myers <joseph@codesourcery.com>
18316 * ctype/ctype.c (tolower): Use libc_hidden_def.
18317 (toupper): Likewise.
18318 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
18319 [!_ISOMAC] (toupper): Likewise.
18321 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18323 * localedata/Makefile: Remove --quiet argument when
18326 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18329 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18331 * localedata/locales/pt_PT (LC_TIME): likewise
18333 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18336 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18337 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18338 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
18340 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18344 * nptl/Makefile (routines): Remove unregister-atfork.
18345 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
18346 (fork_handler_alloc): Remove function.
18347 (fork_handlers, fork_handler_init): New variables.
18348 (__fork_lock): Rename to atfork_lock.
18349 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
18350 to use a dynamic array to add/remove atfork handlers.
18351 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18352 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
18353 Remove declaration.
18354 (fork_handler): Remove next, refcntr, and need_signal member.
18355 (__run_fork_handler_type): New enum.
18356 (__run_fork_handlers): New prototype.
18357 * nptl/register-atfork.c: Remove file.
18358 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
18360 * sysdeps/nptl/nptl-signals.h: Move to ...
18361 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
18363 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
18364 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
18365 unnecessary check for SIGTIMER.
18366 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
18367 remove unnecessary removal of SIGTIMER.
18368 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
18369 include-signals.h rename.
18370 * nptl/pthreadP.h: Likewise.
18371 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
18372 __is_internal_signal instead of __nptl_is_internal_signal.
18374 2018-02-22 Andrew Waterman <andrew@sifive.com>
18377 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
18378 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
18379 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
18380 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
18382 2018-02-22 DJ Delorie <dj@delorie.com>
18384 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
18386 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
18388 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
18389 do_misaligned, not misaligned8.
18391 2018-02-22 Steve Ellcey <sellcey@cavium.com>
18393 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18394 Add memcpy_thunderx2.
18395 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18397 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
18398 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
18399 and IS_THUNDERX2PA checks.
18400 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
18401 Use macro to set name appropriately.
18402 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
18403 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
18404 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
18406 (IS_THUNDERX2): New macro.
18408 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
18410 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18412 2018-02-21 Zack Weinberg <zackw@panix.com>
18414 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
18415 Define here, unconditionally.
18416 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
18417 * libio/libioP.h: Remove #if 0 blocks.
18418 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
18419 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
18420 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
18422 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
18423 Assume weak_alias is always defined.
18425 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
18426 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
18427 Remove #if 0 and #ifdef TODO blocks.
18428 Assume text_set_element is always defined.
18430 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
18431 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
18432 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
18434 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
18435 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
18436 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
18437 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
18438 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
18439 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
18440 Reformat bit flags for _flags field to make occupancy clearer.
18442 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
18443 Keep definitions consistent with those in libio/libio.h.
18445 * libio/libio.h (_IO_file_flags): Remove macro.
18446 All uses changed to _flags.
18448 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
18449 (__HAVE_COLUMN, _IO_BE): Don't define.
18450 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
18451 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
18452 * libio/libioP.h (EOF): Don't define.
18453 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
18454 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
18455 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
18456 testing _IO_UNIFIED_JUMPTABLES.
18458 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
18459 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
18460 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
18461 (_IO_size_t): Delete; all uses changed to size_t.
18462 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
18463 (_IO_off_t): Delete; all uses changed to off_t.
18464 (_IO_off64_t): Delete; all uses changed to off64_t.
18465 (_IO_pid_t): Delete; all uses changed to pid_t.
18466 (_IO_uid_t): Delete; all uses changed to uid_t.
18467 (_IO_wint_t): Delete; all uses changed to wint_t.
18468 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18469 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18470 (_IO_cookie_io_functions_t): Delete; all uses changed to
18471 cookie_io_functions_t.
18472 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18473 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18474 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18475 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18477 * libio/iofopncook.c: Remove unnecessary forward declarations.
18478 * libio/iolibio.h: Correct outdated commentary.
18479 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18480 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18481 Remove unnecessary casts.
18482 * stdio-common/getline.c: Use _IO_getdelim directly.
18483 Don't redefine ssize_t.
18484 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18485 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18486 Remove outdated comments.
18487 * stdio-common/vfscanf.c: Don't redefine va_list.
18489 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18490 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18491 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18492 which are always true, and __cplusplus, which is always false.
18494 2018-02-21 Joseph Myers <joseph@codesourcery.com>
18498 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18499 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18500 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18501 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18503 [!_ISOMAC] (putc_unlocked): Likewise.
18504 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18505 define inline if [__USE_EXTERN_INLINES].
18506 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18511 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18512 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18513 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18514 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18515 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18517 * time/tzfile.c (__tzfile_read): Likewise.
18519 2018-02-21 Mike FABIAN <mfabian@redhat.com>
18522 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18524 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18526 * io/fcntl.h: Fix a typo in a comment.
18528 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18531 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18532 define _DEFAULT_SOURCE.
18533 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18535 2018-02-21 Florian Weimer <fweimer@redhat.com>
18538 * elf/cache.c (save_cache): Call fsync on temporary file before
18540 (save_aux_cache): Call fdatasync on temporary file before renaming
18543 2018-02-21 Florian Weimer <fweimer@redhat.com>
18546 * include/caller.h: Remove file.
18547 * elf/dl-caller.c: Likewise.
18548 * elf/Makefile (dl-routines): Remove dl-caller.
18549 (shared-only-routines): Do not add dl-caller.
18550 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18552 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18554 (dl_open_worker): Do not call __check_caller.
18555 (_dl_open): Do not set caller_dl_open member.
18556 * elf/rtld.c (_rtld_global_ro): Do not initialize
18557 _dl_check_caller member.
18558 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18559 _dl_check_caller member.
18560 (_dl_check_caller): Remove declaration.
18561 * sysdeps/unix/sysv/linux/dl-execstack.c
18562 (_dl_make_stack_executable): Do not call __check_caller.
18564 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18566 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
18567 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
18569 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18571 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18574 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18577 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18578 of 199606L, 200112L, and 200809L.
18579 (_XOPEN_SOURCE): Document special values of 600 and 700.
18580 (_ISOC11_SOURCE): Document macro.
18581 (_ATFILE_SOURCE): Likewise.
18582 (_FORTIFY_SOURCE): Likewise.
18584 2018-02-19 Joseph Myers <joseph@codesourcery.com>
18588 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18589 and define as weak alias of __ferror_unlocked. Use
18591 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18593 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18594 function if [__USE_EXTERN_INLINES].
18595 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18598 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
18601 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18603 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18606 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18607 the GLIBC_2.1 version.
18609 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18612 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18613 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18614 intl/tst-gettext-de.po from po/de.po by removing the
18615 POT-Creation-Date line.
18616 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18618 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18621 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18623 * mach/Makefile (headers): Add mach/param.h.
18624 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18625 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
18626 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18627 (__ptsname_r): Move implementation to...
18628 (__ptsname_internal): ... new function. Add filling the STP
18631 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
18633 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18636 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
18638 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18641 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18643 * nptl/Makefile (tst-mutex8-ENV): Delete.
18644 * nptl/tst-mutex8.c (check_type):
18645 Add runtime check if mutex will be elided.
18647 2018-02-15 Joseph Myers <joseph@codesourcery.com>
18651 * manual/install.texi (Configuring and compiling): Describe
18652 passing CC and CFLAGS on configure command line, not as
18653 environment variables. Use @code markup on those variables.
18654 Specify what options go in CC and what go in CFLAGS. Note the
18655 requirement to compile with optimization.
18656 * INSTALL: Regenerated.
18659 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18660 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18661 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18662 __sigprocmask instead of sigprocmask.
18663 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18665 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18666 __sigsetjmp and sigprocmask.
18669 * include/argz.h (argz_next): Use libc_hidden_proto.
18670 (__argz_next): Likewise.
18671 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18672 (argz_next): Use libc_hidden_weak.
18675 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18677 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18681 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18683 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18687 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18688 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18689 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18690 (__feof_unlocked): New declaration, and inline function if
18691 [__USE_EXTERN_INLINES].
18692 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18693 instead of feof_unlocked.
18694 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18695 * nss/nsswitch.c (nss_parse_file): Likewise.
18696 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18698 * time/getdate.c (__getdate_r): Likewise.
18699 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18700 Define as macro to call __feof_unlocked.
18702 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18704 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18706 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18708 * math/Makefile: Remove mpexp.c and mplog.c
18709 * sysdeps/i386/fpu/mpexp.c: Delete file.
18710 * sysdeps/i386/fpu/mplog.c: Likewise.
18711 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18712 * sysdeps/ia64/fpu/mplog.c: Likewise.
18713 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18714 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18715 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18716 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18717 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18718 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18719 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18720 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18721 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18722 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18723 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18724 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18725 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18726 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18727 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18728 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18730 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18732 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18734 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18736 * sysdeps/sh/libm-test-ulps: Update.
18738 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18740 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18743 2018-02-12 Zack Weinberg <zackw@panix.com>
18746 * posix/sys/types.h: Don't include sys/sysmacros.h.
18747 * misc/sys/sysmacros.h: Remove the conditional deprecation
18748 warnings for the macros defined by this header.
18750 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18752 * manual/probes.texi: Remove slowexp probes.
18753 * math/Makefile: Remove slowexp.
18754 * sysdeps/generic/math_private.h (__slowexp): Remove.
18755 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18756 document error bounds.
18757 * sysdeps/i386/fpu/slowexp.c: Remove.
18758 * sysdeps/ia64/fpu/slowexp.c: Remove.
18759 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18760 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18761 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18762 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18763 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18764 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18765 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18766 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18767 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18768 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18769 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18771 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18774 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18775 * benchtests/pow-inputs: Update comment for slow path cases.
18776 * manual/probes.texi (slowpow_p10): Delete removed probe.
18777 (slowpow_p10): Likewise.
18778 * math/Makefile: Remove halfulp.c and slowpow.c.
18779 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18780 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18781 (__halfulp): Remove.
18782 (__slowpow): Remove.
18783 * sysdeps/i386/fpu/halfulp.c: Delete file.
18784 * sysdeps/i386/fpu/slowpow.c: Likewise.
18785 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18786 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18787 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18788 improve comments and add error analysis.
18789 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18790 (power1): Remove function:
18791 (log1): Remove error argument, add error analysis.
18792 (my_log2): Remove function.
18793 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18794 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18795 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18796 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18797 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18798 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18799 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18800 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18801 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18802 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18803 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18804 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18805 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18806 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18808 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18810 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18811 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18813 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18816 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18817 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18818 and PTRACE_SETHBPREGS.
18820 2018-02-10 Zack Weinberg <zackw@panix.com>
18823 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18825 * malloc/tst-malloc-stats-cancellation.c: New test case.
18826 * malloc/Makefile: Add new test case.
18828 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18830 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18832 2018-02-10 Joseph Myers <joseph@codesourcery.com>
18834 * math/Makefile (libm-narrow-fns): Add add.
18835 (libm-test-funcs-narrow): Likewise.
18836 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18837 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18838 * math/gen-auto-libm-tests.c (test_functions): Add add.
18839 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18840 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18841 (NARROW_ADD_TRIVIAL): Likewise.
18842 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18844 (__daddl): Likewise.
18845 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18847 (CFLAGS-nldbl-dadd.c): New variable.
18848 (CFLAGS-nldbl-fadd.c): Likewise.
18849 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18851 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18853 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18854 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18855 * math/auto-libm-test-in: Add tests of add.
18856 * math/auto-libm-test-out-narrow-add: New generated file.
18857 * math/libm-test-narrow-add.inc: New file.
18858 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18859 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18860 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18861 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18862 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18863 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18864 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18865 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18866 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18867 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18868 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18869 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18870 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18871 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18872 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18873 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18874 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18875 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18877 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18878 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18879 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18880 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18881 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18882 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18883 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18884 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18885 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18886 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18887 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18888 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18889 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18894 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18895 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18896 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18897 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18898 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18899 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18900 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18901 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18902 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18903 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18905 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18906 (f128-pairs): New variable.
18907 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18908 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18910 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18911 Also make tests add $(f128-loader-link) to gnulib-tests.
18913 2018-02-09 DJ Delorie <dj@redhat.com>
18916 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18917 64-bit ELF type for 64-bit ELF objects.
18919 2018-02-09 Joseph Myers <joseph@codesourcery.com>
18921 * math/libm-test-driver.c (snan_tests_arg): New variable.
18922 * math/libm-test-support.h (snan_tests_arg): New declaration.
18923 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18925 * math/Makefile (test-type-pairs): New variable.
18926 (test-type-pairs-f64xf128-yes): Likewise.
18927 (tests): Add test-narrow-macros.
18928 (libm-test-funcs-narrow): New variable.
18929 (libm-test-c-narrow): Likewise.
18930 (generated): Add $(libm-test-c-narrow).
18931 (libm-tests-base-narrow): New variable.
18932 (libm-tests-narrow): Likewise.
18933 (libm-tests): Add $(libm-tests-narrow).
18934 (libm-tests-for-type): Handle $(libm-tests-narrow).
18935 (libm-test-c-narrow-obj): New variable.
18936 ($(libm-test-c-narrow-obj)): New rule.
18937 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18938 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18939 $(o-iterator) to set dependencies and CFLAGS.
18940 * math/gen-auto-libm-tests.c: Document use for narrowing
18942 (output_for_one_input_case): Take argument NARROW.
18943 (generate_output): Likewise. Update call to
18944 output_for_one_input_case.
18945 (main): Take --narrow option. Update call to generate_output.
18946 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18947 (apply_lit): Update call to _apply_lit.
18948 (apply_arglit): New function.
18949 (parse_args): Handle "a" arguments.
18950 (parse_auto_input): Handle format names using ":".
18951 * math/README.libm-test: Document "a" parameter type.
18952 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18953 (ARG_TYPE_TRUE_MIN): Likewise.
18954 (ARG_TYPE_MAX): Likwise.
18955 (ARG_MIN_EXP): Likewise.
18956 (ARG_MAX_EXP): Likewise.
18957 (ARG_MANT_DIG): Likewise.
18958 (TEST_COND_arg_ibm128): Likewise.
18959 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18960 (TEST_COND_arg_fmt): New macro.
18961 (init_max_error): Update prototype.
18962 * math/libm-test-support.c (test_ibm128): New variable.
18963 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18964 instead of using [TEST_COND_ibm128] conditional.
18965 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18966 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18967 [TEST_NARROW] (TEST_MSG): New definition.
18968 (arg_plus_zero): New macro.
18969 (arg_minus_zero): Likewise.
18970 (arg_plus_infty): Likewise.
18971 (arg_minus_infty): Likewise.
18972 (arg_qnan_value_pl): Likewise.
18973 (arg_qnan_value): Likewise.
18974 (arg_snan_value_pl): Likewise.
18975 (arg_snan_value): Likewise.
18976 (arg_max_value): Likewise.
18977 (arg_min_value): Likewise.
18978 (arg_min_subnorm_value): Likewise.
18979 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18980 (RUN_TEST_LOOP_aa_f): New macro.
18981 (TEST_SUFF): New macro.
18982 (TEST_SUFF_STR): Likewise.
18983 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18984 (TEST_COND_any_ibm128): New macro.
18985 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18986 this_func. Update call to init_max_error.
18987 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18988 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18989 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18990 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18991 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18992 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18993 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18994 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18995 * math/test-math-vector.h (TEST_NARROW): Likewise.
18996 * math/test-arg-double.h: New file.
18997 * math/test-arg-float128.h: Likewise.
18998 * math/test-arg-float32x.h: Likewise.
18999 * math/test-arg-float64.h: Likewise.
19000 * math/test-arg-float64x.h: Likewise.
19001 * math/test-arg-ldouble.h: Likewise.
19002 * math/test-math-narrow.h: Likewise.
19003 * math/test-narrow-macros.c: Likewise.
19004 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19005 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19006 test-narrow-macros-ldbl-64.
19007 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19009 * math/bits/mathcalls-narrow.h: New file.
19010 * include/bits/mathcalls-narrow.h: Likewise.
19011 * math/math-narrow.h: Likewise.
19012 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19013 (__MATHCALL_NARROW_ARGS_2): Likewise.
19014 (__MATHCALL_NARROW_ARGS_3): Likewise.
19015 (__MATHCALL_NARROW_NORMAL): Likewise.
19016 (__MATHCALL_NARROW_REDIR): Likewise.
19017 (__MATHCALL_NARROW): Likewise.
19018 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19019 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19021 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19022 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
19023 (libm-narrow-fns): New variable.
19024 (libm-narrow-types-basic): Likewise.
19025 (libm-narrow-types-ldouble-yes): Likewise.
19026 (libm-narrow-types-float128-yes): Likewise.
19027 (libm-narrow-types-float128-alias-yes): Likewise.
19028 (libm-narrow-types): Likewise.
19029 (libm-routines): Add narrowing functions.
19030 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
19031 (libc_feholdexcept_setroundf128): New macro.
19032 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
19033 * sysdeps/ieee754/float128/float128_private.h: Include
19034 <math/math-narrow.h>.
19035 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
19036 Undefine and redefine.
19037 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
19038 (libm_alias_float_ldouble): Undefine and redefine.
19039 (libm_alias_double_ldouble): Likewise.
19041 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
19043 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
19045 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
19048 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
19050 * manual/creature.texi: Convert references to gcc.info to gcc.
19051 * manual/stdio.texi: Likewise.
19052 * manual/string.texi: Likewise.
19054 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19057 * posix/bits/types.h (__int_least8_t): New typedef.
19058 (__uint_least8_t): Likewise.
19059 (__int_least16_t): Likewise.
19060 (__uint_least16_t): Likewise.
19061 (__int_least32_t): Likewise.
19062 (__uint_least32_t): Likewise.
19063 (__int_least64_t): Likewise.
19064 (__uint_least64_t): Likewise.
19065 * sysdeps/generic/stdint.h (int_least8_t): Define using
19067 (int_least16_t): Define using __int_least16_t.
19068 (int_least32_t): Define using __int_least32_t.
19069 (int_least64_t): Define using __int_least64_t.
19070 (uint_least8_t): Define using __uint_least8_t.
19071 (uint_least16_t): Define using __uint_least16_t.
19072 (uint_least32_t): Define using __uint_least32_t.
19073 (uint_least64_t): Define using __uint_least64_t.
19074 * wcsmbs/uchar.h: Include <bits/types.h>.
19075 (char16_t): Define using __uint_least16_t conditional only on
19077 (char32_t): Define using __uint_least32_t conditional only on
19079 * wcsmbs/test-char-types.c: New file.
19080 * wcsmbs/Makefile (tests): Add test-char-types.
19082 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
19085 2018-02-07 Zack Weinberg <zackw@panix.com>
19087 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
19088 Delete all contents except for definitions of _G_HAVE_MMAP and
19089 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
19090 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
19091 sysdeps/unix/sysv/linux/_G_config.h. Make same content
19094 * libio/libio.h: Don't include bits/_G_config.h here.
19095 Include stddef.h with __need_wchar_t defined. Include
19096 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19097 Define _IO_iconv_t here, directly.
19098 Don't define _IO_HAVE_ST_BLKSIZE.
19099 * libio/libioP.h: Include _G_config.h here. Move include of
19100 shlib-compat.h up with rest of includes. Simplify conditionals
19101 controlling definition of _IO_JUMPS_OFFSET.
19103 * csu/init.c: Remove always-true #if around entire file.
19104 Don't include stdio.h. Set _IO_stdin_used to hardwired
19105 constant 0x20001, and update commentary.
19106 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19107 Replace all uses of _G_va_list with __gnuc_va_list.
19108 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19109 instead of #if _IO_HAVE_ST_BLKSIZE.
19110 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19111 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19114 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19115 multiple-include guard to match.
19116 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19118 Remove preprocessor conditionals that are always true and/or
19119 redundant to other preprocessor conditionals in the same nest.
19120 Include shlib-compat.h unconditionally.
19121 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19122 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19123 defined after including stdio.h.
19124 Use __BEGIN_DECLS/__END_DECLS.
19126 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19127 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19128 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19130 2018-02-07 Zack Weinberg <zackw@panix.com>
19132 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19133 New single-type headers split from _G_config.h.
19134 * libio/bits/types/cookie_io_functions_t.h
19135 * libio/bits/types/struct_FILE.h
19136 New single-type headers split from libio.h.
19138 * libio/Makefile: Install the above new headers. Don't install
19139 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19141 * libio/_G_config.h, libio/libio.h: Delete file.
19143 * libio/bits/libio.h: Remove improper-inclusion guard.
19144 Include stdio.h and don't repeat anything that it does.
19145 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19146 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19147 __io_read_fn as cookie_read_function_t,
19148 __io_write_fn as cookie_write_function_t,
19149 __io_seek_fn as cookie_seek_function_t,
19150 __io_close_fn as cookie_close_function_t,
19151 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19152 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19153 here, in the "compatibility defines" section. Remove an #if 0
19154 block. Use the "body" macros from bits/types/struct_FILE.h to
19155 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19156 and _IO_ferror_unlocked.
19157 Move prototypes of __uflow and __overflow...
19159 * libio/stdio.h: ...here. Don't include bits/libio.h.
19160 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
19161 directly from stdarg.h. Include bits/types/__fpos_t.h,
19162 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19163 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19164 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19165 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19166 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19167 __ssize_t, not _IO_ssize_t. Unconditionally define
19168 BUFSIZ as 8192 and EOF as (-1).
19170 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19171 macros from bits/types/struct_FILE.h instead of _IO_* macros
19172 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19173 instead of _IO_ssize_t.
19174 * libio/bits/stdio2.h: Similarly.
19176 * libio/iolibio.h: Add multiple-include guard.
19177 Include bits/libio.h after stdio.h.
19178 * libio/libioP.h: Add multiple-include guard.
19179 Include stdio.h and bits/libio.h before iolibio.h.
19181 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
19182 * include/bits/types/cookie_io_functions_t.h
19183 * include/bits/types/struct_FILE.h: New wrappers.
19185 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
19186 Get definitions of _G_fpos_t and _G_fpos64_t from
19187 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19188 respectively. Remove improper-inclusion guards.
19190 * conform/data/stdio.h-data: Update expectations of va_list.
19191 * scripts/check-installed-headers.sh: Remove special case for
19192 libio.h and _G_config.h.
19194 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19198 * include/sys/sysmacros.h [!_ISOMAC]
19199 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19200 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19201 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19202 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19204 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19205 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19207 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19208 Undefine and redefine to add use __gnu_dev_ prefix.
19209 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19211 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19212 and define as hidden inline function.
19213 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19215 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19217 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19218 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19219 (gnu_dev_minor): Likewise.
19220 (gnu_dev_makedev): Likewise.
19221 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19223 * posix/wordexp.c (exec_comm_child): Likewise.
19224 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19225 instead of minor and __gnu_dev_major instead of major.
19226 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19227 __gnu_dev_major instead of major.
19228 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19229 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19230 instead of gnu_dev_minor.
19231 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19232 (SLAVE_P): Likewise.
19233 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19234 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19238 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19240 * locale/weightwc.h (findidx): Likewise.
19242 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19244 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19245 (slowlog_inexact): Likewise
19246 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19247 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19249 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19252 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19253 missing second underscore to parameter name.
19255 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19261 * bits/byteswap.h: Update file comment. Do not include
19262 <bits/byteswap-16.h>.
19263 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19265 (__bswap_16): Define as inline function.
19266 (__bswap_constant_32): Reformat definition.
19267 (__bswap_32): Always define as inline function, not macro, using
19268 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19269 otherwise __bswap_constant_32.
19270 (__bswap_constant_64): Reformat definition. Do not use
19271 __extension__ here.
19272 (__bswap_64): Always define as inline function, not macro. Use
19273 __extension__ on function definition. Use __builtin_bswap64 if
19274 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19275 * string/test-endian-file-scope.c: New file.
19276 * string/test-endian-sign-conversion.c: Likewise.
19277 * string/Makefile (headers): Remove bits/byteswap-16.h.
19278 (tests): Add test-endian-file-scope and
19279 test-endian-sign-conversion.
19280 (CFLAGS-test-endian-sign-conversion.c): New variable.
19281 * bits/byteswap-16.h: Remove file.
19282 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19283 * sysdeps/ia64/bits/byteswap.h: Likewise.
19284 * sysdeps/m68k/bits/byteswap.h: Likewise.
19285 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19286 * sysdeps/s390/bits/byteswap.h: Likewise.
19287 * sysdeps/tile/bits/byteswap.h: Likewise.
19288 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19289 * sysdeps/x86/bits/byteswap.h: Likewise.
19292 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19293 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19294 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19295 199901L] (__restrict): Define to restrict.
19298 * string/testcopy.c: Include <support/support.h>. Do not include
19299 <malloc.h>. Use <support/test-driver.c>.
19300 (main): Rename to do_test. Make static. Use xmalloc instead of
19304 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19305 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19306 (SSIZE_MAX): Define to INT_MAX.
19307 * posix/test-ssize-max.c: New file.
19308 * posix/Makefile (tests): Add test-ssize-max.
19311 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19312 <support/support.h>. Do not include <malloc.h>.
19313 (query_auxv): Use xmalloc instead of malloc.
19316 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
19317 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
19320 2018-02-06 Florian Weimer <fweimer@redhat.com>
19323 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19324 Use scratch_buffer instead of extend_alloca.
19326 2018-02-06 Zack Weinberg <zackw@panix.com>
19328 * libio/stdio.h: Don't define getc or putc as macros.
19329 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19330 not _IO_getc and _IO_putc.
19332 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19333 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19335 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19337 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19338 (TCP_FASTOPEN_NO_COOKIE): Likewise.
19340 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
19343 * elf/elf.h (NT_PRFPREG): New macro.
19344 (NT_S390_VXRS_LOW): Likewise.
19345 (NT_S390_VXRS_HIGH): Likewise.
19346 (NT_S390_GS_CB): Likewise.
19347 (NT_S390_GS_BC): Likewise.
19348 (NT_S390_RI_CB): Likewise.
19350 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
19351 (MAP_SYNC): New macro.
19352 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
19354 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
19355 (MAP_SYNC): Likewise.
19356 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
19357 (MAP_SYNC): Likewise.
19358 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
19359 (MAP_SYNC): Likewise.
19360 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
19361 (MAP_SYNC): Likewise.
19362 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
19363 (MAP_SYNC): Likewise.
19364 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
19365 (MAP_SYNC): Likewise.
19366 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
19368 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
19371 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
19372 (MAP_SHARED_VALIDATE): New macro.
19373 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19374 (MAP_SHARED_VALIDATE): Likewise.
19376 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19378 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
19379 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
19380 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19382 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19384 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
19385 (DT_NUM): Updated to 35.
19387 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19389 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
19390 __builtin_expect with __glibc_likely and __glibc_unlikely.
19391 (elf_machine_rela): Likewise.
19392 (elf_machine_lazy_rel): Likewise.
19394 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19396 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
19397 __builtin_expect with __glibc_likely and __glibc_unlikely.
19398 (elf_machine_lazy_rel): Likewise.
19400 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19403 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
19405 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
19407 2018-02-05 Andreas Schwab <schwab@suse.de>
19410 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
19413 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19415 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
19416 not check against PTHREAD_STACK_MIN.
19418 2018-02-02 Sean McKean <smckean83@gmail.com>
19421 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
19423 2018-02-02 Florian Weimer <fweimer@redhat.com>
19426 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
19427 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
19428 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19429 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
19430 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19431 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19432 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19433 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
19434 * manual/llio.texi (Scatter-Gather): Mention offset -1.
19435 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
19436 * misc/tst-preadvwritev2.c (do_test): Call it.
19437 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
19439 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
19441 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
19443 * benchtests/bench-memcmp.c: Print json instead of plain text.
19445 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
19448 2018-02-01 Joseph Myers <joseph@codesourcery.com>
19450 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19452 (s390_sthyi): New syscall.
19454 * sysdeps/generic/ldbl-classify-compat.h: New file.
19455 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
19456 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
19457 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
19458 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
19459 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
19460 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
19461 * sysdeps/ieee754/dbl-64/s_finite.c: Include
19462 <ldbl-classify-compat.h>.
19463 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19464 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
19465 <ldbl-classify-compat.h>.
19466 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19467 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19468 <ldbl-classify-compat.h>.
19469 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19470 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19471 <ldbl-classify-compat.h>.
19472 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19473 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19474 <ldbl-classify-compat.h>.
19475 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19476 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19477 <ldbl-classify-compat.h>.
19478 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19479 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19480 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19481 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19482 * sysdeps/microblaze/math_private.h: Likewise.
19483 * sysdeps/nios2/math_private.h: Likewise.
19484 * sysdeps/sh/math_private.h: Likewise.
19486 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19487 * sysdeps/m68k/coldfire/math_private.h: ... here.
19488 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19489 * sysdeps/tile/math_private.h: Likewise.
19490 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19492 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19495 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19497 (libc_fetestexcept): Likewise.
19498 (libc_feupdateenv_test): Likewise.
19499 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19500 (libc_fetestexcept): Likewise.
19501 (libc_feupdateenv_test): Likewise.
19502 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19503 (libc_fetestexcept): Likewise.
19504 (libc_feupdateenv_test): Likewise.
19505 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19506 (libc_fetestexcept): Likewise.
19507 (libc_feupdateenv_test): Likewise.
19509 * sysdeps/generic/math_private.h
19510 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19511 New inline function.
19512 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19515 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19516 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19517 * sysdeps/generic/math_private.h
19518 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19520 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19522 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19524 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19526 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19528 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19530 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19531 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19532 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19533 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19534 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19535 (__fegetenv): Likewise.
19536 (fesetenv): Likewise.
19537 (__fesetenv): Likewise.
19538 (feupdateenv): Likewise.
19539 (__feupdateenv): Likewise.
19540 (fegetround): Likewise.
19541 (__fegetround): Likewise.
19542 (fesetround): Likewise.
19543 (__fesetround): Likewise.
19545 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19546 (feraiseexcept): New macro.
19547 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19548 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19550 (__feraiseexcept): Likewise.
19551 (feclearexcept): Likewise.
19552 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19553 (__feraiseexcept): Likewise.
19554 (feclearexcept): Likewise.
19555 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19556 (__feraiseexcept): Likewise.
19557 (feclearexcept): Likewise.
19558 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19559 (__feraiseexcept): Likewise.
19560 (feclearexcept): Likewise.
19561 (fetestexcept): Likewise.
19563 * sysdeps/m68k/coldfire/math-tests.h: New file.
19565 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19566 * sysdeps/m68k/bits/fenv.h: ... here.
19567 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19569 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19571 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19573 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19575 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19577 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19579 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19580 (__FE_UNDEFINED): New enum constant.
19581 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19583 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19585 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19587 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19588 to match generic bits/fenv.h.
19589 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19592 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19594 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19595 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19596 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19597 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19599 2018-02-01 Carlos O'Donell <carlos@redhat.com>
19600 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19601 Joseph Myers <joseph@codesourcery.com>
19604 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19605 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19606 computation using c.
19607 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19608 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19609 computation using c.
19611 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19613 * version.h (RELEASE): Set to "development".
19614 (VERSION): Set to "2.27.9000".
19615 * NEWS (2.28): New section.
19617 * version.h (RELEASE): Set to "stable".
19618 (VERSION): Set to "2.27".
19619 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19621 * NEWS: Add the list of bugs fixed in 2.27.
19623 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19625 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19626 against PTHREAD_STACK_MIN.
19628 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19630 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19632 (Rafal Luzynski, Andreas Schwab): Update.
19634 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19637 * NEWS: List the languages which actually use the alternative
19638 months feature in this release. Also explain that "alt_mon" and
19639 "ab_alt_mon" are optional.
19641 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19644 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19646 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19648 * manual/install.texi (Tools for Compilation): Update the newest
19649 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19650 * INSTALL: Regenerated.
19652 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19654 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19655 instead of __builtin_expect.
19657 2018-01-30 Florian Weimer <fweimer@redhat.com>
19659 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19661 * nss/tst-nss-getpwent.c (do_test): Likewise.
19663 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19666 * localedata/locales/hr_HR (mon): Rename to...
19668 (mon): Import from CLDR (genitive case).
19669 (d_t_fmt): Update the comment.
19671 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19673 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19674 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19675 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19677 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19679 * mach/Versions: Fix version when __mach_host_self_ was added.
19680 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19681 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19682 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19683 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19684 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19685 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19686 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19687 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19688 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19689 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19690 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19691 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
19692 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19693 || to respect codestyle.
19694 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19695 (do_test_bz20181): Rename accordingly.
19696 * malloc/malloc.c: Include <assert.h>.
19697 (assert): Do not define.
19698 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
19699 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19700 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
19701 * sysdeps/mach/hurd/hp-timing.h: New file.
19702 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
19704 2018-01-29 Darius Rad <darius@bluespec.com>
19706 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19708 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
19710 * sysdeps/init_array/crti.S (.section .init_array): Add
19711 PREINIT_FUNCTION when defined.
19712 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
19713 * config.h.in: Regenerate.
19714 * manual/platform.texi: Add RISC-V documenation for
19715 __riscv_flush_icache.
19716 * sysdeps/riscv/__longjmp.S: New file.
19717 * sysdeps/riscv/backtrace.c: Likewise.
19718 * sysdeps/riscv/bits/endian.h: Likewise.
19719 * sysdeps/riscv/bits/setjmp.h: Likewise.
19720 * sysdeps/riscv/bits/wordsize.h: Likewise.
19721 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19722 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19723 * sysdeps/riscv/dl-trampoline.S: Likewise.
19724 * sysdeps/riscv/gccframe.h: Likewise.
19725 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19726 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19727 * sysdeps/riscv/machine-gmon.h: Likewise.
19728 * sysdeps/riscv/memusage.h: Likewise.
19729 * sysdeps/riscv/setjmp.S: Likewise.
19730 * sysdeps/riscv/sys/asm.h: Likewise.
19731 * sysdeps/riscv/tls-macros.h: Likewise.
19732 * sysdeps/riscv/dl-tls.h: New file.
19733 * sysdeps/riscv/libc-tls.c: Likewise.
19734 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19735 * sysdeps/riscv/nptl/tls.h: Likewise.
19736 * sysdeps/riscv/stackinfo.h: Likewise.
19737 * sysdeps/riscv/bits/fenv.h: New file.
19738 * sysdeps/riscv/e_sqrtl.c: Likewise.
19739 * sysdeps/riscv/fpu_control.h: Likewise.
19740 * sysdeps/riscv/math-tests.h: Likewise.
19741 * sysdeps/riscv/nofpu/Implies: Likewise.
19742 * sysdeps/riscv/sfp-machine.h: Likewise.
19743 * sysdeps/riscv/tininess.h: Likewise.
19744 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19745 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19746 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19747 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19748 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19749 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19750 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19751 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19752 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19753 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19754 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19755 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19756 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19757 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19758 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19759 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19760 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19761 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19762 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19763 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19764 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19765 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19766 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19767 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19768 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19769 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19770 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19771 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19772 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19773 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19774 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19775 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19776 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19777 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19778 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19779 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19780 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19781 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19782 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19783 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19784 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19785 * sysdeps/riscv/rvf/math_private.h: Likewise.
19786 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19787 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19788 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19789 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19790 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19791 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19792 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19793 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19794 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19795 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19796 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19797 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19798 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19799 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19800 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19801 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
19802 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19803 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19804 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19805 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
19806 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19807 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19808 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19809 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19810 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19811 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19812 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19813 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19814 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
19815 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19816 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19817 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19818 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19819 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19820 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19821 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19822 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19823 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19824 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19825 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19826 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19827 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19828 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19829 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19830 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19831 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19832 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19833 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19834 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19835 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19836 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
19837 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19838 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19839 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
19840 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19841 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19842 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19843 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19844 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19845 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19846 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19847 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19848 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19849 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19850 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19851 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19852 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19853 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
19854 * sysdeps/riscv/Implies: New file.
19855 * sysdeps/riscv/Makefile: Likewise.
19856 * sysdeps/riscv/configure: Likewise.
19857 * sysdeps/riscv/configure.ac: Likewise.
19858 * sysdeps/riscv/nptl/Makefile: Likewise.
19859 * sysdeps/riscv/preconfigure: Likewise.
19860 * sysdeps/riscv/rv64/Implies-after: Likewise.
19861 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19862 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19863 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19864 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19865 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19866 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19867 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19868 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19869 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19870 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19871 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
19872 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19873 (Config): Likewise.
19875 2018-01-29 Florian Weimer <fweimer@redhat.com>
19878 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19879 libnsl_hidden_proto.
19880 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19881 libnsl_hidden_proto.
19882 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19883 * nis/Makefile (libnsl-routines): Add nss-default only for
19884 build-obsolete-nsl.
19885 * nis/nis_defaults.c (__nis_default_ttl): Add
19886 libnsl_hidden_nolink_def.
19887 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19889 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19890 * nis/ypclnt.c (yp_maplist): Likewise.
19892 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19894 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19895 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19897 2018-01-29 Joseph Myers <joseph@codesourcery.com>
19899 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19900 clean -dxfq for git updates when replacing sources.
19902 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19903 --disable-libcilkrts unconditionally, not just for the final GCC
19906 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19909 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19912 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19915 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19918 * localedata/locales/be_BY (mon): Rename to...
19919 (alt_mon): This, then synchronize with CLDR (nominative case).
19920 (abmon): Rename to...
19921 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19922 (mon): Import from CLDR (genitive case).
19924 * localedata/locales/be_BY@latin (mon): Rename to...
19926 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19928 * localedata/locales/be_BY@latin (lang_name): Reworded to
19929 "biełaruskaja mova".
19931 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19934 * localedata/locales/el_CY (mon): Renamed to...
19936 (mon): Import from CLDR (genitive case).
19937 * localedata/locales/el_GR: Likewise.
19939 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19942 * localedata/locales/ru_RU (mon): Rename to...
19944 (abmon): Rename to...
19945 (ab_alt_mon): This.
19946 (mon): Import from CLDR (genitive case).
19947 (abmon): Copy from the old content except the 5th month which is
19948 now in the genitive case, even when abbreviated.
19949 * localedata/locales/ru_UA: Likewise.
19950 * time/tst-strptime.c (day_tests): Add an actual example of
19951 a difference between %b and %Ob in Russian.
19953 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19955 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
19956 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19958 * resolv/res-close.c: Include <stdlib.h>.
19959 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19960 <sys/wait.h>, <time.h>, <sys/uio.h>.
19961 (NOT_CANCEL_H): Add inclusion guard.
19962 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
19963 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19964 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19966 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19967 vm_address_t * to ElfW(Addr) * for dl_main parameter.
19968 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19970 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19971 timer_ptr2id to cast struct timer_node * to void *.
19972 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19973 --disable-libcilkrts to gcc configure.
19974 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19975 and make them the default for now.
19976 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19977 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
19978 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19979 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19980 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19982 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19983 __task_terminate would ever return successfully.
19984 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19986 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19987 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
19988 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19989 critical section to make code simpler and avoid warning.
19990 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19991 critical section to make code simpler and avoid warning.
19992 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19993 const char * instead of char *.
19994 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19995 __hurd_file_name_split, hurd_file_name_split,
19996 __hurd_directory_name_split, hurd_directory_name_split,
19997 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19998 hurd_file_name_path_lookup): Make lookup function parameter take a
19999 const char *name instead of char *name.
20000 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20001 __hurd_directory_name_split): Likewise.
20002 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20003 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
20004 * sysdeps/mach/hurd/check_native.c: New file.
20005 * sysdeps/mach/hurd/check_pf.c: New file.
20006 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20007 (__freeifaddrs): Define macro to freeifaddrs.
20008 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20009 * sysdeps/mach/libmachuser.abilist: New file.
20010 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20011 (do_test_bz20181): Rename accordingly.
20012 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
20013 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20015 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20016 version only if __USE_EXTERN_INLINES is defined.
20017 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20018 __hurd_sockfail): Likewise.
20019 (_hurd_fd_get): Always declare functions, and provide inline versions
20020 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20021 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20022 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
20023 _hurd_port_set): Always declare functions, and provide inline versions
20024 only if __USE_EXTERN_INLINES and _LIBC are defined and
20026 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
20027 _hurd_critical_section_unlock): Likewise.
20028 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
20029 * __hurd_threadvar_location): Likewise.
20030 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
20031 _hurd_userlink_clear): Likewise.
20032 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
20033 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
20034 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
20035 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
20036 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
20037 __spin_lock_locked): Likewise.
20038 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
20039 __spin_lock_locked): Likewise.
20040 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
20041 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
20042 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
20043 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
20044 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
20045 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
20046 _POSIX_NO_TRUNC): Define to 0.
20047 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
20048 check size against PTHREAD_STACK_MIN.
20049 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
20050 IS_IN(libpthread)]: Include <sigsetops.h>.
20051 * mach/Makefile (user-interfaces): Add mach/gnumach.
20052 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
20053 * sysdeps/mach/configure (mach_interface_list): Regenerate.
20054 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
20055 instead of invalid -1.
20056 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
20057 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
20058 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
20061 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
20063 * hurd/fcntl-internal.h: New file.
20065 2018-01-27 James Clarke <jrtc27@jrtc27.com>
20067 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20069 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20071 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
20074 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
20075 Build only shared objects.
20077 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20079 * README: Update for hppa.
20081 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20083 * sysdeps/sparc/fpu/libm-test-ulps: Update
20084 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
20086 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20090 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20093 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20094 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20095 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20096 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20099 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20102 * bits/types/__cancel_jmp_buf_tag.h: New file.
20103 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20104 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20105 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20106 * nptl/Makefile (headers): Add
20107 bits/types/__cancel_jmp_buf_tag.h.
20108 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20109 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20110 * sysdeps/nptl/pthread.h: Include
20111 <bits/types/__cancel_jmp_buf_tag.h>.
20112 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20114 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20116 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20119 * localedata/locales/uk_UA (mon): Renamed to...
20121 (alt_digits): "0" removed and then renamed to...
20123 (date_fmt): Definition changed not to use the alternative
20126 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
20128 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20129 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20130 * elf/elf.h (EF_RISCV_RVC): New define.
20131 (EF_RISCV_FLOAT_ABI): Likewise.
20132 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20133 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20134 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20135 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20136 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20138 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20140 2018-01-25 Andreas Schwab <schwab@suse.de>
20142 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20144 * sysdeps/gnu/configure: Regenerate.
20145 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20146 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20148 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20149 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20150 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20151 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20152 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20154 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20156 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
20157 URL, and run autoconf, make it the default for now.
20159 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20161 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20162 soft-float ColdFire configuration.
20164 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20165 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20166 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20168 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20171 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20173 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20175 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20178 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20179 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20180 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20183 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20186 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20187 Rename to __reserved and add comment.
20188 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20189 Rename to __reserved.
20191 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20193 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20194 i686-gnu configurations.
20195 (Context.run_builds): Include mig, gnumach and hurd in components
20197 (Context.checkout): Add mig, gnumach and hurd to components.
20198 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20200 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20201 (Config.build): Install gnumach headers, build mig and install
20202 hurd headers for 'gnu' OS.
20203 (Config.install_gnumach_headers): New function.
20204 (Config.install_hurd_headers): Likewise.
20205 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20206 when building for 'gnu' OS.
20208 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
20210 * manual/tunables.texi (Hardware Capability Tunables): Fix
20213 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
20215 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20216 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20217 (ALTMON_11, ALTMON_12): Improve documentation.
20218 * manual/time.texi (strftime): Likewise.
20220 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20223 * localedata/locales/pl_PL: Alternative month names added,
20224 primary month names are genitive now.
20225 * time/tst-strptime.c (day_tests): Actually use a genitive case
20226 of a month name in Polish language.
20228 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20231 * manual/locale.texi: Document ALTMON_1..12 constants for
20232 nl_langinfo. Specify when to use ALTMON instead of MON.
20233 * manual/time.texi (strftime, strptime): Document GNU extension
20234 permitting O modifier with %B and %b. Specify when to use
20237 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20240 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20241 names, define them as the same as abbreviated month names explicitly.
20242 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20243 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20244 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20245 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20246 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20247 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20248 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20249 _NL_WABALTMON_12): New enum constants.
20250 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20251 wab_alt_mon, and ab_alt_mon_defined members.
20252 (time_output): Output ab_alt_mon and wab_alt_mon members.
20253 (time_read): Read them, initialize them as copies of abmon and wabmon
20254 respectively if they are missing, initialize ab_alt_mon_defined.
20255 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20256 * locale/programs/locfile-kw.h: Regenerate.
20257 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20258 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20260 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20261 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20262 (__strftime_internal): Handle %Ob and %Oh formats.
20263 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20264 (__strptime_internal): Handle %Ob and %Oh formats.
20265 * time/tst-strptime.c (day_tests): Add more tests to parse different
20266 forms of month names including the new %Ob format specifier.
20268 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20271 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20272 define them as the same as primary full month names explicitly.
20273 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20274 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20275 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20276 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20277 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20278 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20279 _NL_WALTMON_12): New enum constants.
20280 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20281 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20283 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20284 walt_mon, and alt_mon_defined members.
20285 (time_output): Output alt_mon and walt_mon members.
20286 (time_read): Read them, initialize them as copies of mon and wmon
20287 respectively if they are missing, initialize alt_mon_defined.
20288 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20289 * locale/programs/locfile-kw.h: Regenerate.
20290 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20291 * localedata/tst-langinfo.c (map): Add tests for the new constants
20292 ALTMON_1 .. ALTMON_12.
20293 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20295 * time/strftime_l.c (f_altmonth): New macro.
20296 (__strftime_internal): Handle %OB format.
20297 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20298 (__strptime_internal): Handle %OB format.
20299 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20300 of month names including the new %OB format specifier.
20302 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20305 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20306 from ABORT_TRANSACTION.
20307 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20308 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20309 ABORT_TRANSACTION_IMPL): Likewise.
20310 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20311 Linux code, but remove the code that aborts transactions.
20313 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20315 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
20317 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
20319 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
20320 in date: "2004-14-09" should be "2004-09-14".
20321 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
20322 "2003-15-09" should be "2003-09-15".
20324 2018-01-18 Arjun Shankar <arjun@redhat.com>
20330 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20332 (_int_memalign): check for integer overflow before calling
20334 * malloc/tst-malloc-too-large.c: New test.
20335 * malloc/Makefile: Add tst-malloc-too-large.
20337 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20339 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
20340 in date: "2017-24-07" should be "2017-07-24".
20341 * localedata/locales/mai_IN: Likewise.
20342 * localedata/locales/mai_NP: Likewise.
20344 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
20346 * po/ru.po: Update translations.
20348 2018-01-17 Joseph Myers <joseph@codesourcery.com>
20351 * sysdeps/hppa/backtrace.c: New file.
20353 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
20356 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
20357 align La_x86_64_retval to VEC_SIZE.
20359 2018-01-16 Joseph Myers <joseph@codesourcery.com>
20361 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
20362 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
20364 2018-01-16 Florian Weimer <fweimer@redhat.com>
20366 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
20367 Move tst-thread-exit-clobber ...
20368 [$(CXX)] (tests-unsupported): ... to here.
20370 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20372 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
20373 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
20374 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20375 (_dl_aarch64_cap_flags): Update.
20376 (_DL_HWCAP_COUNT): Update.
20378 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20380 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
20381 (_DL_HWCAP_LAST): Remove.
20382 (_DL_HWCAP_COUNT): Move to ...
20383 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20384 (_DL_HWCAP_COUNT): ... here.
20386 2018-01-16 Florian Weimer <fweimer@redhat.com>
20388 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
20389 mode with GNU extensions.
20391 2018-01-15 Alan Hayward <alan.hayward@arm.com>
20393 * elf/elf.h (NT_ARM_SVE): Define.
20395 2018-01-15 Florian Weimer <fweimer@redhat.com>
20398 * nptl/tst-minstack-throw.cc: New file.
20399 * nptl/Makefile (tests): Add tst-minstack-throw.
20400 (LDLIBS-tst-minstack-throw): Link with libstdc++.
20401 [!CXX] (tests-unsupported): Add tst-minstack-throw.
20403 2018-01-15 Joseph Myers <joseph@codesourcery.com>
20405 * scripts/build-many-glibcs.py (Context.checkout): Default
20406 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
20409 2018-01-13 Carlos O'Donell <carlos@redhat.com>
20412 * elf/elf.h (DF_1_STUB): Define.
20413 (DF_1_PIE): Define.
20415 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20418 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
20419 Do not add 0.5 to integer or out-of-range arguments.
20421 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20423 * po/bg.po: Update translations.
20424 * po/cs.po: Likewise.
20425 * po/de.po: Likewise.
20426 * po/ko.po: Likewise.
20427 * po/pl.po: Likewise.
20428 * po/sv.po: Likewise.
20429 * po/uk.po: Likewise.
20430 * po/vi.po: Likewise.
20432 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20434 * aarch64/start.S (_start): Use __wrap_main.
20435 (__wrap_main): New local symbol.
20437 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20441 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
20442 generic_getcwd if the path returned by getcwd syscall is not absolute.
20443 * io/tst-getcwd-abspath.c: New test.
20444 * io/Makefile (tests): Add tst-getcwd-abspath.
20446 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
20448 * malloc/malloc.c (malloc_consolidate): Add size check.
20450 2018-01-12 Florian Weimer <fweimer@redhat.com>
20452 * support/write_message.c (write_message): Preserve errno.
20453 * support/check.c (print_failure): Likewise.
20454 * support/support_test_verify_impl.c (support_test_verify_impl):
20456 * support/support_test_compare_failure.c
20457 (support_test_compare_failure): Likewise.
20459 2018-01-12 Florian Weimer <fweimer@redhat.com>
20462 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
20463 Prevent installation of libnsl.so.
20464 (libnsl-inhibit-o): Do not build (or install) static libraries.
20466 2018-01-12 Egmont Koblinger <egmont@gmail.com>
20469 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20470 before the day number which may produce a double space.
20471 (date_fmt): Likewise.
20473 2018-01-12 Joseph Myers <joseph@codesourcery.com>
20475 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20476 instead of fegetenv.
20478 2018-01-11 Joseph Myers <joseph@codesourcery.com>
20481 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20482 comment to say exceptions are discarded.
20483 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20485 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20488 2018-01-11 Florian Weimer <fweimer@redhat.com>
20490 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20493 2018-01-11 Florian Weimer <fweimer@redhat.com>
20496 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20497 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20499 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20502 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20503 negative arguments in test for NaN or infinity argument.
20505 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20507 * po/libc.pot: Regenerate.
20509 2018-01-10 Florian Weimer <fweimer@redhat.com>
20512 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20513 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20515 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20517 * hurd/hurd/fd.h: Include <fcntl.h>
20518 (__hurd_at_flags): New function.
20519 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20520 with call to __hurd_at_flags.
20521 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20522 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20524 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20525 (__access_noerrno): Use __faccessat_common instead of access_common.
20526 (__access): Likewise.
20527 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20528 with a call to __faccessat.
20529 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20530 (__faccessat_common): ... this. Move implementation of __access into it when
20531 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20532 reauthenticate_cwdir_at helper to implement AT mechanism.
20533 (__faccessat_noerrno): New function, just calls __faccessat_common.
20534 (__faccessat): New function, just calls __faccessat_common.
20535 (faccessat): Define weak alias.
20537 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20540 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20541 (CFLAGS-s_fmaxmagl.c): New variable.
20542 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20545 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20546 long int for arguments of possibly overflowing addition or
20548 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20550 2018-01-09 Joseph Myers <joseph@codesourcery.com>
20553 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20554 (CFLAGS-e_remainderl.c): New variable.
20557 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20559 (CFLAGS-s_cacoshl.c): Likewise.
20560 (CFLAGS-s_casinhl.c): Likewise.
20561 (CFLAGS-s_catanl.c): Likewise.
20562 (CFLAGS-s_catanhl.c): Likewise.
20563 (CFLAGS-s_cexpl.c): Likewise.
20564 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20565 (CFLAGS-s_csinhl.c): Likewise.
20566 (CFLAGS-s_clogl.c): Likewise.
20567 (CFLAGS-s_clog10l.c): Likewise.
20568 (CFLAGS-s_csinl.c): Likewise.
20569 (CFLAGS-s_csqrtl.c): Likewise.
20571 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
20572 2017-01-09 Svante Signell <svante.signell@gmail.com>
20574 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20575 (_hurd_exec_paths): New function.
20576 * hurd/hurd.h (_hurd_exec): Deprecate function.
20577 (_hurd_exec_paths): Declare function.
20578 * hurd/Versions: Export _hurd_exec_paths.
20579 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20580 (__execve): Use __getcwd to build absolute path, and use
20581 _hurd_exec_paths instead of _hurd_exec.
20582 * sysdeps/mach/hurd/spawni.c: Likewise.
20583 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20586 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20588 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20589 test instead of failing in case of ENOENT returned by posix_openpt.
20591 2018-01-08 Florian Weimer <fweimer@redhat.com>
20593 resolv: Support binary labels in test framework.
20594 * support/resolv_test.c (struct to_be_freed): Remove.
20595 (struct compressed_name): New.
20596 (allocate_compressed_name, ascii_tolower)
20597 (compare_compressed_name): New functions.
20598 (struct resolv_response_builder): Update type of
20599 compression_offsets for use with tsearch. Rempve to_be_freed.
20600 (response_push_pointer_to_free): Remove function.
20601 (resolv_response_add_name): Rewrite using struct compressed_name
20602 and tsearch instead of hsearch_r.
20603 (response_builder_allocate): Remove initialization of
20604 compression_offsets.
20605 (response_builder_free): Update for removal of to_be_freed. Use
20606 tdestroy instead of hdestroy_r.
20607 * resolv/Makefile (tests): Add tst-resolv-binary.
20608 (tst-resolv-binary): Link with -lresolv -lpthread.
20610 2018-01-08 Florian Weimer <fweimer@redhat.com>
20612 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20613 time. Pass positive flag instead of negative flag to
20614 support_test_compare_failure.
20615 (support_test_compare_failure): Change negative parameter to
20617 * support/support_test_compare_failure.c (report)
20618 (support_test_compare_failure): Likewise.
20619 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20620 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20622 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20625 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20626 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20627 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20629 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20631 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20633 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20634 Add s_sincosf-sse2 and s_sincosf-fma.
20635 (CFLAGS-s_sincosf-fma.c): New.
20636 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20637 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20638 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20639 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20640 __sincosf is defined.
20642 2018-01-08 Florian Weimer <fweimer@redhat.com>
20644 * nptl/tst-thread-exit-clobber.cc: New file.
20645 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20647 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20648 (tests): Add tst-thread-exit-clobber.
20649 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20651 2018-01-08 Florian Weimer <fweimer@redhat.com>
20653 * support/check.h (support_static_assert): Define.
20654 (TEST_COMPARE): Use it.
20656 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20658 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20659 [!__RLIM_T_MATCHES_RLIM64_T]
20660 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20661 __getrlimit64. Add libc_hidden_weak.
20663 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
20665 * elf/elf.h (R_RISCV_NONE): New define.
20666 (R_RISCV_32): Likewise.
20667 (R_RISCV_64): Likewise.
20668 (R_RISCV_RELATIVE): Likewise.
20669 (R_RISCV_COPY): Likewise.
20670 (R_RISCV_JUMP_SLOT): Likewise.
20671 (R_RISCV_TLS_DTPMOD32): Likewise.
20672 (R_RISCV_TLS_DTPMOD64): Likewise.
20673 (R_RISCV_TLS_DTPREL32): Likewise.
20674 (R_RISCV_TLS_DTPREL64): Likewise.
20675 (R_RISCV_TLS_TPREL32): Likewise.
20676 (R_RISCV_TLS_TPREL64): Likewise.
20677 * Makerules (make-link-multidir): Make directories before linking into
20679 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20681 (VDSO_HASH_LINUX_4_15): Likewise.
20682 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20683 in subdirectories of lib.
20684 * nptl/Makefile (/librt.so): Always depend on
20685 "$(shared-thread-library)".
20687 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20689 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
20690 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20691 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20693 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
20694 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20696 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
20697 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20698 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20699 * sysdeps/gnu/glob-lstat-compat.c: New file.
20700 * sysdeps/gnu/glob64-lstat-compat.c: New file.
20701 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
20703 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20705 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20706 Reserve 16 chars to reloc_addr before calling _itoa_word.
20708 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20711 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20712 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20714 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20715 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20717 * resource/tst-getrlimit.c: Add copyright header.
20719 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20720 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20722 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20723 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20724 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20725 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20727 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20728 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20729 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20730 RLIM64_INFINITY): Fix values to match the kernel ones.
20731 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20732 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20733 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20734 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20735 getrlimit64@@GLIBC_2_27.
20736 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20738 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20739 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20740 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20741 setrlimit, getrlimit64 and setrlimit64.
20743 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20746 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20747 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20749 2018-01-04 Joseph Myers <joseph@codesourcery.com>
20751 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20752 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20753 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20755 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20759 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20760 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20764 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20765 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20766 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20767 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20769 2018-01-04 Florian Weimer <fweimer@redhat.com>
20772 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20773 Align the stack before calling exit.
20774 * stdlib/tst-makecontext-align.c: New file.
20775 * stdlib/Makefile (tests): Add tst-makecontext-align.
20777 2018-01-04 Florian Weimer <fweimer@redhat.com>
20779 Add support for calling dlvsym from libc.so.
20780 * include/dlfcn.h (__libc_dlvsym): Declare.
20781 * elf/Makefile (tests-static-internal): Add
20782 tst-libc_dlvsym-static.
20783 (tests-internal): Add tst-libc_dlvsym.
20784 (modules-names): Add tst-libc_dlvsym-dso.
20785 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20786 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20787 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20788 object tst-libc_dlvsym-dso.so needs to be built before running
20790 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20791 * elf/Versions: Export __libc_dlvsym.
20792 * elf/dl-libc.c (struct do_dlvsym_args): New.
20793 (do_dlvsym, __libc_dlvsym): New functions.
20794 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20795 (_dl_open_hook2): New variable.
20796 (__libc_register_dl_open_hook): Set it.
20797 * elf/tst-libc_dlvsym-dso.c: New file.
20798 * elf/tst-libc_dlvsym-static.c: Likewise.
20799 * elf/tst-libc_dlvsym.c: Likewise.
20800 * elf/tst-libc_dlvsym.h: Likewise.
20802 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20804 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20805 include <sys/mount.h>.
20807 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20809 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20810 Add __NO_MATH_ERRNO__ check.
20812 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20814 * sysdeps/mips/mips32/libm-test-ulps: Update.
20815 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20817 2018-01-02 Florian Weimer <fweimer@redhat.com>
20819 * misc/tst-pselect.c: Add copyright header.
20821 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20823 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20825 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20827 (settrlimit): Rename into setrlimit.
20828 (__sttrlimit): Rename into __setrlimit.
20830 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20831 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20832 never defined in that case.
20834 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20836 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20838 * sysdeps/arm/libm-test-ulps: Update.
20840 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20841 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20843 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20845 * NEWS: Add cosf and sincosf to list of optimized functions.
20847 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20850 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20851 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20852 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20853 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20855 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20858 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20860 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20861 making a copy of it.
20863 2018-01-01 Joseph Myers <joseph@codesourcery.com>
20865 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20866 trailing whitespace removed.
20867 * scripts/config.guess: Update to version 2018-01-01.
20868 * scripts/config.sub: Update to version 2018-01-01.
20869 * scripts/move-if-change: Update from gnulib.
20871 * NEWS: Update copyright dates.
20872 * catgets/gencat.c (print_version): Likewise.
20873 * csu/version.c (banner): Likewise.
20874 * debug/catchsegv.sh: Likewise.
20875 * debug/pcprofiledump.c (print_version): Likewise.
20876 * debug/xtrace.sh (do_version): Likewise.
20877 * elf/ldconfig.c (print_version): Likewise.
20878 * elf/ldd.bash.in: Likewise.
20879 * elf/pldd.c (print_version): Likewise.
20880 * elf/sotruss.sh: Likewise.
20881 * elf/sprof.c (print_version): Likewise.
20882 * iconv/iconv_prog.c (print_version): Likewise.
20883 * iconv/iconvconfig.c (print_version): Likewise.
20884 * locale/programs/locale.c (print_version): Likewise.
20885 * locale/programs/localedef.c (print_version): Likewise.
20886 * login/programs/pt_chown.c (print_version): Likewise.
20887 * malloc/memusage.sh (do_version): Likewise.
20888 * malloc/memusagestat.c (print_version): Likewise.
20889 * malloc/mtrace.pl: Likewise.
20890 * manual/libc.texinfo: Likewise.
20891 * nptl/version.c (banner): Likewise.
20892 * nscd/nscd.c (print_version): Likewise.
20893 * nss/getent.c (print_version): Likewise.
20894 * nss/makedb.c (print_version): Likewise.
20895 * posix/getconf.c (main): Likewise.
20896 * scripts/test-installation.pl: Likewise.
20897 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20899 * All files with FSF copyright notices: Update copyright dates
20900 using scripts/update-copyrights.
20901 * locale/programs/charmap-kw.h: Regenerated.
20902 * locale/programs/locfile-kw.h: Likewise.
20904 2017-12-31 Zack Weinberg <zackw@panix.com>
20906 * libio/bits/libio-ldbl.h: Correct check for improper
20907 inclusion. Add own multiple include guard.
20909 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20910 Dmitry V. Levin <ldv@altlinux.org>
20914 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20915 string token expansion. Check for NULL pointer or empty string possibly
20916 returned by expand_dynamic_string_token.
20917 (decompose_rpath): Check for empty path after dynamic string
20920 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20923 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20925 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20926 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20927 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20928 and PTRACE_SYSCALL.
20929 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20930 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20931 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20932 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20933 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20934 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20936 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20937 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20938 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20939 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20941 bits/ptrace-shared.h.
20942 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20943 <bits/ptrace-shared.h>.
20944 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20945 __ptrace_peeksiginfo_flags, ptrace): Remove.
20946 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20947 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20948 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20949 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20950 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20952 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20955 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20956 end of the loop. Improve comments.
20958 2017-12-29 Zack Weinberg <zackw@panix.com>
20961 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20962 might be set on success.
20964 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20967 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20968 is unchanged on success.
20970 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20972 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20974 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20975 expand_dynamic_string_token): Likewise.
20976 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20979 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20982 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20983 is set and name contains ':', and all code depending on these checks.
20985 2017-12-24 Zack Weinberg <zackw@panix.com>
20987 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20988 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20990 * libio/libio.h: Rename the original version of this file to
20991 libio/bits/libio.h. Error out if not included by stdio.h or the
20993 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20994 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20995 if not included by bits/libio.h or the stub _G_config.h.
20996 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20997 sysdeps/unix/sysv/linux/bits. Error out if not included by
20998 bits/libio.h or the stub _G_config.h.
20999 * libio/stdio.h: Include bits/libio.h, not libio.h.
21000 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21001 well as libio.h and _G_config.h.
21003 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21004 * libio/strfile.h, stdio-common/vfscanf.c
21005 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21006 Include stdio.h, not _G_config.h nor libio.h.
21007 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21008 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21010 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21012 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21015 * stdlib/getrandom.c (getrandom): Fix comment.
21016 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21018 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
21021 * manual/arith.texi (strtoul): Fix a typo.
21024 * manual/arith.texi (finite): Fix the description of the return
21027 2017-12-22 Eric Blake <ebb9@byu.net>
21029 Avoid gcc warnings on cygwin
21030 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
21031 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
21032 Avoid unused variable.
21034 2017-12-22 Florian Weimer <fweimer@redhat.com>
21036 * io/Makefile (routines): Add copy_file_range.
21037 (tests): Add tst-copy_file_range.
21038 (tests-static, tests-internal): Add tst-copy_file_range-compat.
21039 * io/Versions (GLIBC_2.27): Export copy_file_range.
21040 * io/copy_file_range-compat.c: New file.
21041 * io/copy_file_range.c: Likewise.
21042 * io/tst-copy_file_range-compat.c: Likewise.
21043 * io/tst-copy_file_range.c: Likewise.
21044 * manual/llio.texi (Copying File Data): New section.
21045 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
21046 * support/Makefile (libsupport-routines): Add support-xfstat,
21047 xftruncate, xlseek.
21048 * support/support-xfstat.c: New file.
21049 * support/xftruncate.c: Likewise.
21050 * support/xlseek.c: Likewise.
21051 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
21052 * sysdeps/unix/sysv/linux/**.abilist: Update.
21053 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
21055 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
21057 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21058 disable-multi-arch variant to aarch64-linux-gnu.
21060 2017-12-20 Joseph Myers <joseph@codesourcery.com>
21062 * manual/texinfo.tex: Update to version 2017-12-18.20 with
21063 trailing whitespace removed.
21064 * scripts/config.guess: Update to version 2017-12-17.
21065 * scripts/config.sub: Update to version 2017-11-23.
21066 * scripts/install-sh: Update to version 2017-09-23.17.
21067 * scripts/move-if-change: Update to version 2017-09-13 06:45.
21069 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21071 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
21072 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21073 * sysdeps/tile/_mcount.S (__mcount): Likewise.
21074 * sysdeps/tile/crti.S (_init, _fini): Likewise.
21075 * sysdeps/tile/crtn.S: Likewise.
21076 * sysdeps/tile/dl-start.S (_start): Likewise.
21077 * sysdeps/tile/dl-trampoline.S: Likewise.
21078 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
21079 * sysdeps/tile/start.S (_start): Likewise.
21080 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
21081 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
21082 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
21083 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
21084 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
21085 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
21086 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
21088 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
21090 * sysdeps/tile/preconfigure: Remove tilegx folder.
21091 * sysdeps/tile/tilegx/Implies: Move definitions to ...
21092 * sysdeps/tile/Implies: ... here.
21093 * sysdeps/tile/tilegx/Makefile: Move rules to ...
21094 * sysdeps/tile/Makefile: ... here.
21095 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
21096 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21097 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21098 * sysdeps/tile/bits/wordsize.h: ... here.
21099 * sysdeps/tile/tilegx/*: Move to ...
21100 * sysdeps/tile/*: ... here.
21101 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21102 * sysdeps/tile/tilegx32/Implies: ... here.
21103 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21104 * sysdeps/tile/tilegx64/Implies: ... here.
21105 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21107 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21108 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21109 * sysdeps/unix/sysv/linux/tile/*: ... here.
21110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21111 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21113 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21115 * README: Remove tilepro-*-linux-gnu from supported architecture.
21116 * scripts/build-many-glibcs.py: Likewise.
21117 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21118 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21119 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21120 elf_machine_matches_host, elf_machine_dynamic,
21121 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21122 howto, elf_machine_rela): Likewise.
21123 * sysdeps/tile/dl-start.S (_start): Likewise.
21124 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21125 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21126 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21127 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21128 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21129 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21131 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21132 * sysdeps/tile/preconfigure: Likewise.
21133 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21134 POINTER_CHK_GUARD): Likewise.
21135 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21136 * sysdeps/tile/start.S (_start): Likewise.
21137 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21139 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21140 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21142 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21143 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21144 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21146 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21147 * sysdeps/tile/tilepro/Implies: Remove file.
21148 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21149 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21150 * sysdeps/tile/tilepro/memchr.c: Likewise.
21151 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21152 * sysdeps/tile/tilepro/memset.c: Likewise.
21153 * sysdeps/tile/tilepro/memusage.h: Likewise.
21154 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21155 * sysdeps/tile/tilepro/strchr.c: Likewise.
21156 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21157 * sysdeps/tile/tilepro/strlen.c: Likewise.
21158 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21159 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21160 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21161 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21162 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21163 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21164 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21166 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21167 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21168 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21169 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21170 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21171 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21172 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21173 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21174 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21175 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21176 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21177 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21178 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21179 tilepro mention in comment.
21181 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21182 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21183 * nptl/pthread_join_common.c: New file: common function used on
21184 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21185 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21186 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21187 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21188 (cleanup): Move definition to pthread_join_common.c.
21189 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21190 Remove superflous checks.
21191 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21194 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21196 * sysdeps/aarch64/libm-test-ulps: Update.
21198 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21200 * sysdeps/aarch64/memset.S (MEMSET): Define.
21202 2017-12-20 Florian Weimer <fweimer@redhat.com>
21205 nptl: Provide full implementation of pthread_self in libc.so.
21206 * nptl/Makefile (routines): Add pthread_self.
21207 (libpthread-routines): Replace pthread_self with
21208 compat-pthread_self.
21209 * nptl/forward.c (pthread_self): Remove.
21210 * nptl/nptl-init.c (pthread_functions): Do not initialize
21212 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21213 * nptl/compat-pthread_self.c: New file.
21214 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21215 Remove ptr_pthread_self.
21217 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21219 * posix/regcomp.c: Fix spelling in comments.
21220 * posix/regex.h: Likewise.
21221 * posix/regex_internal.c: Likewise.
21222 * posix/regexec.c: Likewise.
21224 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21227 * math/Makefile [C++] (tests): Add test for iseqsig.
21228 * math/math.h [C++] (iseqsig): New implementation, which does
21229 not rely on __MATH_TG/__builtin_types_compatible_p.
21230 * math/test-math-iseqsig.cc: New file.
21231 * sysdeps/powerpc/powerpc64le/Makefile
21232 (CFLAGS-test-math-iseqsig.cc): New variable.
21234 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21236 * elf/dl-load.c (is_trusted_path): Remove.
21237 (fillin_rpath): Remove check_trusted argument and its use,
21238 all callers changed.
21240 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21243 * Makeconfig (link-pie-before-libc): Replace -pie with
21244 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21245 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21246 (tst-dlopen-aout-no-pie): New.
21247 (LDFLAGS-tst-prelink): Removed.
21248 (tst-prelink-no-pie): New.
21249 (LDFLAGS-tst-main1): Removed.
21250 (tst-main1-no-pie): New.
21251 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21252 (tst-gmon-no-pie): New.
21254 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21256 * manual/install.texi: Document that --enable-static-pie
21258 * INSTALL: Regenerated.
21260 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21263 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21266 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21270 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21274 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21276 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21277 <errno.h>. Include "eexp.tbl".
21278 (half): New constant.
21280 (__ieee754_exp): Rewrite.
21281 (__slowexp): Remove prototype.
21282 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21283 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21284 * sysdeps/i386/fpu/slowexp.c: Likewise.
21285 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21286 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21287 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21288 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21289 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21290 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21291 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21293 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21294 (CPPFLAGS-slowexp.c): Remove variable.
21295 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21296 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21297 (CFLAGS-slowexp-fma.c): Remove variable.
21298 (CFLAGS-slowexp-fma4.c): Likewise.
21299 (CFLAGS-slowexp-avx.c): Likewise.
21300 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21302 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21303 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21304 * math/Makefile (type-double-routines): Remove slowexp.
21305 * manual/probes.texi (slowexp_p6): Remove.
21306 (slowexp_p32): Likewise.
21308 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21310 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
21313 * lib/glob.c (glob): Do not pass NULL to mempcpy.
21315 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21319 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21321 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21322 <errno.h>. Include "eexp.tbl".
21323 (half): New constant.
21325 (__ieee754_exp): Rewrite.
21326 (__slowexp): Remove prototype.
21327 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21328 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21329 * sysdeps/i386/fpu/slowexp.c: Likewise.
21330 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21331 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21332 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21333 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21334 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21335 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21336 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21338 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21339 (CPPFLAGS-slowexp.c): Remove variable.
21340 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21341 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21342 (CFLAGS-slowexp-fma.c): Remove variable.
21343 (CFLAGS-slowexp-fma4.c): Likewise.
21344 (CFLAGS-slowexp-avx.c): Likewise.
21345 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21347 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21348 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21349 * math/Makefile (type-double-routines): Remove slowexp.
21350 * manual/probes.texi (slowexp_p6): Remove.
21351 (slowexp_p32): Likewise.
21353 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21354 James Clarke <jrtc27@jrtc27.com>
21357 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
21360 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21363 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
21366 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21369 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21370 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21371 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21372 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21375 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21378 * bits/types/__cancel_jmp_buf_tag.h: New file.
21379 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21380 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21381 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21382 * nptl/Makefile (headers): Add
21383 bits/types/__cancel_jmp_buf_tag.h.
21384 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21385 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21386 * sysdeps/nptl/pthread.h: Include
21387 <bits/types/__cancel_jmp_buf_tag.h>.
21388 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21390 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21392 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21394 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21395 --enable-static-pie variants to x86_64, x32 and i686.
21397 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21400 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
21401 argument for attrubutes. All callers changed.
21402 (__inline_mathop1): Likewise. All callers changed.
21403 (__inline_mathop): Likewise. All callers changed.
21404 [__USE_MISC] (scalbn): Use __inline_forward instead of
21405 __inline_forward_c.
21406 [__USE_ISOC99] (scalbln): Likewise.
21407 [__USE_ISOC99] (nearbyint): Likewise.
21408 [__USE_ISOC99] (lrint): Likewise.
21409 [__USE_MISC] (scalbnf): Likewise.
21410 [__USE_ISOC99] (scalblnf): Likewise.
21411 [__USE_ISOC99] (nearbyintf): Likewise.
21412 [__USE_ISOC99] (lrintf): Likewise.
21413 [__USE_MISC] (scalbnl): Likewise.
21414 [__USE_ISOC99] (scalblnl): Likewise.
21415 [__USE_ISOC99] (nearbyintl): Likewise.
21416 [__USE_ISOC99] (lrintl): Likewise.
21417 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
21418 __inline_mathop and __m81_defun changed.
21420 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
21421 CPU or FPU for ARM hard-float configurations.
21423 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21425 * nptl/tst-attr3.c: Include <libc-diag.h>.
21426 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
21428 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
21430 * string/tester.c (test_strncat): Also disable -Warray-bounds
21431 warnings for two tests.
21433 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21436 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
21437 $(cc-pie-default) == yes.
21438 * config.make.in (cc-pie-default): New.
21439 * configure.ac (libc_cv_pie_default): Renamed to ...
21440 (libc_cv_cc_pie_default): This.
21441 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
21442 * configure: Regenerated.
21444 2017-12-18 Florian Weimer <fweimer@redhat.com>
21447 ld.so: Harden dl-libc/libdl hooks.
21448 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
21449 (rtld_active): New function.
21450 * dlfcn/dladdr.c (__dladdr): Call it.
21451 * dlfcn/dladdr1.c (__dladdr1): Likewise.
21452 * dlfcn/dlclose.c (__dlcose): Likewise.
21453 * dlfcn/dlerror.c (__dlerror): Likewise.
21454 * dlfcn/dlinfo.c (__dlinfo): Likewise.
21455 * dlfcn/dlmopen.c (__dlmopen): Likewise.
21456 * dlfcn/dlopen.c (__dlopen): Likewise.
21457 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21458 * dlfcn/dlsym.c (__dlsym): Likewise.
21459 * dlfcn/dlvsym.c (__dlvsym): Likewise.
21460 * libio/vtables.c (_IO_vtable_check): Likewise.
21461 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
21462 (__libc_dlclose): Likewise.
21463 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
21466 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21469 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21470 buffers for readlink input and output.
21472 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21475 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21476 inhibit_stack_protector.
21479 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21480 inhibit_stack_protector.
21482 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21485 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21486 code and invocation.
21488 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21490 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21492 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21495 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21497 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21499 * sysdeps/s390/fpu/libm-test-ulps: Update.
21501 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21505 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21507 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21508 constants to s_sincosf.h file.
21509 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21510 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21512 * sysdeps/ieee754/flt-32/s_sincosf.h:
21515 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21518 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21521 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21524 * INSTALL: Regenerated.
21525 * Makeconfig (real-static-start-installed-name): New.
21526 (pic-default): Updated for --enable-static-pie.
21527 (pie-default): New for --enable-static-pie.
21528 (default-pie-ldflag): Likewise.
21529 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21530 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21531 Replace $(static-start-installed-name) with
21532 $(real-static-start-installed-name).
21533 (+prectorT): Updated for --enable-static-pie.
21534 (+postctorT): Likewise.
21535 (CFLAGS-.o): Add $(pie-default).
21536 (CFLAGS-.op): Likewise.
21537 * NEWS: Mention --enable-static-pie.
21538 * config.h.in (ENABLE_STATIC_PIE): New.
21539 * configure.ac (--enable-static-pie): New configure option.
21540 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21541 (have-static-pie): Likewise.
21542 Enable static PIE if linker supports --no-dynamic-linker.
21543 (ENABLE_STATIC_PIE): New AC_DEFINE.
21544 (enable-static-pie): New LIBC_CONFIG_VAR.
21545 * configure: Regenerated.
21546 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21547 gr$(start-installed-name) for --enable-static-pie.
21548 (extra-objs): Likewise.
21549 (install-lib): Likewise.
21550 (extra-objs): Add static-reloc.o and static-reloc.os
21551 ($(objpfx)$(start-installed-name)): Also depend on
21552 $(objpfx)static-reloc.o.
21553 ($(objpfx)r$(start-installed-name)): New.
21554 ($(objpfx)g$(start-installed-name)): Also depend on
21555 $(objpfx)static-reloc.os.
21556 ($(objpfx)gr$(start-installed-name)): New.
21557 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21559 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21561 * csu/static-reloc.c: New file.
21562 * elf/Makefile (routines): Add dl-reloc-static-pie.
21563 (elide-routines.os): Likewise.
21564 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21565 (tst-tls1-static-non-pie-no-pie): New.
21566 * elf/dl-reloc-static-pie.c: New file.
21567 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21568 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21569 STATIC_PIE_BOOTSTRAP.
21570 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21571 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21572 (tests-static): Likewise.
21573 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21574 (tst-gmon-static-no-pie): New.
21575 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21576 (CRT-tst-gmon-static-pie): Likewise.
21577 (tst-gmon-static-pie-ENV): Likewise.
21578 (tests-special): Likewise.
21579 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21580 (clean-tst-gmon-static-pie-data): Likewise.
21581 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21582 * gmon/tst-gmon-static-pie.c: New file.
21583 * manual/install.texi: Document --enable-static-pie.
21584 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21585 (_dl_get_dl_main_map): Likewise.
21586 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21587 * sysdeps/x86_64/configure.ac: Likewise.
21588 * sysdeps/i386/configure: Regenerated.
21589 * sysdeps/x86_64/configure: Likewise.
21590 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21591 (ASFLAGS-.op): Likewise.
21593 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21595 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21596 * posix/tst-mmap-offset.c (fname): Use /tmp.
21597 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21599 2017-12-15 Steve Ellcey <sellcey@cavium.com>
21601 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21603 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21605 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21608 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21610 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21611 --with-float=hard for arm-linux-gnueabihf configurations.
21614 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21615 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21616 ($(mo-installed)): Use $(objpfx)%.mo.
21617 (realclean): Remove rule.
21619 * po/Makefile (linguas): Remove rule and dependencies.
21620 (linguas.mo): Likewise.
21621 (.PHONY): Do not depend on linguas and linguas.mo.
21622 (podir): Remove variable.
21623 (pofiles): Likewise.
21624 [$(pofiles)] (%.po): Remove rule.
21626 * sysdeps/sparc/sparc32/Makefile
21627 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21628 start-of-line whitespace in argument of echo.
21629 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21630 with whitespace. Generate __wrap_.udiv alias.
21631 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21632 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21633 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21634 * sysdeps/sparc/sparc32/urem.S: Likewise.
21636 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21638 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21639 for aligned inputs.
21641 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21643 * benchtests/bench-strcmp.c: Print output in JSON format.
21645 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21647 2017-12-14 Florian Weimer <fweimer@redhat.com>
21651 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21652 the expanded path string.
21654 2017-12-14 Florian Weimer <fweimer@redhat.com>
21658 * elf/dl-load.c (system_dirs): Update comment.
21659 (nsystem_dirs_len): Use array_length.
21660 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21662 2017-12-14 Florian Weimer <fweimer@redhat.com>
21664 Simplify compiling most of support/ outside of glibc.
21665 * support/check_addrinfo.c: Include <string.h>.
21666 * support/check_dns_packet.c: Likewise.
21667 * support/check_hostent.c: Likewise.
21668 * support/support_can_chroot.c: Include <support/xunistd.h>.
21669 * support/support_format_addrinfo.c: Include <stdlib.h>
21670 * support/support_format_dns_packet.c: Include <stdbool.h>.
21671 * support/support_format_hostent.c: Include <stdlib.h>.
21672 * support/support_format_netent.c: Likewise.
21673 * support/support_write_string.c: Include <support/xunistd.h>.
21674 * support/xdlfcn.c: Include <stddef.h>.
21676 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21678 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21680 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21681 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21683 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21684 (sysdeps_routines): Add memset-niagara7.
21685 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21687 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21689 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21690 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21691 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21692 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21693 Add niagara7 option.
21694 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21697 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21698 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21699 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21701 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21703 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21704 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21705 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21706 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21707 and __memmove_niagara7.
21708 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21709 Add niagara7 option.
21710 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21711 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21712 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21713 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21714 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21716 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21718 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21719 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21720 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21721 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21723 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21724 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21725 _dl_sparc_cap_flags array.
21726 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21728 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21730 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21731 time whenever possible.
21733 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21735 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21736 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21738 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21740 * soft-fp/fmadf4.c: Move to ....
21741 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21742 * soft-fp/fmasf4.c: Move to ....
21743 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21744 * soft-fp/fmatf4.c: Move to ....
21745 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21746 * sysdeps/ieee754/soft-fp/Makefile: New file.
21747 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21748 * sysdeps/arm/preconfigure: Regenerated.
21749 * sysdeps/arm/nofpu/Implies: New file.
21750 * sysdeps/arm/s_fma.c: Remove file.
21751 * sysdeps/arm/s_fmaf.c: Likewise.
21752 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21753 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21754 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21755 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21756 * sysdeps/microblaze/s_fma.c: Remove file.
21757 * sysdeps/microblaze/s_fmaf.c: Likewise.
21758 * sysdeps/mips/mips32/nofpu/Implies: New file.
21759 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21760 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21761 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21762 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21763 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21764 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21765 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21767 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21768 * sysdeps/nios2/s_fma.c: Remove file.
21769 * sysdeps/nios2/s_fmaf.c: Likewise.
21770 * sysdeps/sh/nofpu/Implies: New file.
21771 * sysdeps/sh/s_fma.c: Remove file.
21772 * sysdeps/sh/s_fmaf.c: Likewise.
21773 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21774 * sysdeps/tile/s_fma.c: Remove file.
21775 * sysdeps/tile/s_fmaf.c: Likewise.
21777 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21779 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21780 Add s_cosf-sse2 and s_cosf-fma.
21781 (CFLAGS-s_cosf-fma.c): New.
21782 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21783 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21784 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21786 2017-12-12 Steve Ellcey <sellcey@cavium.com>
21788 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21790 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21792 * libio/Makefile (tests): Add tst-bz22415.
21793 (tst-bz22415-ENV): New rule.
21794 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21795 (tests-special): Add tst-bz22415-mem.out.
21796 ($(objpfx)tst-bz22415-mem.out): New rule.
21797 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21798 in case of a successful seek operation.
21799 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21800 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21801 buffer is required.
21802 * libio/tst-bz22415.c: New test.
21804 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21806 2017-12-12 James Clarke <jrtc27@jrtc27.com>
21808 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21809 __IPC_64 to 0 to avoid IPC_64 being set.
21811 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21814 * math/bits/mathcalls.h (nextafter): Remove const.
21815 (nexttoward): Likewise.
21817 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21819 * configure.ac (--with-fp): Remove configure option.
21820 (with_fp_cond): New variable.
21821 (libc_cv_with_fp): New configure test. Use this variable instead
21823 * configure: Regenerated.
21824 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21825 * manual/install.texi (Configuring and compiling): Remove
21827 * INSTALL: Regenerated.
21828 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21829 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21830 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21831 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21832 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21833 use --without-fp to configure glibc.
21835 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
21837 * manual/locale.texi (nl_langinfo): Fix a typo.
21839 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
21842 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21844 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21846 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21847 (CFLAGS-argp-parse.c): Likewise.
21848 (CFLAGS-argp-fmtstream.c): Likewise.
21849 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21850 (CPPFLAGS-sha512-crypt.c): Likewise.
21851 (CPPFLAGS-md5-crypt.c): Likewise.
21852 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21853 (CFLAGS-stack_chk_fail_local.c): Likewise.
21854 (CFLAGS-backtrace.c): Likewise.
21855 (CFLAGS-sprintf_chk.c): Likewise.
21856 (CFLAGS-snprintf_chk.c): Likewise.
21857 (CFLAGS-vsprintf_chk.c): Likewise.
21858 (CFLAGS-vsnprintf_chk.c): Likewise.
21859 (CFLAGS-asprintf_chk.c): Likewise.
21860 (CFLAGS-vasprintf_chk.c): Likewise.
21861 (CFLAGS-obprintf_chk.c): Likewise.
21862 (CFLAGS-dprintf_chk.c): Likewise.
21863 (CFLAGS-vdprintf_chk.c): Likewise.
21864 (CFLAGS-printf_chk.c): Likewise.
21865 (CFLAGS-fprintf_chk.c): Likewise.
21866 (CFLAGS-vprintf_chk.c): Likewise.
21867 (CFLAGS-vfprintf_chk.c): Likewise.
21868 (CFLAGS-gets_chk.c): Likewise.
21869 (CFLAGS-fgets_chk.c): Likewise.
21870 (CFLAGS-fgets_u_chk.c): Likewise.
21871 (CFLAGS-fread_chk.c): Likewise.
21872 (CFLAGS-fread_u_chk.c): Likewise.
21873 (CFLAGS-swprintf_chk.c): Likewise.
21874 (CFLAGS-vswprintf_chk.c): Likewise.
21875 (CFLAGS-wprintf_chk.c): Likewise.
21876 (CFLAGS-fwprintf_chk.c): Likewise.
21877 (CFLAGS-vwprintf_chk.c): Likewise.
21878 (CFLAGS-vfwprintf_chk.c): Likewise.
21879 (CFLAGS-fgetws_chk.c): Likewise.
21880 (CFLAGS-fgetws_u_chk.c): Likewise.
21881 (CFLAGS-read_chk.c): Likewise.
21882 (CFLAGS-pread_chk.c): Likewise.
21883 (CFLAGS-pread64_chk.c): Likewise.
21884 (CFLAGS-recv_chk.c): Likewise.
21885 (CFLAGS-recvfrom_chk.c): Likewise.
21886 (CFLAGS-tst-longjmp_chk.c): Likewise.
21887 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21888 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21889 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21890 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21891 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21892 (CFLAGS-tst-chk1.c): Likewise.
21893 (CFLAGS-tst-chk2.c): Likewise.
21894 (CFLAGS-tst-chk3.c): Likewise.
21895 (CFLAGS-tst-chk4.cc): Likewise.
21896 (CFLAGS-tst-chk5.cc): Likewise.
21897 (CFLAGS-tst-chk6.cc): Likewise.
21898 (CFLAGS-tst-lfschk1.c): Likewise.
21899 (CFLAGS-tst-lfschk2.c): Likewise.
21900 (CFLAGS-tst-lfschk3.c): Likewise.
21901 (CFLAGS-tst-lfschk4.cc): Likewise.
21902 (CFLAGS-tst-lfschk5.cc): Likewise.
21903 (CFLAGS-tst-lfschk6.cc): Likewise.
21904 (CFLAGS-tst-ssp-1.c): Likewise.
21905 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21906 (CFLAGS-scandir64.c): Likewise.
21907 (CFLAGS-scandir-tail.c): Likewise.
21908 (CFLAGS-scandir64-tail.c): Likewise.
21909 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21910 (CFLAGS-dl-tunables.c): Likewise.
21911 (CFLAGS-dl-runtime.c): Likewise.
21912 (CFLAGS-dl-lookup.c): Likewise.
21913 (CFLAGS-dl-iterate-phdr.c): Likewise.
21914 (CFLAGS-vismain.c): Likewise.
21915 (CFLAGS-tst-linkall-static.c): Likewise.
21916 (CFLAGS-tst-linkall-static.c): Likewise.
21917 (CPPFLAGS-dl-load.c): Likewise.
21918 (CFLAGS-ldconfig.c): Likewise.
21919 (CFLAGS-dl-cache.c): Likewise.
21920 (CFLAGS-cache.c): Likewise.
21921 (CFLAGS-rtld.c): Likewise.
21922 (CFLAGS-multiload.c): Likewise.
21923 (CFLAGS-filtmod1.c): Likewise.
21924 (CFLAGS-tst-align.c): Likewise.
21925 (CFLAGS-tst-align2.c): Likewise.
21926 (CFLAGS-tst-alignmod.c): Likewise.
21927 (CFLAGS-tst-alignmod2.c): Likewise.
21928 (CPPFLAGS-tst-execstack.c): Likewise.
21929 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21930 (CFLAGS-tst-latepthreadmod.c): Likewise.
21931 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21932 (CFLAGS-getgrnam_r.c): Likewise.
21933 (CFLAGS-getgrent_r.c): Likewise.
21934 (CFLAGS-getgrent.c): Likewise.
21935 (CFLAGS-fgetgrent.c): Likewise.
21936 (CFLAGS-fgetgrent_r.c): Likewise.
21937 (CFLAGS-putgrent.c): Likewise.
21938 (CFLAGS-initgroups.c): Likewise.
21939 (CFLAGS-getgrgid.c): Likewise.
21940 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21941 (CFLAGS-getsgent.c): Likewise.
21942 (CFLAGS-fgetsgent.c): Likewise.
21943 (CFLAGS-fgetsgent_r.c): Likewise.
21944 (CFLAGS-putsgent.c): Likewise.
21945 (CFLAGS-getsgnam.c): Likewise.
21946 (CFLAGS-getsgnam_r.c): Likewise.
21947 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21948 (CFLAGS-iconv_charmap.c): Likewise.
21949 (CFLAGS-dummy-repertoire.c): Likewise.
21950 (CFLAGS-charmap.c): Likewise.
21951 (CFLAGS-linereader.c): Likewise.
21952 (CFLAGS-simple-hash.c): Likewise.
21953 (CFLAGS-gconv_conf.c): Likewise.
21954 (CFLAGS-iconvconfig.c): Likewise.
21955 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21956 (CFLAGS-gethstbyad.c): Likewise.
21957 (CFLAGS-gethstbynm_r.c): Likewise.
21958 (CFLAGS-gethstbynm.c): Likewise.
21959 (CFLAGS-gethstbynm2_r.c): Likewise.
21960 (CFLAGS-gethstbynm2.c): Likewise.
21961 (CFLAGS-gethstent_r.c): Likewise.
21962 (CFLAGS-gethstent.c): Likewise.
21963 (CFLAGS-rcmd.c): Likewise.
21964 (CFLAGS-getnetbynm_r.c): Likewise.
21965 (CFLAGS-getnetbynm.c): Likewise.
21966 (CFLAGS-getnetbyad_r.c): Likewise.
21967 (CFLAGS-getnetbyad.c): Likewise.
21968 (CFLAGS-getnetent_r.c): Likewise.
21969 (CFLAGS-getnetent.c): Likewise.
21970 (CFLAGS-getaliasent_r.c): Likewise.
21971 (CFLAGS-getaliasent.c): Likewise.
21972 (CFLAGS-getrpcent_r.c): Likewise.
21973 (CFLAGS-getrpcent.c): Likewise.
21974 (CFLAGS-getservent_r.c): Likewise.
21975 (CFLAGS-getservent.c): Likewise.
21976 (CFLAGS-getprtent_r.c): Likewise.
21977 (CFLAGS-getprtent.c): Likewise.
21978 (CFLAGS-either_ntoh.c): Likewise.
21979 (CFLAGS-either_hton.c): Likewise.
21980 (CFLAGS-getnetgrent.c): Likewise.
21981 (CFLAGS-getnetgrent_r.c): Likewise.
21982 (CFLAGS-tst-checks-posix.c): Likewise.
21983 (CFLAGS-tst-sockaddr.c): Likewise.
21984 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21985 (CFLAGS-tst-translit.c): Likewise.
21986 (CFLAGS-tst-gettext2.c): Likewise.
21987 (CFLAGS-tst-codeset.c): Likewise.
21988 (CFLAGS-tst-gettext3.c): Likewise.
21989 (CFLAGS-tst-gettext4.c): Likewise.
21990 (CFLAGS-tst-gettext5.c): Likewise.
21991 (CFLAGS-tst-gettext6.c): Likewise.
21992 * io/Makefile (CFLAGS-open.c): Likewise.
21993 (CFLAGS-open64.c): Likewise.
21994 (CFLAGS-creat.c): Likewise.
21995 (CFLAGS-creat64.c): Likewise.
21996 (CFLAGS-fcntl.c): Likewise.
21997 (CFLAGS-poll.c): Likewise.
21998 (CFLAGS-ppoll.c): Likewise.
21999 (CFLAGS-lockf.c): Likewise.
22000 (CFLAGS-statfs.c): Likewise.
22001 (CFLAGS-fstatfs.c): Likewise.
22002 (CFLAGS-statvfs.c): Likewise.
22003 (CFLAGS-fstatvfs.c): Likewise.
22004 (CFLAGS-fts.c): Likewise.
22005 (CFLAGS-fts64.c): Likewise.
22006 (CFLAGS-ftw.c): Likewise.
22007 (CFLAGS-ftw64.c): Likewise.
22008 (CFLAGS-lockf.c): Likewise.
22009 (CFLAGS-posix_fallocate.c): Likewise.
22010 (CFLAGS-posix_fallocate64.c): Likewise.
22011 (CFLAGS-fallocate.c): Likewise.
22012 (CFLAGS-fallocate64.c): Likewise.
22013 (CFLAGS-read.c): Likewise.
22014 (CFLAGS-write.c): Likewise.
22015 (CFLAGS-test-stat.c): Likewise.
22016 (CFLAGS-test-lfs.c): Likewise.
22017 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22018 (CFLAGS-fputc.c): Likewise.
22019 (CFLAGS-fputwc.c): Likewise.
22020 (CFLAGS-freopen64.c): Likewise.
22021 (CFLAGS-freopen.c): Likewise.
22022 (CFLAGS-fseek.c): Likewise.
22023 (CFLAGS-fseeko64.c): Likewise.
22024 (CFLAGS-fseeko.c): Likewise.
22025 (CFLAGS-ftello64.c): Likewise.
22026 (CFLAGS-ftello.c): Likewise.
22027 (CFLAGS-fwide.c): Likewise.
22028 (CFLAGS-genops.c): Likewise.
22029 (CFLAGS-getc.c): Likewise.
22030 (CFLAGS-getchar.c): Likewise.
22031 (CFLAGS-getwc.c): Likewise.
22032 (CFLAGS-getwchar.c): Likewise.
22033 (CFLAGS-iofclose.c): Likewise.
22034 (CFLAGS-iofflush.c): Likewise.
22035 (CFLAGS-iofgetpos64.c): Likewise.
22036 (CFLAGS-iofgetpos.c): Likewise.
22037 (CFLAGS-iofgets.c): Likewise.
22038 (CFLAGS-iofgetws.c): Likewise.
22039 (CFLAGS-iofputs.c): Likewise.
22040 (CFLAGS-iofputws.c): Likewise.
22041 (CFLAGS-iofread.c): Likewise.
22042 (CFLAGS-iofsetpos64.c): Likewise.
22043 (CFLAGS-iofsetpos.c): Likewise.
22044 (CFLAGS-ioftell.c): Likewise.
22045 (CFLAGS-iofwrite.c): Likewise.
22046 (CFLAGS-iogetdelim.c): Likewise.
22047 (CFLAGS-iogetline.c): Likewise.
22048 (CFLAGS-iogets.c): Likewise.
22049 (CFLAGS-iogetwline.c): Likewise.
22050 (CFLAGS-ioputs.c): Likewise.
22051 (CFLAGS-ioseekoff.c): Likewise.
22052 (CFLAGS-ioseekpos.c): Likewise.
22053 (CFLAGS-iosetbuffer.c): Likewise.
22054 (CFLAGS-iosetvbuf.c): Likewise.
22055 (CFLAGS-ioungetc.c): Likewise.
22056 (CFLAGS-ioungetwc.c): Likewise.
22057 (CFLAGS-oldfileops.c): Likewise.
22058 (CFLAGS-oldiofclose.c): Likewise.
22059 (CFLAGS-oldiofgetpos64.c): Likewise.
22060 (CFLAGS-oldiofgetpos.c): Likewise.
22061 (CFLAGS-oldiofsetpos64.c): Likewise.
22062 (CFLAGS-oldiofsetpos.c): Likewise.
22063 (CFLAGS-peekc.c): Likewise.
22064 (CFLAGS-putc.c): Likewise.
22065 (CFLAGS-putchar.c): Likewise.
22066 (CFLAGS-putwc.c): Likewise.
22067 (CFLAGS-putwchar.c): Likewise.
22068 (CFLAGS-rewind.c): Likewise.
22069 (CFLAGS-wfileops.c): Likewise.
22070 (CFLAGS-wgenops.c): Likewise.
22071 (CFLAGS-oldiofopen.c): Likewise.
22072 (CFLAGS-iofopen.c): Likewise.
22073 (CFLAGS-iofopen64.c): Likewise.
22074 (CFLAGS-oldtmpfile.c): Likewise.
22075 (CFLAGS-tst_putwc.c): Likewise.
22076 * locale/Makefile (CFLAGS-md5.c): Likewise.
22077 (CFLAGS-charmap.c): Likewise.
22078 (CFLAGS-locfile.c): Likewise.
22079 (CFLAGS-charmap-dir.c): Likewise.
22080 * login/Makefile (CFLAGS-grantpt.c): Likewise.
22081 (CFLAGS-getpt.c): Likewise.
22082 (CFLAGS-pt_chown.c): Likewise.
22083 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
22084 (CFLAGS-obstack.c): Likewise.
22085 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
22086 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
22087 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
22088 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
22089 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
22090 (CFLAGS-test-tgmath.c): Likewise.
22091 (CFLAGS-test-tgmath2.c): Likewise.
22092 (CFLAGS-test-tgmath-ret.c): Likewise.
22093 (CFLAGS-test-powl.c): Likewise.
22094 (CFLAGS-test-snan.c): Likewise.
22095 (CFLAGS-test-signgam-finite.c): Likewise.
22096 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22097 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22098 (CFLAGS-test-signgam-uchar.c): Likewise.
22099 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22100 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22101 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22102 (CFLAGS-test-signgam-uint.c): Likewise.
22103 (CFLAGS-test-signgam-uint-init.c): Likewise.
22104 (CFLAGS-test-signgam-uint-static.c): Likewise.
22105 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22106 (CFLAGS-test-signgam-ullong.c): Likewise.
22107 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22108 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22109 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22110 (CFLAGS-test-math-cxx11.cc): Likewise.
22111 (CFLAGS-test-math-isinff.cc): Likewise.
22112 (CFLAGS-test-math-iszero.cc): Likewise.
22113 (CFLAGS-test-math-issignaling.cc): Likewise.
22114 (CFLAGS-test-math-iscanonical.cc): Likewise.
22115 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22116 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22117 (CFLAGS-test-flt-eval-method.c): Likewise.
22118 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22119 (CFLAGS-test-finite-macros.c): Likewise.
22120 * misc/Makefile (CFLAGS-select.c): Likewise.
22121 (CFLAGS-tsearch.c): Likewise.
22122 (CFLAGS-lsearch.c): Likewise.
22123 (CFLAGS-pselect.c): Likewise.
22124 (CFLAGS-readv.c): Likewise.
22125 (CFLAGS-writev.c): Likewise.
22126 (CFLAGS-preadv.c): Likewise.
22127 (CFLAGS-preadv64.c): Likewise.
22128 (CFLAGS-pwritev.c): Likewise.
22129 (CFLAGS-pwritev64.c): Likewise.
22130 (CFLAGS-preadv2.c): Likewise.
22131 (CFLAGS-preadv64v2.c): Likewise.
22132 (CFLAGS-pwritev2.c): Likewise.
22133 (CFLAGS-pwritev64v2.c): Likewise.
22134 (CFLAGS-usleep.c): Likewise.
22135 (CFLAGS-syslog.c): Likewise.
22136 (CFLAGS-error.c): Likewise.
22137 (CFLAGS-getpass.c): Likewise.
22138 (CFLAGS-mkstemp.c): Likewise.
22139 (CFLAGS-mkstemp64.c): Likewise.
22140 (CFLAGS-getsysstats.c): Likewise.
22141 (CFLAGS-getusershell.c): Likewise.
22142 (CFLAGS-err.c): Likewise.
22143 (CFLAGS-tst-tsearch.c): Likewise.
22144 (CFLAGS-msync.c): Likewise.
22145 (CFLAGS-fdatasync.c): Likewise.
22146 (CFLAGS-fsync.c): Likewise.
22147 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22148 (CFLAGS-unwind.c): Likewise.
22149 (CFLAGS-unwind-forcedunwind.c): Likewise.
22150 (CFLAGS-pthread_cancel.c): Likewise.
22151 (CFLAGS-pthread_setcancelstate.c): Likewise.
22152 (CFLAGS-pthread_setcanceltype.c): Likewise.
22153 (CFLAGS-cancellation.c): Likewise.
22154 (CFLAGS-libc-cancellation.c): Likewise.
22155 (CFLAGS-pthread_exit.c): Likewise.
22156 (CFLAGS-forward.c): Likewise.
22157 (CFLAGS-pthread_testcancel.c): Likewise.
22158 (CFLAGS-pthread_join.c): Likewise.
22159 (CFLAGS-pthread_timedjoin.c): Likewise.
22160 (CFLAGS-pthread_once.c): Likewise.
22161 (CFLAGS-pthread_cond_wait.c): Likewise.
22162 (CFLAGS-sem_wait.c): Likewise.
22163 (CFLAGS-sem_timedwait.c): Likewise.
22164 (CFLAGS-fcntl.c): Likewise.
22165 (CFLAGS-lockf.c): Likewise.
22166 (CFLAGS-pread.c): Likewise.
22167 (CFLAGS-pread64.c): Likewise.
22168 (CFLAGS-pwrite.c): Likewise.
22169 (CFLAGS-pwrite64.c): Likewise.
22170 (CFLAGS-wait.c): Likewise.
22171 (CFLAGS-waitpid.c): Likewise.
22172 (CFLAGS-sigwait.c): Likewise.
22173 (CFLAGS-msgrcv.c): Likewise.
22174 (CFLAGS-msgsnd.c): Likewise.
22175 (CFLAGS-tcdrain.c): Likewise.
22176 (CFLAGS-open.c): Likewise.
22177 (CFLAGS-open64.c): Likewise.
22178 (CFLAGS-pause.c): Likewise.
22179 (CFLAGS-recv.c): Likewise.
22180 (CFLAGS-send.c): Likewise.
22181 (CFLAGS-accept.c): Likewise.
22182 (CFLAGS-sendto.c): Likewise.
22183 (CFLAGS-connect.c): Likewise.
22184 (CFLAGS-recvfrom.c): Likewise.
22185 (CFLAGS-recvmsg.c): Likewise.
22186 (CFLAGS-sendmsg.c): Likewise.
22187 (CFLAGS-close.c): Likewise.
22188 (CFLAGS-read.c): Likewise.
22189 (CFLAGS-write.c): Likewise.
22190 (CFLAGS-nanosleep.c): Likewise.
22191 (CFLAGS-sigsuspend.c): Likewise.
22192 (CFLAGS-msync.c): Likewise.
22193 (CFLAGS-fdatasync.c): Likewise.
22194 (CFLAGS-fsync.c): Likewise.
22195 (CFLAGS-pt-system.c): Likewise.
22196 (CFLAGS-tst-cleanup2.c): Likewise.
22197 (CFLAGS-tst-cleanupx2.c): Likewise.
22198 (CFLAGS-flockfile.c): Likewise.
22199 (CFLAGS-ftrylockfile.c): Likewise.
22200 (CFLAGS-funlockfile.c): Likewise.
22201 (CFLAGS-tst-initializers1.c): Likewise.
22202 (CFLAGS-tst-initializers1-c89.c): Likewise.
22203 (CFLAGS-tst-initializers1-c99.c): Likewise.
22204 (CFLAGS-tst-initializers1-c11.c): Likewise.
22205 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22206 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22207 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22208 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22209 (CFLAGS-nscd_getgr_r.c): Likewise.
22210 (CFLAGS-nscd_gethst_r.c): Likewise.
22211 (CFLAGS-nscd_getai.c): Likewise.
22212 (CFLAGS-nscd_initgroups.c): Likewise.
22213 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22214 (CFLAGS-pause.c): Likewise.
22215 (CFLAGS-pread.c): Likewise.
22216 (CFLAGS-pread64.c): Likewise.
22217 (CFLAGS-pwrite.c): Likewise.
22218 (CFLAGS-pwrite64.c): Likewise.
22219 (CFLAGS-sleep.c): Likewise.
22220 (CFLAGS-wait.c): Likewise.
22221 (CFLAGS-waitid.c): Likewise.
22222 (CFLAGS-waitpid.c): Likewise.
22223 (CFLAGS-getopt.c): Likewise.
22224 (CFLAGS-wordexp.c): Likewise.
22225 (CFLAGS-sysconf.c): Likewise.
22226 (CFLAGS-pathconf.c): Likewise.
22227 (CFLAGS-fpathconf.c): Likewise.
22228 (CFLAGS-spawn.c): Likewise.
22229 (CFLAGS-spawnp.c): Likewise.
22230 (CFLAGS-spawni.c): Likewise.
22231 (CFLAGS-glob.c): Likewise.
22232 (CFLAGS-glob64.c): Likewise.
22233 (CFLAGS-getconf.c): Likewise.
22234 (CFLAGS-nanosleep.c): Likewise.
22235 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22236 (CFLAGS-getpwent.c): Likewise.
22237 (CFLAGS-getpw.c): Likewise.
22238 (CFLAGS-fgetpwent_r.c): Likewise.
22239 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22240 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22241 (CFLAGS-mq_timedreceive.c): Likewise.
22242 (CFLAGS-mq_timedsend.c): Likewise.
22243 (CFLAGS-clock_nanosleep.c): Likewise.
22244 (CFLAGS-librt-cancellation.c): Likewise.
22245 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22246 (CFLAGS-getspent.c): Likewise.
22247 (CFLAGS-fgetspent.c): Likewise.
22248 (CFLAGS-fgetspent_r.c): Likewise.
22249 (CFLAGS-putspent.c): Likewise.
22250 (CFLAGS-getspnam.c): Likewise.
22251 (CFLAGS-getspnam_r.c): Likewise.
22252 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22253 (CFLAGS-sigsuspend.c): Likewise.
22254 (CFLAGS-sigtimedwait.c): Likewise.
22255 (CFLAGS-sigwait.c): Likewise.
22256 (CFLAGS-sigwaitinfo.c): Likewise.
22257 (CFLAGS-sigreturn.c): Likewise.
22258 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22259 (CFLAGS-vfwprintf.c): Likewise.
22260 (CFLAGS-tmpfile.c): Likewise.
22261 (CFLAGS-tmpfile64.c): Likewise.
22262 (CFLAGS-tempname.c): Likewise.
22263 (CFLAGS-psignal.c): Likewise.
22264 (CFLAGS-vprintf.c): Likewise.
22265 (CFLAGS-cuserid.c): Likewise.
22266 (CFLAGS-errlist.c): Likewise.
22267 (CFLAGS-siglist.c): Likewise.
22268 (CFLAGS-scanf15.c): Likewise.
22269 (CFLAGS-scanf17.c): Likewise.
22270 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22271 (CFLAGS-msort.c): Likewise.
22272 (CFLAGS-qsort.c): Likewise.
22273 (CFLAGS-system.c): Likewise.
22274 (CFLAGS-fmtmsg.c): Likewise.
22275 (CFLAGS-strfmon.c): Likewise.
22276 (CFLAGS-strfmon_l.c): Likewise.
22277 (CFLAGS-strfromd.c): Likewise.
22278 (CFLAGS-strfromf.c): Likewise.
22279 (CFLAGS-strfroml.c): Likewise.
22280 (CFLAGS-tst-bsearch.c): Likewise.
22281 (CFLAGS-tst-qsort.c): Likewise.
22282 (CFLAGS-tst-makecontext2.c): Likewise.
22283 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22284 (CFLAGS-xnlm_prot.c): Likewise.
22285 (CFLAGS-xrstat.c): Likewise.
22286 (CFLAGS-xyppasswd.c): Likewise.
22287 (CFLAGS-xklm_prot.c): Likewise.
22288 (CFLAGS-xrex.c): Likewise.
22289 (CFLAGS-xsm_inter.c): Likewise.
22290 (CFLAGS-xmount.c): Likewise.
22291 (CFLAGS-xrusers.c): Likewise.
22292 (CFLAGS-xspray.c): Likewise.
22293 (CFLAGS-xnfs_prot.c): Likewise.
22294 (CFLAGS-xrquota.c): Likewise.
22295 (CFLAGS-xkey_prot.c): Likewise.
22296 (CFLAGS-auth_unix.c): Likewise.
22297 (CFLAGS-key_call.c): Likewise.
22298 (CFLAGS-pmap_rmt.c): Likewise.
22299 (CFLAGS-clnt_perr.c): Likewise.
22300 (CFLAGS-openchild.c): Likewise.
22301 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22302 (CFLAGS-msgsnd.c): Likewise.
22303 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22304 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22305 (CFLAGS-tzset.c): Likewise.
22306 (CFLAGS-getdate.c): Likewise.
22307 (CFLAGS-test_time.c): Likewise.
22308 (CPPFLAGS-tst-tzname.c): Likewise.
22309 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22310 (CFLAGS-zic.c): Likewise.
22311 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22312 (CFLAGS-wcswidth.c): Likewise.
22313 (CFLAGS-wcstol.c): Likewise.
22314 (CFLAGS-wcstoul.c): Likewise.
22315 (CFLAGS-wcstoll.c): Likewise.
22316 (CFLAGS-wcstoull.c): Likewise.
22317 (CFLAGS-wcstod.c): Likewise.
22318 (CFLAGS-wcstold.c): Likewise.
22319 (CFLAGS-wcstof128.c): Likewise.
22320 (CFLAGS-wcstof.c): Likewise.
22321 (CFLAGS-wcstol_l.c): Likewise.
22322 (CFLAGS-wcstoul_l.c): Likewise.
22323 (CFLAGS-wcstoll_l.c): Likewise.
22324 (CFLAGS-wcstoull_l.c): Likewise.
22325 (CFLAGS-wcstod_l.c): Likewise.
22326 (CFLAGS-wcstold_l.c): Likewise.
22327 (CFLAGS-wcstof128_l.c): Likewise.
22328 (CFLAGS-wcstof_l.c): Likewise.
22329 (CPPFLAGS-tst-wchar-h.c): Likewise.
22330 (CPPFLAGS-wcstold_l.c): Likewise.
22332 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
22334 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22336 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22337 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22339 * manual/tunables.texi (Hardware Capability Tunables): Document
22340 glibc.tune.cached_memopt.
22341 * sysdeps/powerpc/cpu-features.c: New file.
22342 * sysdeps/powerpc/cpu-features.h: New file.
22343 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
22344 _dl_powerpc_cpu_features.
22345 * sysdeps/powerpc/dl-tunables.list: New file.
22346 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
22347 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22348 (INIT_ARCH): Initialize use_aligned_memopt.
22349 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
22350 IS_IN(rtld))]: Restrict dl_platform_init availability and
22351 initialize CPU features used by tunables.
22352 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
22353 Add memcpy-power8-cached.
22354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
22355 __memcpy_power8_cached.
22356 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22357 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
22360 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22362 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
22363 (CFLAGS-noinl-tester.c): Likewise.
22364 (CFLAGS-tst-strlen.c): Likewise.
22365 (CFLAGS-stratcliff.c): Likewise.
22366 (CFLAGS-test-ffs.c): Likewise.
22367 (CFLAGS-tst-inlcall.c): Likewise.
22368 (CFLAGS-tst-xbzero-opt.c): Likewise.
22369 (CFLAGS-memcpy.c): Likewise.
22370 (CFLAGS-wordcopy.c): Likewise.
22372 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22374 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
22375 Store r15 on stack and add cfi rule.
22376 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22379 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
22382 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
22385 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22387 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22388 Add s_sinf-sse2 and s_sinf-fma.
22389 (CFLAGS-s_sinf-fma.c): New.
22390 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
22391 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
22392 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
22394 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22396 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
22398 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22401 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
22402 part of result to imaginary part of argument if it is zero and the
22403 real part of the argument is not finite.
22404 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
22405 of result to real part of argument if it is zero and the imaginary
22406 part of the argument is not finite.
22408 2017-12-07 Mike FABIAN <mfabian@redhat.com>
22411 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
22412 and to the list of locales to be built for testing.
22413 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
22414 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
22415 and build the collation rules upon that.
22417 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22419 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
22420 * manual/math.texi (Mathematics): Document support for _Float32.
22421 * math/Makefile (test-types): Add float32.
22422 * math/Versions (GLIBC_2.27): Add _Float32 functions.
22423 * stdlib/Versions (GLIBC_2.27): Likewise.
22424 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22425 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22426 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22427 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22428 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22429 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22430 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22431 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22432 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22433 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22434 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22435 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22436 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22437 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22438 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22439 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22440 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22441 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22442 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22443 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22444 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22445 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22447 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22448 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22449 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22450 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22451 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22469 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22470 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22471 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22472 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22473 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22474 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22475 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22476 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22477 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22478 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22487 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22488 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22489 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22490 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22491 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22492 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22493 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22494 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22496 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22498 * stdlib/strtof.c: Include <bits/floatn.h>
22499 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22500 and later undefine as macro. Define as weak alias if
22502 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22503 and later undefine as macro. Define as weak alias if
22505 * stdlib/strtof_l.c: Include <bits/floatn.h>
22506 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22507 and later undefine as macro. Define as weak alias if
22509 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22510 and later undefine as macro. Define as weak alias if
22513 * stdlib/strfromf.c: Include <bits/floatn.h>.
22514 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22515 and later undefine as macro and define as weak alias.
22517 * math/test-float32.h: New file.
22519 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22520 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22521 (libm_alias_float_other_r): Create f32 alias.
22522 (libm_alias_float_r): Use semicolon before call to
22523 libm_alias_float_other_r.
22525 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22526 second argument to libm_alias_float_other.
22527 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22528 second argument to libm_alias_float_other.
22529 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22530 argument to libm_alias_float_other.
22533 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22534 real part of result for argument 0 + i * NaN.
22535 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22536 results for tests of 0 + i * NaN.
22538 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22540 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22542 2017-12-06 David S. Miller <davem@davemloft.net>
22544 * sysdeps/sparc/fpu/libm-test-ulps: Update
22545 exp_{downward,towardzero,upward} ulps.
22547 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22549 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22552 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22554 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22556 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22558 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22561 2017-12-06 Mike FABIAN <mfabian@redhat.com>
22564 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22565 and to the list of locales to be built for testing.
22566 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22567 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22568 and build the collation rules upon that.
22570 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22572 * NEWS: Add sinf to list of optimized functions.
22574 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22576 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22577 (__HAVE_FLOAT32X): Likewise.
22578 * manual/math.texi (Mathematics): Document support for _Float64
22580 * math/Makefile (test-types): Add float64 and float32x.
22581 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22583 * stdlib/Versions (GLIBC_2.27): Likewise.
22584 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22585 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22586 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22587 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22588 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22589 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22590 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22591 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22592 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22593 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22594 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22595 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22596 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22597 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22598 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22599 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22600 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22601 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22602 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22603 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22604 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22605 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22607 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22608 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22609 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22610 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22611 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22628 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22629 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22630 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22631 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22632 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22633 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22634 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22635 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22636 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22637 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22646 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22647 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22648 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22649 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22650 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22651 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22652 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22653 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22655 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22657 * bits/floatn-common.h: Include <bits/long-double.h>.
22658 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22659 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22660 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22661 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22662 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22663 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22664 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22665 (__builtin_huge_valf64): Use __builtin_huge_vall.
22666 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22667 (__builtin_inff64): Use __builtin_infl.
22668 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22669 (__builtin_nanf64): Use __builtin_nanl.
22670 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22671 (__builtin_nansf64): Use __builtin_nansl.
22673 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22674 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22675 Carlos O'Donnell <carlos@redhat.com>
22677 * elf/dl-tunables.list: Add elision parameters.
22678 * manual/tunables.texi: Add entries about elision tunable.
22679 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22680 Add callback functions to dynamically enable/disable elision.
22681 Add multiple callbacks functions to set elision parameters.
22682 Deleted __libc_enable_secure check.
22683 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22684 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22685 * configure: Regenerated.
22686 * configure.ac: Option enable_lock_elision was deleted.
22687 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22688 * config.make.in: Remove references to enable_lock_elision.
22689 * manual/install.texi: Elision configure option was removed.
22690 * INSTALL: Regenerated to remove enable_lock_elision.
22692 Disable elision so it can verify error case for destroying a mutex.
22693 * sysdeps/powerpc/nptl/elide.h:
22694 Cleanup ENABLE_LOCK_ELISION check.
22695 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22696 * sysdeps/s390/configure: Regenerated.
22697 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22698 * nptl/tst-mutex8.c:
22699 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22700 * sysdeps/powerpc/powerpc32/sysdep.h:
22701 Deleted all ENABLE_LOCK_ELISION checks.
22702 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22703 * sysdeps/powerpc/sysdep.h: Likewise.
22704 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22705 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22706 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22707 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22708 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22709 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22710 enable-lock-elision.
22712 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22714 * stdlib/strtod.c: Include <bits/floatn.h>.
22715 (BUILD_DOUBLE): New macro.
22716 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22717 (strtof64): Define and later undefine as macro. Define as weak
22718 alias if [!USE_WIDE_CHAR].
22719 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22720 (wcstof64): Define and later undefine as macro. Define as weak
22721 alias if [USE_WIDE_CHAR].
22722 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22723 (strtof32x): Define and later undefine as macro. Define as weak
22724 alias if [!USE_WIDE_CHAR].
22725 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22726 (wcstof32x): Define and later undefine as macro. Define as weak
22727 alias if [USE_WIDE_CHAR].
22728 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22729 (BUILD_DOUBLE): New macro.
22730 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22731 (strtof64_l): Define and later undefine as macro. Define as weak
22732 alias if [!USE_WIDE_CHAR].
22733 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22734 (wcstof64_l): Define and later undefine as macro. Define as weak
22735 alias if [USE_WIDE_CHAR].
22736 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22737 (strtof32x_l): Define and later undefine as macro. Define as weak
22738 alias if [!USE_WIDE_CHAR].
22739 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22740 (wcstof32x_l): Define and later undefine as macro. Define as weak
22741 alias if [USE_WIDE_CHAR].
22743 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22745 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22746 (reduced): Use ones as double instead of integer.
22748 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22750 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22752 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22754 * stdlib/strfromd.c: Include <bits/floatn.h>.
22755 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22756 and later undefine as macro and define as weak alias.
22757 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22760 * math/test-float32x.h: New file.
22761 * math/test-float64.h: Likewise.
22763 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22764 (libm_alias_double_other_r_f64): New macro.
22765 (libm_alias_double_other_r_f32x): Likewise.
22766 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22767 libm_alias_double_other_r_f32x.
22768 (libm_alias_double_r): Use semicolon before call to
22769 libm_alias_double_other_r.
22770 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22772 (libm_alias_double_other_r_f64): New macro.
22773 (libm_alias_double_other_r_f32x): Likewise.
22774 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22775 libm_alias_double_other_r_f32x.
22777 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22779 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22781 (SINF_FUNC): Likewise. Replace floor with simple casts.
22783 2017-12-05 Mike FABIAN <mfabian@redhat.com>
22786 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22787 and to the list of locales to be built for testing.
22788 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22789 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22790 and build the collation rules upon that.
22792 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22794 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22795 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22796 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22797 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22798 instead of __insn__xxx.
22799 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22800 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22801 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22802 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22803 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22804 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22806 2017-12-05 Florian Weimer <fweimer@redhat.com>
22808 Linux: Implement interfaces for memory protection keys
22809 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22811 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22812 * support/xunistd.h (xsysconf): Declare.
22813 * support/xraise.c: New file.
22814 * support/xsigaction.c: Likewise.
22815 * support/xsignal.c: Likewise.
22816 * support/xsysconf.c: Likewise.
22817 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22818 pkey_set, pkey_get, pkey_mprotect.
22819 [misc] (tests): Add tst-pkey.
22820 (tst-pkey): Link with -lpthread.
22821 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22822 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22823 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22824 (PKEY_DISABLE_WRITE): Define.
22825 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22827 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22828 (SEGV_PKUERR): Add.
22829 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22830 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22831 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22832 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22834 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22835 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22836 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22837 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22838 * sysdeps/unix/sysv/linux/**.abilist: Update.
22840 2017-12-05 Florian Weimer <fweimer@redhat.com>
22842 * support/tst-test_compare.c (subprocess): Use long long instead
22843 of long argument for consistent type width across 32-bit and
22844 64-bit architectures.
22845 (do_test): Adjust expected output.
22847 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22849 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22850 (cosf): Define using libm_alias_float.
22851 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22852 (fabsf): Define using libm_alias_float.
22853 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22854 (fmaf): Define using libm_alias_float.
22855 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22856 (rintf): Define using libm_alias_float.
22857 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22858 (sinf): Define using libm_alias_float.
22859 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22860 <libm-alias-float.h>.
22861 (modff): Define using libm_alias_float.
22862 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22863 <libm-alias-float.h>.
22864 (logbf): Define using libm_alias_float.
22865 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22866 <libm-alias-float.h>.
22867 (ceilf): Define using libm_alias_float.
22868 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22869 <libm-alias-float.h>.
22870 (copysignf): Define using libm_alias_float.
22871 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22872 <libm-alias-float.h>.
22873 (floorf): Define using libm_alias_float.
22874 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22875 <libm-alias-float.h>.
22876 (llrintf): Define using libm_alias_float.
22877 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22878 <libm-alias-float.h>.
22879 (llroundf): Define using libm_alias_float.
22880 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22881 <libm-alias-float.h>.
22882 (lrintf): Define using libm_alias_float.
22883 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22884 <libm-alias-float.h>.
22885 (lroundf): Define using libm_alias_float.
22886 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22887 <libm-alias-float.h>.
22888 (nearbyintf): Define using libm_alias_float.
22889 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22890 <libm-alias-float.h>.
22891 (rintf): Define using libm_alias_float.
22892 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22893 <libm-alias-float.h>.
22894 (roundf): Define using libm_alias_float.
22895 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22896 <libm-alias-float.h>.
22897 (truncf): Define using libm_alias_float.
22898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22899 Include <libm-alias-float.h>.
22900 (ceilf): Define using libm_alias_float.
22901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22902 Include <libm-alias-float.h>.
22903 (copysignf): Define using libm_alias_float.
22904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22905 Include <libm-alias-float.h>.
22906 (floorf): Define using libm_alias_float.
22907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22908 Include <libm-alias-float.h>.
22909 (llrintf): Define using libm_alias_float.
22910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22911 Include <libm-alias-float.h>.
22912 (llroundf): Define using libm_alias_float.
22913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22914 Include <libm-alias-float.h>.
22915 (logbf): Define using libm_alias_float.
22916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22917 Include <libm-alias-float.h>.
22918 (lrintf): Define using libm_alias_float.
22919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22920 Include <libm-alias-float.h>.
22921 (lroundf): Define using libm_alias_float.
22922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22923 Include <libm-alias-float.h>.
22924 (modff): Define using libm_alias_float.
22925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22926 Include <libm-alias-float.h>.
22927 (roundf): Define using libm_alias_float.
22928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22929 Include <libm-alias-float.h>.
22930 (truncf): Define using libm_alias_float.
22931 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22932 <libm-alias-float.h>.
22933 (llrintf): Define using libm_alias_float.
22934 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22935 <libm-alias-float.h>.
22936 (llroundf): Define using libm_alias_float.
22937 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22938 <libm-alias-float.h>.
22939 (ceilf): Define using libm_alias_float.
22940 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22941 <libm-alias-float.h>.
22942 (floorf): Define using libm_alias_float.
22943 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22944 <libm-alias-float.h>.
22945 (llroundf): Define using libm_alias_float.
22946 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22947 <libm-alias-float.h>.
22948 (lroundf): Define using libm_alias_float.
22949 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22950 <libm-alias-float.h>.
22951 (roundf): Define using libm_alias_float.
22952 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22953 <libm-alias-float.h>.
22954 (truncf): Define using libm_alias_float.
22955 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22956 <libm-alias-float.h>.
22957 (copysignf): Define using libm_alias_float.
22958 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22959 <libm-alias-float.h>.
22960 (llrintf): Define using libm_alias_float.
22961 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22962 <libm-alias-float.h>.
22963 (llroundf): Define using libm_alias_float.
22964 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22965 <libm-alias-float.h>.
22966 (lrintf): Define using libm_alias_float.
22967 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22968 <libm-alias-float.h>.
22969 (lroundf): Define using libm_alias_float.
22970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22971 <libm-alias-float.h>.
22972 (ceilf): Define using libm_alias_float.
22973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22974 <libm-alias-float.h>.
22975 (copysignf): Define using libm_alias_float.
22976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22977 <libm-alias-float.h>.
22978 (cosf): Define using libm_alias_float.
22979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22980 <libm-alias-float.h>.
22981 (floorf): Define using libm_alias_float.
22982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22983 <libm-alias-float.h>.
22984 (llrintf): Define using libm_alias_float.
22985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22986 <libm-alias-float.h>.
22987 (llroundf): Define using libm_alias_float.
22988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22989 <libm-alias-float.h>.
22990 (logbf): Define using libm_alias_float.
22991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22992 <libm-alias-float.h>.
22993 (modff): Define using libm_alias_float.
22994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22995 <libm-alias-float.h>.
22996 (roundf): Define using libm_alias_float.
22997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22998 <libm-alias-float.h>.
22999 (sinf): Define using libm_alias_float.
23000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23001 <libm-alias-float.h>.
23002 (truncf): Define using libm_alias_float.
23003 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23004 <libm-alias-float.h>.
23005 (ceilf): Define using libm_alias_float.
23006 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23007 <libm-alias-float.h>.
23008 (copysignf): Define using libm_alias_float.
23009 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23010 <libm-alias-float.h>.
23011 (floorf): Define using libm_alias_float.
23012 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23013 <libm-alias-float.h>.
23014 (llrintf): Define using libm_alias_float.
23015 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23016 <libm-alias-float.h>.
23017 (llroundf): Define using libm_alias_float.
23018 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23019 <libm-alias-float.h>.
23020 (nearbyintf): Define using libm_alias_float.
23021 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23022 <libm-alias-float.h>.
23023 (rintf): Define using libm_alias_float.
23024 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
23025 <libm-alias-float.h>.
23026 (roundf): Define using libm_alias_float.
23027 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
23028 <libm-alias-float.h>.
23029 (truncf): Define using libm_alias_float.
23030 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
23031 <libm-alias-float.h>.
23032 (ceilf): Define using libm_alias_float.
23033 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
23034 <libm-alias-float.h>.
23035 (floorf): Define using libm_alias_float.
23036 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23037 <libm-alias-float.h>.
23038 (llroundf): Define using libm_alias_float.
23039 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
23040 <libm-alias-float.h>.
23041 (roundf): Define using libm_alias_float.
23042 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
23043 <libm-alias-float.h>.
23044 (truncf): Define using libm_alias_float.
23045 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23046 <libm-alias-float.h>.
23047 (copysignf): Define using libm_alias_float.
23048 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23049 <libm-alias-float.h>.
23050 (llrintf): Define using libm_alias_float.
23051 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23052 <libm-alias-float.h>.
23053 (llroundf): Define using libm_alias_float.
23054 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
23055 <libm-alias-float.h>.
23056 (cosf): Define using libm_alias_float.
23057 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23058 <libm-alias-float.h>.
23059 (llrintf): Define using libm_alias_float.
23060 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23061 <libm-alias-float.h>.
23062 (llroundf): Define using libm_alias_float.
23063 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
23064 <libm-alias-float.h>.
23065 (sinf): Define using libm_alias_float.
23067 2017-12-04 Florian Weimer <fweimer@redhat.com>
23069 * support/check.h (TEST_COMPARE): Define.
23070 (support_test_compare_failure): Declare.
23071 * support/Makefile (libsupport-routines): Add
23072 support_test_compare_failure.
23073 (tests): Add tst-test_compare.
23074 * support /support_test_compare_failure.c: New file.
23075 * support/tst-test_compare.c: Likewise.
23077 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23080 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
23081 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
23082 available, this rewrite of the collation rules does reproduce
23083 the test file in the same order.
23085 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23088 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
23089 digraphs in the month and day names. Using single code points for
23090 digraphs is deprecated. While there are dedicated Unicode
23091 codepoints, for the digraphs, these are included for backwards
23092 compatibility and modern texts use a sequence of Basic Latin
23093 characters. See: https://www.unicode.org/faq/ligature_digraph.html
23094 This makes the month and day names agree exactly with CLDR now,
23095 CLDR does not use the single code points for the digraphs either.
23097 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23099 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23101 2017-12-04 Joseph Myers <joseph@codesourcery.com>
23103 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23106 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23108 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23109 Define only for libc.so.
23111 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23113 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23114 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
23115 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
23116 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23117 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23119 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23122 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23124 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
23127 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23128 PREINIT_FUNCTION_WEAK is nonzero.
23129 (gmon_initializer): New function. Put procedure label for it in
23130 .init_array section.
23131 (_init): Don't call PREINIT_FUNCTION.
23132 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23133 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23134 value when map argument is null.
23136 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23137 depi instruction from PIC pc-relative sequence.
23138 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23139 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23140 (elf_machine_load_address): Likewise.
23141 (elf_machine_runtime_setup): Likewise.
23143 2017-12-02 Joseph Myers <joseph@codesourcery.com>
23145 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23146 <libm-alias-double.h>.
23147 (logb): Define using libm_alias_double.
23148 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23149 <libm-alias-double.h>.
23150 (copysign): Define using libm_alias_double.
23151 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23152 <libm-alias-double.h>.
23153 (llrint): Define using libm_alias_double.
23154 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23155 <libm-alias-double.h>.
23156 (llround): Define using libm_alias_double.
23157 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23158 <libm-alias-double.h>.
23159 (lrint): Define using libm_alias_double.
23160 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23161 <libm-alias-double.h>.
23162 (lround): Define using libm_alias_double.
23163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23164 Include <libm-alias-double.h>.
23165 (copysign): Define using libm_alias_double.
23166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23167 Include <libm-alias-double.h>.
23168 (llrint): Define using libm_alias_double.
23169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23170 Include <libm-alias-double.h>.
23171 (llround): Define using libm_alias_double.
23172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23173 <libm-alias-double.h>.
23174 (logb): Define using libm_alias_double.
23175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23176 Include <libm-alias-double.h>.
23177 (lrint): Define using libm_alias_double.
23178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23179 Include <libm-alias-double.h>.
23180 (lround): Define using libm_alias_double.
23181 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23182 <libm-alias-double.h>.
23183 (llrint): Define using libm_alias_double.
23184 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23185 <libm-alias-double.h>.
23186 (llround): Define using libm_alias_double.
23187 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23188 <libm-alias-double.h>.
23189 (llround): Define using libm_alias_double.
23190 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23191 <libm-alias-double.h>.
23192 (lround): Define using libm_alias_double.
23193 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23194 <libm-alias-double.h>.
23195 (copysign): Define using libm_alias_double.
23196 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23197 <libm-alias-double.h>.
23198 (llrint): Define using libm_alias_double.
23199 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23200 <libm-alias-double.h>.
23201 (llround): Define using libm_alias_double.
23202 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23203 <libm-alias-double.h>.
23204 (lrint): Define using libm_alias_double.
23205 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23206 <libm-alias-double.h>.
23207 (lround): Define using libm_alias_double.
23208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23209 <libm-alias-double.h>.
23210 (copysign): Define using libm_alias_double.
23211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23212 <libm-alias-double.h>.
23213 (llrint): Define using libm_alias_double.
23215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23216 <libm-alias-double.h>.
23217 (llround): Define using libm_alias_double.
23218 (lround): Likewise.
23219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23220 <libm-alias-double.h>.
23221 (logb): Define using libm_alias_double.
23222 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23223 <libm-alias-double.h>.
23224 (copysign): Define using libm_alias_double.
23225 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23226 <libm-alias-double.h>.
23227 (llrint): Define using libm_alias_double.
23229 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23230 <libm-alias-double.h>.
23231 (llround): Define using libm_alias_double.
23232 (lround): Likewise.
23233 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23234 <libm-alias-double.h>.
23235 (llround): Define using libm_alias_double.
23236 (lround): Likewise.
23237 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23238 <libm-alias-double.h>.
23239 (copysign): Define using libm_alias_double.
23240 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23241 <libm-alias-double.h>.
23242 (llrint): Define using libm_alias_double.
23244 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23245 <libm-alias-double.h>.
23246 (llround): Define using libm_alias_double.
23247 (lround): Likewise.
23248 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23249 <libm-alias-double.h>.
23250 (llrint): Define using libm_alias_double.
23252 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23253 <libm-alias-double.h>.
23254 (llround): Define using libm_alias_double.
23255 (lround): Likewise.
23257 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23260 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23261 compat symbol based on llround.
23263 * sysdeps/powerpc/power7/fpu/s_logb.c
23264 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23265 symbol based on __logb, not on logb.
23266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23267 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23269 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23271 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23272 (rint): Define using libm_alias_double.
23273 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23274 <libm-alias-double.h>.
23275 (modf): Define using libm_alias_double.
23276 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23277 <libm-alias-double.h>.
23278 (ceil): Define using libm_alias_double.
23279 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23280 <libm-alias-double.h>.
23281 (floor): Define using libm_alias_double.
23282 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23283 <libm-alias-double.h>.
23284 (nearbyint): Define using libm_alias_double.
23285 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23286 <libm-alias-double.h>.
23287 (rint): Define using libm_alias_double.
23288 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23289 <libm-alias-double.h>.
23290 (round): Define using libm_alias_double.
23291 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23292 <libm-alias-double.h>.
23293 (trunc): Define using libm_alias_double.
23294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23295 <libm-alias-double.h>.
23296 (ceil): Define using libm_alias_double.
23297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23298 Include <libm-alias-double.h>.
23299 (floor): Define using libm_alias_double.
23300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23301 <libm-alias-double.h>.
23302 (modf): Define using libm_alias_double.
23303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23304 Include <libm-alias-double.h>.
23305 (round): Define using libm_alias_double.
23306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23307 Include <libm-alias-double.h>.
23308 (trunc): Define using libm_alias_double.
23309 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23310 <libm-alias-double.h>.
23311 (ceil): Define using libm_alias_double.
23312 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
23313 <libm-alias-double.h>.
23314 (floor): Define using libm_alias_double.
23315 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
23316 <libm-alias-double.h>.
23317 (round): Define using libm_alias_double.
23318 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
23319 <libm-alias-double.h>.
23320 (trunc): Define using libm_alias_double.
23321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
23322 <libm-alias-double.h>.
23323 (ceil): Define using libm_alias_double.
23324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
23325 <libm-alias-double.h>.
23326 (floor): Define using libm_alias_double.
23327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23328 <libm-alias-double.h>.
23329 (modf): Define using libm_alias_double.
23330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23331 <libm-alias-double.h>.
23332 (round): Define using libm_alias_double.
23333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23334 <libm-alias-double.h>.
23335 (trunc): Define using libm_alias_double.
23336 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23337 <libm-alias-double.h>.
23338 (ceil): Define using libm_alias_double.
23339 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
23340 <libm-alias-double.h>.
23341 (floor): Define using libm_alias_double.
23342 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
23343 <libm-alias-double.h>.
23344 (nearbyint): Define using libm_alias_double.
23345 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
23346 <libm-alias-double.h>.
23347 (rint): Define using libm_alias_double.
23348 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
23349 <libm-alias-double.h>.
23350 (round): Define using libm_alias_double.
23351 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
23352 <libm-alias-double.h>.
23353 (trunc): Define using libm_alias_double.
23354 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
23355 <libm-alias-double.h>.
23356 (ceil): Define using libm_alias_double.
23357 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
23358 <libm-alias-double.h>.
23359 (floor): Define using libm_alias_double.
23360 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
23361 <libm-alias-double.h>.
23362 (round): Define using libm_alias_double.
23363 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
23364 <libm-alias-double.h>.
23365 (trunc): Define using libm_alias_double.
23367 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
23368 (fabs): Define using libm_alias_double.
23369 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
23370 (fma): Define using libm_alias_double.
23371 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
23372 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
23373 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
23374 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
23376 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23378 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
23380 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
23381 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
23382 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
23385 due redirect macro.
23387 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
23389 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
23391 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23393 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
23394 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
23395 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
23396 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
23398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23399 (libm-sysdep_routines): Add s_nearbyintf-generic and
23400 s_nearbyint-generic.
23401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
23403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
23404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
23406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
23408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
23410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23414 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
23415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
23417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
23418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
23420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
23421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
23422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23425 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
23426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
23428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
23429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
23431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
23432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
23433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
23435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23436 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
23437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
23439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
23440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
23442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
23443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
23444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23447 (sysdep_calls): New rule.
23448 (sysdep_routines): Use sysdep_calls as base.
23449 (libm-sysdep_routines): Add generic rule for symbols shared with
23450 libc. Add s_copysign-generic and s_copysign-generic objects.
23451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
23453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
23454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
23456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
23457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
23458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
23460 2017-12-01 Mike FABIAN <mfabian@redhat.com>
23463 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
23464 the list of locales to be built for testing.
23465 * localedata/is_IS.UTF-8.in: New file.
23466 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
23469 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23471 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23472 <libm-alias-float.h>.
23473 (fabsf): Define using libm_alias_float.
23475 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23477 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23479 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23481 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23482 <libm-alias-float.h>.
23483 (fabsf): Define using libm_alias_float.
23484 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23485 <libm-alias-float.h>.
23486 (lrintf): Define using libm_alias_float.
23487 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23488 <libm-alias-float.h>.
23489 (rintf): Define using libm_alias_float.
23491 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23492 <libm-alias-double.h>.
23493 (fabs): Define using libm_alias_double.
23494 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23495 <libm-alias-double.h>.
23496 (lrint): Define using libm_alias_double.
23497 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23498 <libm-alias-double.h>.
23499 (rint): Define using libm_alias_double.
23501 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23502 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23503 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23504 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23505 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23506 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23507 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23508 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23509 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23510 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23511 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23512 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23513 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23514 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23515 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23516 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23517 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23518 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23520 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23521 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23522 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23524 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23525 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23526 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23528 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23529 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23530 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23531 s_expm1_template.c.
23532 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23533 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23534 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23536 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23537 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23538 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23539 s_floor_template.c.
23540 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23541 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23542 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23543 s_frexp_template.c.
23544 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23545 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23546 s_lrint_template.c.
23547 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23548 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23549 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23551 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23552 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23553 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23554 s_nearbyint_template.c.
23555 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23556 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23557 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23558 s_remquo_template.c.
23559 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23560 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23561 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23563 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23564 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23565 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23567 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23568 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23569 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23570 s_sincos_template.c.
23571 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23572 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23573 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23575 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23576 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23577 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23579 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23580 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23581 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23582 s_trunc_template.c.
23583 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23584 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23585 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23586 s_atan.c instead of including s_atan.c.
23587 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23588 s_atanf.c instead of including s_atanf.c.
23589 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23590 s_atanl.c instead of including s_atanl.c.
23591 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23592 instead of s_atan.c.
23593 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23594 instead of s_atanf.c.
23595 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23596 instead of s_atanl.c.
23598 * scripts/update-copyrights: Do not handle intl/plural.c
23601 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23604 * configure.ac (BISON): Require to be present.
23605 * configure: Regenerated.
23606 * intl/Makefile (generated): Add plural.c.
23607 [$(BISON) != no]: Make code unconditional.
23608 (plural.c): Change rule to $(objpfx)plural.c.
23609 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23610 * intl/plural.c: Remove.
23611 * manual/install.texi (Tools for Compilation): Document bison as
23613 * INSTALL: Regenerated.
23615 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23617 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23618 <libm-alias-double.h>.
23619 (llrint): Define using libm_alias_double.
23620 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23621 <libm-alias-float.h>.
23622 (llrintf): Define using libm_alias_float.
23623 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23624 <libm-alias-ldouble.h>.
23625 (llrintl): Define using libm_alias_ldouble.
23627 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23628 declare_mgen_alias instead of weak_alias.
23629 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23630 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23631 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23633 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23635 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23637 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23638 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23639 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23641 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23642 Add submul_1-generic.
23643 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23644 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23645 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23647 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23648 Add addmul_1-generic.
23649 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23650 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23651 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23653 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23655 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23656 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23657 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23659 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23661 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23662 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23663 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23665 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23667 According to CLDR, collation rules for Serbian and Bosnian
23668 should be the same as for Croatian.
23671 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23672 and to the list of locales to be built for testing.
23673 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23674 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23675 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23676 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23678 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23680 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23681 to make test case pass.
23682 * localedata/hr_HR.UTF-8.in: Add more test strings.
23684 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23686 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23688 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23690 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23691 the list of locales to built for testing.
23692 * localedata/hr_HR.UTF-8.in: New file.
23694 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23697 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23699 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23700 CLDR (except use ligatures for the digraphs, CLDR does not use
23701 the ligatures), add first_workday, some fixes in the date and time
23703 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23705 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23706 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23707 Add int_p_cs_precedes and int_n_cs_precedes.
23708 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23709 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23711 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23712 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23714 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23715 and lang_lib. Change postal_fmt.
23717 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23719 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23721 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23722 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23723 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23724 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23725 * sysdeps/generic/setjmpP.h: New file.
23726 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23727 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23728 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23729 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23730 Add jmp_buf-ssp.sym.
23731 (tests): Add tst-saved_mask-1.
23733 2017-11-30 Arjun Shankar <arjun@redhat.com>
23737 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23738 instead of request2size.
23740 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23743 (__lllrint): Remove alias.
23744 (lllrint): Likewise.
23745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23746 (__lllrintf): Likewise.
23747 (lllrintf): Likewise.
23749 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23750 <libm-alias-float.h>.
23751 (copysignf): Define using libm_alias_float.
23752 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23753 <libm-alias-float.h>.
23754 (fabsf): Define using libm_alias_float.
23755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23756 Include <libm-alias-float.h>.
23757 (copysignf): Define using libm_alias_float.
23758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23759 <libm-alias-float.h>.
23760 (fabsf): Define using libm_alias_float.
23761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23762 <libm-alias-float.h>.
23763 (fdimf): Define using libm_alias_float.
23764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23765 <libm-alias-float.h>.
23766 (fmaf): Define using libm_alias_float.
23767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23768 <libm-alias-float.h>.
23769 (llrintf): Define using libm_alias_float.
23770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23771 Include <libm-alias-float.h>.
23772 (nearbyintf): Define using libm_alias_float.
23773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23774 <libm-alias-float.h>.
23775 (rintf): Define using libm_alias_float.
23776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23777 <libm-alias-float.h>.
23778 (llrintf): Define using libm_alias_float.
23779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23780 <libm-alias-float.h>.
23781 (lrintf): Define using libm_alias_float.
23782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23783 <libm-alias-float.h>.
23784 (nearbyintf): Define using libm_alias_float.
23785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23786 <libm-alias-float.h>.
23787 (rintf): Define using libm_alias_float.
23788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23789 <libm-alias-float.h>.
23790 (ceilf): Define using libm_alias_float.
23791 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23792 <libm-alias-float.h>.
23793 (floorf): Define using libm_alias_float.
23794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23795 <libm-alias-float.h>.
23796 (fmaf): Define using libm_alias_float.
23797 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23798 <libm-alias-float.h>.
23799 (lrintf): Define using libm_alias_float.
23800 (llrintf): Likewise.
23801 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23802 <libm-alias-float.h>.
23803 (nearbyintf): Define using libm_alias_float.
23804 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23805 <libm-alias-float.h>.
23806 (rintf): Define using libm_alias_float.
23807 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23808 <libm-alias-float.h>.
23809 (truncf): Define using libm_alias_float.
23810 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23811 <libm-alias-float.h>.
23812 (copysignf): Define using libm_alias_float.
23813 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23814 <libm-alias-float.h>.
23815 (fabsf): Define using libm_alias_float.
23816 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23817 <libm-alias-float.h>.
23818 (lrintf): Define using libm_alias_float.
23819 (llrintf): Likewise.
23820 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23821 <libm-alias-float.h>.
23822 (nearbyintf): Define using libm_alias_float.
23823 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23824 <libm-alias-float.h>.
23825 (rintf): Define using libm_alias_float.
23827 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23829 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23830 <libm-alias-double.h>.
23831 (copysign): Define using libm_alias_double.
23832 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23833 <libm-alias-double.h>.
23834 (fabs): Define using libm_alias_double.
23835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23836 Include <libm-alias-double.h>.
23837 (copysign): Define using libm_alias_double.
23838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23839 <libm-alias-double.h>.
23840 (fabs): Define using libm_alias_double.
23841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23842 <libm-alias-double.h>.
23843 (fdim): Define using libm_alias_double.
23844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23845 <libm-alias-double.h>.
23846 (fma): Define using libm_alias_double.
23847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23848 <libm-alias-double.h>.
23849 (llrint): Define using libm_alias_double.
23850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23851 Include <libm-alias-double.h>.
23852 (nearbyint): Define using libm_alias_double.
23853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23854 <libm-alias-double.h>.
23855 (rint): Define using libm_alias_double.
23856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23857 <libm-alias-double.h>.
23858 (fabs): Define using libm_alias_double.
23859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23860 <libm-alias-double.h>.
23861 (llrint): Define using libm_alias_double.
23862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23863 <libm-alias-double.h>.
23864 (nearbyint): Define using libm_alias_double.
23865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23866 <libm-alias-double.h>.
23867 (rint): Define using libm_alias_double.
23868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23869 <libm-alias-double.h>.
23870 (ceil): Define using libm_alias_double.
23871 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23872 <libm-alias-double.h>.
23873 (floor): Define using libm_alias_double.
23874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23875 <libm-alias-double.h>.
23876 (fma): Define using libm_alias_double.
23877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23878 <libm-alias-double.h>.
23879 (lrint): Define using libm_alias_double.
23880 (llrint): Likewise.
23881 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23882 <libm-alias-double.h>.
23883 (nearbyint): Define using libm_alias_double.
23884 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23885 <libm-alias-double.h>.
23886 (rint): Define using libm_alias_double.
23887 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23888 <libm-alias-double.h>.
23889 (trunc): Define using libm_alias_double.
23890 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23891 <libm-alias-double.h>.
23892 (copysign): Define using libm_alias_double.
23893 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23894 <libm-alias-double.h>.
23895 (fabs): Define using libm_alias_double.
23896 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23897 <libm-alias-double.h>.
23898 (lrint): Define using libm_alias_double.
23899 (llrint): Likewise.
23900 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23901 <libm-alias-double.h>.
23902 (nearbyint): Define using libm_alias_double.
23903 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23904 <libm-alias-double.h>.
23905 (rint): Define using libm_alias_double.
23908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23910 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23912 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23913 SPARC --disable-multi-arch glibc variants.
23915 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23916 <libm-alias-float.h>.
23917 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23919 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23920 <libm-alias-float.h>.
23921 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23923 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23924 <libm-alias-float.h>.
23925 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23927 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23928 <libm-alias-float.h>.
23929 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23931 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23932 <libm-alias-float.h>.
23933 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23935 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23936 <libm-alias-float.h>.
23937 (ceilf): Define using libm_alias_float.
23938 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23939 <libm-alias-float.h>.
23940 (floorf): Define using libm_alias_float.
23941 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23942 <libm-alias-float.h>.
23943 (fmaf): Define using libm_alias_float.
23944 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23945 <libm-alias-float.h>.
23946 (nearbyintf): Define using libm_alias_float.
23947 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23948 <libm-alias-float.h>.
23949 (rintf): Define using libm_alias_float.
23950 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23951 <libm-alias-float.h>.
23952 (truncf): Define using libm_alias_float.
23953 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23954 (copysignf): Define using libm_alias_float.
23955 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23956 (cosf): Define using libm_alias_float.
23957 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23958 (fabsf): Define using libm_alias_float.
23959 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23960 (fmaxf): Define using libm_alias_float.
23961 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23962 (fminf): Define using libm_alias_float.
23963 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23964 (llrintf): Define using libm_alias_float.
23965 [!__ILP32__] (lrintf): Likewise.
23966 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23967 (sincosf): Define using libm_alias_float.
23968 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23969 (sinf): Define using libm_alias_float.
23970 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23971 (lrintf): Define using libm_alias_float.
23973 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23974 <libm-alias-double.h>.
23975 (atan): Define using libm_alias_double.
23976 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23977 <libm-alias-double.h>.
23978 (ceil): Define using libm_alias_double.
23979 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23980 <libm-alias-double.h>.
23981 (floor): Define using libm_alias_double.
23982 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23983 <libm-alias-double.h>.
23984 (fma): Define using libm_alias_double.
23985 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23986 <libm-alias-double.h>.
23987 (nearbyint): Define using libm_alias_double.
23988 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23989 <libm-alias-double.h>.
23990 (rint): Define using libm_alias_double.
23991 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23992 <libm-alias-double.h>.
23993 (sin): Define using libm_alias_double.
23995 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23996 <libm-alias-double.h>.
23997 (tan): Define using libm_alias_double.
23998 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23999 <libm-alias-double.h>.
24000 (trunc): Define using libm_alias_double.
24001 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24002 (copysign): Define using libm_alias_double.
24003 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24004 (fabs): Define using libm_alias_double.
24005 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24006 (fmax): Define using libm_alias_double.
24007 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24008 (fmin): Define using libm_alias_double.
24009 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24010 (llrint): Define using libm_alias_double.
24011 [!__ILP32__] (lrint): Likewise.
24012 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24013 (lrint): Define using libm_alias_double.
24015 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24017 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24018 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24020 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24021 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24022 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
24023 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
24024 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
24025 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24027 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24028 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
24030 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
24031 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
24032 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
24033 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
24034 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
24035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24037 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24038 (libm-sysdep_routines): Add s_nearbyint-generic and
24039 s_nearbyintf-generic objects.
24040 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
24041 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
24042 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
24043 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
24044 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
24045 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
24047 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24048 Add s_finitef-generic and s_finite-generic objects.
24049 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
24050 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
24051 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
24052 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
24053 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
24054 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
24056 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24057 Add s_isinff-generic and s_isinf-generic objects.
24058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
24059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
24060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
24061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
24062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
24063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24065 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24066 Add s_isnanf-generic and s_isnan-generic objects.
24067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
24068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
24069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
24070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
24071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
24072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24074 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
24076 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
24078 (sysdep_routines): Use sysdep_calls as base.
24079 (libm-sysdep_routines): Add generic rule for symbols shared with
24080 libc. Add s_signbit-generic and s_signbitf-generic objects.
24081 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
24082 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
24083 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
24084 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
24085 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
24086 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24088 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24090 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
24091 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
24092 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
24093 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
24094 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
24095 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
24096 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24097 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24098 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24099 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24100 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24101 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24102 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24103 libm_alias_float_r.
24104 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24105 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24107 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24108 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24109 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24110 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24111 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24112 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24113 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24114 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24115 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24116 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24118 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24120 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24121 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24122 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24123 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24124 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24125 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24126 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24127 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24128 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24129 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24130 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24131 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24132 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24133 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24134 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24135 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24136 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24137 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24138 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24140 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24141 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24142 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24143 * sysdeps/ia64/fpu/w_lgammaf_main.c
24144 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24145 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24147 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24148 Alexandre Oliva <aoliva@redhat.com>
24151 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24152 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24154 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24156 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24157 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24158 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24159 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24160 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24161 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24162 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24163 instead of “ifdef DIACRIT_BACKWARD”.
24165 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24167 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24168 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24169 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24170 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24171 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24172 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24179 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24180 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24181 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24182 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24183 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24184 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24186 ($(have-as-vis3) == yes): Remove conditional.
24187 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24199 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24200 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24203 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24204 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24206 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24208 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24209 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24210 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24211 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24212 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24213 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24214 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24215 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24216 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24217 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24218 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24219 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24220 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24221 libm_alias_double_r.
24222 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24224 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24225 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24226 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24227 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24228 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24229 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24230 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24231 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24232 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24233 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24234 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24236 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24238 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24239 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24240 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24241 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24242 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24243 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24244 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24245 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24246 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24247 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24248 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24249 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24250 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24251 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24252 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24253 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24254 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24255 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24257 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24258 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24259 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24260 * sysdeps/ia64/fpu/w_lgamma_main.c
24261 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24262 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24264 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
24266 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24267 address of $global$ into %dp register earlier. Use pc-relative
24268 instruction sequence for PIC case.
24270 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24272 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24273 (asinhf): Define using libm_alias_float.
24274 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24275 (atanf): Define using libm_alias_float.
24276 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24277 (cbrtf): Define using libm_alias_float.
24278 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24279 (ceilf): Define using libm_alias_float.
24280 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24281 (copysignf): Define using libm_alias_float.
24282 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24283 (expm1f): Define using libm_alias_float.
24284 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24285 (fabsf): Define using libm_alias_float.
24286 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24287 (floorf): Define using libm_alias_float.
24288 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24289 (fmaxf): Define using libm_alias_float.
24290 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24291 (fminf): Define using libm_alias_float.
24292 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24293 (frexpf): Define using libm_alias_float.
24294 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24295 (llrintf): Define using libm_alias_float.
24296 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24297 (logbf): Define using libm_alias_float.
24298 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24299 (lrintf): Define using libm_alias_float.
24300 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24301 (nearbyintf): Define using libm_alias_float.
24302 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24303 (remquof): Define using libm_alias_float.
24304 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24305 (rintf): Define using libm_alias_float.
24306 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24307 (truncf): Define using libm_alias_float.
24308 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24309 <libm-alias-float.h>.
24310 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24312 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
24313 <libm-alias-float.h>.
24314 (expf): Define using libm_alias_float, or libm_alias_float_other
24316 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
24317 <libm-alias-float.h>.
24318 (log2f): Define using libm_alias_float, or libm_alias_float_other
24320 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
24321 <libm-alias-float.h>.
24322 (logf): Define using libm_alias_float, or libm_alias_float_other
24324 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
24325 <libm-alias-float.h>.
24326 (powf): Define using libm_alias_float, or libm_alias_float_other
24328 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24329 <libm-alias-float.h>.
24330 (cosf): Define using libm_alias_float.
24331 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24332 <libm-alias-float.h>.
24333 (sincosf): Define using libm_alias_float.
24334 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24335 <libm-alias-float.h>.
24336 (sinf): Define using libm_alias_float.
24337 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24338 (fmaxf): Define using libm_alias_float.
24339 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
24340 (fminf): Define using libm_alias_float.
24341 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24342 <libm-alias-float.h>.
24343 (fmaf): Define using libm_alias_float.
24345 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
24346 (asinh): Define using libm_alias_double.
24347 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
24348 (atan): Define using libm_alias_double.
24349 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
24350 (cbrt): Define using libm_alias_double.
24351 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
24352 (ceil): Define using libm_alias_double.
24353 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
24354 (copysign): Define using libm_alias_double.
24355 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
24356 (expm1): Define using libm_alias_double.
24357 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
24358 (fabs): Define using libm_alias_double.
24359 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
24360 (fdim): Define using libm_alias_double.
24361 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
24362 (floor): Define using libm_alias_double.
24363 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
24364 (fmax): Define using libm_alias_double.
24365 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
24366 (fmin): Define using libm_alias_double.
24367 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
24368 (frexp): Define using libm_alias_double.
24369 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
24370 (llrint): Define using libm_alias_double.
24371 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
24372 (logb): Define using libm_alias_double.
24373 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
24374 (lrint): Define using libm_alias_double.
24375 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
24376 (nearbyint): Define using libm_alias_double.
24377 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
24378 (remquo): Define using libm_alias_double.
24379 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
24380 (rint): Define using libm_alias_double.
24381 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
24382 (trunc): Define using libm_alias_double.
24383 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
24384 (fmax): Define using libm_alias_double.
24385 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
24386 (fmin): Define using libm_alias_double.
24387 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
24388 (fma): Define using libm_alias_double.
24390 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
24393 * elf/dl-hwcaps.c (ROUND): Removed.
24394 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
24395 and ELF_NOTE_NEXT_OFFSET.
24396 * elf/dl-load.c (ROUND): Removed.
24397 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24398 * elf/readelflib.c (ROUND): Removed.
24399 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24400 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
24401 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
24402 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
24404 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24406 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24407 [!__fmaf] (fmaf): Define using libm_alias_float.
24409 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
24410 [!__fma] (fma): Define using libm_alias_double.
24411 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
24413 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24416 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
24417 and implement the collation rules for cs from CLDR on top of that.
24418 * Makefile: Add cs_CZ.UTF-8 to test-input.
24419 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
24421 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
24423 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
24425 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24426 Icarus Sparry <icarus.w.sparry@intel.com>
24428 * benchtests/Makefile:Add BENCHSET to allow subsets of
24429 benchmarks to be run.
24430 * benchtests/README: Add documentation for: Running subsets of
24433 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24435 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
24436 range of tests names.
24438 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
24439 result from property and remove "max", min" and "mean" from
24440 required properties based on benchtests/bench-skeleton.c.
24442 2017-11-28 Florian Weimer <fweimer@redhat.com>
24445 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
24446 due to Internet requirement.
24447 * posix/Makefile (tests): Remove tst-getaddrinfo4,
24449 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
24451 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24453 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24454 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
24455 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24456 (sysdep_routines): Add memset-ultra1.
24457 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
24459 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
24460 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
24461 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
24462 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
24463 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
24464 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
24465 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
24466 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24468 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24470 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24471 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24472 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24473 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24474 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24475 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24476 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24478 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24479 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24480 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24481 (sysdep_routines): Add memcpy-ultra1.
24482 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24483 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24485 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24487 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24488 (cfloat_versions): Take function argument without trailing 'f'.
24489 Call libm_alias_float_other.
24490 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24491 * sysdeps/alpha/fpu/cargf.c: Likewise.
24492 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24493 * sysdeps/alpha/fpu/conjf.c: Likewise.
24494 * sysdeps/alpha/fpu/crealf.c: Likewise.
24495 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24496 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24497 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24498 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24499 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24500 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24501 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24502 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24503 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24504 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24505 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24506 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24507 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24508 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24509 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24510 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24511 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24512 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24513 (clog10f): Use libm_alias_float_other.
24514 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24515 (ceilf): Define using libm_alias_float.
24516 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24517 (copysignf): Define using libm_alias_float.
24518 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24519 (fabsf): Define using libm_alias_float.
24520 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24521 (floorf): Define using libm_alias_float.
24522 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24523 (fmaxf): Define using libm_alias_float.
24524 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24525 (fminf): Define using libm_alias_float.
24526 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24527 (lrintf): Define using libm_alias_float.
24528 (llrintf): Likewise.
24529 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24530 (lroundf): Define using libm_alias_float.
24531 (llroundf): Likewise.
24532 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24533 (rintf): Define using libm_alias_float.
24534 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24535 (truncf): Define using libm_alias_float.
24537 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24538 (ceilf): Define using libm_alias_float.
24539 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24540 (floorf): Define using libm_alias_float.
24541 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24542 (fmaf): Define using libm_alias_float.
24543 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24544 (fmaxf): Define using libm_alias_float.
24545 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24546 (fminf): Define using libm_alias_float.
24547 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24548 (llrintf): Define using libm_alias_float.
24549 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24550 (llroundf): Define using libm_alias_float.
24551 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24552 (lrintf): Define using libm_alias_float.
24553 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24554 (lroundf): Define using libm_alias_float.
24555 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24556 <libm-alias-float.h>.
24557 (nearbyintf): Define using libm_alias_float.
24558 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24559 (rintf): Define using libm_alias_float.
24560 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24561 (roundf): Define using libm_alias_float.
24562 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24563 (truncf): Define using libm_alias_float.
24565 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24566 (ceil): Define using libm_alias_double.
24567 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24568 (copysign): Define using libm_alias_double.
24569 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24570 (fabs): Define using libm_alias_double.
24571 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24572 (floor): Define using libm_alias_double.
24573 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24574 (fmax): Define using libm_alias_double.
24575 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24576 (fmin): Define using libm_alias_double.
24577 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24578 (lrint): Define using libm_alias_double.
24579 (llrint): Likewise.
24580 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24581 (lround): Define using libm_alias_double.
24582 (llround): Likewise.
24583 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24584 (rint): Define using libm_alias_double.
24585 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24586 (trunc): Define using libm_alias_double.
24588 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24589 (libm_alias_double_r): Add semicolon after weak_alias call.
24591 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24593 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24594 (ceil): Define using libm_alias_double.
24595 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24596 (floor): Define using libm_alias_double.
24597 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24598 (fma): Define using libm_alias_double.
24599 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24600 (fmax): Define using libm_alias_double.
24601 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24602 (fmin): Define using libm_alias_double.
24603 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24604 (llrint): Define using libm_alias_double.
24605 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24606 (llround): Define using libm_alias_double.
24607 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24608 (lrint): Define using libm_alias_double.
24609 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24610 (lround): Define using libm_alias_double.
24611 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24612 (nearbyint): Define using libm_alias_double.
24613 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24614 (rint): Define using libm_alias_double.
24615 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24616 (round): Define using libm_alias_double.
24617 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24618 (trunc): Define using libm_alias_double.
24620 2017-11-27 Florian Weimer <fweimer@redhat.com>
24622 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24623 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24624 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24625 (tests): Add tst-mlock2.
24626 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24627 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24628 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24629 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24630 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24631 for mlock. Document mlock2.
24633 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24635 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24636 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24638 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24640 * sysdeps/x86/Makeconfig: New file.
24641 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24642 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24643 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24644 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24645 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24646 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24647 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24649 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24650 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24651 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24652 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24653 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24654 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24655 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24656 * manual/math.texi (Mathematics): Document support for _Float64x.
24657 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24658 * stdlib/Versions (GLIBC_2.27): Likewise.
24659 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24660 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24661 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24662 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24663 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24664 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24665 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24666 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24667 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24668 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24669 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24670 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24675 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24676 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24677 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24678 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24679 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24680 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24681 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24682 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24683 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24684 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24685 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24686 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24687 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24688 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24690 2017-11-27 Andreas Schwab <schwab@suse.de>
24692 * elf/Makefile (dl-routines): Add dl-sort-maps.
24693 * elf/dl-sort-maps.c: New file.
24694 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24695 (_dl_sort_maps): Declare.
24696 * elf/dl-fini.c (_dl_sort_fini): Remove.
24697 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24698 * elf/dl-close.c (_dl_close_worker): Likewise.
24699 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24701 * elf/dl-open.c (dl_open_worker): Likewise.
24703 2017-11-24 Joseph Myers <joseph@codesourcery.com>
24705 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24706 using libm_alias_float128.
24707 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24709 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24711 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24712 (setpayloadsigf128): Likewise.
24713 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24715 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24718 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24719 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24720 -mfloat128 to CFLAGS.
24722 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24724 (CFLAGS-libm-test-support-float64x.c): New variable.
24725 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24726 $(f128-loader-link) to gnulib-tests.
24728 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24729 (libm_alias_float128_other_r): If
24730 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24732 (libm_alias_float128_r): Add semicolon after weak_alias call.
24733 * sysdeps/generic/libm-alias-ldouble.h
24734 (libm_alias_ldouble_other_r_f128): New macro.
24735 (libm_alias_ldouble_other_r_f64x): Likewise.
24736 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24737 and libm_alias_ldouble_other_r_f64x.
24738 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24739 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24740 (libm_alias_ldouble_other_r_f128): New macro.
24741 (libm_alias_ldouble_other_r_f64x): Likewise.
24742 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24743 and libm_alias_ldouble_other_r_f64x.
24745 * stdlib/strfroml.c: Always include <stdlib.h>.
24746 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24747 undefine as macro and define as weak alias.
24748 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24749 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24751 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24752 Define and later undefine as macro and define as weak alias.
24754 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24755 Define and later undefine as macro. Define as weak alias if
24757 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24758 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24759 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24760 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24761 Define and later undefine as macro. Define as weak alias if
24763 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24764 Define and later undefine as macro. Define as weak alias if
24766 * sysdeps/ieee754/float128/strtof128_l.c
24767 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24768 Define and later undefine as macro. Define as weak alias if
24770 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24771 Define and later undefine as macro. Define as weak alias if
24773 * sysdeps/ieee754/ldbl-128/strtold_l.c
24774 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24775 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24776 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24777 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24778 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24779 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24780 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24781 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24782 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24783 * sysdeps/ieee754/ldbl-96/strtold_l.c
24784 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24785 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24786 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24787 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24789 * math/test-float64x.h: New file.
24790 * math/Makefile (type-float64x-yes): New variable.
24791 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24793 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24794 function-like macro.
24795 (min_of_type_): Likewise.
24796 (min_of_type_l): Likewise.
24797 (min_of_type_f128): Likewise.
24798 (min_of_type): Pass () as last argument of __MATH_TG.
24800 * stdlib/tst-strtod-round-skeleton.c
24801 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24804 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24805 for combinations of long double with _Float64 and _Float64x.
24807 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24808 (__DECL_SIMD_cosf32): Likewise.
24809 (__DECL_SIMD_cosf64): Likewise.
24810 (__DECL_SIMD_cosf32x): Likewise.
24811 (__DECL_SIMD_cosf64x): Likewise.
24812 (__DECL_SIMD_cosf128x): Likewise.
24813 (__DECL_SIMD_sinf16): Likewise.
24814 (__DECL_SIMD_sinf32): Likewise.
24815 (__DECL_SIMD_sinf64): Likewise.
24816 (__DECL_SIMD_sinf32x): Likewise.
24817 (__DECL_SIMD_sinf64x): Likewise.
24818 (__DECL_SIMD_sinf128x): Likewise.
24819 (__DECL_SIMD_sincosf16): Likewise.
24820 (__DECL_SIMD_sincosf32): Likewise.
24821 (__DECL_SIMD_sincosf64): Likewise.
24822 (__DECL_SIMD_sincosf32x): Likewise.
24823 (__DECL_SIMD_sincosf64x): Likewise.
24824 (__DECL_SIMD_sincosf128x): Likewise.
24825 (__DECL_SIMD_logf16): Likewise.
24826 (__DECL_SIMD_logf32): Likewise.
24827 (__DECL_SIMD_logf64): Likewise.
24828 (__DECL_SIMD_logf32x): Likewise.
24829 (__DECL_SIMD_logf64x): Likewise.
24830 (__DECL_SIMD_logf128x): Likewise.
24831 (__DECL_SIMD_expf16): Likewise.
24832 (__DECL_SIMD_expf32): Likewise.
24833 (__DECL_SIMD_expf64): Likewise.
24834 (__DECL_SIMD_expf32x): Likewise.
24835 (__DECL_SIMD_expf64x): Likewise.
24836 (__DECL_SIMD_expf128x): Likewise.
24837 (__DECL_SIMD_powf16): Likewise.
24838 (__DECL_SIMD_powf32): Likewise.
24839 (__DECL_SIMD_powf64): Likewise.
24840 (__DECL_SIMD_powf32x): Likewise.
24841 (__DECL_SIMD_powf64x): Likewise.
24842 (__DECL_SIMD_powf128x): Likewise.
24844 * stdlib/Versions (libc): Move entries for wcstof128 and
24845 wcstof128_l to ....
24846 * wcsmbs/Versions (libc): ... here.
24847 Include <float128-abi.h>.
24849 2017-11-24 Florian Weimer <fweimer@redhat.com>
24851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24852 bits/mman-shared.h.
24853 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24854 <bits/mman-shared.h>.
24855 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24857 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24858 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24859 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24860 <bits/mman-shared.h>.
24862 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24865 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24866 posix_memalign/free.
24867 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24869 2017-11-22 Mike FABIAN <mfabian@redhat.com>
24872 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24873 and implement the collation rules for pl from CLDR on top of that.
24874 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24875 of locales to be built for testing.
24876 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24878 2017-11-23 Joseph Myers <joseph@codesourcery.com>
24880 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24881 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24882 libm_alias_ldouble_other.
24883 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24884 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24885 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24886 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24887 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24888 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24889 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24890 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24891 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24892 libm_alias_ldouble_r.
24893 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24894 libm_alias_ldouble_other.
24895 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24896 (log10l): Likewise.
24897 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24898 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24899 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24900 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24901 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24902 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24903 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24904 (atan2l): Likewise.
24905 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24906 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24907 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24908 libm_alias_ldouble.
24909 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24911 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24912 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24913 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24915 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24916 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24917 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24918 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24919 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24920 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24921 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24922 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24923 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24924 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24925 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24926 libm_alias_ldouble.
24927 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24928 libm_alias_ldouble_other.
24929 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24930 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24931 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24932 libm_alias_ldouble.
24933 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24934 libm_alias_ldouble_other.
24935 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24936 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24937 * sysdeps/ia64/fpu/w_lgammal_main.c
24938 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24939 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24941 2017-11-23 Florian Weimer <fweimer@redhat.com>
24943 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24944 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24945 alike. Remove freeres marker.
24946 * malloc/arena.c (arena_thread_freeres): Call
24947 tcache_thread_shutdown.
24949 2017-11-23 Florian Weimer <fweimer@redhat.com>
24952 Export nscd hash function as __nss_hash.
24953 * include/nss.h (__nss_hash): Declare.
24954 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24956 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24957 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24959 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24960 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24961 * nss/Makefiles (routines): Add nss_hash.
24962 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24963 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24964 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24965 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24967 2017-11-23 Florian Weimer <fweimer@redhat.com>
24970 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24971 Return error code, not -1.
24972 * signal/tst-sigwait-eintr.c: New file.
24973 * signal/Makefile (tests): Add tst-sigwait-eintr.
24975 2017-11-23 Florian Weimer <fweimer@redhat.com>
24977 Linux: Add memfd_create system call wrapper
24978 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24980 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24981 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24982 [__USE_GNU] (memfd_create): Declare.
24983 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24984 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24985 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24986 * sysdeps/unix/sysv/linux/**.abilist: Update.
24987 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24989 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24991 * localedata/gen-locale.sh: Fix typo in variable name.
24993 * resolv/res_debug.c (p_secstodate): Condition definition on
24994 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24995 directly as __p_secstodate, and as a compat symbol. Do not use
24996 libresolv_hidden_def.
24997 * resolv/resolv.h (p_secstodate): Remove macro and function
24999 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25000 using p_secstodate.
25001 * include/resolv.h (__p_secstodate): Do not use
25002 libresolv_hidden_proto.
25003 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25004 (tests-internal): ... here.
25005 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25006 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25007 and declare and use __p_secstodate and use compat_symbol_reference
25009 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25010 implementation returning 77.
25013 * resolv/res_debug.c: Include <libc-diag.h>.
25014 (p_secstodate): Assert time_t at least as wide as u_long. On
25015 overflow, use integer seconds since the epoch as output, or use
25016 "<overflow>" as output and set errno to EOVERFLOW if integer
25017 seconds since the epoch would be 14 or more characters.
25018 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25020 * resolv/tst-p_secstodate.c: New file.
25021 * resolv/Makefile (tests): Add tst-p_secstodate.
25022 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
25024 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
25025 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25026 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
25028 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
25030 * posix/regcomp.c (init_word_char): Add comments.
25032 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25035 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
25036 strlen to compute length of ut_user and set trailing NUL byte of
25039 2017-11-21 Mike FABIAN <mfabian@redhat.com>
25042 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
25043 using “copy "iso14651_t1"” and then implementing the
25044 collation rules for lv from CLDR on top of that.
25045 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
25046 of locales to be built for testing.
25047 * lv_LV.UTF-8.in: New file with test data to test the Latvian
25050 2017-11-21 Joseph Myers <joseph@codesourcery.com>
25052 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25053 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
25054 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
25055 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
25056 [__USE_MISC] (MADV_HWPOISON): New macro.
25057 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
25059 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25061 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
25062 -Wmissing-braces on GCC 4.9.
25064 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25066 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
25067 * sysdeps/s390/s390-32/start.S (_start): Likewise
25068 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
25069 (thread_start): Likewise.
25070 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
25071 (thread_start): Likewise.
25072 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
25073 (__makecontext_ret): Likewise.
25074 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
25075 (__makecontext_ret): Likewise.
25077 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25079 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
25080 __wcschrnul): Remove attribute_hidden.
25082 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
25084 regex: don't assume uint64_t or uint32_t
25085 This avoids -Werror=overflow errors for 32-bit systems in
25086 the 64-bit case. Problem reported by Joseph Myers in:
25087 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
25088 Also, when this code is used in Gnulib it ports to platforms
25089 that lack uint64_t and uint32_t. The C standard doesn't guarantee
25090 them, and on some 32-bit compilers there is no uint64_t.
25091 Problem reported by Gianluigi Tiesi in:
25092 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
25093 * posix/regcomp.c (init_word_char): Don't assume that the types
25094 uint64_t and uint32_t exist. Adapted from Gnulib patch
25095 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
25096 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25098 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25100 * sysdeps/aarch64/memset-reg.h: New file.
25101 * sysdeps/aarch64/memset.S: Use it.
25102 (__memset): Rename to MEMSET macro.
25103 [ZVA_MACRO]: Use zva_macro.
25104 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25105 Add memset_generic and memset_falkor.
25106 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25107 (__libc_ifunc_impl_list): Add memset ifuncs.
25108 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25109 local variable zva_size.
25110 * sysdeps/aarch64/multiarch/memset.c: New file.
25111 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25112 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25113 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25114 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25115 (DCZID_DZP_MASK): New macro.
25116 (DCZID_BS_MASK): Likewise.
25117 (init_cpu_features): Read and set zva_size.
25118 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25119 (struct cpu_features): New member zva_size.
25121 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25122 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25123 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25125 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25126 backwards. Fix timing computation.
25127 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25128 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25129 on memset by N at a time. Fix timing computation.
25131 2017-11-20 Florian Weimer <fweimer@redhat.com>
25133 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25134 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25136 2017-11-19 Florian Weimer <fweimer@redhat.com>
25138 manual: Document mprotect
25139 * manual/memory.texi (Memory Protection): New section.
25140 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25141 documentation of PROT_* flags and reference the Memory Protection
25144 2017-11-19 Florian Weimer <fweimer@redhat.com>
25146 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25147 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25148 (Scatter-Gather): ... to here. Remove misleading comment.
25150 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
25152 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25155 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25156 when /proc/<pid>/setgroups does not exist.
25158 2017-11-18 Florian Weimer <fweimer@redhat.com>
25160 * sysdeps/unix/sysv/linux/tst-ttyname.c
25161 (become_root_in_mount_ns): Remove.
25162 (do_in_chroot_1): Call support_enter_mount_namespace.
25163 (do_in_chroot_2): Likewise.
25164 (do_test): Call support_become_root early.
25166 2017-11-18 Florian Weimer <fweimer@redhat.com>
25168 * support/namespace.h (support_enter_mount_namespace): Declare.
25169 * support/support_enter_mount_namespace.c: New file.
25170 * support/Makefile (libsupport-routines): Add
25171 support_enter_mount_namespace.
25173 2017-11-18 Florian Weimer <fweimer@redhat.com>
25175 * support/temp_file.c (support_create_temp_directory): Use
25176 test_dir and do not rely on the presence of the XXXXXX suffix.
25177 * support/temp_file.h (support_create_temp_directory): Update
25179 * support/tst-xreadlink.c (do_test): Adjust.
25180 * support/support_chroot.c (support_chroot_create): Likewise.
25182 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25184 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25186 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25189 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25191 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25192 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25193 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25194 (ceill): Define using libm_alias_ldouble.
25195 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25196 <libm-alias-ldouble.h>.
25197 (copysignl): Define using libm_alias_ldouble.
25198 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25199 (fabsl): Define using libm_alias_ldouble.
25200 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25201 (floorl): Define using libm_alias_ldouble.
25202 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25203 (fmaxl): Define using libm_alias_ldouble.
25204 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25205 (fminl): Define using libm_alias_ldouble.
25206 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25207 (llrintl): Define using libm_alias_ldouble.
25208 (lrintl): Likewise.
25209 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25210 <libm-alias-ldouble.h>.
25211 (nearbyintl): Define using libm_alias_ldouble.
25212 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25213 (truncl): Define using libm_alias_ldouble.
25214 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25215 <libm-alias-ldouble.h>.
25216 (lrintl): Define using libm_alias_ldouble.
25218 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25219 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25220 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25221 (asinhl): Define using libm_alias_ldouble.
25222 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25223 (atanl): Define using libm_alias_ldouble.
25224 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25225 (cbrtl): Define using libm_alias_ldouble.
25226 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25227 (ceill): Define using libm_alias_ldouble.
25228 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25229 (copysignl): Define using libm_alias_ldouble.
25230 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25231 (fabsl): Define using libm_alias_ldouble.
25232 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25233 (floorl): Define using libm_alias_ldouble.
25234 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25235 (fmaxl): Define using libm_alias_ldouble.
25236 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25237 (fminl): Define using libm_alias_ldouble.
25238 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25239 (frexpl): Define using libm_alias_ldouble.
25240 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25241 (llrintl): Define using libm_alias_ldouble.
25242 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25243 (logbl): Define using libm_alias_ldouble.
25244 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25245 (lrintl): Define using libm_alias_ldouble.
25246 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25247 (nearbyintl): Define using libm_alias_ldouble.
25248 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25249 (nextafterl): Define using libm_alias_ldouble.
25250 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25251 (remquol): Define using libm_alias_ldouble.
25252 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25253 (rintl): Define using libm_alias_ldouble.
25254 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25255 (truncl): Define using libm_alias_ldouble.
25256 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25257 (fmaxl): Define using libm_alias_ldouble.
25258 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25259 (fminl): Define using libm_alias_ldouble.
25261 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25262 to C syntax instead of availability and properties of types.
25263 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25264 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25265 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25266 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25267 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25268 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25270 2017-11-17 Florian Weimer <fweimer@redhat.com>
25272 support_become_root: Enable file creation in namespaces.
25273 * support/support_become_root.c (setup_mapping): New function.
25274 (support_become_root): Call it.
25276 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25278 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25281 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25283 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25284 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25286 2017-11-16 Joseph Myers <joseph@codesourcery.com>
25288 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25290 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25293 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25295 * INSTALL: Fix botched up regeneration.
25297 * NEWS: Update sourceare link to https.
25298 * configure.ac: Likewise.
25299 * crypt/md5test-giant.c: Likewise.
25300 * dlfcn/bug-atexit1.c: Likewise.
25301 * dlfcn/bug-atexit2.c: Likewise.
25302 * localedata/README: Likewise.
25303 * malloc/tst-mallocfork.c: Likewise.
25304 * manual/install.texi: Likewise.
25305 * nptl/tst-pthread-getattr.c: Likewise.
25306 * stdio-common/tst-fgets.c: Likewise.
25307 * stdio-common/tst-fwrite.c: Likewise.
25308 * sunrpc/Makefile: Likewise.
25309 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25310 * wcsmbs/tst-mbrtowc2.c: Likewise.
25311 * configure: Regenerate.
25312 * INSTALL: Regenerate.
25314 2017-11-15 Martin Sebor <msebor@redhat.com>
25316 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
25317 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
25318 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
25320 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25323 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
25324 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
25327 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25328 Defer is_pty check until end of the function.
25329 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25332 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25333 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25334 (ttyname): Likewise.
25335 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25336 (__ttyname_r): Likewise.
25338 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
25341 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
25343 * manual/terminal.texi (Is It a Terminal):
25344 Mention ENODEV for ttyname and ttyname_r.
25346 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25348 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
25349 constant and macro.
25351 * sysdeps/unix/sysv/linux/bits/mman-linux.h
25352 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25353 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25354 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25355 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
25356 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25358 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25360 * signal/sigrelse.c (sigrelse): Optimize implementation.
25362 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
25363 (__sigpause): Rely on __sigsuspend to implement single thread
25364 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
25366 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25368 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25369 kernel version to 4.14.
25371 2017-11-15 Steve Ellcey <sellcey@cavium.com>
25374 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
25375 Check if ifname is too long.
25377 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25379 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
25381 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25383 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
25384 was accidentally lost.
25386 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25388 * localedata/locales/az_IR: Add standard copyright header.
25390 2017-11-15 Florian Weimer <fweimer@redhat.com>
25393 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
25394 not just the top one. Output a new "subheaps" statistic.
25396 2017-11-15 Florian Weimer <fweimer@redhat.com>
25399 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
25400 under the per-arena lock.
25401 * malloc/Makefile (tests): Add tst-malloc_info.
25402 (tst-malloc_info): Link with libpthread.
25403 * malloc/tst-malloc_info.c: New file.
25405 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25408 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
25409 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
25410 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
25411 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
25412 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
25413 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
25414 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
25415 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
25416 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
25417 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
25418 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
25419 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
25420 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
25421 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
25422 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
25423 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
25424 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
25425 (__floating_type): Likewise.
25426 (__real_integer_type): Likewise.
25427 (__complex_integer_type): Likewise.
25428 (__expr_is_real): Likewise.
25429 (__tgmath_real_type_sub): Likewise.
25430 (__tgmath_real_type): Likewise.
25431 (__tgmath_complex_type_sub): Likewise.
25432 (__tgmath_complex_type): Likewise.
25433 (__TGMATH_F128): Likewise.
25434 (__TGMATH_CF128): Likewise.
25435 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
25437 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25438 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
25440 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
25442 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
25443 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25444 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25445 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
25447 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25448 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
25450 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
25451 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
25452 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
25454 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
25455 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
25456 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
25460 2017-11-14 Joseph Myers <joseph@codesourcery.com>
25462 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
25463 for stpncpy calls for GCC 8.
25464 (test_strncat): Disable -Wstringop-truncation warning for strncat
25465 calls for GCC 8. Disable -Wstringop-overflow= warning for one
25466 strncat call for GCC 7.
25467 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25469 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25472 * string/bug-strncat1.c: Include <libc-diag.h>.
25473 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25475 2017-11-13 Claude Paroz <claude@2xlibre.net>
25478 * localedata/locales/aa_DJ: Improved readibility by replacing
25479 <Uxxxx> sequences in the ASCII printable range by their ASCII
25480 character equivalents.
25481 * localedata/locales/aa_ER: Likewise.
25482 * localedata/locales/aa_ER@saaho: Likewise.
25483 * localedata/locales/aa_ET: Likewise.
25484 * localedata/locales/af_ZA: Likewise.
25485 * localedata/locales/agr_PE: Likewise.
25486 * localedata/locales/ak_GH: Likewise.
25487 * localedata/locales/am_ET: Likewise.
25488 * localedata/locales/anp_IN: Likewise.
25489 * localedata/locales/ar_AE: Likewise.
25490 * localedata/locales/ar_BH: Likewise.
25491 * localedata/locales/ar_DZ: Likewise.
25492 * localedata/locales/ar_EG: Likewise.
25493 * localedata/locales/ar_IN: Likewise.
25494 * localedata/locales/ar_IQ: Likewise.
25495 * localedata/locales/ar_JO: Likewise.
25496 * localedata/locales/ar_KW: Likewise.
25497 * localedata/locales/ar_LB: Likewise.
25498 * localedata/locales/ar_LY: Likewise.
25499 * localedata/locales/ar_MA: Likewise.
25500 * localedata/locales/ar_OM: Likewise.
25501 * localedata/locales/ar_QA: Likewise.
25502 * localedata/locales/ar_SA: Likewise.
25503 * localedata/locales/ar_SD: Likewise.
25504 * localedata/locales/ar_SS: Likewise.
25505 * localedata/locales/ar_SY: Likewise.
25506 * localedata/locales/ar_TN: Likewise.
25507 * localedata/locales/ar_YE: Likewise.
25508 * localedata/locales/as_IN: Likewise.
25509 * localedata/locales/ast_ES: Likewise.
25510 * localedata/locales/ayc_PE: Likewise.
25511 * localedata/locales/az_AZ: Likewise.
25512 * localedata/locales/az_IR: Likewise.
25513 * localedata/locales/be_BY: Likewise.
25514 * localedata/locales/be_BY@latin: Likewise.
25515 * localedata/locales/bem_ZM: Likewise.
25516 * localedata/locales/ber_DZ: Likewise.
25517 * localedata/locales/ber_MA: Likewise.
25518 * localedata/locales/bg_BG: Likewise.
25519 * localedata/locales/bhb_IN: Likewise.
25520 * localedata/locales/bho_IN: Likewise.
25521 * localedata/locales/bi_VU: Likewise.
25522 * localedata/locales/bn_BD: Likewise.
25523 * localedata/locales/bn_IN: Likewise.
25524 * localedata/locales/bo_CN: Likewise.
25525 * localedata/locales/bo_IN: Likewise.
25526 * localedata/locales/br_FR: Likewise.
25527 * localedata/locales/brx_IN: Likewise.
25528 * localedata/locales/bs_BA: Likewise.
25529 * localedata/locales/byn_ER: Likewise.
25530 * localedata/locales/ca_AD: Likewise.
25531 * localedata/locales/ca_ES: Likewise.
25532 * localedata/locales/ca_FR: Likewise.
25533 * localedata/locales/ca_IT: Likewise.
25534 * localedata/locales/ce_RU: Likewise.
25535 * localedata/locales/chr_US: Likewise.
25536 * localedata/locales/cmn_TW: Likewise.
25537 * localedata/locales/crh_UA: Likewise.
25538 * localedata/locales/cs_CZ: Likewise.
25539 * localedata/locales/csb_PL: Likewise.
25540 * localedata/locales/cv_RU: Likewise.
25541 * localedata/locales/cy_GB: Likewise.
25542 * localedata/locales/da_DK: Likewise.
25543 * localedata/locales/de_AT: Likewise.
25544 * localedata/locales/de_BE: Likewise.
25545 * localedata/locales/de_CH: Likewise.
25546 * localedata/locales/de_DE: Likewise.
25547 * localedata/locales/de_IT: Likewise.
25548 * localedata/locales/de_LI: Likewise.
25549 * localedata/locales/de_LU: Likewise.
25550 * localedata/locales/doi_IN: Likewise.
25551 * localedata/locales/dv_MV: Likewise.
25552 * localedata/locales/dz_BT: Likewise.
25553 * localedata/locales/el_CY: Likewise.
25554 * localedata/locales/el_GR: Likewise.
25555 * localedata/locales/en_AG: Likewise.
25556 * localedata/locales/en_AU: Likewise.
25557 * localedata/locales/en_BW: Likewise.
25558 * localedata/locales/en_CA: Likewise.
25559 * localedata/locales/en_DK: Likewise.
25560 * localedata/locales/en_GB: Likewise.
25561 * localedata/locales/en_HK: Likewise.
25562 * localedata/locales/en_IE: Likewise.
25563 * localedata/locales/en_IL: Likewise.
25564 * localedata/locales/en_IN: Likewise.
25565 * localedata/locales/en_NG: Likewise.
25566 * localedata/locales/en_NZ: Likewise.
25567 * localedata/locales/en_PH: Likewise.
25568 * localedata/locales/en_SG: Likewise.
25569 * localedata/locales/en_US: Likewise.
25570 * localedata/locales/en_ZA: Likewise.
25571 * localedata/locales/en_ZM: Likewise.
25572 * localedata/locales/en_ZW: Likewise.
25573 * localedata/locales/eo: Likewise.
25574 * localedata/locales/es_AR: Likewise.
25575 * localedata/locales/es_BO: Likewise.
25576 * localedata/locales/es_CL: Likewise.
25577 * localedata/locales/es_CO: Likewise.
25578 * localedata/locales/es_CR: Likewise.
25579 * localedata/locales/es_CU: Likewise.
25580 * localedata/locales/es_DO: Likewise.
25581 * localedata/locales/es_EC: Likewise.
25582 * localedata/locales/es_ES: Likewise.
25583 * localedata/locales/es_GT: Likewise.
25584 * localedata/locales/es_HN: Likewise.
25585 * localedata/locales/es_MX: Likewise.
25586 * localedata/locales/es_NI: Likewise.
25587 * localedata/locales/es_PA: Likewise.
25588 * localedata/locales/es_PE: Likewise.
25589 * localedata/locales/es_PR: Likewise.
25590 * localedata/locales/es_PY: Likewise.
25591 * localedata/locales/es_SV: Likewise.
25592 * localedata/locales/es_US: Likewise.
25593 * localedata/locales/es_UY: Likewise.
25594 * localedata/locales/es_VE: Likewise.
25595 * localedata/locales/et_EE: Likewise.
25596 * localedata/locales/eu_ES: Likewise.
25597 * localedata/locales/eu_ES@euro: Likewise.
25598 * localedata/locales/fa_IR: Likewise.
25599 * localedata/locales/ff_SN: Likewise.
25600 * localedata/locales/fi_FI: Likewise.
25601 * localedata/locales/fil_PH: Likewise.
25602 * localedata/locales/fo_FO: Likewise.
25603 * localedata/locales/fr_BE: Likewise.
25604 * localedata/locales/fr_CA: Likewise.
25605 * localedata/locales/fr_CH: Likewise.
25606 * localedata/locales/fr_FR: Likewise.
25607 * localedata/locales/fr_LU: Likewise.
25608 * localedata/locales/fur_IT: Likewise.
25609 * localedata/locales/fy_DE: Likewise.
25610 * localedata/locales/fy_NL: Likewise.
25611 * localedata/locales/ga_IE: Likewise.
25612 * localedata/locales/gd_GB: Likewise.
25613 * localedata/locales/gez_ER: Likewise.
25614 * localedata/locales/gez_ET: Likewise.
25615 * localedata/locales/gl_ES: Likewise.
25616 * localedata/locales/gu_IN: Likewise.
25617 * localedata/locales/gv_GB: Likewise.
25618 * localedata/locales/ha_NG: Likewise.
25619 * localedata/locales/hak_TW: Likewise.
25620 * localedata/locales/he_IL: Likewise.
25621 * localedata/locales/hi_IN: Likewise.
25622 * localedata/locales/hif_FJ: Likewise.
25623 * localedata/locales/hne_IN: Likewise.
25624 * localedata/locales/hr_HR: Likewise.
25625 * localedata/locales/hsb_DE: Likewise.
25626 * localedata/locales/ht_HT: Likewise.
25627 * localedata/locales/hu_HU: Likewise.
25628 * localedata/locales/hy_AM: Likewise.
25629 * localedata/locales/i18n: Likewise.
25630 * localedata/locales/ia_FR: Likewise.
25631 * localedata/locales/id_ID: Likewise.
25632 * localedata/locales/ig_NG: Likewise.
25633 * localedata/locales/ik_CA: Likewise.
25634 * localedata/locales/is_IS: Likewise.
25635 * localedata/locales/it_CH: Likewise.
25636 * localedata/locales/it_IT: Likewise.
25637 * localedata/locales/iu_CA: Likewise.
25638 * localedata/locales/ja_JP: Likewise.
25639 * localedata/locales/ka_GE: Likewise.
25640 * localedata/locales/kk_KZ: Likewise.
25641 * localedata/locales/kl_GL: Likewise.
25642 * localedata/locales/kn_IN: Likewise.
25643 * localedata/locales/ko_KR: Likewise.
25644 * localedata/locales/kok_IN: Likewise.
25645 * localedata/locales/ks_IN: Likewise.
25646 * localedata/locales/ks_IN@devanagari: Likewise.
25647 * localedata/locales/ku_TR: Likewise.
25648 * localedata/locales/kw_GB: Likewise.
25649 * localedata/locales/ky_KG: Likewise.
25650 * localedata/locales/lb_LU: Likewise.
25651 * localedata/locales/lg_UG: Likewise.
25652 * localedata/locales/li_BE: Likewise.
25653 * localedata/locales/li_NL: Likewise.
25654 * localedata/locales/lij_IT: Likewise.
25655 * localedata/locales/ln_CD: Likewise.
25656 * localedata/locales/lo_LA: Likewise.
25657 * localedata/locales/lt_LT: Likewise.
25658 * localedata/locales/lv_LV: Likewise.
25659 * localedata/locales/lzh_TW: Likewise.
25660 * localedata/locales/mag_IN: Likewise.
25661 * localedata/locales/mai_IN: Likewise.
25662 * localedata/locales/mg_MG: Likewise.
25663 * localedata/locales/mhr_RU: Likewise.
25664 * localedata/locales/mi_NZ: Likewise.
25665 * localedata/locales/mk_MK: Likewise.
25666 * localedata/locales/ml_IN: Likewise.
25667 * localedata/locales/mn_MN: Likewise.
25668 * localedata/locales/mni_IN: Likewise.
25669 * localedata/locales/mr_IN: Likewise.
25670 * localedata/locales/ms_MY: Likewise.
25671 * localedata/locales/mt_MT: Likewise.
25672 * localedata/locales/my_MM: Likewise.
25673 * localedata/locales/nan_TW: Likewise.
25674 * localedata/locales/nan_TW@latin: Likewise.
25675 * localedata/locales/nb_NO: Likewise.
25676 * localedata/locales/nds_DE: Likewise.
25677 * localedata/locales/nds_NL: Likewise.
25678 * localedata/locales/ne_NP: Likewise.
25679 * localedata/locales/nhn_MX: Likewise.
25680 * localedata/locales/niu_NU: Likewise.
25681 * localedata/locales/niu_NZ: Likewise.
25682 * localedata/locales/nl_AW: Likewise.
25683 * localedata/locales/nl_BE: Likewise.
25684 * localedata/locales/nl_NL: Likewise.
25685 * localedata/locales/nn_NO: Likewise.
25686 * localedata/locales/nr_ZA: Likewise.
25687 * localedata/locales/nso_ZA: Likewise.
25688 * localedata/locales/oc_FR: Likewise.
25689 * localedata/locales/om_ET: Likewise.
25690 * localedata/locales/om_KE: Likewise.
25691 * localedata/locales/or_IN: Likewise.
25692 * localedata/locales/os_RU: Likewise.
25693 * localedata/locales/pa_IN: Likewise.
25694 * localedata/locales/pa_PK: Likewise.
25695 * localedata/locales/pap_AW: Likewise.
25696 * localedata/locales/pap_CW: Likewise.
25697 * localedata/locales/pl_PL: Likewise.
25698 * localedata/locales/ps_AF: Likewise.
25699 * localedata/locales/pt_BR: Likewise.
25700 * localedata/locales/pt_PT: Likewise.
25701 * localedata/locales/quz_PE: Likewise.
25702 * localedata/locales/raj_IN: Likewise.
25703 * localedata/locales/ro_RO: Likewise.
25704 * localedata/locales/ru_RU: Likewise.
25705 * localedata/locales/ru_UA: Likewise.
25706 * localedata/locales/rw_RW: Likewise.
25707 * localedata/locales/sa_IN: Likewise.
25708 * localedata/locales/sat_IN: Likewise.
25709 * localedata/locales/sc_IT: Likewise.
25710 * localedata/locales/sd_IN: Likewise.
25711 * localedata/locales/sd_IN@devanagari: Likewise.
25712 * localedata/locales/se_NO: Likewise.
25713 * localedata/locales/sgs_LT: Likewise.
25714 * localedata/locales/shs_CA: Likewise.
25715 * localedata/locales/si_LK: Likewise.
25716 * localedata/locales/sid_ET: Likewise.
25717 * localedata/locales/sk_SK: Likewise.
25718 * localedata/locales/sl_SI: Likewise.
25719 * localedata/locales/sm_WS: Likewise.
25720 * localedata/locales/so_DJ: Likewise.
25721 * localedata/locales/so_ET: Likewise.
25722 * localedata/locales/so_KE: Likewise.
25723 * localedata/locales/so_SO: Likewise.
25724 * localedata/locales/sq_AL: Likewise.
25725 * localedata/locales/sq_MK: Likewise.
25726 * localedata/locales/sr_ME: Likewise.
25727 * localedata/locales/sr_RS: Likewise.
25728 * localedata/locales/sr_RS@latin: Likewise.
25729 * localedata/locales/ss_ZA: Likewise.
25730 * localedata/locales/st_ZA: Likewise.
25731 * localedata/locales/sv_FI: Likewise.
25732 * localedata/locales/sv_SE: Likewise.
25733 * localedata/locales/sw_KE: Likewise.
25734 * localedata/locales/sw_TZ: Likewise.
25735 * localedata/locales/szl_PL: Likewise.
25736 * localedata/locales/ta_IN: Likewise.
25737 * localedata/locales/ta_LK: Likewise.
25738 * localedata/locales/tcy_IN: Likewise.
25739 * localedata/locales/te_IN: Likewise.
25740 * localedata/locales/tg_TJ: Likewise.
25741 * localedata/locales/th_TH: Likewise.
25742 * localedata/locales/the_NP: Likewise.
25743 * localedata/locales/ti_ER: Likewise.
25744 * localedata/locales/ti_ET: Likewise.
25745 * localedata/locales/tig_ER: Likewise.
25746 * localedata/locales/tk_TM: Likewise.
25747 * localedata/locales/tl_PH: Likewise.
25748 * localedata/locales/tn_ZA: Likewise.
25749 * localedata/locales/to_TO: Likewise.
25750 * localedata/locales/tpi_PG: Likewise.
25751 * localedata/locales/tr_CY: Likewise.
25752 * localedata/locales/tr_TR: Likewise.
25753 * localedata/locales/ts_ZA: Likewise.
25754 * localedata/locales/tt_RU: Likewise.
25755 * localedata/locales/tt_RU@iqtelif: Likewise.
25756 * localedata/locales/ug_CN: Likewise.
25757 * localedata/locales/uk_UA: Likewise.
25758 * localedata/locales/unm_US: Likewise.
25759 * localedata/locales/ur_IN: Likewise.
25760 * localedata/locales/ur_PK: Likewise.
25761 * localedata/locales/uz_UZ: Likewise.
25762 * localedata/locales/uz_UZ@cyrillic: Likewise.
25763 * localedata/locales/ve_ZA: Likewise.
25764 * localedata/locales/vi_VN: Likewise.
25765 * localedata/locales/wa_BE: Likewise.
25766 * localedata/locales/wae_CH: Likewise.
25767 * localedata/locales/wal_ET: Likewise.
25768 * localedata/locales/wo_SN: Likewise.
25769 * localedata/locales/xh_ZA: Likewise.
25770 * localedata/locales/yi_US: Likewise.
25771 * localedata/locales/yo_NG: Likewise.
25772 * localedata/locales/yue_HK: Likewise.
25773 * localedata/locales/yuw_PG: Likewise.
25774 * localedata/locales/zh_CN: Likewise.
25775 * localedata/locales/zh_HK: Likewise.
25776 * localedata/locales/zh_SG: Likewise.
25777 * localedata/locales/zh_TW: Likewise.
25778 * localedata/locales/zu_ZA: Likewise.
25780 2017-11-13 Florian Weimer <fweimer@redhat.com>
25782 * support/next_to_fault.h, support/next_to_fault.c: New files.
25783 * support/Makefile (libsupport-routines): Add next_to_fault.
25784 * resolv/tst-inet_pton.c (struct next_to_fault)
25785 (next_to_fault_allocate, next_to_fault_free): Remove.
25786 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25788 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25790 * elf/dl-support.c: Include <dl-procruntime.c>.
25791 * include/link.h: Include <link_map.h>.
25792 * sysdeps/generic/dl-procruntime.c: New file.
25793 * sysdeps/generic/link_map.h: Likewise.
25794 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25795 the writable ld.so namespace.
25797 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25799 timezone: pacify GCC -Wstringop-truncation
25800 Problem reported by Martin Sebor in:
25801 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25802 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25804 2017-11-12 Florian Weimer <fweimer@redhat.com>
25806 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25808 (tests): Add tst-xreadlink.
25809 * support/support.h (xstrndup): Declare.
25810 * support/xunistd.h (xunlink, xreadlink): Declare.
25811 * support/temp_file.h (support_create_temp_directory): Declare.
25812 * support/temp_file.c (support_create_temp_directory): New function.
25813 * support/support_chroot.c (support_chroot_create): Use it.
25814 * support/xreadlink.c: New file.
25815 * support/xstrndup.c: Likewise.
25816 * support/xunlink.c: Likewise.
25817 * support/tst-xreadlink.c: Likewise.
25819 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
25821 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25823 2017-11-11 Florian Weimer <fweimer@redhat.com>
25827 * resolv/res_comp.c (printable_string, binary_hnok)
25828 (binary_leading_dash): New functions.
25829 (res_hnok): Reimplement using these functions and ns_name_pton.
25830 (res_ownok): Likewise.
25831 (res_mailok): Reimplement using printable_string, ns_name_pton and
25833 (res_dnok): Reimplement using printable_string and ns_name_pton.
25834 * resolv/tst-res_hnok.c (tests): Add additional tests.
25835 (LETTERDIGITS, PRINTABLE): Define.
25836 (do_test): Adjust one_char results.
25838 2017-11-11 Florian Weimer <fweimer@redhat.com>
25841 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25842 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25844 2017-11-11 Florian Weimer <fweimer@redhat.com>
25846 * resolv/tst-ns_name_pton.c: New file.
25847 * resolv/Makefile (tests): Add tst-ns_name_pton.
25848 (tst-ns_name_pton): Link against libresolv.
25850 2017-11-11 Florian Weimer <fweimer@redhat.com>
25852 * resolv/tst-res_hnok.c: New file.
25853 * resolv/Makefile (tests): Add tst-res_hnok.
25854 (tst-res_hnok): Link against libresolv.
25856 2017-11-11 Florian Weimer <fweimer@redhat.com>
25858 * resolv/tst-resolv-network.c: Use test framework instead explicit
25861 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25863 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25864 <jmp_buf-macros.h>.
25865 [!_ISOMAC] (STR_HELPER): New.
25866 [!_ISOMAC] (STR): Likewise.
25867 [!_ISOMAC] (TEST_SIZE): Likewise.
25868 [!_ISOMAC] (TEST_ALIGN): Likewise.
25869 [!_ISOMAC] (TEST_OFFSET): Likewise.
25870 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25871 field offsets of jmp_buf as well as sigjmp_buf.
25872 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25873 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25874 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25875 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25876 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25877 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25878 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25879 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25880 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25881 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25883 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25885 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25890 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25891 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25892 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25893 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25894 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25899 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25900 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25901 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25903 2017-11-07 Joseph Myers <joseph@codesourcery.com>
25906 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25907 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25908 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25909 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25910 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25911 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25912 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25913 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25914 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25915 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25916 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25917 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25918 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25919 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25920 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25921 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25922 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25923 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25924 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25925 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25926 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25927 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25928 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25929 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25930 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25931 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25932 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25933 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25934 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25935 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25936 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25937 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25938 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25939 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25940 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25941 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25942 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25943 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25944 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25945 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25946 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25947 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25948 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25949 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25950 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25951 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25952 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25953 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25954 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25955 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25956 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25957 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25958 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25959 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25960 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25961 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25962 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25963 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25964 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25965 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25966 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25967 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25968 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25969 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25970 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25971 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25972 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25973 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25974 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25975 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25976 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25977 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25978 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25979 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25980 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25981 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25982 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25983 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25984 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25985 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25986 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25987 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25988 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25989 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25990 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25991 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25992 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25993 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25995 * stdlib/tst-strtod.h (F16): New macro.
26001 (IF_FLOAT16): Likewise.
26002 (IF_FLOAT32): Likewise.
26003 (IF_FLOAT64): Likewise.
26004 (IF_FLOAT32X): Likewise.
26005 (IF_FLOAT64X): Likewise.
26006 (IF_FLOAT128X): Likewise.
26007 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26008 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26009 (STRTOD_TEST_FOREACH): Likewise.
26010 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26011 (CHOOSE_f64): Likewise.
26012 (CHOOSE_f32x): Likewise.
26013 (CHOOSE_f64x): Likewise.
26015 2017-11-07 Andreas Schwab <schwab@suse.de>
26017 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26019 2017-11-07 Mike FABIAN <mfabian@redhat.com>
26022 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
26024 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
26027 2017-11-07 Claude Paroz <claude@2xlibre.net>
26030 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
26032 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
26034 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
26037 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26040 * nptl/allocatestack.c (allocate_stack): Check if
26041 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
26042 __PTHREAD_MUTEX_HAVE_PREV is defined.
26043 * nptl/descr.h (pthread): Likewise.
26044 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26046 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26047 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26048 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
26049 * sysdeps/nptl/bits/thread-shared-types.h
26050 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26052 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
26053 of __WORDSIZE for internal layout.
26054 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
26055 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
26056 instead of __WORDSIZE whether to use an union for __spins and __list
26058 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
26060 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
26061 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26063 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
26064 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26066 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
26067 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26069 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
26070 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26072 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
26073 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26075 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
26076 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26078 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
26079 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26081 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
26082 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26084 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
26085 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26087 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
26088 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26090 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
26091 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26093 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
26094 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26096 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26097 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26099 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26100 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26102 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26103 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26106 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26108 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26109 checks for expected input type size.
26110 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26111 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26113 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26114 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26115 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26116 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26117 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26118 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26119 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26120 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26121 superflous runtime assert check.
26122 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26124 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26126 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26128 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26130 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26132 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26134 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26135 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26136 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26138 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26140 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26142 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26144 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26146 * nptl/pthread_attr_setinheritsched.c
26147 (__pthread_attr_setinheritsched): Likewise.
26148 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26150 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26152 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26153 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26154 __old_pthread_attr_setstack): Likewise.
26155 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26157 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26159 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26161 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26162 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26164 * nptl/tst-typesizes.c: Remove file.
26166 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26167 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26168 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26169 checks for internal pthread_mutex_t offsets.
26170 * sysdeps/aarch64/nptl/pthread-offsets.h
26171 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26172 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26173 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26174 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26175 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26176 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26177 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26178 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26179 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26180 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26181 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26182 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26183 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26184 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26185 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26186 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26187 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26188 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26190 2017-11-07 Florian Weimer <fweimer@redhat.com>
26192 * bits/mman-linux.h: Move ...
26193 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26195 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26198 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26200 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26201 Redefine STRNLEN as __strnlen_power8.
26203 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26205 * signal/sighold.c (sighold): Optimize implementation.
26207 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26208 __NR_rt_sigqueueinfo.
26210 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26212 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26213 assume __NR_rt_sigtimedwait.
26214 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26215 and add LIBC_CANCEL_HANDLED for cancellation marking.
26216 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26218 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26219 (sysdeps_routines): Add memchr_noneon.
26220 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26221 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26222 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26223 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26224 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26225 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26226 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26228 * sysdeps/arm/arm-ifunc.h: New file.
26229 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26230 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26231 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26232 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26233 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26234 (__memcpy_neon): Avoid create hidden alias.
26235 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26236 (__memcpy_vfp): Likewise.
26237 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26238 (sysdep_routines): Add memcpy_arm.
26239 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26241 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26244 * Makerules (make-link-multidir): New.
26245 * config.make.in (multidir): New.
26246 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26247 * configure: Regenerated.
26248 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26249 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26250 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26253 2017-11-06 Joseph Myers <joseph@codesourcery.com>
26256 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26257 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26259 2017-11-04 Mike FABIAN <mfabian@redhat.com>
26261 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26264 2017-11-04 Florian Weimer <fweimer@redhat.com>
26266 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26268 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26270 * math/math.h [__HAVE_DISTINCT_FLOAT16
26271 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26272 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26273 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26274 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26275 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26276 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26277 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26278 (__MATH_TG_F32): New macro.
26279 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26280 (__MATH_TG_F64X): Likewise.
26281 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26282 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26284 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26286 * po/de.po: Update translations.
26287 * po/ru.po: Likewise.
26289 2017-11-03 Florian Weimer <fweimer@redhat.com>
26291 * manual/filesys.texi (Hard Links): Document linkat.
26293 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26295 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26296 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26297 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26298 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26299 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26300 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26301 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26302 the same as _Float128.
26303 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26304 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26305 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26308 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26310 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26312 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
26314 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26315 (strtof32x): Likewise.
26316 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26317 (strtof64x): Likewise.
26318 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26319 (strtof128x): Likewise.
26320 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26321 (strfromf16): Likewise.
26322 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26323 (strfromf32): Likewise.
26324 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26325 (strfromf64): Likewise.
26326 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26327 (strfromf32x): Likewise.
26328 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26329 (strfromf64x): Likewise.
26330 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26331 (strfromf128x): Likewise.
26332 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26333 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26334 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26335 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26336 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26337 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26339 2017-11-03 Richard Henderson <rth@twiddle.net>
26341 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
26343 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26345 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
26347 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26349 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
26350 DT_TLSDESC_GOT initialization.
26351 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
26352 (_dl_tlsdesc_resolve_hold): Likewise.
26353 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
26354 (_dl_tlsdesc_resolve_hold): Likewise.
26355 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
26356 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26358 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26360 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
26362 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26365 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
26366 non-lazily for R_ARM_TLS_DESC.
26368 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26371 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
26372 R_ARM_TLS_DESC case.
26373 (elf_machine_lazy_rel): Remove the prelink check.
26375 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26377 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
26378 DT_TLSDESC_GOT initialization.
26379 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
26380 (_dl_tlsdesc_resolve_rela): Likewise.
26381 (_dl_tlsdesc_resolve_hold): Likewise.
26382 (_dl_tlsdesc_undefweak): Remove ldar.
26383 (_dl_tlsdesc_dynamic): Likewise.
26384 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
26385 (_dl_tlsdesc_resolve_rela): Likewise.
26386 (_dl_tlsdesc_resolve_hold): Likewise.
26387 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
26388 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26389 (_dl_tlsdesc_resolve_rela): Likewise.
26390 (_dl_tlsdesc_resolve_hold): Likewise.
26392 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26394 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
26395 binding and initialization non-lazily for R_AARCH64_TLSDESC.
26397 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26399 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
26400 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26402 2017-11-02 Joseph Myers <joseph@codesourcery.com>
26404 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
26406 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
26407 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
26408 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
26409 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
26410 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
26411 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
26412 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
26413 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
26414 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
26415 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
26416 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
26418 2017-11-02 Mike FABIAN <mfabian@redhat.com>
26421 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
26422 * localedata/locales/tpi_PG: Add standard header.
26424 2017-11-02 Florian Weimer <fweimer@redhat.com>
26426 test-errno-linux: quotactl can fail with EPERM in containers.
26427 * sysdeps/unix/sysv/linux/test-errno-linux.c
26428 (LIST, LIST_FORWARD): New macros.
26429 (check_error_in_list): New function.
26430 (test_wrp_rv): Accept list of permitted error codes.
26431 (test_wrp_rv2): Remove.
26432 (test_wrp): Call test_wrp_rv with list of error codes.
26433 (test_wrp2): Accept list of error codes.
26434 (do_test): Adjust. Allow EPERM for quotactl.
26436 2017-11-02 Florian Weimer <fweimer@redhat.com>
26438 * stdio-common/bug16.c (do_test): Use array_length.
26439 * stdio-common/errlist.c (_sys_nerr): Likewise.
26440 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
26441 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
26442 * stdio-common/psiginfo.c (psiginfo): Use array_length.
26443 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
26444 (do_test): Use array_length.
26445 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
26446 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
26447 * stdio-common/tst-printf-round.c (do_test): Likewise.
26448 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
26449 (CHECK): Use array_length.
26450 * stdio-common/tstdiomisc.c (t3, F): Likewise.
26451 * stdio-common/tstscanf.c (main): Likewise.
26452 * stdio-common/vfprintf.c (process_string_arg): Likewise.
26454 2017-11-02 Florian Weimer <fweimer@redhat.com>
26456 Add array_length and array_end macros.
26457 * include/array_length.h: New file.
26459 2017-11-02 Florian Weimer <fweimer@redhat.com>
26462 * posix/tst-glob-tilde.c (do_noescape): New variable.
26463 (one_test): Process it.
26464 (do_test): Set do_noescape. Add unescaping test case.
26466 2017-11-01 Joseph Myers <joseph@codesourcery.com>
26469 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26470 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26471 with appropriate macros defined and undefined.
26472 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26473 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26474 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26475 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26476 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26477 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26478 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26479 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26480 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26481 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26484 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26485 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26486 that for long double. Do not condition define and undefine of
26487 _Mdouble_complex_ on [__CFLOAT128].
26489 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26491 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26492 of <sysdeps/generic/sysdep.h>.
26493 (ALIGNARG): Removed.
26494 (ASM_SIZE_DIRECTIVE): Likewise.
26497 (ENTRY_CHK): Likewise.
26498 (END_CHK): Likewise.
26499 (syscall_error): Likewise.
26500 (mcount): Likewise.
26501 (PSEUDO_END): Likewise.
26503 (atom_text_section): Likewise.
26504 * sysdeps/x86/sysdep.h: New file.
26505 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26506 of <sysdeps/generic/sysdep.h>.
26507 (ALIGNARG): Removed.
26508 (ASM_SIZE_DIRECTIVE): Likewise.
26511 (ENTRY_CHK): Likewise.
26512 (END_CHK): Likewise.
26513 (syscall_error): Likewise.
26514 (mcount): Likewise.
26515 (PSEUDO_END): Likewise.
26517 (atom_text_section): Likewise.
26519 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26521 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26522 category of LC_CTYPE set to "i18n:2012".
26523 * localedata/locales/i18n_ctype: Regenerate.
26525 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
26527 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26528 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26529 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26530 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26532 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26533 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26534 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26535 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26537 2017-10-31 Joseph Myers <joseph@codesourcery.com>
26540 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26542 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26544 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26546 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26547 (CMPLXF32X): Likewise.
26548 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26549 (CMPLXF64X): Likewise.
26550 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26551 (CMPLXF128X): Likewise.
26554 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26555 (__MATH_EVAL_FMT2): Define to add 0.0f.
26557 2017-10-31 Alan Modra <amodra@gmail.com>
26559 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26575 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26576 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26577 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26578 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26579 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26580 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26581 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26582 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26583 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26584 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26585 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26586 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26587 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26588 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26589 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26590 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26591 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26592 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26593 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26594 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26595 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26596 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26597 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26598 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26599 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26600 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26601 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26602 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26603 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26604 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26605 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26606 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26607 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26608 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26609 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26610 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26611 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26612 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26613 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26614 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26615 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26616 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26617 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26618 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26619 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26620 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26621 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26622 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26623 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26624 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26625 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26626 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26627 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26628 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26629 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26632 include sysdep.h and math_ldbl_opt.h.
26634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26635 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26661 2017-10-31 Alan Modra <amodra@gmail.com>
26663 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26664 string/strncase_l.c, not string/strncase.c.
26665 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26666 (libc_hidden_def): Redefine.
26668 2017-10-31 Alan Modra <amodra@gmail.com>
26670 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26671 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26672 (__strcasecmp): Don't define.
26674 2017-10-31 Alan Modra <amodra@gmail.com>
26676 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26678 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26679 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26680 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26682 2017-10-31 Alan Modra <amodra@gmail.com>
26684 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26687 2017-10-31 Alan Modra <amodra@gmail.com>
26689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26690 Redefine only when SHARED.
26692 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26694 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26695 Include <bits/math-finite.h> with appropriate macros defined and
26697 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26698 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26699 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26700 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26701 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26703 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26704 [!_Mlong_double_] (_Mlong_double_): Likewise.
26705 [!_Mfloat16_] (_Mfloat16_): Likewise.
26706 [!_Mfloat32_] (_Mfloat32_): Likewise.
26707 [!_Mfloat64_] (_Mfloat64_): Likewise.
26708 [!_Mfloat128_] (_Mfloat128_): Likewise.
26709 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26710 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26711 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26712 (_Mdouble_): Define without indirection through those macros.
26713 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26714 [!_Mfloat128_] (_Mfloat128_): Likewise.
26715 [_Mlong_double_] (_Mlong_double_): Likewise.
26716 (_Mdouble_): Define without indirection through those macros.
26717 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26718 not add -D_Mlong_double_=double.
26719 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26720 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26722 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26724 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26726 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26728 * sysdeps/x86/libc-start.c: Reformat.
26730 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26733 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26734 (1): Renamed to ...
26737 (L(Src2)): Likewise.
26738 (L(1)): Renamed to ...
26741 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26743 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26744 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26745 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26746 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26747 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26748 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26749 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26750 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26751 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26752 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26753 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26754 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26755 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26756 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26757 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26758 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26759 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26760 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26761 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26762 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26763 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26764 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26765 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26766 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26767 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26768 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26769 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26770 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26771 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26772 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26773 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26774 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26775 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26776 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26777 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26778 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26779 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26780 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26781 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26782 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26783 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26784 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26785 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26786 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26787 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26788 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26789 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26790 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26791 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26792 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26793 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26794 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26795 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26796 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26797 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26798 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26799 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26800 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26801 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26802 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26803 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26804 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26805 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26806 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26807 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26808 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26810 2017-10-30 Florian Weimer <fweimer@redhat.com>
26812 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26814 * io/tst-mkdirat.c (do_test): Likewise.
26815 * io/tst-mkfifoat.c (do_test): Likewise.
26816 * io/tst-mknodat.c (do_test): Likewise.
26817 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26818 * locale/programs/locale.c (select_dirs): Likewise.
26819 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26820 * posix/bug-glob2.c (my_readdir): Likewise.
26821 * posix/tst-dir.c (main): Likewise.
26822 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26823 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26825 2017-10-30 Florian Weimer <fweimer@redhat.com>
26827 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26830 2017-10-30 Florian Weimer <fweimer@redhat.com>
26832 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26833 Convert to support/test-driver.c.
26834 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26835 New macro parameters.
26836 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26837 * posix/tst-gnuglob.c: New file.
26838 * posix/tst-gnuglob64.c: Likewise.
26839 * posix/Makefile (tests): Add tst-gnuglob64.
26841 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
26844 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26845 and use a better translation for March in “mon”.
26846 * localedata/locales/csb_PL: Use more ASCII to improve the
26847 readability of the source.
26849 2017-10-30 Mike FABIAN <mfabian@redhat.com>
26852 * localedata/locales/km_KH: Use ASCII as much
26853 as possible for better readability of the source and
26854 remove useless comments.
26855 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26856 was commented out and apparently wrong anyway because it was
26857 using Lao characters. If Buddhist era should be used
26858 for km_KH, a native speaker should write the correct formaat
26860 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26861 (According to CLDR, the first weekday for Cambodia is Sunday).
26862 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26863 (These were using Lao characters which must be wrong. If we get
26864 the correct data from a native speaker, we could add it back, until
26865 then it is better not to have name_mr and name_mrs at all than
26868 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26870 * locale/loadlocale.c: Correct size of
26871 _nl_value_type_LC_<category> arrays.
26873 2017-10-27 Joseph Myers <joseph@codesourcery.com>
26875 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26876 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26877 with appropriate macros defined and undefined.
26878 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26879 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26880 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26881 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26882 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26884 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26886 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26889 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26891 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26892 with lowercase letters to make it agree with CLDR.
26894 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26897 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26898 first letters of yesstr and nostr in yesexpr and noexpr,
26899 not for the full words.
26900 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26901 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26902 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26903 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26904 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26905 first letters of yesstr and nostr in yesexpr and noexpr,
26906 until now only English was matched in yesexpr and noexpr.
26907 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26908 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26909 fil but not for tl. As tl and fil are very similar, using fil
26910 is probably better than using English.
26912 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
26915 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26916 in yesstr and nostr.
26918 2017-10-26 Joseph Myers <joseph@codesourcery.com>
26920 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26921 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26922 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26924 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26926 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26928 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26930 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26931 (SNANF128X): Likewise.
26933 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26934 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26935 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26936 (HUGE_VAL_F32): Likewise.
26937 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26938 (HUGE_VAL_F64): Likewise.
26939 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26940 (HUGE_VAL_F32X): Likewise.
26941 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26942 (HUGE_VAL_F64X): Likewise.
26943 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26944 (HUGE_VAL_F128X): Likewise.
26946 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26948 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26949 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26950 for the br_FR locale.
26952 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26955 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26957 2017-10-25 Carlos O'Donell <carlos@redhat.com>
26959 * locale/programs/record-status.h: Define globals, and function
26960 prototypes. Move function bodies...
26961 * locale/programs/record-status.c: ... to here. New file.
26962 * iconv/Makefile (iconv_prog-modules): Add record-status.
26963 * locale/Makefile (lib-modules): Likewise.
26964 * iconv/iconv_prog.c: Remove verbose.
26965 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26966 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26967 record a warning about ASCII compatibility.
26968 * locale/programs/ld-monetary.c (monetary_finish): If
26969 warn_int_curr_symbol is true then record a warning about the symbol
26970 not being in our ISO 4217 list.
26971 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26972 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26973 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26974 (OPT_NO_WARN): Define.
26975 (OPT_WARN): Define.
26976 (options): Add entry for --no-warnings, and --warnings.
26977 (set_warnings): New function to enable/disable warnings.
26978 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26979 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26980 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26981 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26982 Pass flags to generate_locale.
26983 (generate_locale): Accept new flag argument and pass it to localedef
26985 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26986 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26988 * localedata/Makefile (test-input-data): Use full file name.
26989 * localedata/da_DK.in: Rename to...
26990 * localedata/da_DK.ISO-8859-1.in: ...this.
26991 * localedata/de_DE.in: Rename to...
26992 * localedata/de_DE.ISO-8859-1.in: ...this.
26993 * localedata/en_US.in: Rename to...
26994 * localedata/en_US.ISO-8859-1.in: ...this.
26995 * localedata/fr_FR.in: Rename to...
26996 * localedata/fr_FR.UTF-8.in: ... this.
26997 * localedata/hr_HR.in: Rename to...
26998 * localedata/hr_HR.ISO-8859-2.in: ...this.
26999 * localedata/hu_HU.in: Rename to...
27000 * localedata/hu_HU.UTF-8.in: ...this.
27001 * localedata/si_LK.in: Rename to...
27002 * localedata/si_LK.UTF-8.in: ...this.
27003 * localedata/sv_SE.in: Rename to...
27004 * localedata/sv_SE.ISO-8859-1.in: ...this.
27005 * localedata/tr_TR.in: Rename to...
27006 * localedata/tr_TR.UTF-8.in: ...this.
27007 * localedata/uk_UA.in: Rename to...
27008 * localedata/uk_UA.UTF-8.in: ...this.
27009 * localedata/sort-test.sh: Test file is locale name with the
27012 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27013 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27015 * localedata/locales/i18n_ctype: Regenerate.
27016 * localedata/locales/tr_TR: Likewise.
27017 * localedata/locales/translit_circle: Likewise.
27018 * localedata/locales/translit_cjk_compat: Likewise.
27019 * localedata/locales/translit_combining: Likewise.
27020 * localedata/locales/translit_compat: Likewise.
27021 * localedata/locales/translit_font: Likewise.
27022 * localedata/locales/translit_fraction: Likewise.
27024 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27026 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
27027 lxvd2x/stxvd2x with lvx/stvx.
27028 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
27030 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
27032 * include/alloc_buffer.h: Replace "if if " with "if " in
27034 * sysdeps/mips/memcpy.S: Likkewise.
27035 * sysdeps/mips/memset.S: Likewise.
27036 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27038 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
27040 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
27043 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27046 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
27047 yesexpr and noexpr.
27048 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27049 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27050 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27051 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27052 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27053 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27054 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27056 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27058 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
27059 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27060 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27061 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27062 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27063 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
27064 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27065 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27066 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27067 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27068 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27069 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27071 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27073 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
27074 as possible for better readability of the source.
27075 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
27076 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
27077 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
27078 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
27079 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
27080 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
27081 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
27082 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
27083 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27084 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
27085 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
27086 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
27087 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
27088 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
27089 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
27090 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
27091 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
27092 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
27093 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
27094 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
27095 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
27096 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27097 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27098 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27099 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27100 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27101 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27102 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27103 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27104 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27105 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27106 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27107 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27108 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27109 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27110 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27111 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27112 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27113 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27114 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27115 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27116 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27117 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27118 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27119 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27120 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27121 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27122 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27123 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27124 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27125 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27126 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27127 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27128 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27129 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27130 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27131 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27132 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27133 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27134 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27135 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27136 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27137 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27138 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27139 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27140 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27141 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27142 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27143 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27144 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27145 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27146 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27147 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27148 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27149 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27150 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27151 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27152 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27153 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27154 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27155 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27156 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27157 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27158 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27159 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27160 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27161 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27162 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27163 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27164 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27165 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27166 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27167 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27168 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27169 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27170 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27171 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27172 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27173 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27174 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27175 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27176 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27177 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27178 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27179 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27180 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27181 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27182 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27183 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27184 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27185 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27186 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27187 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27188 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27189 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27190 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27191 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27192 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27193 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27194 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27195 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27196 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27197 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27198 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27199 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27200 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27201 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27202 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27203 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27204 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27205 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27206 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27207 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27208 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27209 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27210 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27211 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27212 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27213 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27214 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27215 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27216 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27217 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27218 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27219 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27220 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27221 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27222 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27223 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27224 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27225 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27226 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27227 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27228 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27229 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27230 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27231 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27232 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27233 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27234 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27235 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27236 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27237 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27238 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27239 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27240 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27241 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27242 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27243 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27244 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27245 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27246 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27247 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27248 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27250 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27252 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27253 (Use first letters of yesstr and nostr correctly instead of using
27256 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27258 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27259 (Use first letters of yesstr and nostr correctly).
27261 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27263 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27264 also check for the first characters of yesstr and nostr.
27265 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27266 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27268 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27270 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27271 also check for Chinese characters.
27273 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27275 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27276 match also for the contents of yesstr and nostr. As the first letter
27277 of yesstr and nostr is equal, checking only for the first letter
27280 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27282 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27283 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27285 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27287 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27288 of main contributor.
27290 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27292 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27293 instead of using English.
27295 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27297 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27298 by including the first letters of nostr and yesexpr in the regexp.
27299 Also make it more readable by using ASCII where possible.
27301 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27303 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27304 the first letter of nostr in the regexp. It agrees with CLDR now.
27305 Also make it more readable by using ASCII where possible.
27307 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27309 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27310 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27311 these strings contain a U+17D6 (which somewhat looks like a colon)
27312 instead of a real colon to separate the full words for “yes”
27313 and “no” from the single letter responses.
27315 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27317 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
27318 it agree with CLDR (include the first letter of yesstr).
27319 Also make it more readable by using ASCII where possible.
27321 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27323 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
27324 and improve yesexpr and noexpr. The yesstr and nostr apparently
27325 came from CLDR. And CLDR has a bug there: these strings contain
27326 a U+0903 (which looks like a colon) instead of a real colon
27327 to separate the full words for “yes” and “no” from the single
27330 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27332 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27333 letters of the full yesstr and nostr in yesexpr and noexpr.
27335 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27337 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27338 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
27339 * localedata/locales/an_ES: Make source more readable by using ASCII
27342 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27345 * localedata/locales/yuw_PG: New file.
27346 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
27347 * locale/iso-639.def: Add Yau (Uruwa).
27349 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27351 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
27353 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27355 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
27356 (__libc_realloc): Likewise.
27357 (_mid_memalign): Likewise.
27358 (__libc_calloc): Likewise.
27360 2017-10-23 Mike FABIAN <mfabian@redhat.com>
27362 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
27363 by adding the generic +1 and -0 as in all other locales.
27364 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
27365 day names and make it more readable by using ASCII where possible.
27367 2017-10-24 Joseph Myers <joseph@codesourcery.com>
27369 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
27370 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
27372 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27374 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
27375 WNOHANG in waitpid call.
27377 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
27379 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
27380 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
27382 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
27383 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
27384 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
27385 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
27386 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
27387 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
27388 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
27389 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
27392 2017-10-23 Michael Collison <michael.collison@arm.com>
27394 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
27395 with __builtin_sqrt.
27396 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
27397 with __builtin_sqrtf.
27398 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
27399 with __builtin_ceil.
27400 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
27401 with __builtin_ceilf.
27402 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
27403 with __builtin_floor.
27404 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
27405 with __builtin_floorf.
27406 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
27407 with __builtin_fma.
27408 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
27409 with __builtin_fmaf.
27410 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
27411 with __builtin_fmax.
27412 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
27413 with __builtin_fmaxf.
27414 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
27415 with __builtin_fmin.
27416 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
27417 with __builtin_fminf.
27418 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
27419 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
27420 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
27421 with builtin_rint and conversion to int.
27422 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
27423 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
27424 with builtin_llround.
27425 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
27426 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
27427 with builtin_rint and conversion to long int.
27428 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
27429 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
27430 with builtin_lround.
27431 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
27432 with builtin_lroundf.
27433 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
27434 statements with __builtin_nearbyint.
27435 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
27436 statements with __builtin_nearbyintf.
27437 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
27438 with __builtin_rint.
27439 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
27440 with __builtin_rintf.
27441 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
27442 with __builtin_round.
27443 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
27444 with __builtin_roundf.
27445 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
27446 with __builtin_trunc.
27447 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
27448 with __builtin_truncf.
27449 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
27450 and s_l[l]round[f].c too.
27452 2017-10-23 Alan Modra <amodra@gmail.com>
27454 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
27455 Adjust stack after restoring regs. Add missing LR cfi_restore.
27457 2017-10-23 Alan Modra <amodra@gmail.com>
27459 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
27460 Move LR save and frame setup/teardown and LR restore to
27461 immediately around memset call. Provide cfi.
27463 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27465 * sysdeps/i386/fpu/e_powf.S: Removed.
27466 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
27467 * sysdeps/i386/fpu/w_powf.c: Likewise.
27468 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27469 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27470 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27472 (CFLAGS-e_powf-sse2.c): New.
27473 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27474 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27476 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27478 * sysdeps/i386/fpu/e_log2f.S: Removed.
27479 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27480 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27481 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27482 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27483 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27485 (CFLAGS-e_log2f-sse2.c): New.
27486 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27487 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27489 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27491 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27493 (CFLAGS-e_powf-fma.c): New.
27494 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27495 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27497 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27499 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27501 (CFLAGS-e_log2f-fma.c): New.
27502 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27503 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27505 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27507 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27509 (CFLAGS-e_logf-fma.c): New.
27510 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27511 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27513 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27515 * sysdeps/i386/fpu/e_logf.S: Removed.
27516 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27517 * sysdeps/i386/fpu/w_logf.c: Likewise.
27518 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27519 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27520 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27521 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27523 (CFLAGS-e_logf-sse2.c): New.
27524 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27525 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27527 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27529 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27530 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27531 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27532 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27533 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27535 (CFLAGS-e_exp2f-sse2.c): New.
27536 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27537 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27539 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27541 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27543 (CFLAGS-e_exp2f-fma.c): New.
27544 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27545 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27547 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27549 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27550 * sysdeps/i386/fpu/e_expf.S: Likewise.
27551 * sysdeps/i386/fpu/math_errf.c: Likewise.
27552 * sysdeps/i386/fpu/w_expf.c: Likewise.
27553 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27554 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27555 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27556 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27557 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27558 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27559 Remove e_expf-ia32.
27560 (CFLAGS-e_expf-sse2.c): New.
27561 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27562 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27564 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27566 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27567 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27568 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27569 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27571 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27573 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27574 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27576 (__redirect_expf): This.
27577 (SYMBOL_NAME): Changed to expf.
27578 (__ieee754_expf): Renamed to ...
27580 (__GI___expf): This.
27581 (__ieee754_expf): Add strong_alias.
27582 (__expf_finite): Likewise.
27584 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27586 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
27589 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27592 2017-10-21 Florian Weimer <fweimer@redhat.com>
27594 * posix/Makefile (tests): Add tst-glob-tilde.
27595 (tests-special): Add tst-glob-tilde-mem.out
27596 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27597 (tst-glob-tilde-mem.out): Add mtrace check.
27598 * posix/tst-glob-tilde.c: New file.
27600 2017-10-20 Joseph Myers <joseph@codesourcery.com>
27602 * bits/floatn-common.h: New file.
27603 * math/Makefile (headers): Add bits/floatn-common.h.
27604 * bits/floatn.h: Include <bits/floatn-common.h>.
27605 * sysdeps/ia64/bits/floatn.h: Likewise.
27606 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27607 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27608 * sysdeps/powerpc/bits/floatn.h: Likewise.
27609 * sysdeps/x86/bits/floatn.h: Likewise.
27611 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27613 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27614 indicates whether compiler emits an warning for alias for
27615 functions with incompatible types.
27618 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27619 the auxiliary process is terminated by a signal before calling _exit
27622 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27625 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27627 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27628 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27629 and bit_arch_XSAVEC_Usable if needed.
27630 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27631 and bit_arch_Use_dl_runtime_resolve_opt.
27632 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27634 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27635 (bit_arch_Prefer_No_AVX512): Updated.
27636 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27637 (bit_arch_XSAVEC_Usable): New.
27638 (STATE_SAVE_OFFSET): Likewise.
27639 (STATE_SAVE_MASK): Likewise.
27640 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27641 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27642 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27643 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27644 (index_arch_XSAVEC_Usable): New.
27645 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27646 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27647 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27649 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27650 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27651 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27652 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27653 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27654 _dl_runtime_resolve_xsavec.
27655 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27657 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27658 instead of VEC_SIZE.
27659 (REGISTER_SAVE_BND0): Removed.
27660 (REGISTER_SAVE_BND1): Likewise.
27661 (REGISTER_SAVE_BND3): Likewise.
27662 (REGISTER_SAVE_RAX): Always defined to 0.
27664 (_dl_runtime_resolve_avx): Likewise.
27665 (_dl_runtime_resolve_avx_slow): Likewise.
27666 (_dl_runtime_resolve_avx_opt): Likewise.
27667 (_dl_runtime_resolve_avx512): Likewise.
27668 (_dl_runtime_resolve_avx512_opt): Likewise.
27669 (_dl_runtime_resolve_sse): Likewise.
27670 (_dl_runtime_resolve_sse_vex): Likewise.
27672 (_dl_runtime_resolve_fxsave): Likewise.
27673 (USE_XSAVE): Likewise.
27674 (_dl_runtime_resolve_xsave): Likewise.
27675 (USE_XSAVEC): Likewise.
27676 (_dl_runtime_resolve_xsavec): Likewise.
27677 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27679 (_dl_runtime_resolve_avx512_opt): Likewise.
27680 (_dl_runtime_resolve_avx): Likewise.
27681 (_dl_runtime_resolve_avx_opt): Likewise.
27682 (_dl_runtime_resolve_sse): Likewise.
27683 (_dl_runtime_resolve_sse_vex): Likewise.
27684 (_dl_runtime_resolve_fxsave): New.
27685 (_dl_runtime_resolve_xsave): Likewise.
27686 (_dl_runtime_resolve_xsavec): Likewise.
27688 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
27692 * posix/glob.c (__glob): Fix one-byte overflow.
27694 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27696 * malloc/malloc.c (sysdep-cancel.h): Add include.
27698 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27700 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27702 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27704 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27705 (tests): Remove $(objpfx)ga_test depdendency.
27706 * resolv/ga_test.c: Remove file.
27708 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27711 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27712 * localedata/locales/kab_DZ: New file.
27714 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27716 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27717 _dl_relocate_static_pie instead of _dl_start to compute load
27718 address in static PIE.
27720 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27722 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27724 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27727 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27728 * localedata/locales/shn_MM: New file.
27730 2017-10-20 Florian Weimer <fweimer@redhat.com>
27733 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27734 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27735 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27736 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27737 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27738 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27740 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27742 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27744 2017-10-19 Joseph Myers <joseph@codesourcery.com>
27746 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27749 * sysdeps/mips/bits/long-double.h: Move to ....
27750 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27752 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27754 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27756 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
27757 H.J. Lu <hongjiu.lu@intel.com>
27760 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27761 GLRO(dl_platform) to NULL.
27762 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27763 (modules-names): Add tst-platformmod-1 and
27764 x86_64/tst-platformmod-2.
27765 (CFLAGS-tst-platform-1.c): New.
27766 (CFLAGS-tst-platformmod-1.c): Likewise.
27767 (CFLAGS-tst-platformmod-2.c): Likewise.
27768 (LDFLAGS-tst-platformmod-2.so): Likewise.
27769 ($(objpfx)tst-platform-1): Likewise.
27770 ($(objpfx)tst-platform-1.out): Likewise.
27771 (tst-platform-1-ENV): Likewise.
27772 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27773 * sysdeps/x86_64/tst-platform-1.c: New file.
27774 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27775 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27777 2017-10-19 Mike FABIAN <mfabian@redhat.com>
27780 * locale/iso-639.def: Add Karbi.
27781 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27782 * localedata/locales/mjw_IN: New file.
27784 2017-10-18 Joseph Myers <joseph@codesourcery.com>
27786 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27787 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27788 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27789 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27790 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27791 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27792 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27794 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27795 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27796 * manual/math.texi (Mathematics): Document additional architecture
27797 support for _Float128.
27798 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27799 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27800 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27801 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27802 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27803 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27804 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27805 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27806 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27807 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27808 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27809 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27810 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27811 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27812 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27814 2017-10-18 Renlin Li <renlin.li@arm.com>
27816 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27817 _DYNAMIC symbol to calculate load address.
27819 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
27821 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27822 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27824 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27825 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27827 2017-10-18 Mike FABIAN <mfabian@redhat.com>
27830 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27831 and improve readability by using more ASCII.
27832 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27833 and improve readability by using more ASCII.
27835 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27837 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27838 not all targets support atomics on bool.
27840 2017-10-17 Joseph Myers <joseph@codesourcery.com>
27842 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27843 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27845 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27846 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27847 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27848 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27849 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27850 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27852 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27854 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27857 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27860 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27861 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27862 (do_check_remalloced_chunk): Fix build bug.
27863 (do_check_malloc_state): Add assert that checks arena->top.
27864 (malloc_consolidate): Remove initialization.
27865 (int_mallinfo): Remove call to malloc_consolidate.
27866 (__libc_mallopt): Clarify why malloc_consolidate is needed.
27868 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27870 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27871 (have_fastchunks): Remove.
27872 (clear_fastchunks): Remove.
27873 (set_fastchunks): Remove.
27874 (malloc_state): Add have_fastchunks.
27875 (malloc_init_state): Use have_fastchunks.
27876 (do_check_malloc_state): Remove incorrect invariant checks.
27877 (_int_malloc): Use have_fastchunks.
27878 (_int_free): Likewise.
27879 (malloc_consolidate): Likewise.
27881 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27883 * malloc/malloc.c (tcache_put): Inline.
27884 (tcache_get): Inline.
27886 2017-10-17 Jordi Mallach <jordi@gnu.org>
27888 Aurelien Jarno <aurelien@aurel32.net>
27890 * localedata/locales/ca_ES@valencia: New file.
27891 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27893 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27896 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27899 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27901 * scripts/build-many-glibcs.py (Context.add_all_configs):
27902 Add arm-linux-gnueabihf multiarch extra_glibcs.
27904 * sysdeps/generic/ifunc-init.h: New file.
27905 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27907 2017-10-17 Mike FABIAN <mfabian@redhat.com>
27910 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27911 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27912 * stdlib/tst-strfmon_l.c: adapt test case.
27914 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27916 * sysdeps/generic/float128-abi.h: New file.
27917 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27918 non-__prefixed symbols to ....
27919 * math/Versions: ... here. Include <float128-abi.h>.
27920 * stdlib/Versions ... and here. Include <float128-abi.h>
27922 2017-10-16 Florian Weimer <fweimer@redhat.com>
27924 * version.h (VERSION): Switch to ".9000" as the development
27927 2017-10-16 Florian Weimer <fweimer@redhat.com>
27930 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27931 compat_symbol_reference to access non-default version.
27933 2017-10-16 Florian Weimer <fweimer@redhat.com>
27935 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27937 2017-10-16 Carlos O'Donell <carlos@redhat.com>
27939 * include/shlib-compat.h (compat_symbol_reference): Update
27942 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27944 * math/Makefile (test-types): Add
27945 $(type-float128-$(float128-alias-fcts)).
27946 * math/test-float128.h (TYPE_STR): Define conditional on
27947 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27948 (ULP_IDX): Likewise.
27949 (ULP_I_IDX): Likewise.
27951 * stdlib/strtold.c: Include <bits/floatn.h>
27952 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27953 and later undefine as macro. Define as weak alias if
27955 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27956 and later undefine as macro. Define as weak alias if
27958 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27959 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27960 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27961 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27962 Define and later undefine as macro. Define as weak alias if
27964 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27966 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27967 Define and later undefine as macro. Define as weak alias if
27969 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27970 Define and later undefine as macro. Define as weak alias if
27973 2017-10-15 Carlos O'Donell <carlos@redhat.com>
27975 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27976 record_verbose messages.
27978 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27981 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27982 to silence -O3 -Wall warning with GCC 7.
27984 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27986 * Makeconfig (+link-static-before-libc): Use the first of
27987 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27988 * gmon/Makefile (tests): Add tst-gmon-static.
27989 (tests-static): Likewise.
27990 (CFLAGS-tst-gmon-static.c): New.
27991 (CRT-tst-gmon-static): Likewise.
27992 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27993 (tst-gmon-static-ENV): Likewise.
27994 (tests-special): Likewise.
27995 ($(objpfx)tst-gmon-static.out): Likewise.
27996 (clean-tst-gmon-static-data): Likewise.
27997 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27998 * gmon/tst-gmon-static-gprof.sh: New file.
27999 * gmon/tst-gmon-static.c: Likewise.
28001 2017-10-13 Carlos O'Donell <carlos@redhat.com>
28004 * locale/programs/linereader.c (get_string): Don't warn on
28005 non-symbolic character.
28008 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28012 * locale/programs/record-status.h: New file
28013 * locale/programs/locale.c: Add comment.
28014 * locale/programs/charmap-dir.c: Don't include error.h.
28015 (charmap_opendir): Use record_error.
28016 * locale/programs/charmap.c: Don't include error.h.
28017 (charmap_read): Use record_error, and record_warning.
28018 (parse_charmap): Likewise.
28019 * locale/programs/ld-address.c: Don't include error.h.
28020 (address_finish): Use record_error, and record_warning.
28021 * locale/programs/ld-collate.c: Don't include error.h.
28022 (collate_finish): Use record_error, and record_error_at_line.
28023 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
28024 (ctype_class_new): Likewise.
28025 (ctype_map_new): Likewise.
28026 (set_one_default): Likewise.
28027 (set_class_defaults): Likewise.
28028 (translit_flatten): Likewise.
28029 (allocate_arrays): Use record_error, and record_verbose.
28030 * locale/programs/ld-identification.c: Don't include error.h.
28031 (indentation_finish): Use record_error and record_warning.
28032 * locale/programs/ld-measurement.c: Don't include error.h.
28033 (measurement_finish): Use record_error.
28034 * locale/programs/ld-messages.c
28035 (message_finish): Likewise.
28036 * locale/programs/ld-monetary.c
28037 (monetary_finish): Likewise.
28038 * locale/programs/ld-name.c (name_finish): Use record_error
28039 and record_warning.
28040 * locale/programs/ld-numeric.c
28041 (numeric_finish): Use record_error.
28042 * locale/programs/ld-paper.c: Don't include error.h.
28043 (paper_finish): Use record_error.
28044 * locale/programs/ld-telephone.c: Don't include error.h.
28045 (telephone_finish): Use record_error.
28046 * locale/programs/ld-time.c (time_finish): Likewise.
28047 * locale/programs/linereader.h (lr_error): Make inline func.
28048 * locale/programs/localedef.c: Define recorded_warning_count,
28049 and recorded_error_count.
28050 (main): Use record_error. Use recorded_error_count and
28051 recorded_warning_count to issue correct error returns.
28052 (add_to_readlist): Use record_error.
28053 (find_locale): Likewise.
28054 (load_locale): Likewise.
28055 * locale/programs/localedef.h: Remove be_quiet
28056 and WITH_CUR_LOCALE.
28057 * locale/programs/locarchive.c (compare_from_file): Use
28059 * locale/programs/locfile.c (write_locale_data): Use
28061 * locale/programs/repertoire.c: Dont include error.h.
28062 (repertoire_complain): Use record_error.
28063 * localedata/tst-fmon.sh: Expect failures from localedef.
28064 * localedata/tst-locale.sh: Likewise.
28065 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
28067 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
28068 (REPORTS): Likewise.
28070 (i18n): Rename to...
28071 (i18n_ctype): ...this.
28072 (i18n-report): Rename to...
28073 (i18n_ctype-report): ...this.
28074 * localedata/locales/i18n_ctype: Regenerate.
28075 * localedata/locales/i18n: copy i18n_ctype.
28077 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28079 * stdlib/strfroml.c: Include <bits/floatn.h>.
28080 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
28081 Define before include of <stdlib.h> and undefine afterwards, then
28082 define as weak alias.
28084 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
28085 Undefine and restore default definition. Use
28086 libm_alias_ldouble_other.
28088 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
28091 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
28094 2017-10-13 James Clarke <jrtc27@jrtc27.com>
28096 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28097 Assign sym_map to be map for local symbols, as TLS relocations
28098 use sym_map to determine whether the symbol is defined and to
28099 extract the TLS information.
28100 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28101 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28103 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28106 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28107 (math_force_eval): Add powerpc version.
28110 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28112 (do_test): Likewise.
28113 * stdio-common/tst-printf.sh: Likewise.
28114 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28115 ifdef clause in order to set the carry bit right. Replace r0 by
28116 0 without changing the behavior.
28118 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28120 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28121 <libm-alias-ldouble.h>.
28122 (fabsl): Define using libm_alias_ldouble.
28123 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28124 <libm-alias-ldouble.h>.
28125 (fabsl): Define using libm_alias_ldouble.
28127 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28128 Remove conditional code.
28130 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28131 Rename to __clog10_internal_l.
28132 (__clog10_internal_l): Define aliases using
28133 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28136 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28138 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28139 * benchtests/sincosf-inputs: New file.
28140 * benchtests/cosf-inputs: New file.
28141 * benchtests/sinf-inputs: New file.
28143 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28145 * posix/tst-spawn.c (do_test): Wait for both children.
28147 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28150 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28151 tests-pie): Add tst-gmon-pie.
28152 (CFLAGS-tst-gmon-pie.c): New.
28153 (CRT-tst-gmon-pie): Likewise.
28154 (tst-gmon-pie-ENV): Likewise.
28155 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28156 ($(objpfx)tst-gmon-pie.out): Likewise.
28157 (clean-tst-gmon-pie-data): Likewise.
28158 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28159 * gmon/gmon.c [PIC]: Include <link.h>.
28160 [PIC] (callback): New function.
28161 (write_hist): Add an argument for load address. Subtract load
28163 (write_call_graph): Likewise.
28164 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28165 it to write_hist and write_call_graph.
28166 * gmon/tst-gmon-pie.c: New file.
28168 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28170 * math/Makefile (test-types-basic): New variable.
28171 (test-types): Likewise.
28172 (libm-test-support): Use $(test-types) instead of $(types).
28173 (libm-tests-base-normal): Likewise.
28174 (libm-tests-base-finite): Likewise.
28175 (libm-tests-base-inline): Likewise.
28176 (generated): Likewise.
28177 ($(objpfx)libm-test-support-$(t).c): Likewise.
28178 (libm-tests-for-type iterator): Likewise.
28179 (libm-test-support iterator): Likewise.
28180 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28181 (ulp_idx): Use ULP_IDX.
28182 * math/test-ldouble.h: Include <float.h>.
28183 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28184 (ULP_IDX): New macro.
28185 (ULP_I_IDX): Likewise.
28186 * math/test-double.h (ULP_IDX): Likewise.
28187 (ULP_I_IDX): Likewise.
28188 * math/test-float.h (ULP_IDX): Likewise.
28189 (ULP_I_IDX): Likewise.
28190 * math/test-float128.h (ULP_IDX): Likewise.
28191 (ULP_I_IDX): Likewise.
28193 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28195 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28196 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28197 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28198 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28199 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28200 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28201 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28202 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28203 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28204 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28205 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28206 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28207 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28208 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28209 (SINGLE_THREAD_BY_GLOBAL): Define.
28210 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28212 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28214 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28216 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28218 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28219 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28223 2017-10-11 Andreas Schwab <schwab@suse.de>
28225 * nis/Makefile (aux): Remove.
28226 * nscd/Makefile (aux): Add nscd_hash.
28227 (nscd-modules): Likewise.
28228 ($(objpfx)nscd): Don't depend on libnsl.
28229 * nscd/nscd_hash.c: New file.
28230 * nscd/nscd_hash.h: Likewise.
28231 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28232 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28233 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28234 instead of <nis/rpcsvc/nis.h>.
28235 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28237 2017-10-11 Florian Weimer <fweimer@redhat.com>
28240 Avoid large NSS buffers with many addresses, aliases.
28241 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28242 using dynarrays and struct alloc_buffer.
28243 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28244 (tst-nss-files-hosts-multi): Link with -ldl.
28245 * nss/tst-nss-files-hosts-multi.c: New file.
28247 2017-10-11 Florian Weimer <fweimer@redhat.com>
28250 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28251 scratch_buffer. Eliminate gotos.
28253 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28255 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28256 libm_alias_ldouble_other.
28257 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28258 undefine and redefine.
28259 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28260 (exp10l): Do not define here.
28261 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28262 (weak_alias): Undefine and redefine.
28263 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28264 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28265 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28266 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28268 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28269 [!__fma] (fma): Define using libm_alias_double.
28270 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28271 [!__fmaf] (fmaf): Define using libm_alias_float.
28272 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28273 (fmal): Define using libm_alias_ldouble.
28275 2017-10-10 Joseph Myers <joseph@codesourcery.com>
28277 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28279 (libm_alias_double_other): Likewise.
28280 (libm_alias_double_r): Use libm_alias_double_other_r.
28281 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28283 (libm_alias_float_other): Likewise.
28284 (libm_alias_float_r): Use libm_alias_float_other_r.
28285 * sysdeps/generic/libm-alias-float128.h
28286 (libm_alias_float128_other_r): New macro.
28287 (libm_alias_float128_other): Likewise.
28288 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28289 * sysdeps/generic/libm-alias-ldouble.h
28290 (libm_alias_ldouble_other_r): New macro.
28291 (libm_alias_ldouble_other): Likewise.
28292 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28293 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28294 (libm_alias_double_other_r): New macro.
28295 (libm_alias_double_other): Likewise.
28296 (libm_alias_double_r): Use libm_alias_double_other_r.
28297 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28298 (libm_alias_ldouble_other_r): New macro.
28299 (libm_alias_ldouble_other): Likewise.
28300 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28301 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28302 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28303 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28304 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28305 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28306 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28307 * math/w_exp2f.c: Use libm_alias_float_other.
28308 * math/w_expf.c: Likewise.
28309 * math/w_log2f.c: Likewise.
28310 * math/w_logf.c: Likewise.
28311 * math/w_powf.c: Likewise.
28312 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
28313 [!__exp2f]: Use libm_alias_float_other.
28314 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
28315 [!__expf]: Use libm_alias_float_other.
28316 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
28317 [!__log2f]: Use libm_alias_float_other.
28318 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
28319 [!__logf]: Use libm_alias_float_other.
28320 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
28321 [!__powf]: Use libm_alias_float_other.
28323 2017-10-10 Florian Weimer <fweimer@redhat.com>
28325 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
28327 (_nss_files_gethostbyname3_r): Call it.
28329 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28331 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28332 error. Remove default definition of declare_mgen_alias.
28333 [!declare_mgen_alias_r]: Likewise.
28334 * sysdeps/generic/math-type-macros-double.h
28335 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28336 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28337 (declare_mgen_alias_r): Likewise.
28338 * sysdeps/generic/math-type-macros-float128.h
28339 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28340 * sysdeps/generic/math-type-macros-ldouble.h
28341 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28342 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
28344 (declare_mgen_alias_r_s): Likewise.
28345 (declare_mgen_alias_r): Likewise.
28346 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
28347 (lgamma_r): Define using libm_alias_double_r.
28348 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
28349 (lgammaf_r): Define using libm_alias_float_r.
28350 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
28351 (lgammal_r): Define using libm_alias_ldouble_r.
28352 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
28353 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28355 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28357 * lib/glob.c (__glob_pattern_type): Remove now-spurious
28358 extern declaration.
28360 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28362 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
28364 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
28367 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
28368 [__cplusplus >= 201103] (__USE_ISOC99): Define.
28369 * math/Makefile (test-math-cxx11): New test.
28370 * math/test-math-cxx11.cc: New file.
28372 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
28374 * login/openpty.c (openpty): Close slave pty file descriptor on error.
28376 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
28377 call to allocate the slave pty file descriptor.
28379 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28381 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
28382 [!__fma] (fma): Define using libm_alias_double.
28383 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
28384 [!__fma] (fma): Define using libm_alias_double.
28386 * sysdeps/ieee754/float128/float128_private.h: Include
28387 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
28388 (libm_alias_ldouble_r): Undefine and redefine.
28389 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
28390 <libm-alias-ldouble.h>.
28391 (asinhl): Define using libm_alias_ldouble.
28392 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
28393 <libm-alias-ldouble.h>.
28394 (atanl): Define using libm_alias_ldouble.
28395 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
28396 <libm-alias-ldouble.h>.
28397 (cbrtl): Define using libm_alias_ldouble.
28398 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
28399 <libm-alias-ldouble.h>.
28400 (ceill): Define using libm_alias_ldouble.
28401 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
28402 <libm-alias-ldouble.h>.
28403 (copysignl): Define using libm_alias_ldouble.
28404 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
28405 <libm-alias-ldouble.h>.
28406 (cosl): Define using libm_alias_ldouble.
28407 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
28408 <libm-alias-ldouble.h>.
28409 (erfl): Define using libm_alias_ldouble.
28411 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
28412 <libm-alias-ldouble.h>.
28413 (expm1l): Define using libm_alias_ldouble.
28414 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
28415 <libm-alias-ldouble.h>.
28416 (fabsl): Define using libm_alias_ldouble.
28417 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
28418 <libm-alias-ldouble.h>.
28419 (floorl): Define using libm_alias_ldouble.
28420 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
28421 <libm-alias-ldouble.h>.
28422 (fmal): Define using libm_alias_ldouble.
28423 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
28424 <libm-alias-ldouble.h>.
28425 (frexpl): Define using libm_alias_ldouble.
28426 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
28427 libm_alias_ldouble.
28428 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
28429 <libm-alias-ldouble.h>.
28430 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
28431 libm_alias_ldouble.
28432 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
28433 <libm-alias-ldouble.h>.
28434 (getpayloadl): Define using libm_alias_ldouble.
28435 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
28436 <libm-alias-ldouble.h>.
28437 (llrintl): Define using libm_alias_ldouble.
28438 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
28439 <libm-alias-ldouble.h>.
28440 (llroundl): Define using libm_alias_ldouble.
28441 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
28442 <libm-alias-ldouble.h>.
28443 (logbl): Define using libm_alias_ldouble.
28444 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
28445 <libm-alias-ldouble.h>.
28446 (lrintl): Define using libm_alias_ldouble.
28447 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
28448 <libm-alias-ldouble.h>.
28449 (lroundl): Define using libm_alias_ldouble.
28450 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
28451 <libm-alias-ldouble.h>.
28452 (modfl): Define using libm_alias_ldouble.
28453 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
28454 <libm-alias-ldouble.h>.
28455 (nearbyintl): Define using libm_alias_ldouble.
28456 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
28457 <libm-alias-ldouble.h>.
28458 (nextafterl): Define using libm_alias_ldouble.
28459 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
28460 <libm-alias-ldouble.h>.
28461 (nextupl): Define using libm_alias_ldouble.
28462 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
28463 <libm-alias-ldouble.h>.
28464 (remquol): Define using libm_alias_ldouble.
28465 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
28466 <libm-alias-ldouble.h>.
28467 (rintl): Define using libm_alias_ldouble.
28468 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28469 <libm-alias-ldouble.h>.
28470 (roundevenl): Define using libm_alias_ldouble.
28471 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28472 <libm-alias-ldouble.h>.
28473 (roundl): Define using libm_alias_ldouble.
28474 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28475 using libm_alias_ldouble.
28476 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28477 <libm-alias-ldouble.h>.
28478 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28479 Define using libm_alias_ldouble.
28480 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28481 <libm-alias-ldouble.h>.
28482 (sincosl): Define using libm_alias_ldouble.
28483 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28484 <libm-alias-ldouble.h>.
28485 (sinl): Define using libm_alias_ldouble.
28486 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28487 <libm-alias-ldouble.h>.
28488 (tanhl): Define using libm_alias_ldouble.
28489 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28490 <libm-alias-ldouble.h>.
28491 (tanl): Define using libm_alias_ldouble.
28492 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28493 <libm-alias-ldouble.h>.
28494 (totalorderl): Define using libm_alias_ldouble.
28495 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28496 <libm-alias-ldouble.h>.
28497 (totalordermagl): Define using libm_alias_ldouble.
28498 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28499 <libm-alias-ldouble.h>.
28500 (truncl): Define using libm_alias_ldouble.
28501 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28502 libm_alias_ldouble.
28503 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28504 libm_alias_ldouble.
28505 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28506 <libm-alias-ldouble.h>.
28507 (weak_alias): Do not undefine and redefine.
28508 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28509 (copysignl): Define with long_double_symbol only if [IS_IN
28511 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28512 <libm-alias-ldouble.h>.
28513 (weak_alias): Do not undefine and redefine.
28514 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28515 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28516 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28517 <libm-alias-ldouble.h>.
28518 (weak_alias): Do not undefine and redefine.
28519 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28520 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28521 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28522 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28523 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28524 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28525 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28526 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28527 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28528 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28529 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28530 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28531 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28532 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28533 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28534 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28535 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28536 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28537 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28538 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28539 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28540 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28541 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28542 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28543 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28544 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28546 2017-10-06 Carlos O'Donell <carlos@redhat.com>
28549 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28550 (tcache_thread_freeres): Set tcache_shutting_down before
28551 freeing the tcache.
28552 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28553 * malloc/tst-malloc-tcache-leak.c: New file.
28555 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28557 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28558 back to powerpc32 file.
28559 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28560 (memrchr): Add __memrchr_power8 to ifunc list.
28561 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28562 extra bytes for unaligned inputs.
28564 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28566 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28567 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28568 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28569 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28570 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28572 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28574 * sysdeps/arm/libm-test-ulps: Update.
28576 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28577 <libm-alias-ldouble.h>.
28578 (asinhl): Define using libm_alias_ldouble.
28579 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28580 <libm-alias-ldouble.h>.
28581 (cbrtl): Define using libm_alias_ldouble.
28582 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28583 <libm-alias-ldouble.h>.
28584 (copysignl): Define using libm_alias_ldouble.
28585 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28586 <libm-alias-ldouble.h>.
28587 (cosl): Define using libm_alias_ldouble.
28588 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28589 <libm-alias-ldouble.h>.
28590 (erfl): Define using libm_alias_ldouble.
28592 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28593 <libm-alias-ldouble.h>.
28594 (fmal): Define using libm_alias_ldouble.
28595 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28596 <libm-alias-ldouble.h>.
28597 (frexpl): Define using libm_alias_ldouble.
28598 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28599 libm_alias_ldouble.
28600 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28601 <libm-alias-ldouble.h>.
28602 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28603 libm_alias_ldouble.
28604 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28605 <libm-alias-ldouble.h>.
28606 (getpayloadl): Define using libm_alias_ldouble.
28607 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28608 <libm-alias-ldouble.h>.
28609 (llrintl): Define using libm_alias_ldouble.
28610 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28611 <libm-alias-ldouble.h>.
28612 (llroundl): Define using libm_alias_ldouble.
28613 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28614 <libm-alias-ldouble.h>.
28615 (lrintl): Define using libm_alias_ldouble.
28616 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28617 <libm-alias-ldouble.h>.
28618 (lroundl): Define using libm_alias_ldouble.
28619 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28620 <libm-alias-ldouble.h>.
28621 (modfl): Define using libm_alias_ldouble.
28622 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28623 <libm-alias-ldouble.h>.
28624 (nextupl): Define using libm_alias_ldouble.
28625 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28626 <libm-alias-ldouble.h>.
28627 (remquol): Define using libm_alias_ldouble.
28628 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28629 <libm-alias-ldouble.h>.
28630 (roundevenl): Define using libm_alias_ldouble.
28631 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28632 <libm-alias-ldouble.h>.
28633 (roundl): Define using libm_alias_ldouble.
28634 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28635 using libm_alias_ldouble.
28636 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28637 <libm-alias-ldouble.h>.
28638 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28639 <libm-alias-ldouble.h>.
28640 (setpayloadsigl): Define using libm_alias_ldouble.
28641 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28642 <libm-alias-ldouble.h>.
28643 (sincosl): Define using libm_alias_ldouble.
28644 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28645 <libm-alias-ldouble.h>.
28646 (sinl): Define using libm_alias_ldouble.
28647 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28648 <libm-alias-ldouble.h>.
28649 (tanhl): Define using libm_alias_ldouble.
28650 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28651 <libm-alias-ldouble.h>.
28652 (tanl): Define using libm_alias_ldouble.
28653 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28654 <libm-alias-ldouble.h>.
28655 (totalorderl): Define using libm_alias_ldouble.
28656 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28657 <libm-alias-ldouble.h>.
28658 (totalordermagl): Define using libm_alias_ldouble.
28659 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28660 libm_alias_ldouble.
28661 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28662 libm_alias_ldouble.
28664 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28666 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28668 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28669 (__libc_ifunc_impl_list): Likewise.
28670 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28671 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28673 * benchtests/bench-memmove-walk.c: New file.
28674 * benchtests/Makefile (string-benchset): Add it.
28676 * benchtests/bench-memset-walk.c: New file.
28677 * benchtests/Makefile (string-benchset): Add it.
28679 * benchtests/bench-memcpy-walk.c: New file.
28680 * benchtests/Makefile (string-benchset): Add it.
28682 2017-10-05 Florian Weimer <fweimer@redhat.com>
28684 nscd: Eliminate compilation time dependency in the build output.
28685 * nscd/nscd_stat.c (STATDATA_VERSION)
28686 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28687 (STATDATA_VERSION_FULL): New macro definitions.
28688 (compilation): Remove.
28689 (struct statdata): Adjust version member.
28690 (send_stats): Set version from STATDATA_VERSION_FULL.
28691 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28693 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28695 * configure.ac (--enable-add-ons): Remove option.
28696 (machine): Do not mention add-ons in comment.
28697 (LIBC_PRECONFIGURE): Likewise.
28698 (add_ons): Remove variable and sanity checks and logic to locate
28700 (add_ons_automatic): Remove variable.
28701 (configured_add_ons): Likewise.
28702 (add_ons_sfx): Likewise.
28703 (add_ons_pfx): Likewise.
28704 (add_on_subdirs): Likewise.
28705 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28706 consideration of add-ons in Implies handling.
28707 (sysdeps_add_ons): Likewise.
28708 * configure: Regenerated.
28709 * libidn/configure.ac: Remove.
28710 * libidn/configure: Likewise.
28711 * sysdeps/unix/inet/configure.ac: New file.
28712 * sysdeps/unix/inet/configure: New generated file.
28713 * sysdeps/unix/inet/Subdirs: Add libidn.
28714 * Makeconfig (sysdeps-srcdirs): Remove variable.
28715 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28716 ($(common-objpfx)config.status): Do not depend on add-on files.
28717 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28719 (all-subdirs): Do not include $(add-on-subdirs).
28720 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28721 * config.make.in (add-ons): Remove variable.
28722 (add-on-subdirs): Likewise.
28723 (sysdeps-add-ons): Likewise.
28724 * manual/Makefile (add-chapters): Remove.
28725 ($(objpfx)texis): Do not depend on $(add-chapters).
28726 (nonexamples): Do not handle $(add-chapters).
28727 (examples): Do not handle $(add-ons).
28728 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28730 * manual/install.texi (Installation): Do not mention add-ons.
28731 (--enable-add-ons): Do not document configure option.
28732 * INSTALL: Regenerated.
28733 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28734 * manual/maint.texi (Hierarchy Conventions): Do not mention
28736 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28738 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28740 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28741 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28743 2017-10-05 Andreas Schwab <schwab@suse.de>
28746 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28747 (_IO_flush_all_lockp): Always lock list_all_lock.
28748 (_IO_flush_all_linebuffered): Likewise.
28749 (_IO_unbuffer_all): Likewise.
28751 2017-10-05 Florian Weimer <fweimer@redhat.com>
28754 Do not flush stdio streams on abort.
28755 * stdlib/abort.c (fflush): Remove macro definition.
28756 (abort): Remove stages related to stdio flushing.
28758 2017-10-05 Florian Weimer <fweimer@redhat.com>
28760 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28762 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28764 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28766 2017-10-05 Florian Weimer <fweimer@redhat.com>
28768 * support/support_format_hostent.c (support_format_hostent): Add
28769 more error information for NETDB_INTERNAL.
28771 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28773 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28774 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28775 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28776 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28777 AC_DEFINE if multi-arch is enabled.
28778 * sysdeps/i386/configure: Regenerated.
28780 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28782 * Makeconfig (+link-static-before-libc): Use
28783 $(DEFAULT-LDFLAGS-$(@F)).
28784 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28785 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28786 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28788 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28790 * elf/Makefile (tests): Add tst-main1.
28791 (modules-names): Add tst-main1mod.
28792 ($(objpfx)tst-main1): New.
28793 (CRT-tst-main1): Likewise.
28794 (LDFLAGS-tst-main1): Likewise.
28795 (LDLIBS-tst-main1): Likewise.
28796 (tst-main1mod.so-no-z-defs): Likewise.
28797 * elf/tst-main1.c: New file.
28798 * elf/tst-main1mod.c: Likewise.
28800 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28802 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28804 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28806 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28807 (fma): Define using libm_alias_double.
28808 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28809 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28811 (fmal): Do not define as compat symbol here.
28812 * sysdeps/alpha/fpu/s_fma.c: New file.
28814 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28816 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28818 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28821 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28823 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28825 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28826 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28827 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28828 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28830 Include <math_ldbl_opt.h>
28831 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28833 (compat_symbol): Undefine and redefine.
28834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28836 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28837 (compat_symbol): Undefine and redefine.
28838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28839 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28840 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28841 GLIBC_2_1 for libm.
28842 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28843 GLIBC_2.0 copysignl symbol.
28844 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28845 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28847 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28849 2017-10-04 Florian Weimer <fweimer@redhat.com>
28851 * scripts/check-local-headers.sh: Ignore nspr4 header file
28852 directory in addition to nspr.
28854 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
28857 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28858 * configure: Regenerate.
28859 * crypt/Makefile (nss-cpp-flags): New variable.
28860 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28861 (CPPFLAGS-md5-crypt.c): Use it.
28862 * scripts/check-local-headers.sh: Ignore nspr header file
28865 2017-10-04 Andreas Schwab <schwab@suse.de>
28867 * nis/Makefile (services): Remove compat.
28868 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28869 ($(objpfx)libnss_compat.so): Remove rule.
28870 * nis/Versions (libnss_compat): Remove.
28871 * nss/Makefile (services): Add compat.
28872 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28873 * nss/Versions (libnss_compat): Define.
28874 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28875 Don't include <rpc/types.h>. Replace bool_t by bool.
28876 * nss/nss_compat/compat-initgroups.c: Likewise.
28877 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28878 instead of <rpcsrv/ypclnt.h>.
28879 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28880 yp_get_default_domain.
28881 * nss/nss_compat/compat-pwd.c: Likewise.
28882 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28883 yp_get_default_domain.
28884 * nss/nss_compat/nisdomain.c: New file.
28885 * nss/nss_compat/nisdomain.h: Likewise.
28887 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28890 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28891 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28893 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28896 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28897 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28899 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28901 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28902 "movl main@GOTOFF(%ebx), %eax".
28904 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28906 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28907 allow undefined _DYNAMIC in PIE libc.a.
28908 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28911 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28913 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28916 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28918 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28921 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28923 * math/test-math-iscanonical.cc (error): Replace bool with int.
28925 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28927 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28928 (modf): Define using libm_alias_double, only if [!__modf].
28929 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28930 <libm-alias-double.h>.
28931 (modf): Define using libm_alias_double, only if [!__modf].
28932 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28933 compat symbol here.
28934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28935 (weak_alias): Do not undefine and redefine.
28936 (strong_alias): Likewise.
28937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28938 (weak_alias): Likewise.
28939 (strong_alias): Likewise.
28941 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28942 (logb): Define using libm_alias_double, only if [!__logb].
28943 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28944 <libm-alias-double.h>.
28945 (logb): Define using libm_alias_double, only if [!__logb].
28946 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28948 (weak_alias): Do not undefine and redefine.
28949 (strong_alias): Likewise.
28950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28951 (weak_alias): Likewise.
28952 (strong_alias): Likewise.
28954 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28956 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28957 Check SHARED instead PIC.
28959 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28961 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28962 [!__fmaf] (fmaf): Define using libm_alias_float.
28964 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28965 (frexp): Define using libm_alias_double.
28966 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28967 <libm-alias-double.h>.
28968 (frexp): Define using libm_alias_double.
28969 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28970 compat symbol here.
28972 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28975 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28976 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28977 (CFLAGS-test-math-iscanonical.cc): New variable.
28978 * math/test-math-iscanonical.cc: New file.
28979 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28980 Provide a C++ implementation based on function overloading,
28981 rather than using __MATH_TG, which uses C-only builtins.
28982 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28984 * sysdeps/powerpc/powerpc64le/Makefile
28985 (CFLAGS-test-math-iscanonical.cc): New variable.
28987 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28989 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28990 (ceil): Define using libm_alias_double.
28991 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28992 (floor): Define using libm_alias_double.
28993 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28994 <libm-alias-double.h>.
28995 (llround): Define using libm_alias_double.
28996 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28997 <libm-alias-double.h>.
28998 (lround): Define using libm_alias_double.
28999 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29000 <libm-alias-double.h>.
29001 (nearbyint): Define using libm_alias_double.
29002 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29003 <libm-alias-double.h>.
29004 (remquo): Define using libm_alias_double.
29005 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29006 (rint): Define using libm_alias_double.
29007 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29008 (round): Define using libm_alias_double.
29009 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29010 (trunc): Define using libm_alias_double.
29011 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29012 <libm-alias-double.h>.
29013 (ceil): Define using libm_alias_double.
29014 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29015 <libm-alias-double.h>.
29016 (floor): Define using libm_alias_double.
29017 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29018 <libm-alias-double.h>.
29019 (llround): Define using libm_alias_double.
29020 [_LP64] (lround): Likewise.
29021 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29022 <libm-alias-double.h>.
29023 [!_LP64] (lround): Define using libm_alias_double.
29024 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
29025 <libm-alias-double.h>.
29026 (nearbyint): Define using libm_alias_double.
29027 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
29028 <libm-alias-double.h>.
29029 (remquo): Define using libm_alias_double.
29030 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
29031 <libm-alias-double.h>.
29032 (rint): Define using libm_alias_double.
29033 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
29034 <libm-alias-double.h>.
29035 (round): Define using libm_alias_double.
29036 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
29037 <libm-alias-double.h>.
29038 (trunc): Define using libm_alias_double.
29039 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
29040 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
29041 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
29042 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
29043 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
29044 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
29045 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
29046 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
29047 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
29049 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29051 * math/w_remainder.c: New file.
29052 * math/w_remainderf.c: New file.
29053 * math/w_remainderl.c: New file.
29055 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29057 * elf/rtld.c (BOOTSTRAP_MAP): New.
29058 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
29059 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29061 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29063 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29066 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29068 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
29069 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
29070 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
29071 rtld_hidden_data_ver): Define to empty.
29072 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
29073 __assert_perror_fail): Likewise.
29074 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29075 (__rewinddir): Likewise.
29076 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29077 (__profile_frequency): Likewise.
29078 * include/setjmp.h (__sigsetjmp): Likewise.
29079 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
29080 __libc_sigaction): Likewise.
29081 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
29082 not set hidden attribute.
29083 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
29084 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
29085 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
29086 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
29087 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
29088 __fxstatat64): Likewise.
29089 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29090 (__uname): Likewise.
29091 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29092 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
29093 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
29094 (NO_RTLD_HIDDEN): Set.
29095 * sysdeps/mach/hurd/configure: Refresh.
29096 * config.h.in: Refresh.
29098 2017-10-02 Joseph Myers <joseph@codesourcery.com>
29100 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29101 (atan): Define using libm_alias_double.
29102 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29103 (tan): Define using libm_alias_double.
29104 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29105 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29107 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29108 define as weak alias of __atan. Do not define any aliases if
29110 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29111 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29112 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29113 as weak alias of __tan. Do not define any aliases if [__tan].
29114 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29115 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29116 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29118 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29119 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29120 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29121 and define as weak alias of __atan.
29122 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29124 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29125 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29126 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29127 define as weak alias of __tan.
29129 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29131 * math/w_lgamma.c: New file.
29132 * math/w_lgammaf.c: New file.
29133 * math/w_lgammal.c: New file.
29135 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29137 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29138 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29139 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29140 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29141 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29142 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29143 * sysdeps/i386/fpu/w_log2f.c: New file.
29144 * sysdeps/i386/fpu/w_logf.c: New file.
29145 * sysdeps/i386/fpu/w_powf.c: New file.
29146 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29147 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29148 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29150 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29151 H.J. Lu <hongjiu.lu@intel.com>
29153 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29154 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29155 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29156 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29157 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29159 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29160 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29161 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29162 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29163 * sysdeps/i386/fpu/w_exp2f.c: New file.
29164 * sysdeps/i386/fpu/w_expf.c: New file.
29165 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29166 * sysdeps/x86_64/fpu/w_expf.c: New file.
29168 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29170 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29173 * math/w_log2f.c: New file.
29174 * math/w_logf.c: New file.
29175 * math/w_powf.c: New file.
29176 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29177 * math/w_logf_compat.c (__logf_compat): Likewise.
29178 * math/w_powf_compat.c (__powf_compat): Likewise.
29179 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29180 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29181 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29182 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29183 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29184 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29185 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29186 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29187 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29188 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29189 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29190 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29191 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29192 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29193 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29202 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29203 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29204 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29205 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29206 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29211 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29212 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29213 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29215 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29217 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29218 (sysdep_routines): Add memrchr_power8.
29219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29220 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29221 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29223 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29224 (memrchr): Add __memrchr_power8 to ifunc list.
29225 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29227 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29230 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29231 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29233 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29234 (__posix_fallocate64_l64): Likewise.
29236 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29239 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29240 (__sched_setaffinity_new): Add libc_hidden_proto and
29243 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29246 * include/glob.h (__glob64): Add libc_hidden_proto.
29247 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29250 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29253 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29256 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29259 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29261 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29264 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29267 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29270 * csu/version.c (__libc_print_version): Add attribute_hidden.
29272 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29275 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29277 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29280 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29282 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29285 * nscd/nscd_helper.c (__nis_hash): New prototype.
29287 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29290 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29291 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29293 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29294 * termios/tcgetattr.c (__tcgetattr): Likewise.
29296 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29299 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29300 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29301 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29302 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29303 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29305 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29308 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29310 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29313 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
29314 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
29316 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29319 * intl/hash-string.h (__hash_string): Add attribute_hidden.
29321 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29324 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
29325 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
29327 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29330 * include/ifreq.h: New file.
29331 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29332 (__ifreq): Likewise.
29333 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29334 (__ifreq): Likewise.
29336 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29339 * include/idna.h: New file.
29340 * inet/getnameinfo.c: Include <idna.h> instead of
29342 (__idna_to_unicode_lzlz): Removed.
29343 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
29345 (__idna_to_ascii_lz): Removed.
29346 (__idna_to_unicode_lzlz): Likewise.
29348 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29351 * include/plural-exp.h: New file.
29352 * intl/plural-exp.c: Include <plural-exp.h> instead of
29355 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29358 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
29359 "getsourcefilter.h".
29360 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
29361 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
29362 "getsourcefilter.h".
29363 (__get_sol): Removed.
29365 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29368 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
29370 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
29372 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29375 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
29378 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29381 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
29383 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29386 * include/search.h (__tdestroy): Add libc_hidden_proto.
29387 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
29389 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29392 * include/assert.h (__assert_fail_base): Add attribute_hidden.
29394 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29397 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
29400 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29403 * include/signal.h (__kill): Add libc_hidden_proto.
29404 (__sigblock): Likewise.
29405 (__sigprocmask): Likewise.
29406 (__sigaltstack): Likewise.
29407 * signal/kill.c (__kill): Add libc_hidden_def.
29408 * signal/sigblock.c (__sigblock): Likewise.
29409 * signal/sigprocmask.c (__sigprocmask): Likewise.
29410 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
29411 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
29412 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
29413 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
29414 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
29416 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
29418 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
29419 (__sigprocmask): Likewise.
29420 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
29422 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
29423 (__sigprocmask): Likewise.
29424 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
29427 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29430 * include/string.h (__strsep): Add libc_hidden_proto.
29431 * string/strsep.c (__strsep): Add libc_hidden_def.
29433 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29436 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
29438 (__spawni): Likewise.
29440 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29443 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
29444 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
29447 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29450 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
29452 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29455 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
29456 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
29457 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
29458 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
29459 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
29461 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
29462 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
29464 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29467 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29468 (__dcigettext): Likewise.
29470 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29473 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29475 (__get_nprocs): Likewise.
29476 (__get_phys_pages): Likewise.
29477 (__get_avphys_pages): Likewise.
29478 (__get_child_max): Add attribute_hidden.
29479 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29480 (__get_nprocs): Likewise.
29481 (__get_phys_pages): Likewise.
29482 (__get_avphys_pages): Likewise.
29483 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29485 (__get_nprocs): Likewise.
29486 (__get_phys_pages): Likewise.
29487 (__get_avphys_pages): Likewise.
29488 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29490 (__get_nprocs_conf): Likewise.
29491 (__get_phys_pages): Likewise.
29492 (__get_avphys_pages): Likewise.
29494 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29497 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29499 (__netlink_close): Likewise.
29500 (__netlink_free_handle): Likewise.
29501 (__netlink_request): Likewise.
29503 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29506 * include/rpc/rpc.h (__rpc_thread_variables): Add
29508 (__rpc_thread_svc_cleanup): Likewise.
29509 (__rpc_thread_clnt_cleanup): Likewise.
29510 (__rpc_thread_key_cleanup): Likewise.
29512 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29515 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29516 (__writev): Likewise.
29517 * misc/readv.c (__readv): Add libc_hidden_def.
29518 * misc/writev.c (__writev): Likewise.
29519 * sysdeps/posix/readv.c (__readv): Likewise.
29520 * sysdeps/posix/writev.c (__writev): Likewise.
29521 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29522 (__readv): Likewise.
29523 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29524 (__writev): Likewise.
29526 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29529 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29530 (__regcomp): Add libc_hidden_proto.
29531 (__regexec): Likewise.
29532 (__regfree): Likewise.
29533 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29534 (__regfree): Likewise.
29535 * posix/regexec.c (__regexec): Likewise.
29537 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29540 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29541 (__getutent): Likewise.
29542 (__getutid): Likewise.
29543 (__getutline): Likewise.
29544 (__pututline): Likewise.
29545 (__getutent_r): Likewise.
29546 (__getutid_r): Likewise.
29547 (__getutline_r): Likewise.
29548 (__utmpname): Add attribute_hidden.
29549 (__setutent): Likewise.
29550 (__endutent): Likewise.
29551 * login/getutent.c (__getutent): Add libc_hidden_def.
29552 * login/getutent_r.c (__getutent_r): Likewise.
29553 (__pututline): Likewise.
29554 * login/getutid.c (__getutid): Likewise.
29555 * login/getutid_r.c (__getutid_r): Likewise.
29556 * login/getutline.c (__getutline): Likewise.
29557 * login/getutline_r.c (__getutline_r): Likewise.
29558 * login/updwtmp.c (__updwtmp): Likewise.
29560 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29563 * include/dirent.h (__opendir): Always add attribute_hidden.
29564 (__fdopendir): Likewise.
29565 (__closedir): Likewise.
29566 (__readdir): Likewise.
29567 (__readdir64): Add libc_hidden_proto.
29568 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29569 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29570 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29571 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29574 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29577 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29578 * include/netdb.h (__gethostbyaddr_r): Likewise.
29579 (__gethostbyname_r): Likewise.
29580 (__gethostbyname2_r): Likewise.
29581 (__getnetbyaddr_r): Likewise.
29582 (__getnetbyname_r): Likewise.
29583 (__getservbyname_r): Likewise.
29584 (__getservbyport_r): Likewise.
29585 (__getprotobyname_r): Likewise.
29586 (__getprotobynumber_r): Likewise.
29587 (__getnetgrent_r): Likewise.
29588 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29589 (__getrpcbynumber_r): Likewise.
29590 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29592 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29595 * include/stdio.h (__fcloseall): Add attribute_hidden.
29596 (__getline): Likewise.
29597 (__path_search): Likewise.
29598 (__gen_tempname): Likewise.
29599 (__libc_message): Likewise.
29600 (__flockfile): Likewise.
29601 (__funlockfile): Likewise.
29602 (__fxprintf): Likewise.
29603 (__fxprintf_nocancel): Likewise.
29605 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29608 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29609 (__sgetsgent_r): Likewise.
29611 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29614 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29615 (__statfs64): Likewise.
29616 (__fstatfs64): Likewise.
29617 * include/sys/statvfs.h (__statvfs64): Likewise.
29618 (__fstatvfs64): Likewise.
29619 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29620 (__statfs_filesize_max): Likewise.
29621 (__statfs_symlinks): Likewise.
29622 (__statfs_chown_restricted): Likewise.
29624 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29627 * include/time.h (__tzstring): Add attribute_hidden.
29628 (__tzfile_read): Likewise.
29629 (__tzfile_compute): Likewise.
29630 (__tzfile_default): Likewise.
29631 (__tzset_parse_tz): Likewise.
29632 (__offtime): Likewise.
29633 (__asctime_r): Likewise.
29634 (__tzset): Likewise.
29635 (__tz_convert): Likewise.
29636 (__getdate_r): Likewise.
29637 (__getclktck): Likewise.
29639 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29642 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29643 (__nscd_unmap): Likewise.
29644 (__nscd_cache_search): Likewise.
29645 (__nscd_get_nl_timestamp): Likewise.
29646 (__nscd_getpwnam_r): Likewise.
29647 (__nscd_getpwuid_r): Likewise.
29648 (__nscd_getgrnam_r): Likewise.
29649 (__nscd_getgrgid_r): Likewise.
29650 (__nscd_gethostbyname_r): Likewise.
29651 (__nscd_gethostbyname2_r): Likewise.
29652 (__nscd_gethostbyaddr_r): Likewise.
29653 (__nscd_getai): Likewise.
29654 (__nscd_getgrouplist): Likewise.
29655 (__nscd_getservbyname_r): Likewise.
29656 (__nscd_getservbyport_r): Likewise.
29657 (__nscd_innetgr): Likewise.
29658 (__nscd_setnetgrent): Likewise.
29660 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29663 * include/gmp.h: Declare internal functions only if _ISOMAC is
29665 (__mpn_extract_double): Add attribute_hidden.
29666 (__mpn_extract_long_double): Likewise.
29667 (__mpn_extract_float128): Likewise.
29668 (__mpn_construct_float): Likewise.
29669 (__mpn_construct_double): Likewise.
29670 (__mpn_construct_long_double): Likewise.
29671 (__mpn_construct_float128): Likewise.
29672 (mpn_add_1): Likewise.
29673 (mpn_addmul_1): Likewise.
29674 (mpn_add_n): Likewise.
29675 (mpn_cmp): Likewise.
29676 (mpn_divrem): Likewise.
29677 (mpn_lshift): Likewise.
29678 (mpn_mul): Likewise.
29679 (mpn_mul_1): Likewise.
29680 (mpn_rshift): Likewise.
29681 (mpn_sub_1): Likewise.
29682 (mpn_submul_1): Likewise.
29683 (mpn_sub_n): Likewise.
29685 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29688 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29689 (__wcscat): Likewise.
29690 (__btowc): Likewise.
29691 (__wcrtomb): Likewise.
29692 (__mbsrtowcs): Likewise.
29693 (__wcsrtombs): Likewise.
29694 (__mbsnrtowcs): Likewise.
29695 (__wcsnrtombs): Likewise.
29696 (__wcsncpy): Likewise.
29697 (__wcpncpy): Likewise.
29698 (__wmemcpy): Likewise.
29699 (__wmempcpy): Likewise.
29700 (__wmemmove): Likewise.
29701 (__wcschrnul): Likewise.
29702 (__vfwscanf): Likewise.
29703 (__vswprintf): Likewise.
29704 (__fwprintf): Likewise.
29705 (__vfwprintf): Likewise.
29707 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29710 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29711 (__getgrgid_r): Likewise.
29712 (__getgrnam_r): Likewise.
29713 * include/pwd.h (__getpwuid_r): Likewise.
29714 (__getpwnam_r): Likewise.
29715 (__fgetpwent_r): Likewise.
29716 * include/shadow.h (__getspnam_r): Likewise.
29717 (__sgetspent_r): Likewise.
29718 (__fgetspent_r): Likewise.
29720 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29723 * include/unistd.h (__access): Add attribute_hidden.
29724 (__lseek64): Likewise.
29725 (__libc_pread64): Likewise.
29726 (__pipe2): Likewise.
29727 (__sleep): Likewise.
29728 (__chdir): Likewise.
29729 (__fchdir): Likewise.
29730 (__getcwd): Likewise.
29731 (__rmdir): Likewise.
29732 (__execvpe): Likewise.
29733 (__execve): Likewise.
29734 (__setsid): Likewise.
29735 (__getuid): Likewise.
29736 (__geteuid): Likewise.
29737 (__getgid): Likewise.
29738 (__getegid): Likewise.
29739 (__getgroups): Likewise.
29740 (__group_member): Likewise.
29741 (__ttyname_r): Likewise.
29742 (__isatty): Likewise.
29743 (__readlink): Likewise.
29744 (__unlink): Likewise.
29745 (__gethostname): Likewise.
29746 (__profil): Likewise.
29747 (__getdtablesize): Likewise.
29749 (__ftruncate): Likewise.
29750 (__ftruncate64): Likewise.
29752 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29755 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29756 * argp/argp-fs-xinl.c: Likewise.
29757 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29758 * argp/argp-parse.c: Include <argp.h>.
29759 * argp/argp-xinl.c: Likewise.
29760 * include/argp-fmtstream.h: New file.
29761 * include/argp.h (__argp_error): Add attribute_hidden.
29762 (__argp_failure): Likewise.
29763 (__argp_input): Likewise.
29764 (__argp_state_help): Likewise.
29766 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29769 * include/wchar.h (____wcstof_l_internal): New prototype.
29770 (____wcstod_l_internal): Likewise.
29771 (____wcstold_l_internal): Likewise.
29772 (____wcstol_l_internal): Likewise.
29773 (____wcstoul_l_internal): Likewise.
29774 (____wcstoll_l_internal): Likewise.
29775 (____wcstoull_l_internal): Likewise.
29776 (____wcstof128_l_internal): Likewise.
29777 * sysdeps/ieee754/float128/wcstof128.c
29778 (____wcstof128_l_internal): Removed.
29779 * sysdeps/ieee754/float128/wcstof128_l.c
29780 (____wcstof128_l_internal): Likewise.
29781 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29782 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29783 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29784 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29785 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29786 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29787 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29788 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29789 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29790 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29792 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29795 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29796 instead of <sys/statvfs.h>.
29797 (__internal_statvfs): Removed.
29798 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29799 instead of <sys/statvfs.h>.
29800 (__internal_statvfs64): Removed.
29801 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29802 "internal_statvfs.h" instead of <sys/statvfs.h>.
29803 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29804 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29805 instead of <sys/statvfs.h>.
29806 (__internal_statvfs): Removed.
29807 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29808 instead of <sys/statvfs.h>.
29809 (__internal_statvfs64): Removed.
29811 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29814 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29815 (__gconv_close): Likewise.
29816 (__gconv): Likewise.
29817 (__gconv_find_transform): Likewise.
29818 (__gconv_lookup_cache): Likewise.
29819 (__gconv_compare_alias_cache): Likewise.
29820 (__gconv_load_cache): Likewise.
29821 (__gconv_get_path): Likewise.
29822 (__gconv_close_transform): Likewise.
29823 (__gconv_release_cache): Likewise.
29824 (__gconv_find_shlib): Likewise.
29825 (__gconv_release_shlib): Likewise.
29826 (__gconv_get_builtin_trans): Likewise.
29827 (__gconv_compare_alias): Likewise.
29828 * include/dlfcn.h (_dlerror_run): Likewise.
29829 * include/stdio.h (__fortify_fail_abort): Likewise.
29830 * include/time.h (__tz_compute): Likewise.
29831 (__strptime_internal): Likewise.
29832 * intl/gettextP.h (_nl_find_domain): Likewise.
29833 (_nl_load_domain): Likewise.
29834 (_nl_find_msg): Likewise.
29835 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29836 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29837 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29838 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29839 (__gai_find_request): Likewise.
29840 (__gai_remove_request): Likewise.
29841 (__gai_notify): Likewise.
29842 (__gai_notify_only): Likewise.
29843 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29844 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29845 (_dl_non_dynamic_init): Likewise.
29846 (_dl_aux_init): Likewise.
29847 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29848 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29850 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29851 (__wcsmbs_clone_conv): Likewise.
29852 (__wcsmbs_named_conv): Likewise.
29854 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29857 * include/stdlib.h (__random): Add attribute_hidden.
29858 (__random_r): Likewise.
29859 (__srandom_r): Likewise.
29860 (__initstate_r): Likewise.
29861 (__setstate_r): Likewise.
29862 (__erand48_r): Likewise.
29863 (__nrand48_r): Likewise.
29864 (__jrand48_r): Likewise.
29865 (__srand48_r): Likewise.
29866 (__seed48_r): Likewise.
29867 (__lcong48_r): Likewise.
29868 (__drand48_iterate): Likewise.
29869 (__setenv): Likewise.
29870 (__unsetenv): Likewise.
29871 (__clearenv): Likewise.
29872 (__ptsname_r): Likewise.
29873 (__posix_openpt): Likewise.
29874 (__add_to_environ): Likewise.
29875 (__realpath): Add libc_hidden_proto.
29876 (__ecvt_r): Likewise.
29877 (__fcvt_r): Likewise.
29878 (__qecvt_r): Likewise.
29879 (__qfcvt_r): Likewise.
29880 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29881 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29883 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29886 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29887 * include/time.h (__mktime_internal): Likewise.
29888 * libio/iolibio.h (__fopen_internal): Likewise.
29890 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
29892 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29894 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29895 Correct offset used to restore PIC register.
29897 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
29900 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29901 code to load address of __getcontext_ret when generating PIC code.
29903 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29905 * elf/Makefile (tests-static-internal): Add
29906 tst-tls1-static-non-pie.
29907 (LDFLAGS-tst-tls1-static-non-pie): New.
29908 * elf/tst-tls1-static-non-pie.c: New file.
29910 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29912 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29913 (asinh): Define using libm_alias_double.
29914 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29915 (cbrt): Define using libm_alias_double.
29916 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29917 <libm-alias-double.h>.
29918 (copysign): Define using libm_alias_double.
29919 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29920 (erf): Define using libm_alias_double.
29922 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29923 (expm1): Define using libm_alias_double.
29924 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29925 (fabs): Define using libm_alias_double.
29926 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29928 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29929 <libm-alias-double.h>.
29930 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29932 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29933 <libm-alias-double.h>.
29934 (getpayload): Define using libm_alias_double.
29935 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29936 <libm-alias-double.h>.
29937 (llrint): Define using libm_alias_double.
29938 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29939 (lrint): Define using libm_alias_double.
29940 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29941 <libm-alias-double.h>.
29942 (nextup): Define using libm_alias_double.
29943 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29944 <libm-alias-double.h>.
29945 (roundeven): Define using libm_alias_double.
29946 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29948 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29949 <libm-alias-double.h>.
29950 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29951 using libm_alias_double.
29952 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29953 (cos): Define using libm_alias_double.
29955 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29956 <libm-alias-double.h>.
29957 (sincos): Define using libm_alias_double.
29958 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29959 (tanh): Define using libm_alias_double.
29960 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29961 <libm-alias-double.h>.
29962 (totalorder): Define using libm_alias_double.
29963 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29964 <libm-alias-double.h>.
29965 (totalordermag): Define using libm_alias_double.
29966 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29968 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29970 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29971 <libm-alias-double.h>.
29972 (getpayload): Define using libm_alias_double.
29973 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29974 <libm-alias-double.h>.
29975 (roundeven): Define using libm_alias_double.
29976 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29977 <libm-alias-double.h>.
29978 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29979 <libm-alias-double.h>.
29980 (totalorder): Define using libm_alias_double.
29981 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29982 <libm-alias-double.h>.
29983 (totalordermag): Define using libm_alias_double.
29984 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29985 libc compat symbol here.
29986 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29987 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29988 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29989 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29990 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29991 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29992 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29993 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29994 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29995 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29997 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29999 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30000 _dl_relocate_static_pie instead of _dl_start to compute load
30001 address in static PIE. Return 0 if _DYNAMIC is undefined for
30004 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30006 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30007 _DYNAMIC is undefined for static executable.
30009 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30011 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30013 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30017 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30019 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30020 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30021 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30022 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30023 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
30024 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
30025 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30026 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
30027 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
30028 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30029 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
30030 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
30031 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30032 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30033 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30034 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30035 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
30037 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30039 * math/bits/cmathcalls.h (cimag): Remove inline.
30040 (creal): Remove inline.
30041 (conj): Remove inline.
30043 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30045 * math/Makefile (type-float-routines): Add e_powf_log2_data.
30046 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
30047 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
30048 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
30049 (issignalingf_inline): Likewise.
30050 (POWF_LOG2_TABLE_BITS): Likewise.
30051 (POWF_LOG2_POLY_ORDER): Likewise.
30052 (POWF_SCALE_BITS): Likewise.
30053 (POWF_SCALE): Likewise.
30054 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
30055 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
30056 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
30058 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30060 * math/Makefile (type-float-routines): Add e_log2f_data.
30061 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
30062 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
30063 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
30064 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
30065 * sysdeps/i386/fpu/e_log2f_data.c: New file.
30066 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
30067 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
30069 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30071 * math/Makefile (type-float-routines): Add e_logf_data.
30072 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
30073 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
30074 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
30075 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
30076 * sysdeps/i386/fpu/e_logf_data.c: New file.
30077 * sysdeps/ia64/fpu/e_logf_data.c: New file.
30078 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
30080 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
30082 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
30083 undefined _DYNAMIC in PIE libc.a.
30084 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30087 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30089 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
30090 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
30091 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
30092 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
30093 (__signbit): Remove.
30094 (__signbitl): Remove.
30095 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
30096 (__signbit): Remove.
30097 (__signbitl): Remove.
30098 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30099 (__signbit): Remove.
30100 (__signbitl): Remove.
30101 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30102 (__signbit): Remove.
30103 (__signbitl): Remove.
30104 * sysdeps/tile/bits/mathinline.h: Delete file.
30105 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30106 (__signbit): Remove.
30107 (__signbitl): Remove.
30109 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30111 * math/math.h: Improve handling of C99 isgreater macros.
30112 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30113 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30114 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30115 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30116 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30118 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30120 * sysdeps/aarch64/libm-test-ulps: Update.
30122 2017-09-28 Joseph Myers <joseph@codesourcery.com>
30125 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30126 math_opt_barrier on argument when doing arithmetic on it.
30127 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30128 Likewise. Use math_force_eval not math_opt_barrier after
30130 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30131 math_opt_barrier on argument when doing arithmetic on it.
30132 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30135 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30137 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30139 (__freeifaddrs): Likewise.
30141 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30143 * include/dirent.h (__dirfd): New declaration.
30144 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30146 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30147 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30148 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
30149 * include/unistd.h (__revoke): New declaration.
30150 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30152 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30153 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30155 * include/dirent.h (__seekdir): New declaration.
30156 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30157 redefine as weak alias.
30158 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30160 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30161 and use libc_hidden_def on them.
30162 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30164 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30165 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30166 instead of getifaddrs and freeifaddrs.
30168 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30171 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30172 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30173 (__dso_handle): Remove declaration.
30174 * dlfcn/tstatexit.c (__dso_handle): Removed.
30175 (main): Don't check __dso_handle.
30176 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30177 (main): Don't check __dso_handle.
30178 * include/dso_handle.h: New file.
30179 * malloc/mtrace.c: Include <dso_handle.h>.
30180 (mtrace): Pass __dso_handle directly.
30181 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30182 (__dso_handle): Remove declaration.
30183 (__pthread_atfork): Pass __dso_handle directly.
30184 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30185 (__dso_handle): Removed.
30186 * posix/wordexp-test.c: Include <dso_handle.h>.
30187 (__dso_handle): Remove declaration.
30188 (__app_register_atfork): Pass __dso_handle directly.
30189 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30190 (__dso_handle): Remove declaration.
30191 (at_quick_exit): Pass __dso_handle directly.
30192 * stdlib/atexit.c: Include <dso_handle.h>.
30193 (__dso_handle): Remove declaration.
30194 (atexit): Pass __dso_handle directly.
30195 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30196 (__dso_handle): Removed.
30198 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30200 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30203 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30205 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30206 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30207 values to correct default value for given type.
30209 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30212 * elf/Makefile (tests): Add tst-debug1.
30213 ($(objpfx)tst-debug1): New.
30214 ($(objpfx)tst-debug1.out): Likewise.
30215 ($(objpfx)tst-debug1mod1.so): Likewise.
30216 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30217 with p_filesz == 0.
30218 * elf/tst-debug1.c: New file.
30220 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30222 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30223 Define using __ifunc.
30225 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30227 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30230 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30233 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30235 2017-09-26 Florian Weimer <fweimer@redhat.com>
30237 * resolv/Makefile (tests-internal): Fix typo in comment.
30239 2017-09-26 Florian Weimer <fweimer@redhat.com>
30241 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30243 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30245 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30246 Use an union instead of a max_align_t array for __space,
30247 so that __space is the same size on all platforms.
30248 * malloc/scratch_buffer_grow_preserve.c
30249 (__libc_scratch_buffer_grow_preserve): Likewise.
30252 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30254 * posix/Makefile (routines): Add glob-lstat-compat and
30255 glob64-lstat-compat.
30256 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30257 * posix/glob-lstat-compat.c: New file.
30258 * posix/glob64-lstat-compat.c: Likewise.
30259 * posix/tst-glob_lstat_compat.c: Likewise.
30260 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30261 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30262 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30263 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30265 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30266 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30267 * posix/glob.c (glob_lstat): New function.
30268 (glob): Rename to __glob and add versioned symbol to 2.27.
30269 (glob_in_dir): Use glob_lstat.
30270 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30271 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30272 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30274 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30275 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30276 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30277 gl_lstat on glob call.
30278 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30279 and glob64 symbols.
30280 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30281 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30282 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30283 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30284 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30285 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30286 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30287 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30288 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30289 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30290 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30291 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30294 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30296 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30297 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30298 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30299 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30300 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30303 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30304 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30305 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30307 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30309 * configure.ac (AS): Require binutils 2.25 or later.
30310 * configure: Regenerated.
30312 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30315 * stdlib/test-atexit-race-common.c (do_test): Minimize required
30318 2017-09-25 DJ Delorie <dj@redhat.com>
30321 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
30324 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30326 * sysdeps/ieee754/dbl-64/sincos32.h
30327 [SINCCOS32_H]: Remove define.
30328 [SINCOS32_H]: Define.
30330 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30332 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30334 * math/w_exp2f.c: New file.
30335 * math/w_expf.c: New file.
30336 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30337 * math/w_expf_compat.c (__expf_compat): Likewise.
30338 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
30339 * sysdeps/ia64/fpu/e_expf.S: Likewise.
30340 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30341 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30342 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30343 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30344 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30345 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30346 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30347 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30348 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30349 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30350 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30351 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30360 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30361 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30362 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30363 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30364 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30369 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30370 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30371 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30373 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30375 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
30376 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
30377 (roundtoint, converttoint): Likewise.
30378 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
30379 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
30380 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
30381 * sysdeps/ieee754/flt-32/math_config.h: New file.
30382 * sysdeps/ieee754/flt-32/math_errf.c: New file.
30383 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
30384 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
30385 * sysdeps/i386/fpu/math_errf.c: New file.
30386 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
30387 * sysdeps/ia64/fpu/math_errf.c: New file.
30388 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
30389 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
30391 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
30393 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
30394 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
30395 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
30396 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
30397 to make sure that these symbols are defined.
30398 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
30400 (__need_NULL): Do not define.
30401 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
30403 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
30404 CMGROUP_MAX, cmsgcred): Do not define.
30405 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
30407 * bits/socket.h: Likewise.
30408 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
30409 __gettimeofday instead of gettimeofday.
30410 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
30411 instead of settimeofday.
30413 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30415 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
30416 (asinhf): Define using libm_alias_float.
30417 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
30418 (atanf): Define using libm_alias_float.
30419 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
30420 (cbrtf): Define using libm_alias_float.
30421 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
30422 (ceilf): Define using libm_alias_float.
30423 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
30424 <libm-alias-float.h>.
30425 (copysignf): Define using libm_alias_float.
30426 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
30427 (cosf): Define using libm_alias_float.
30428 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
30429 (erff): Define using libm_alias_float.
30431 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
30432 (expm1f): Define using libm_alias_float.
30433 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
30434 (fabsf): Define using libm_alias_float.
30435 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
30436 (floorf): Define using libm_alias_float.
30437 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
30438 (frexpf): Define using libm_alias_float.
30439 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
30441 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
30442 <libm-alias-float.h>.
30443 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
30445 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
30446 <libm-alias-float.h>.
30447 (getpayloadf): Define using libm_alias_float.
30448 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
30449 <libm-alias-float.h>.
30450 (llrintf): Define using libm_alias_float.
30451 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
30452 <libm-alias-float.h>.
30453 (llroundf): Define using libm_alias_float.
30454 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
30455 (logbf): Define using libm_alias_float.
30456 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
30457 (lrintf): Define using libm_alias_float.
30458 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
30459 (lroundf): Define using libm_alias_float.
30460 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
30461 (modff): Define using libm_alias_float.
30462 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
30463 <libm-alias-float.h>.
30464 (nearbyintf): Define using libm_alias_float.
30465 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
30466 <libm-alias-float.h>.
30467 (nextafterf): Define using libm_alias_float.
30468 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30469 <libm-alias-float.h>.
30470 (nextupf): Define using libm_alias_float.
30471 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30472 <libm-alias-float.h>.
30473 (remquof): Define using libm_alias_float.
30474 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30475 (rintf): Define using libm_alias_float.
30476 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30477 <libm-alias-float.h>.
30478 (roundevenf): Define using libm_alias_float.
30479 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30480 (roundf): Define using libm_alias_float.
30481 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30482 using libm_alias_float.
30483 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30484 <libm-alias-float.h>.
30485 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30486 Define using libm_alias_float.
30487 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30488 <libm-alias-float.h>.
30489 (sincosf): Define using libm_alias_float.
30490 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30491 (sinf): Define using libm_alias_float.
30492 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30493 (tanf): Define using libm_alias_float.
30494 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30495 (tanhf): Define using libm_alias_float.
30496 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30497 <libm-alias-float.h>.
30498 (totalorderf): Define using libm_alias_float.
30499 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30500 <libm-alias-float.h>.
30501 (totalordermagf): Define using libm_alias_float.
30502 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30503 (truncf): Define using libm_alias_float.
30504 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30506 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30509 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30512 math/math.h: Let fpclassify use the builtin in C++ mode, even
30513 when optimazing for size.
30515 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30517 * csu/Makefile (generated): Do not add version-info.h.
30518 (before-compile): Likewise.
30519 (all-Banner-files): Remove variable.
30520 ($(objpfx)version-info.h): Remove rule.
30521 * csu/version.c (banner): Do not include "version-info.h".
30522 * libidn/Banner: Remove.
30523 * manual/contrib.texi (Simon Josefsson): New entry.
30525 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30527 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30528 Remove conditionals on LDBL_MANT_DIG.
30529 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30530 (__ieee754_lgammal_r): Likewise.
30532 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30534 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30536 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30537 _Float128 and L(). Replace _Float128 with long double and L(x)
30538 with xL, throughout the file.
30539 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30540 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30541 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30542 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30544 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30546 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30547 sysdeps/ieee754/ldbl-128ibm.
30548 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30549 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30550 of including it. Keep _Float128 and L() intact. These will be
30551 reviewed by a separate patch.
30552 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30553 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30554 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30555 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30557 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30560 (__finitef128): Define to __redirect___finitef128.
30561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30562 (__isinff128): Define to __redirect___isinff128.
30563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30564 (__isnanf128): Define to __redirect___isnanf128.
30566 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30568 * sysdeps/powerpc/powerpc64le/Makefile
30569 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30570 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30572 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30573 Carlos O'Donell <carlos@redhat.com>
30576 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30577 * stdlib/test-dlclose-exit-race.c: New file.
30578 * stdlib/test-dlclose-exit-race-helper.c: New file.
30579 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30581 2017-09-21 Joseph Myers <joseph@codesourcery.com>
30583 * crypt/Banner: Remove file.
30584 * nptl/Banner: Likewise.
30585 * resolv/Banner: Likewise.
30586 * soft-fp/Banner: Likewise.
30587 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30588 ($(objpfx)version.d): Remove dependency on banner.h.
30589 ($(objpfx)version.os): Likewise.
30590 * nptl/version.c (banner): Do not include banner.h.
30591 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30592 Jelinek and BIND code.
30594 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30595 Carlos O'Donell <carlos@redhat.com>
30597 * support/xdlfcn.h: New file.
30598 * support/xdlfcn.c: New file.
30599 * support/Makefile (libsupport-routines): Add xdlfcn.
30600 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30602 2017-09-20 Joseph Myers <joseph@codesourcery.com>
30605 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30606 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30607 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30608 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30609 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30610 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30611 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30612 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30614 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30615 Ricky Zhou <rickyz@google.com>
30616 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
30619 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30621 (__new_exitfn): Fail registration when we finished at_exit processing.
30622 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30623 * stdlib/on_exit.c (__on_exit): Likewise.
30624 * stdlib/exit.c (__exit_funcs_done): New variable.
30625 (__run_exit_handlers): Use __exit_funcs_lock.
30626 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30628 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30629 (test-cxa_atexit-race, test-on_exit-race): New tests.
30630 * stdlib/test-atexit-race-common.c: New file.
30631 * stdlib/test-atexit-race.c: New file.
30632 * stdlib/test-at_quick_exit-race.c: New file.
30633 * stdlib/test-cxa_atexit-race.c: New file.
30634 * stdlib/test-on_exit-race.c: New file.
30636 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30638 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30639 * benchtests/exp2f-inputs: Copy of expf-inputs.
30640 * benchtests/log2f-inputs: Copy of logf-inputs.
30642 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30644 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30645 Explicitly take address of first element of array arguments in
30646 call to INLINE_SYSCALL.
30648 2017-09-19 Andreas Schwab <schwab@suse.de>
30651 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30653 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30655 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30656 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30657 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30658 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30659 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30660 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30661 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30662 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30663 * posix/Makefile (tests): Add tst-fexecve.
30664 * posix/tst-fexecve.c: New file.
30666 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30668 * benchtests/Makefile: Add logf benchmark.
30669 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30671 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30673 * benchtests/Makefile: Add expf benchmark.
30674 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30676 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30678 * csu/Makefile: Add -funwind-tables to libc-start.c.
30679 * debug/Makefile: Add -funwind-tables to backtrace.c.
30680 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30681 * sysdeps/arm/Makefile: Likewise.
30682 * sysdeps/i386/Makefile: Likewise.
30683 * sysdeps/m68k/Makefile: Likewise.
30684 * sysdeps/mips/Makefile: Likewise.
30685 * sysdeps/nios2/Makefile: Likewise.
30686 * sysdeps/sh/Makefile: Likewise.
30687 * sysdeps/sparc/Makefile: Likewise.
30689 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30691 * benchtests/Makefile (bench-math): Add trunc and truncf.
30692 (CFLAGS-bench-trunc.c): New variable.
30693 (CFLAGS-bench-truncf.c): Likewise.
30694 * benchtests/trunc-inputs: New file.
30695 * benchtests/truncf-inputs: Likewise.
30697 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30699 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30701 2017-09-18 Joseph Myers <joseph@codesourcery.com>
30703 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30704 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30706 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30707 (exp10l): Define as weak alias.
30708 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30709 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30711 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30712 (remainderl): Define as weak alias.
30714 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30715 (fmal): Define using libm_alias_ldouble.
30716 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30717 (acoshl): Define using libm_alias_ldouble.
30718 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30719 (acosl): Define using libm_alias_ldouble.
30720 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30721 (asinl): Define using libm_alias_ldouble.
30722 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30723 (atan2l): Define using libm_alias_ldouble.
30724 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30725 (atanhl): Define using libm_alias_ldouble.
30726 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30727 (coshl): Define using libm_alias_ldouble.
30728 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30729 (exp10l): Define using libm_alias_ldouble.
30730 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30731 (exp2l): Define using libm_alias_ldouble.
30732 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30733 (expl): Define using libm_alias_ldouble.
30734 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30735 (fmodl): Define using libm_alias_ldouble.
30736 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30737 (hypotl): Define using libm_alias_ldouble.
30738 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30739 (j0l): Define using libm_alias_ldouble.
30741 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30742 (j1l): Define using libm_alias_ldouble.
30744 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30745 (jnl): Define using libm_alias_ldouble.
30747 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30748 (log10l): Define using libm_alias_ldouble.
30749 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30750 (log2l): Define using libm_alias_ldouble.
30751 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30752 (logl): Define using libm_alias_ldouble.
30753 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30754 (powl): Define using libm_alias_ldouble.
30755 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30756 (remainderl): Define using libm_alias_ldouble.
30757 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30758 (sinhl): Define using libm_alias_ldouble.
30759 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30760 (sqrtl): Define using libm_alias_ldouble.
30761 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30762 (tgammal): Define using libm_alias_ldouble.
30763 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30764 (exp10l): Do not use long_double_symbol here.
30765 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30766 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30767 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30768 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30769 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30770 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30771 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30772 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30773 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30774 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30775 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30776 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30777 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30778 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30779 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30780 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30781 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30782 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30783 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30784 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30785 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30786 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30788 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30790 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30791 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30793 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30795 * io/read.c (read): Add libc_hidden_weak.
30796 * sysdeps/mach/hurd/read.c (read): Likewise.
30797 * io/write.c (write): Likewise.
30798 * sysdeps/mach/hurd/write.c (write): Likewise.
30799 * io/pread64.c (__pread64): Likewise.
30800 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30801 * posix/pread64.c (__pread64): Add libc_hidden_def.
30803 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30805 * benchtests/scripts/compare_strings.py: New option -g.
30806 (draw_graph): Print a message that a graph is being generated.
30807 (process_results): Generate graph only if -g is passed.
30808 (main): Process option -g.
30810 * benchtests/scripts/compare_strings.py (process_results):
30811 Better spacing for output.
30813 * benchtests/scripts/compare_strings.py: Use argparse.
30814 * benchtests/README: Document existence of compare_strings.py.
30816 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30818 * math/s_fma.c: Include <libm-alias-double.h>.
30819 (fma): Define using libm_alias_double.
30820 * math/s_nextafter.c: Include <libm-alias-double.h>.
30821 (nextafter): Define using libm_alias_double.
30822 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30823 (acos): Define using libm_alias_double.
30824 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30825 (aocsh): Define using libm_alias_double.
30826 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30827 (asin): Define using libm_alias_double.
30828 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30829 (atan2): Define using libm_alias_double.
30830 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30831 (atanh): Define using libm_alias_double.
30832 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30833 (cosh): Define using libm_alias_double.
30834 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30835 (exp10): Define using libm_alias_double.
30836 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30837 (exp2): Define using libm_alias_double.
30838 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30839 (exp): Define using libm_alias_double.
30840 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30841 (fmod): Define using libm_alias_double.
30842 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30843 (hypot): Define using libm_alias_double.
30844 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30845 (j0): Define using libm_alias_double.
30847 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30848 (j1): Define using libm_alias_double.
30850 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30851 (jn): Define using libm_alias_double.
30853 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30854 (log10): Define using libm_alias_double.
30855 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30856 (log2): Define using libm_alias_double.
30857 * math/w_log_compat.c: Include <libm-alias-double.h>.
30858 (log): Define using libm_alias_double.
30859 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30860 (pow): Define using libm_alias_double.
30861 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30862 (remainder): Define using libm_alias_double.
30863 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30864 (sinh): Define using libm_alias_double.
30865 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30866 (sqrt): Define using libm_alias_double.
30867 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30868 (tgamma): Define using libm_alias_double.
30869 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30870 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30871 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30872 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30873 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30874 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30875 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30876 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30877 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30878 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30879 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30880 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30881 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30882 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30883 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30884 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30885 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30886 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30887 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30888 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30889 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30890 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30891 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30892 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30893 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30895 * math/e_acoshl.c: Remove.
30896 * math/e_acosl.c: Likewise.
30897 * math/e_asinl.c: Likewise.
30898 * math/e_atan2l.c: Likewise.
30899 * math/e_atanhl.c: Likewise.
30900 * math/e_coshl.c: Likewise.
30901 * math/e_expl.c: Likewise.
30902 * math/e_fmodl.c: Likewise.
30903 * math/e_gammal_r.c: Likewise.
30904 * math/e_hypotl.c: Likewise.
30905 * math/e_j0l.c: Likewise.
30906 * math/e_j1l.c: Likewise.
30907 * math/e_jnl.c: Likewise.
30908 * math/e_lgammal_r.c: Likewise.
30909 * math/e_log10l.c: Likewise.
30910 * math/e_log2l.c: Likewise.
30911 * math/e_logl.c: Likewise.
30912 * math/e_powl.c: Likewise.
30913 * math/e_rem_pio2l.c: Likewise.
30914 * math/e_sinhl.c: Likewise.
30915 * math/e_sqrtf128.c: Likewise.
30916 * math/e_sqrtl.c: Likewise.
30917 * math/k_cosl.c: Likewise.
30918 * math/k_sinl.c: Likewise.
30919 * math/k_tanl.c: Likewise.
30920 * math/s_asinhl.c: Likewise.
30921 * math/s_atanl.c: Likewise.
30922 * math/s_cbrtl.c: Likewise.
30923 * math/s_erfl.c: Likewise.
30924 * math/s_expm1l.c: Likewise.
30925 * math/s_log1pl.c: Likewise.
30926 * math/s_tanhl.c: Likewise.
30928 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30932 [$(subdir) = math] (sysdep_calls): New variable. Has the
30933 previous contents of sysdep_routines, but re-sorted..
30934 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30936 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30937 defined in sysdep_calls and replace by the respective m_* names.
30938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30939 (compat_symbol): Undefine to avoid duplicated compat symbols in
30942 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30944 * math/s_fmaf.c: Include <libm-alias-float.h>.
30945 (fmaf): Define using libm_alias_float.
30946 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30947 (acosf): Define using libm_alias_float.
30948 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30949 (acoshf): Define using libm_alias_float.
30950 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30951 (asinf): Define using libm_alias_float.
30952 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30953 (atan2f): Define using libm_alias_float.
30954 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30955 (atanhf): Define using libm_alias_float.
30956 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30957 (coshf): Define using libm_alias_float.
30958 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30959 (exp10f): Define using libm_alias_float.
30960 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30961 (fmodf): Define using libm_alias_float.
30962 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30963 (hypotf): Define using libm_alias_float.
30964 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30965 (j0f): Define using libm_alias_float.
30967 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30968 (j1f): Define using libm_alias_float.
30970 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30971 (jnf): Define using libm_alias_float.
30973 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30974 (log10f): Define using libm_alias_float.
30975 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30976 (log2f): Define using libm_alias_float.
30977 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30978 (logf): Define using libm_alias_float.
30979 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30980 (powf): Define using libm_alias_float.
30981 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30982 (remainderf): Define using libm_alias_float.
30983 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30984 (sinhf): Define using libm_alias_float.
30985 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30986 (sqrtf): Define using libm_alias_float.
30987 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30988 (tgammaf): Define using libm_alias_float.
30990 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30992 * include/math.h (roundeven): Change hidden_proto call to
30994 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30996 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30997 (y0): Rename to __y0 and define as weak alias.
30998 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30999 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31001 (y0f): Rename to __y0f and define as weak alias.
31002 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31004 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31005 (y1): Rename to __y1 and define as weak alias.
31006 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31007 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31009 (y1f): Rename to __y1f and define as weak alias.
31010 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31012 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31013 (yn): Rename to __yn and define as weak alias.
31014 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31015 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31017 (ynf): Rename to __ynf and define as weak alias.
31018 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31019 (fromfp): Define as weak alias.
31020 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31021 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31022 (fromfpx): Define as weak alias.
31023 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
31024 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
31025 __getpayload and define as weak alias.
31026 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31027 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
31028 __roundeven and define as weak alias.
31029 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31030 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
31032 (setpayload): Define as weak alias.
31033 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
31034 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
31036 (setpayloadsig): Define as weak alias.
31037 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
31038 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
31039 __totalorder and define as weak alias.
31040 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31041 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
31042 to __totalordermag and define as weak alias.
31043 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31044 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
31045 (ufromfp): Define as weak alias.
31046 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
31047 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
31049 (ufromfpx): Define as weak alias.
31050 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
31051 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
31052 Rename to __getpayload and define as weak alias.
31053 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31054 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
31055 Rename to __roundeven and define as weak alias.
31056 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31057 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
31058 Rename to __totalorder and define as weak alias.
31059 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31060 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
31061 (totalordermag): Rename to __totalordermag and define as weak
31063 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31064 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
31066 (__roundevenl): Likewise.
31067 (__totalorderl): Likewise.
31068 (__totalordermagl): Likewise
31069 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
31071 (fromfpf128): Define as weak alias.
31072 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
31074 (fromfpxf128): Define as weak alias.
31075 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
31077 (setpayloadf128): Define as weak alias.
31078 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
31079 __setpayloadsigf128.
31080 (setpayloadsigf128): Define as weak alias.
31081 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
31083 (ufromfpf128): Define as weak alias.
31084 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
31086 (ufromfpxf128): Define as weak alias.
31087 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
31088 (fromfpf): Define as weak alias.
31089 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
31091 (fromfpxf): Define as weak alias.
31092 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
31093 __getpayloadf and define as weak alias.
31094 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
31095 __roundevenf and define as weak alias.
31096 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31098 (setpayloadf): Define as weak alias.
31099 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31101 (setpayloadsigf): Define as weak alias.
31102 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31103 __totalorderf and define as weak alias.
31104 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31105 Rename to __totalordermagf and define as weak alias.
31106 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31108 (ufromfpf): Define as weak alias.
31109 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31111 (ufromfpxf): Define as weak alias.
31112 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31114 (fromfpl): Define as weak alias.
31115 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31117 (fromfpxl): Define as weak alias.
31118 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31119 to __getpayloadl and define as weak alias.
31120 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31121 __roundevenl and define as weak alias.
31122 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31124 (setpayloadl): Define as weak alias.
31125 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31127 (setpayloadsigl): Define as weak alias.
31128 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31129 to __totalorderl and define as weak alias.
31130 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31131 Rename to __totalordermagl and define as weak alias.
31132 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31134 (ufromfpl): Define as weak alias.
31135 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31137 (ufromfpxl): Define as weak alias.
31138 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31140 (fromfpl): Define as weak alias.
31141 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31143 (fromfpxl): Define as weak alias.
31144 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31145 Rename to __getpayloadl and define as weak alias.
31146 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31147 to __roundevenl and define as weak alias. Call __roundeven
31148 instead of roundeven.
31149 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31151 (setpayloadl): Define as weak alias.
31152 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31154 (setpayloadsigl): Define as weak alias.
31155 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31156 Rename to __totalorderl and define as weak alias.
31157 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31158 Rename to __totalordermagl and define as weak alias.
31159 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31161 (ufromfpl): Define as weak alias.
31162 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31164 (ufromfpxl): Define as weak alias.
31165 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31167 (fromfpl): Define as weak alias.
31168 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31170 (fromfpxl): Define as weak alias.
31171 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31172 __getpayloadl and define as weak alias.
31173 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31174 __roundevenl and define as weak alias.
31175 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31177 (setpayloadl): Define as weak alias.
31178 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31180 (setpayloadsigl): Define as weak alias.
31181 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31182 __totalorderl and define as weak alias.
31183 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31184 Rename to __totalordermagl and define as weak alias.
31185 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31187 (ufromfpl): Define as weak alias.
31188 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31190 (ufromfpxl): Define as weak alias.
31192 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31194 * benchtests/bench-string.h (realloc_bufs): New function.
31195 (test_init): Call it.
31196 * benchtests/bench-memset-large.c (do_test): Likewise.
31197 * benchtests/bench-memset.c (do_test): Likewise.
31199 * benchtests/bench-memset-large.c: Print output in JSON
31201 * benchtests/bench-memset.c: Likewise.
31203 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31206 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31207 * iconvdata/Makefile: Add IBM858.
31208 * iconvdata/gconv-modules: Likewise.
31209 * iconvdata/tst-tables.sh: Likewise.
31210 * iconvdata/ibm858.c: New file.
31211 * localedata/charmaps/IBM858: Likewise.
31213 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
31216 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31217 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31219 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31222 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31223 and add tel_int_fmt.
31225 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31227 * sysdeps/generic/libm-alias-float128.h: New file.
31228 * sysdeps/generic/math-type-macros-float128.h: Include
31229 <libm-alias-float128.h>.
31230 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31232 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31234 * sysdeps/generic/libm-alias-ldouble.h: New file.
31235 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31236 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31237 * sysdeps/generic/math-type-macros-ldouble.h: Include
31238 <libm-alias-ldouble.h>.
31239 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31240 libm_alias_ldouble.
31242 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31244 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31245 * math/w_exp_compat.c: ... here.
31246 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31247 * math/w_expf_compat.c: ... here.
31248 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31249 * math/w_expl_compat.c: ... here.
31250 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31251 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31252 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31253 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31255 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31257 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31259 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31261 (ldexpl): Only define as compat symbol for libc, not libm.
31262 (scalbnl): Define as compat symbol for libc here.
31263 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31264 define for [IS_IN (libc)].
31265 (__ldexpl_2): Remove alias.
31266 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31267 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31268 name in long_double_symbol call.
31269 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31270 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31271 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31272 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31273 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31275 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31276 Define as compat symbol.
31278 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31280 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31281 * sysdeps/unix/sysv/linux/alpha/Makefile
31282 [$(subdir) = csu] (sysdep_routines): Remove rule.
31284 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31286 * sysdeps/generic/libm-alias-double.h: New file.
31287 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31288 * sysdeps/generic/math-type-macros-double.h: Include
31289 <libm-alias-double.h>.
31290 [declare_mgen_alias] (declare_mgen_alias): Define to use
31292 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31293 (M_LIBM_NEED_COMPAT): Remove macro.
31294 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31295 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31296 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31298 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31299 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31300 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31301 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31302 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31303 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31304 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31305 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31306 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31307 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31308 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31309 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31310 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31311 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31312 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31313 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31314 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31315 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31316 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31317 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31318 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31319 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31320 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31321 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31322 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31323 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31324 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31325 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
31326 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31328 (declare_mgen_alias): New macro.
31329 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31330 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31332 (M_LIBM_NEED_COMPAT): Remove macro.
31333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31334 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31335 <first-versions.h>.
31336 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31337 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31339 2017-09-12 Joseph Myers <joseph@codesourcery.com>
31341 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
31342 (declare_mgen_alias_2): Remove.
31343 * sysdeps/generic/math-type-macros-double.h
31344 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
31346 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
31348 (ldexp): Define with declare_mgen_alias.
31349 (scalbn): Likewise.
31351 2017-09-12 Steve Ellcey <sellcey@cavium.com>
31353 * grp/initgroups.c: Include config.h.
31354 (DEFAULT_CONFIG): New macro.
31355 (internal_getgrouplist): Use DEFAULT_CONFIG.
31356 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31357 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
31358 (DEFAULT_DEFCONFIG): New macro.
31359 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
31360 * nss/grp-lookup.c: Include config.h
31361 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
31362 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
31363 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
31364 * manual/nss.texi: Update default values section.
31366 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
31369 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
31371 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
31372 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31373 Handle MathVec_Prefer_No_AVX512.
31374 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
31375 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
31378 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
31380 * posix/sched_primax.c (__sched_get_priority_max): Add
31382 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
31383 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31384 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31385 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
31386 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
31387 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
31388 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
31389 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
31392 2017-09-11 Joseph Myers <joseph@codesourcery.com>
31394 * sysdeps/generic/libm-alias-float.h: New file.
31395 * sysdeps/generic/math-type-macros-float.h: Include
31396 <libm-alias-float.h>.
31397 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31399 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
31402 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
31403 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
31404 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
31405 (HWCAP_IMPORTANT): Likewise.
31406 (HWCAP_X86_64): New enum.
31407 (HWCAP_X86_AVX512_1): Updated.
31408 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
31409 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
31410 (modules-names): Add x86_64/tst-x86_64mod-1.
31411 (LDFLAGS-tst-x86_64mod-1.so): New.
31412 ($(objpfx)tst-x86_64-1): Likewise.
31413 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
31414 (tst-x86_64-1-clean): Likewise.
31415 * sysdeps/x86_64/tst-x86_64-1.c: New file.
31416 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
31418 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31420 * po/sv.po: Update translations.
31421 * po/fr.po: Likewise.
31423 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31425 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
31427 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
31429 * elf/rtld-Rules: Fix $(error) use.
31431 2017-09-09 Mike FABIAN <mfabian@redhat.com>
31434 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
31435 * locale/iso-639.def: Change “Bengali” to “Bangla”.
31436 * localedata/locales/bn_BD: “Bengali” was still used in some
31437 comments. Change it to “Bangla”.
31439 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
31441 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
31443 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31445 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
31446 thunderx2t99p1 to list of cpu names.
31447 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31448 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
31450 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31452 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
31453 Use strcmp instead of tunable_is_name.
31455 2017-09-08 Joseph Myers <joseph@codesourcery.com>
31457 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31458 (F_GET_RW_HINT): New macro.
31459 [__USE_GNU] (F_SET_RW_HINT): Likewise.
31460 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
31461 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
31462 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
31463 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
31464 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
31465 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
31466 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
31467 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31469 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31470 (F_ADD_SEALS): New macro.
31471 [__USE_GNU] (F_GET_SEALS): Likewise.
31472 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31473 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31474 [__USE_GNU] (F_SEAL_GROW): Likewise.
31475 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31477 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31479 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31480 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31481 * posix/glob_internal.h (__glob_pattern_type):
31482 * posix/glob.c (glob):
31483 * posix/glob_pattern_p.c (__glob_pattern_p):
31486 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31487 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31488 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31489 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31490 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31492 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31493 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31494 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31495 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31496 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31497 * sysdeps/wordsize-64/glob.c: Likewise.
31498 * sysdeps/wordsize-64/glob64.c: Likewise.
31499 * sysdeps/wordsize-64/globfree.c: Likewise.
31500 * sysdeps/wordsize-64/globfree64.c: Likewise.
31501 * sysdeps/unix/sysv/linux/glob.c: New file.
31502 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31503 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31504 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31505 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31506 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31507 adds !GLOB_NO_OLD_VERSION as an extra condition.
31508 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31509 using relative path instead of absolute one.
31510 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31511 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31512 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31513 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31514 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31515 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31518 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31519 (glob): Use the same scratch buffer for both getlogin_r and
31520 getpwnam_r. Don’t require preallocation of the login name. This
31521 simplifies storage allocation, and corrects the handling of
31525 * posix/glob.c (glob): Port recent patches to platforms
31526 lacking getpwnam_r.
31527 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31528 returns an error number rather than setting errno.
31530 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31531 instead of GCC extension.
31532 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31533 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31534 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31538 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31539 * posix/bug-glob1.c: Remove file.
31540 * posix/tst-glob_symlinks.c: New file.
31541 * posix/glob.c (__lstat64): New macro.
31542 (is_dir): New function.
31543 (glob, glob_in_dir): Match symlinks even if they are dangling.
31544 (link_stat, link_exists_p): Remove. All uses removed.
31548 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31549 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31554 * posix/Makefile (routines): Add globfree, globfree64, and
31556 * posix/flexmember.h: New file.
31557 * posix/glob_internal.h: Likewise.
31558 * posix/glob_pattern_p.c: Likewise.
31559 * posix/globfree.c: Likewise.
31560 * posix/globfree64.c: Likewise.
31561 * sysdeps/gnu/globfree64.c: Likewise.
31562 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31563 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31564 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31565 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31566 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31567 * sysdeps/wordsize-64/globfree.c: Likewise.
31568 * sysdeps/wordsize-64/globfree64.c: Likewise.
31569 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31570 [NDEBUG): Remove comments.
31571 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31572 (dirent_type): New type. Use uint_fast8_t not
31573 uint8_t, as C99 does not require uint8_t.
31574 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31575 (struct readdir_result): Use dirent_type. Do not define skip_entry
31576 unless it is needed; this saves a byte on platforms lacking d_ino.
31577 (readdir_result_type, readdir_result_skip_entry):
31578 New functions, replacing ...
31579 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
31580 these functions, which were removed. This makes the callers
31581 easier to read. All callers changed.
31582 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31583 (size_add_wrapv, glob_use_alloca): New static functions.
31584 (glob, glob_in_dir): Check for size_t overflow in several places,
31585 and fix some size_t checks that were not quite right.
31586 Remove old code using SHELL since Bash no longer
31588 (glob, prefix_array): Separate MS code better.
31589 (glob_in_dir): Remove old Amiga and VMS code.
31590 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31592 (glob_in_dir): Do not rely on undefined behavior in accessing
31593 struct members beyond their bounds. Use a flexible array member
31595 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31596 0/1. Caller changed.
31597 (glob): Fix memory leaks.
31598 * posix/glob64 (globfree64): Move to separate file.
31599 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31600 (globfree64): Remove hidden alias.
31601 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31603 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31605 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31607 Move compat code to separate file.
31608 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31611 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31613 * resolv/tst-resolv-qtypes.c (domain): Changed to
31614 "const char domain[] =".
31616 2017-09-07 Joseph Myers <joseph@codesourcery.com>
31618 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31621 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31622 (TCP_MD5SIG_EXT): Likewise.
31623 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31624 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31625 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31627 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31629 2017-09-07 Mike FABIAN <mfabian@redhat.com>
31631 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31633 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
31636 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31638 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31640 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31641 before assuming that the file is empty. Avoid testing buffer content
31644 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31647 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31649 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31651 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31653 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31655 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31657 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31659 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31662 2017-09-06 Florian Weimer <fweimer@redhat.com>
31664 * malloc/dynarray_emplace_enlarge.c
31665 (__libc_dynarray_emplace_enlarge): Add missing else.
31667 2017-09-06 Florian Weimer <fweimer@redhat.com>
31670 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31671 case of failure to obtain the global conf object.
31673 2017-09-06 Florian Weimer <fweimer@redhat.com>
31676 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31677 dynarray allocation failure.
31679 2017-09-06 Florian Weimer <fweimer@redhat.com>
31681 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31682 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31683 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31685 (response): Call them. Add 'p', '6' flag processing.
31686 (test_reverse): New function.
31687 (test_get2_any): Call it.
31688 (test_no_inet6): Add 'p' test.
31689 (test_inet6): Likewise.
31691 2017-09-06 Florian Weimer <fweimer@redhat.com>
31693 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31694 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31696 (test_gai): Adjust query names. Add additional tests.
31697 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31698 test_get2. Adjust query names. Add additional tests.
31699 (test_no_inet6): New function, extracted from threadfunc.
31700 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31701 Add additional tests.
31703 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31706 * localedata/unicode-gen/utf8_gen.py: Set the width for
31707 characters with Prepended_Concatenation_Mark property to 1
31708 * localedata/charmaps/UTF-8: Updated using the improved script.
31710 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31713 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31714 use the range notation for all ranges of neighbouring characters
31715 with the same width.
31717 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31719 * sysdeps/generic/math-type-macros-double.h: Include
31720 <math-svid-compat.h>.
31721 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31722 * sysdeps/generic/math-type-macros-float.h: Include
31723 <math-svid-compat.h>.
31724 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31725 * sysdeps/generic/math-type-macros-ldouble.h: Include
31726 <math-svid-compat.h>.
31727 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31728 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31730 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31731 * math/w_acosf_compat.c: Likewise.
31732 * math/w_acosh_compat.c: Likewise.
31733 * math/w_acoshf_compat.c: Likewise.
31734 * math/w_acoshl_compat.c: Likewise.
31735 * math/w_acosl_compat.c: Likewise.
31736 * math/w_asin_compat.c: Likewise.
31737 * math/w_asinf_compat.c: Likewise.
31738 * math/w_asinl_compat.c: Likewise.
31739 * math/w_atan2_compat.c: Likewise.
31740 * math/w_atan2f_compat.c: Likewise.
31741 * math/w_atan2l_compat.c: Likewise.
31742 * math/w_atanh_compat.c: Likewise.
31743 * math/w_atanhf_compat.c: Likewise.
31744 * math/w_atanhl_compat.c: Likewise.
31745 * math/w_cosh_compat.c: Likewise.
31746 * math/w_coshf_compat.c: Likewise.
31747 * math/w_coshl_compat.c: Likewise.
31748 * math/w_exp10_compat.c: Likewise.
31749 * math/w_exp10f_compat.c: Likewise.
31750 * math/w_exp10l_compat.c: Likewise.
31751 * math/w_exp2_compat.c: Likewise.
31752 * math/w_exp2f_compat.c: Likewise.
31753 * math/w_exp2l_compat.c: Likewise.
31754 * math/w_fmod_compat.c: Likewise.
31755 * math/w_fmodf_compat.c: Likewise.
31756 * math/w_fmodl_compat.c: Likewise.
31757 * math/w_hypot_compat.c: Likewise.
31758 * math/w_hypotf_compat.c: Likewise.
31759 * math/w_hypotl_compat.c: Likewise.
31760 * math/w_j0_compat.c: Likewise.
31761 * math/w_j0f_compat.c: Likewise.
31762 * math/w_j0l_compat.c: Likewise.
31763 * math/w_j1_compat.c: Likewise.
31764 * math/w_j1f_compat.c: Likewise.
31765 * math/w_j1l_compat.c: Likewise.
31766 * math/w_jn_compat.c: Likewise.
31767 * math/w_jnf_compat.c: Likewise.
31768 * math/w_jnl_compat.c: Likewise.
31769 * math/w_lgamma_r_compat.c: Likewise.
31770 * math/w_lgammaf_r_compat.c: Likewise.
31771 * math/w_lgammal_r_compat.c: Likewise.
31772 * math/w_log10_compat.c: Likewise.
31773 * math/w_log10f_compat.c: Likewise.
31774 * math/w_log10l_compat.c: Likewise.
31775 * math/w_log2_compat.c: Likewise.
31776 * math/w_log2f_compat.c: Likewise.
31777 * math/w_log2l_compat.c: Likewise.
31778 * math/w_log_compat.c: Likewise.
31779 * math/w_logf_compat.c: Likewise.
31780 * math/w_logl_compat.c: Likewise.
31781 * math/w_pow_compat.c: Likewise.
31782 * math/w_powf_compat.c: Likewise.
31783 * math/w_powl_compat.c: Likewise.
31784 * math/w_remainder_compat.c: Likewise.
31785 * math/w_remainderf_compat.c: Likewise.
31786 * math/w_remainderl_compat.c: Likewise.
31787 * math/w_sinh_compat.c: Likewise.
31788 * math/w_sinhf_compat.c: Likewise.
31789 * math/w_sinhl_compat.c: Likewise.
31790 * math/w_sqrt_compat.c: Likewise.
31791 * math/w_sqrtf_compat.c: Likewise.
31792 * math/w_sqrtl_compat.c: Likewise.
31793 * math/w_tgamma_compat.c: Likewise.
31794 * math/w_tgammaf_compat.c: Likewise.
31795 * math/w_tgammal_compat.c: Likewise.
31796 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31797 [LIBM_SVID_COMPAT].
31798 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31799 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31800 [LIBM_SVID_COMPAT].
31801 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31802 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31803 [LIBM_SVID_COMPAT].
31804 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31805 * sysdeps/i386/fpu/w_sqrt.c: New file.
31806 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31807 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31808 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31809 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31810 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31811 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31812 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31813 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31814 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31815 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31816 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31817 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31818 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31819 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31820 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31821 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31822 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31823 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31824 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31825 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31826 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31827 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31828 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31829 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31830 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31831 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31832 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31833 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31834 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31835 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31836 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31837 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31838 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31839 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31840 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31841 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31842 * sysdeps/ia64/fpu/w_log.c: Likewise.
31843 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31844 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31845 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31846 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31847 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31848 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31849 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31850 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31851 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31852 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31853 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31854 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31855 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31856 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31857 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31858 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31859 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31860 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31861 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31862 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31863 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31864 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31865 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31866 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31867 [LIBM_SVID_COMPAT].
31868 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31869 * sysdeps/ieee754/k_standard.c: Likewise.
31870 * sysdeps/ieee754/k_standardf.c: Likewise.
31871 * sysdeps/ieee754/k_standardl.c: Likewise.
31872 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31873 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31874 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31875 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31876 long_double_symbol call on [LIBM_SVID_COMPAT].
31877 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31878 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31879 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31880 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31881 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31882 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31883 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31884 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31885 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31886 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31887 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31888 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31889 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31890 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31891 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31892 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31893 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31894 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31895 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31896 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31897 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31898 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31900 2017-09-05 Steve Ellcey <sellcey@cavium.com>
31902 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31903 * malloc/tst-mallocstate.c: Convert from test-skeleton
31904 to test-driver. Ifdef code using TEST_COMPAT macro.
31905 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31906 * math/test-matherr.c: Likewise.
31908 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31911 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31912 comparing word with byte-swapped constant.
31914 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
31917 * locale/iso-639.def: add Miskito.
31918 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31919 * localedata/locales/miq_NI: New file.
31921 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31924 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31925 (__mkdir): Likewise.
31926 * io/chmod.c (__chmod): Add libc_hidden_def.
31927 * io/mkdir.c (__mkdir): Likewise.
31928 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31929 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31930 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31931 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31933 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31935 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31939 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31940 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31942 2017-09-04 Florian Weimer <fweimer@redhat.com>
31944 * math/math.h: Issue warning if log is defined.
31946 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31948 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31949 kernel version to 4.13.
31951 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31953 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
31954 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31956 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31957 just <bits/types.h>.
31958 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
31959 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
31960 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
31961 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
31962 * misc/preadv2.c: Include <errno.h>.
31963 * misc/preadv64v2.c: Include <errno.h>.
31964 * misc/pwritev2.c: Include <errno.h>.
31965 * misc/pwritev64v2.c: Include <errno.h>.
31966 * sysdeps/posix/preadv2.c: Include <errno.h>.
31967 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31968 Fix <unistd.h> inclusion.
31969 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31970 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
31971 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31972 __strtoul_internal): New functions.
31973 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31974 * sysdeps/posix/system.c: Include <sigsetops.h>.
31975 * sysdeps/mach/hurd/i386/Makefile
31976 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31977 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31978 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
31979 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31980 __feraiseexcept_renamed to feraiseexcept instead of
31981 __GI_feraiseexcept.
31982 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
31983 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
31984 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31985 RWF_NOWAIT): Define to 0 if undefined already.
31986 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31988 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31989 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
31991 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31993 * manual/math.texi (pow10): Do not document.
31994 (pow10f): Likewise.
31995 (pow10l): Likewise.
31996 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31997 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31998 * math/libm-test-exp10.inc (pow10_test): Remove.
31999 (do_test): Do not call pow10.
32000 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32001 [NO_LONG_DOUBLE] (pow10l): Likewise.
32002 * math/w_exp10f_compat.c (pow10f): Likewise.
32003 * math/w_exp10l_compat.c (pow10l): Likewise.
32004 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32005 (pow10): Make into compat symbol.
32006 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32007 (pow10f): Make into compat symbol.
32008 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32009 (pow10l): Make into compat symbol.
32010 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32012 (CFLAGS-nldbl-pow10.c): Remove variable..
32013 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32014 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32015 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32016 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32017 Undefine and redefine.
32018 (pow10l): Make into compat symbol.
32019 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32020 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32021 * sysdeps/arm/libm-test-ulps: Likewise.
32022 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
32023 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32024 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
32025 * sysdeps/microblaze/libm-test-ulps: Likewise.
32026 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32027 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32028 * sysdeps/nios2/libm-test-ulps: Likewise.
32029 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32030 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32031 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32032 * sysdeps/sh/libm-test-ulps: Likewise.
32033 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32034 * sysdeps/tile/libm-test-ulps: Likewise.
32035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32037 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32039 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
32041 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32043 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
32044 "../ChangeLog.old/ChangeLog.8".
32045 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
32046 "../ChangeLog.old/ChangeLog.14".
32048 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32050 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
32053 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32055 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
32057 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32059 * csu/version.c (banner): Remove "by Roland McGrath et al.".
32060 * nptl/Banner: Remove "by Ulrich Drepper et al.".
32062 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32064 * stdlib/tst-atexit-common.c (do_test): Test support for at least
32065 32 atexit handlers.
32067 2017-09-01 Zack Weinberg <zackw@panix.com>
32069 * math/math.h (HUGE_VAL): Improve commentary.
32071 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32072 Andreas Schwab <schwab@suse.de>
32075 * include/stdio.h (__gen_tempfd): New function.
32076 * stdio-common/Makefile (routines): Add gentempfd.
32077 * stdio-common/gentempfd.c: New file.
32078 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
32079 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
32080 unnamed file first.
32082 2017-09-01 Florian Weimer <fweimer@redhat.com>
32086 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
32087 result to determine success or failure, not the errno value.
32088 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
32089 (tst-nss-files-hosts-erange): Link with -ldl.
32090 * nss/tst-nss-files-hosts-erange.c: New file.
32091 * nss/tst-resolv-basic.c (response): Handle nodata.example.
32092 (do_test): Add NO_DATA tests.
32093 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
32094 (do_test): Call it.
32096 2017-09-01 Florian Weimer <fweimer@redhat.com>
32099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32100 coming from gethostbyname2_r.
32102 2017-09-01 Florian Weimer <fweimer@redhat.com>
32104 * support/namespace.h (struct support_chroot_configuration): Add
32106 (struct support_chroot): Add path_hosts, path_host_conf.
32107 * support/support_chroot.c (write_file): New function.
32108 (support_chroot_create): Call it to process /etc/resolv.conf,
32109 /etc/hosts, /etc/host.conf.
32110 (support_chroot_free): Update.
32112 2017-09-01 Florian Weimer <fweimer@redhat.com>
32114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32115 status indicates it is set.
32117 2017-09-01 Florian Weimer <fweimer@redhat.com>
32120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32121 function lookup failures more reliable.
32123 2017-09-01 Florian Weimer <fweimer@redhat.com>
32125 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32126 (getcanonname): Likewise.
32127 (gaih_inet): Likewise.
32129 2017-09-01 Florian Weimer <fweimer@redhat.com>
32131 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32132 (getcanonname): Likewise.
32133 (gaih_inet): Likewise.
32135 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32136 Richard Henderson <rth@twiddle.net>
32138 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32139 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32140 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32141 (IREG_SIZE, OREG_SIZE): New macros.
32142 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32143 (IREG_SIZE, OREG_SIZE): New macros.
32144 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32145 (IREG_SIZE): New macro.
32146 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32147 (IREG_SIZE): New macro.
32148 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32150 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32151 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32152 (__CONCATX): Handle exceptions correctly on large values that may
32154 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32155 Initialize if not already set.
32156 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32158 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32160 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32161 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32163 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32165 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32167 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32169 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32171 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32173 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32175 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32176 (NO_CANCELLATION): Likewise.
32177 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32179 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32181 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32183 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32184 (NO_CANCELLATION): Likewise.
32185 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32186 (NO_CANCELLATION): Likewise.
32187 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32189 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32191 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32193 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32195 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32197 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32198 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32200 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32202 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32205 2017-08-31 Florian Weimer <fweimer@redhat.com>
32207 * include/libc-symbols.h (internal_function): Remove.
32209 2017-08-31 Florian Weimer <fweimer@redhat.com>
32211 * stdlib/fmtmsg.c (internal_addseverity): Remove
32214 2017-08-31 Florian Weimer <fweimer@redhat.com>
32216 * stdio-common/printf_fp.c (group_number): Remove
32218 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32220 2017-08-31 Florian Weimer <fweimer@redhat.com>
32222 * posix/fnmatch.c (internal_function): Remove definition.
32223 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32224 * posix/regcomp.c (peek_token, init_word_char)
32225 (duplicate_node_closure, fetch_token, peek_token)
32226 (peek_token_bracket, build_range_exp, build_collating_symbol):
32228 * posix/regex_internal.c (re_string_construct_common)
32229 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32230 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32231 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32232 (re_string_translate_buffer, re_string_reconstruct)
32233 (re_string_peek_byte_case, re_string_fetch_byte_case)
32234 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32235 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32236 (re_node_set_add_intersect, re_node_set_init_union)
32237 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32238 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32239 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32240 (re_acquire_state_context): Likewise.
32241 * posix/regex_internal.h (internal_function): Remove definition.
32242 (re_string_realloc_buffers, build_wcs_buffer)
32243 (build_wcs_upper_buffer, build_upper_buffer)
32244 (re_string_translate_buffer, re_string_context_at)
32245 (re_string_char_size_at, re_string_wchar_at)
32246 (re_string_elem_size_at): Likewise.
32247 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32248 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32249 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32250 (re_search_internal, re_search_2_stub, re_search_stub)
32251 (re_copy_regs, prune_impossible_nodes, check_matching)
32252 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32253 (free_fail_stack_return, sift_states_iter_mb)
32254 (sift_states_backward, build_sifted_states)
32255 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32256 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32257 (check_subexp_limits, sift_states_bkref, merge_state_array)
32258 (find_recover_state, transit_state, merge_state_with_log)
32259 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32260 (transit_state_mb, transit_state_bkref, get_subexp)
32261 (get_subexp_sub, find_subexp_node, check_arrival)
32262 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32263 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32264 (check_node_accept_bytes, find_collation_sequence_value)
32265 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32266 (acquire_init_state_context, check_halt_node_context)
32267 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32268 (sub_epsilon_src_nodes): Likewise.
32269 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32270 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32271 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32272 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32273 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32274 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32275 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32276 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32277 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32278 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32279 (PREADV): Likewise.
32280 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32281 (PREADV): Likewise.
32282 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32283 (PWRITEV): Likewise.
32284 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32285 (PWRITEV): Likewise.
32286 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32287 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32289 2017-08-31 Florian Weimer <fweimer@redhat.com>
32291 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32292 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32293 Remove internal_function.
32294 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32295 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32296 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32297 (__deallocate_stack, __libc_pthread_init)
32298 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32299 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32300 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32302 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32303 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32304 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32306 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32307 (__pthread_mutex_unlock_usercnt): Likewise.
32309 2017-08-31 Florian Weimer <fweimer@redhat.com>
32311 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32312 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
32313 (fts_safe_changedir): Remove internal_function.
32314 * io/ftw.c (internal_function): Remove definition.
32315 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
32317 2017-08-31 Florian Weimer <fweimer@redhat.com>
32319 * inet/deadline.c (__deadline_current_time)
32320 (__deadline_from_timeval, __deadline_to_ms): Remove
32322 * inet/getnameinfo.c (nrl_domainname): Likewise.
32323 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
32324 * inet/inet6_option.c (add_pad): Likewise.
32325 * inet/net-internal.h (__deadline_current_time)
32326 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32327 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32328 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32329 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32331 2017-08-31 Joseph Myers <joseph@codesourcery.com>
32333 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32334 include <bits/nan.h>.
32335 * math/Makefile (headers): Remove bits/nan.h.
32336 * bits/nan.h: Remove.
32337 * sysdeps/ieee754/bits/nan.h: Likewise.
32338 * sysdeps/mips/bits/nan.h: Likewise.
32340 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
32341 not include <bits/inf.h>.
32342 * math/Makefile (headers): Remove bits/inf.h.
32343 * bits/inf.h: Remove.
32344 * sysdeps/ieee754/bits/inf.h: Likewise.
32346 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
32347 bits/huge_vall.h or bits/huge_val_flt128.h.
32348 (HUGE_VAL): Define directly here.
32349 [__USE_ISOC99] (HUGE_VALF): Likewise.
32350 [__USE_ISOC99] (HUGE_VALL): Likewise.
32351 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32352 (HUGE_VAL_F128): Likewise.
32353 * math/Makefile (headers): Remove bits/huge_val.h,
32354 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
32355 * bits/huge_val.h: Remove.
32356 * bits/huge_val_flt128.h: Likewise.
32357 * bits/huge_valf.h: Likewise.
32358 * bits/huge_vall.h: Likewise.
32359 * sysdeps/ia64/bits/huge_vall.h: Likewise.
32360 * sysdeps/ieee754/bits/huge_val.h: Likewise.
32361 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
32362 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
32363 * sysdeps/sh/bits/huge_val.h: Likewise.
32364 * sysdeps/sparc/bits/huge_vall.h: Likewise.
32365 * sysdeps/x86/bits/huge_vall.h: Likewise.
32367 2017-08-31 Florian Weimer <fweimer@redhat.com>
32369 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
32371 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
32373 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
32374 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32375 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
32376 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
32377 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32378 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32379 * elf/dl-libc.c (dlerror_run): Likewise.
32380 * elf/dl-load.c (add_name_to_object, decompose_rpath)
32381 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
32382 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
32383 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
32385 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
32386 (_dl_higher_prime_number, _dl_strtoul): Likewise.
32387 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
32388 * elf/dl-profile.c (_dl_start_profile): Likewise.
32389 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
32390 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
32392 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
32393 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
32394 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
32395 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
32396 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
32397 (_dl_allocate_tls_storage): Likewise.
32398 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
32399 (_dl_check_all_versions): Likewise.
32400 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
32401 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
32402 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
32403 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32404 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
32405 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
32406 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
32407 internal_function from __dl_start.
32408 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
32409 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
32410 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
32411 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
32412 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
32413 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
32414 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
32415 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
32416 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
32417 (_dl_next_ld_env_entry, _dl_important_hwcaps)
32418 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
32419 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
32420 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
32421 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
32422 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
32424 (struct rtld_global_ro): Remove internal_function from the
32425 _dl_lookup_symbol_x member.
32426 (_dl_symbol_value): Remove. No longer defined anywhere.
32427 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
32429 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32430 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32431 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
32432 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
32433 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
32434 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
32435 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
32436 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
32437 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
32438 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
32439 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32440 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32442 2017-08-31 Florian Weimer <fweimer@redhat.com>
32444 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
32445 Remove internal_function.
32446 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32448 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32451 2017-08-31 Florian Weimer <fweimer@redhat.com>
32453 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
32454 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
32455 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
32457 2017-08-31 Florian Weimer <fweimer@redhat.com>
32459 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
32460 (__gai_enqueue_request): Remove internal_function.
32461 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
32462 (__gai_remove_request, __gai_notify, __gai_notify_only)
32463 (__gai_sigqueue): Likewise.
32464 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
32465 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
32466 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
32467 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32470 2017-08-31 Florian Weimer <fweimer@redhat.com>
32472 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32473 * include/dirent.h (__opendirat, __getdents, __getdents64)
32474 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32475 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32476 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32477 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32479 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32481 2017-08-31 Florian Weimer <fweimer@redhat.com>
32483 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32485 (GETCWD_RETURN_TYPE): Likewise.
32487 2017-08-31 Florian Weimer <fweimer@redhat.com>
32489 * include/time.h (__tz_compute, __strptime_internal): Remove
32491 * time/strptime_l.c (__strptime_internal): Likewise.
32492 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32494 2017-08-31 Florian Weimer <fweimer@redhat.com>
32496 * iconv/gconv.c (__gconv): Remove internal_function.
32497 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32498 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32499 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32500 (__gconv_release_cache): Likewise.
32501 * iconv/gconv_close.c (__gconv_close): Likewise.
32502 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32503 (read_conf_file, __gconv_get_path): Likewise.
32504 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32505 (__gconv_release_step, gen_steps, increment_counter)
32506 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32507 (__gconv_close_transform, free_modules_db): Likewise.
32508 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32510 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32511 (__gconv_find_transform, __gconv_lookup_cache)
32512 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32513 (__gconv_close_transform, __gconv_release_cache)
32514 (__gconv_loaded_object, __gconv_release_shlib)
32515 (__gconv_compare_alias): Likewise.
32516 * iconv/gconv_open.c (__gconv_open): Likewise.
32517 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32518 * iconv/iconvconfig.c (add_module): Likewise.
32519 * intl/dcigettext.c (plural_lookup, guess_category_value)
32520 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32521 * intl/eval-plural.h (plural_eval): Likewise.
32522 * intl/finddomain.c (_nl_find_domain): Likewise.
32523 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32524 (_nl_load_domain, _nl_find_msg): Likewise.
32525 (internal_function): Remove definition.
32526 * intl/loadinfo.h (internal_function): Likewise.
32527 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32529 * intl/localealias.c (internal_function): Remove definition.
32530 (read_alias_file): Remove internal_function.
32531 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32532 * intl/plural-exp.h (internal_function): Remove definition.
32533 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32535 * intl/plural.c: Regenerate.
32536 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32537 * locale/coll-lookup.c (__collidx_table_lookup)
32538 (__collseq_table_lookup): Likewise.
32539 * locale/coll-lookup.h (__collidx_table_lookup)
32540 (__collseq_table_lookup): Likewise.
32541 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32542 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32543 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32544 (_nl_unload_locale): Likewise.
32545 * locale/localeinfo.h (struct __locale_data): Remove
32546 internal_function from cleanup member.
32547 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32548 (_nl_remove_locale, _nl_load_locale_from_archive)
32549 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32550 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32551 (_nl_cleanup_time): Remove internal_function.
32552 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32553 (_nl_parse_alt_digit): Likewise.
32554 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32555 (_nl_select_era_entry): Likewise.
32556 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32557 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32558 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32559 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32560 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32562 2017-08-31 Florian Weimer <fweimer@redhat.com>
32564 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32565 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32566 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32567 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32569 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32570 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32571 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32572 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32574 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32576 2017-08-31 Florian Weimer <fweimer@redhat.com>
32578 * misc/getttyent.c (skip, value): Remove internal_function.
32579 * misc/syslog.c (openlog_internal): Likewise.
32580 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32582 2017-08-31 Florian Weimer <fweimer@redhat.com>
32584 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32585 (__nss_rewrite_field): Remove internal_function.
32586 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32587 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32588 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32589 * nss/nsswitch.c (nss_parse_file, nss_getline)
32590 (nss_parse_service_list, nss_new_service): Likewise.
32591 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32592 * nss/valid_field.c (__nss_valid_field): Likewise.
32593 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32595 2017-08-31 Florian Weimer <fweimer@redhat.com>
32597 * malloc/arena.c (__malloc_fork_lock_parent)
32598 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32599 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32600 internal_function from defintions.
32601 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32602 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32603 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32604 internal_function from declarations.
32605 * malloc/malloc.c (internal_function): Do not define.
32606 (mem2mem_check): Remove internal_function from declaration.
32607 (munmap_chunk, mremap_chunk): Remove internal_function.
32608 * malloc/mtrace.c (tr_where): Likewise.
32610 2017-08-31 Florian Weimer <fweimer@redhat.com>
32612 * include/rpc/pmap_clnt.h (__get_socket): Remove
32614 * sunrpc/auth_des.c (synchronize): Likewise.
32615 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32616 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32617 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32618 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32619 (key_call): Likewise.
32620 * sunrpc/pm_getport.c (__get_socket): Likewise.
32621 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32622 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32623 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32624 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32625 (invalidate): Likewise.
32626 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32627 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32628 (set_input_fragment, get_input_bytes): Likewise.
32630 2017-08-31 Florian Weimer <fweimer@redhat.com>
32632 * malloc/malloc.c (_int_free): Remove locked variable and related
32635 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32638 * Makerules (build-module-helper-objlist): Filter out
32639 $(elf-objpfx)sofini.os.
32640 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32643 2017-08-31 Florian Weimer <fweimer@redhat.com>
32645 * libio/fcloseall.c: Assume weak_alias is defined.
32646 * libio/feof.c: Likewise.
32647 * libio/fileno.c: Likewise.
32648 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32649 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32651 (_IO_file_open): Call __open directly.
32652 (_IO_new_file_sync): Assume ESPIPE is defined.
32653 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32654 (_IO_new_file_write): Call __write directly.
32655 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32656 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32657 * libio/genops.c: Assume _LIBC is defined.
32658 (save_for_backup): Remove internal_function.
32659 * libio/getc.c: Assume weak_alias is defined.
32660 * libio/getwc.c: Likewise.
32661 * libio/iofclose.c: Assume _LIBC is defined.
32662 * libio/iofdopen.c: Likewise.
32663 (_IO_fcntl): Remove macro definition.
32664 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32665 Call __fcntl directly.
32666 * libio/iofflush.c: Assume weak_alias is defined.
32667 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32669 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32670 * libio/iofgets.c: Likewise.
32671 * libio/iofopen.c: Assume _LIBC is defined.
32672 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32673 * libio/iofputs.c: Assume weak_alias is defined.
32674 * libio/iofread.c: Likewise.
32675 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32676 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32677 * libio/ioftell.c: Assume weak_alias is defined.
32678 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32679 * libio/iofwide.c: Assume _LIBC is defined.
32680 (_IO_fwide): Drop SHARED conditional because it is implied by
32682 * libio/iofwrite.c: Assume weak_alias is defined.
32683 * libio/iogetdelim.c: Likewise.
32684 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32685 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32686 (_IO_getwline): Call __wmemcpy directly.
32687 * libio/iopopen.c: Assume _LIBC is defined.
32688 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32689 (_IO_close): Remove macro definitions.
32690 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32692 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32694 * libio/ioputs.c: Assume weak_alias is defined.
32695 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32696 * libio/iosetbuffer.c: Assume weak_alias is defined.
32697 * libio/iosetvbuf.c: Likewise.
32698 * libio/ioungetc.c: Likewise.
32699 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32700 libc_hidden_def, libc_hidden_weak, NULL are defined.
32701 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32702 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32704 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32706 (_IO_old_file_init_internal): Drop SHARED conditional because it
32707 is implied by SHLIB_COMPAT.
32708 (_IO_old_file_fopen): Call __open directly.
32709 (_IO_old_file_sync): Assume ESPIPE is defined.
32710 (_IO_old_file_write): Call __write directly.
32711 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32712 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32713 Call __fcntl directly.
32714 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32715 (_IO_old_fgetpos): Assume EIO is defined.
32716 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32717 (_IO_old_fgetpos64): Assume EIO is defined.
32718 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32719 (_IO_old_fsetpos): Assume EIO is defined.
32720 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32721 (_IO_old_fsetpos64): Assume EIO is defined.
32722 * libio/oldiopopen.c: Assume _LIBC is defined.
32723 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32724 (_IO_close): Remove macro definitions.
32725 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32727 (_IO_old_proc_close): Call __close, __waitpid directly.
32728 * libio/put.c: Assume weak_alias is defined.
32729 * libio/stdfiles.c: Assume _LIBC is defined.
32730 * libio/stdio.c: Likewise.
32731 * libio/wfileops.c: Likewise.
32732 (_IO_wfile_sync): Assume ESPIPE is defined.
32733 * libio/wgenops.c: Assume _LIBC is defined.
32734 (save_for_wbackup): Remove internal_function.
32736 2017-08-31 Florian Weimer <fweimer@redhat.com>
32738 * malloc/malloc.c (top_check): Change return type to void. Remove
32740 * malloc/hooks.c (top_check): Likewise.
32741 (malloc_check, realloc_check, memalign_check): Adjust.
32743 2017-08-30 Joseph Myers <joseph@codesourcery.com>
32746 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32747 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32748 sigcontext and namespace requirements.
32749 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32750 * sysdeps/m68k/sys/ucontext.h: Likewise.
32751 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32752 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32753 <bits/sigcontext.h>.
32754 (__ctx): Define earlier.
32755 (mcontext_t): Define structure contents rather than using struct
32757 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32758 __glibc_reserved1 instead of __reserved.
32759 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32760 <bits/sigcontext.h>.
32761 (__ctx): Define earlier.
32762 (mcontext_t): Define structure contents rather than using struct
32764 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32765 mcontext_t instead of struct sigcontext.
32766 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32767 <bits/sigcontext.h>.
32768 (__ctx): Define earlier.
32769 (mcontext_t): Define structure contents rather than using struct
32771 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32772 <bits/sigcontext.h>.
32773 (__ctx): Define earlier.
32774 (mcontext_t): Define structure contents rather than using struct
32776 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32777 mcontext_t instead of struct sigcontext.
32778 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32779 mcontext_t instead of struct sigcontext.
32780 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32781 <bits/sigcontext.h>.
32782 (__ctx): New macro.
32783 (struct __ia64_fpreg_mcontext): New type.
32784 (mcontext_t): Define structure contents rather than using struct
32786 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32787 (uc_sigmask): Define using __ctx.
32788 (uc_stack): Likewise.
32789 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32790 <bits/sigcontext.h>.
32791 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32792 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32793 <bits/sigcontext.h>.
32794 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32795 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32796 <bits/sigcontext.h>.
32797 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32798 <bits/sigcontext.h>.
32799 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32800 <bits/sigcontext.h>.
32801 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32802 <bits/sigcontext.h>.
32803 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32804 <bits/sigcontext.h>.
32805 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32806 <bits/sigcontext.h>.
32807 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32808 <bits/sigcontext.h>.
32809 (__ctx): Define earlier.
32810 (mcontext_t): Define structure contents rather than using struct
32812 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32813 <bits/sigcontext.h>. Include <bits/types.h>.
32814 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32815 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32816 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32817 (test-xfail-UNIX98/signal.h/conform): Likewise.
32818 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32819 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32820 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32821 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32822 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32823 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32824 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32825 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32826 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32828 2017-08-30 Florian Weimer <fweimer@redhat.com>
32830 * malloc/dynarray_emplace_enlarge.c
32831 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32832 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32833 * malloc/tst-dynarray.c (test_long_overflow): New function.
32834 (do_test): Call it.
32836 2017-08-30 Florian Weimer <fweimer@redhat.com>
32838 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32839 (set_arena_corrupt): Remove definitions.
32840 (mtrim): Do not check for corrupt arena.
32841 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32844 2017-08-30 Florian Weimer <fweimer@redhat.com>
32847 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32849 (ptmalloc_init): Do not set or use check_action.
32850 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32851 call to malloc_printerr. Remove return statement.
32852 (free_check): Likewise. Remove arena unlock.
32853 (top_check): Update comment. Adjust call to malloc_printerr.
32854 Remove heap repair code.
32855 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32856 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32857 (sysmalloc): Adjust call to malloc_printerr.
32858 (munmap_chunk, __libc_realloc): Likewise. Remove return
32860 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32861 Remove errout label and corresponding gotos.
32862 (_int_free): Likewise. Remove arena unlock.
32863 (do_set_mallopt_check): Do not set check_action.
32864 (malloc_printerr): Adjust parameter list. Do not mark arena as
32866 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32868 * manual/probes.texi (Memory Allocation Probes): Remove
32869 memory_mallopt_check_action.
32871 2017-08-30 Steve Ellcey <sellcey@cavium.com>
32873 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32874 Use pointer to uint64_t instead of long int for sp.
32876 2017-08-30 Florian Weimer <fweimer@redhat.com>
32879 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32880 without printing a backtrace. Do not leak any information in the
32882 * manual/memory.texi (Heap Consistency Checking): Update.
32883 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32885 2017-08-30 Florian Weimer <fweimer@redhat.com>
32887 Do not scale NPTL tests with available number of CPUs.
32888 * nptl/tst-cond16.c (count): Set to constant value of 8.
32889 * nptl/tst-cond18.c (count): Likewise.
32891 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32894 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32895 Define to take a second argument that is a macro that
32896 concatentates a suffix, not the suffix itself.
32897 (__CONCAT_d): New macro.
32898 (__CONCAT_f): Likewise.
32899 (__CONCAT_l): Likewise.
32901 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32903 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32906 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32907 Aurelien Jarno <aurelien@aurel32.net>
32908 Maciej W. Rozycki <macro@imgtec.com>
32911 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32912 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32913 `mips16-syscall6' and `mips16-syscall7'.
32914 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32915 (CFLAGS-mips16-syscall7.c): Remove.
32916 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32917 Remove `__mips16_syscall5', `__mips16_syscall6' and
32918 `__mips16_syscall7'.
32919 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32920 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32921 `__mips_syscall_return'.
32922 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32923 (__mips16_syscall1): Likewise.
32924 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32925 (__mips16_syscall2): Likewise.
32926 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32927 (__mips16_syscall3): Likewise.
32928 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32929 (__mips16_syscall4): Likewise.
32930 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32932 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32934 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32936 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32937 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32938 `__mips16_syscall5'. Remove prototype.
32939 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32940 `__mips16_syscall6'. Remove prototype.
32941 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32942 `__mips16_syscall7'. Remove prototype.
32943 (__nomips16, __mips16_syscall_return): Move to...
32944 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32945 (__nomips16, __mips_syscall_return): ... here.
32946 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32947 `__mips16_syscall_return' to `__mips_syscall_return'.
32948 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32949 `internal_syscall##nr'.
32950 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32951 `internal_syscall##nr'.
32952 (FORCE_FRAME_POINTER): Remove.
32953 (__mips_syscall5): New prototype.
32954 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32955 (__mips_syscall6): New prototype.
32956 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32957 (__mips_syscall7): New prototype.
32958 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32959 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32960 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32961 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32962 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32963 (sysdep_routines): Add libc-do-syscall.
32964 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32965 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32967 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32970 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32971 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32972 (advise_stack_range): New function.
32973 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32974 stack non required to advise_stack_range at allocatestack.c
32976 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32978 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32980 2017-08-29 Florian Weimer <fweimer@redhat.com>
32983 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32984 __end_fct. Mangle __end_fct after setting it to NULL.
32985 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32986 (modules-names, modules-names-tests): Add
32987 tst-gconv-init-failure-mod.
32988 (gconv-modules): New target.
32989 (tst-gconv-init-failure-mod.so): Link against libsupport.
32990 (tst-gconv-init-failure): Depend on gconv-modules,
32991 tst-gconv-init-failure-mod.so.
32992 * iconv/tst-gconv-init-failure-mod.c: New file.
32993 * iconv/tst-gconv-init-failure.c: Likewise.
32994 * iconv/test-gconv-modules: Likewise.
32996 2017-08-29 Florian Weimer <fweimer@redhat.com>
32999 * iconv/gconv_db.c (free_derivation): Remove redundant
33001 (gen_steps): Unconditionally mangle __btowc_fct after
33003 (increment_counter): Likewise. Do not call init_fct for internal
33006 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33009 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33010 (_MSUF_): Remove macro.
33011 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33013 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33014 (__REDIRFROM_X): New macro.
33015 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33017 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33018 (__REDIRTO_X): Likewise.
33019 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33021 (__MATH_REDIRCALL_2): Likewise.
33022 (__MATH_REDIRCALL_INTERNAL): Likewise.
33023 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33024 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
33025 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
33026 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33027 * math/test-finite-macros.c: New file.
33028 * math/Makefile (tests): Add test-finite-macros.
33029 (CFLAGS-test-finite-macros.c): New variable.
33031 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
33032 Jeff Law <law@redhat.com>
33035 Mangle NULL pointers in iconv/gconv.
33036 * iconv/gconv_cache.c (find_module): Demangle init_fct before
33037 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
33038 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
33039 is non-NULL before demangling the end_fct. Check for NULL
33040 end_fct after demangling.
33041 (__gconv_release_step): Demangle the end_fct before checking
33042 it for NULL. Remove assert on __shlibc_handle != NULL.
33043 (gen_steps): Don't check btowc_fct for NULL before mangling.
33044 Demangle init_fct before checking for NULL.
33045 (increment_counter): Likewise.
33046 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
33047 end_fct for NULL before mangling.
33048 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
33051 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
33054 * locale/iso-639.def: add Morisyen.
33056 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33059 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
33060 (iszero): New C++ implementation that does not use
33061 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
33062 signaling nans are enabled, since __builtin_types_compatible_p
33063 is a C-only feature.
33064 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
33065 defined, include ieee754_float128.h for access to the union and
33066 member ieee854_float128.ieee.
33067 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
33068 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
33069 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33070 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
33071 options of test-math-zero on powerpc64le.
33073 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
33075 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
33076 Change double to float.
33078 2017-08-28 Joseph Myers <joseph@codesourcery.com>
33080 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
33082 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
33083 conditional code; define contents only for [LIBM_SVID_COMPAT].
33085 2017-08-28 Florian Weimer <fweimer@redhat.com>
33087 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
33088 (abi-lp64_be-options): Remove.
33089 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
33090 (abi-hard-options): Likewise.
33091 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
33092 (abi-o32_hard-options, abi-o32_soft_2008-options)
33093 (abi-o32_hard_2008-options, abi-n32_soft-options)
33094 (abi-n32_hard-options, abi-n32_soft_2008-options)
33095 (abi-n32_hard_2008-options, abi-n64_soft-options)
33096 (abi-n64_hard-options, abi-n64_soft_2008-options)
33097 (abi-n64_hard_2008-options): Likewise.
33098 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33099 (abi-64-v1-options, abi-64-v2-options): Likewise.
33100 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33101 (abi-64-options): Likewise.
33102 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33103 (abi-64-options): Likewise.
33104 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33105 (abi-64-options): Likewise.
33106 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33107 (abi-64-options, abi-x32-options): Likewise.
33109 2017-08-28 Florian Weimer <fweimer@redhat.com>
33111 Store supported list of SYS_* system calls in the source tree.
33112 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33113 (bits/syscall.h): Generate from list file.
33114 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33115 [$(subdir) = misc] (tests): Add tst-syscall-list.
33116 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33117 [$(subdir) = misc] (tst-syscall-list-macros.list)
33118 [$(subdir) = misc] (tst-syscall-list-nr.list)
33119 (tst-syscall-list-sys.list): Helper targets for new
33120 tst-syscall-list test.
33121 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33122 tst-syscall-list.sh.
33123 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33124 target. Do not include bits/syscall.d.
33125 [$(subdir) = misc] (generated): Do not update.
33126 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33127 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33128 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33129 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33131 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33133 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33134 (tst-cxa_atexit, tst-on_exit): Likewise.
33135 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33136 tst-cxa_atexit, and tst-on_exit.
33137 * stdlib/tst-atexit-common.c: New file.
33138 * stdlib/tst-atexit.c: New file.
33139 * stdlib/tst-at_quick_exit.c: New file.
33140 * stdlib/tst-cxa_atexit.c: New file.
33141 * stdlib/tst-on_exit.c: New file.
33143 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33145 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
33146 * mach/stack_chk_fail_local.c: New file.
33147 * hurd/stack_chk_fail_local.c: New file.
33148 * mach/Machrules ($(interface-library)-routines): Add
33149 stack_chk_fail_local.
33150 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33151 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33152 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33153 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33154 * hurd/Makefile (CFLAGS-hurdstartup.o,
33155 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
33157 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33159 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33160 (index_cpu_*, index_arch_*): Removed.
33162 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33164 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33165 Use uint64_t instead of unsigned long.
33167 2017-08-25 Joseph Myers <joseph@codesourcery.com>
33169 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33170 [__HAVE_DISTINCT_FLOAT128].
33172 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33173 of <bits/math-finite.h>.
33174 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33175 inclusion of <bits/math-finite.h>.
33176 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33177 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33178 __NO_LONG_DOUBLE_MATH].
33179 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33180 (__MATH_REDIRCALL_2): Likewise.
33181 (__MATH_REDIRCALL_INTERNAL): Likewise.
33182 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33183 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33184 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33198 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33199 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33200 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33201 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33203 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33204 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33205 w_sqrtf_compat-ppc32.
33207 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33209 * math/math.h [defined __cplusplus] (issignaling): In the long
33210 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33211 is not defined. Call __issignaling, otherwise.
33213 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33215 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33216 syscall definitions and replace __builtin_expect with __glibc_likely.
33217 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33219 (SYSCALL_CANCELLABLE): Removedefinition
33220 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33222 (PSEUDO_END): Likewise.
33223 [IS_IN (libpthread)] (CENABLE): Likewise.
33224 [IS_IN (libpthread)] (CDISABLE): Likewise.
33225 [IS_IN (libc)] (CENABLE): Likewise.
33226 [IS_IN (libc)] (CENABLE): Likewise.
33227 [IS_IN (librt)] (CDISABLE): Likewise.
33228 [IS_IN (librt)] (CDISABLE): Likewise.
33229 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33230 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33232 (PSEUDO_END): Likewise.
33233 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33234 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33235 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33236 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33237 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33238 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33239 (CENABLE): Likewise.
33240 (CDISABLE): Likewise.
33241 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33242 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33244 (PSEUDO_END): Likewise.
33245 [IS_IN (libpthread)] (CENABLE): Likewise.
33246 [IS_IN (libpthread)] (CDISABLE): Likewise.
33247 [IS_IN (libc)] (CENABLE): Likewise.
33248 [IS_IN (libc)] (CENABLE): Likewise.
33249 [IS_IN (librt)] (CDISABLE): Likewise.
33250 [IS_IN (librt)] (CDISABLE): Likewise.
33251 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33252 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33254 (PSEUDO_END): Likewise.
33255 [IS_IN (libpthread)] (CENABLE): Likewise.
33256 [IS_IN (libpthread)] (CDISABLE): Likewise.
33257 [IS_IN (libc)] (CENABLE): Likewise.
33258 [IS_IN (libc)] (CENABLE): Likewise.
33259 [IS_IN (librt)] (CDISABLE): Likewise.
33260 [IS_IN (librt)] (CDISABLE): Likewise.
33261 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33262 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33264 (PSEUDO_END): Likewise.
33265 [IS_IN (libpthread)] (CENABLE): Likewise.
33266 [IS_IN (libpthread)] (CDISABLE): Likewise.
33267 [IS_IN (libc)] (CENABLE): Likewise.
33268 [IS_IN (libc)] (CENABLE): Likewise.
33269 [IS_IN (librt)] (CDISABLE): Likewise.
33270 [IS_IN (librt)] (CDISABLE): Likewise.
33271 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33272 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33274 (PSEUDO_END): Likewise.
33275 [IS_IN (libpthread)] (CENABLE): Likewise.
33276 [IS_IN (libpthread)] (CDISABLE): Likewise.
33277 [IS_IN (libc)] (CENABLE): Likewise.
33278 [IS_IN (libc)] (CENABLE): Likewise.
33279 [IS_IN (librt)] (CDISABLE): Likewise.
33280 [IS_IN (librt)] (CDISABLE): Likewise.
33281 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33282 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33284 (PSEUDO_END): Likewise.
33285 [IS_IN (libpthread)] (CENABLE): Likewise.
33286 [IS_IN (libpthread)] (CDISABLE): Likewise.
33287 [IS_IN (libc)] (CENABLE): Likewise.
33288 [IS_IN (libc)] (CENABLE): Likewise.
33289 [IS_IN (librt)] (CDISABLE): Likewise.
33290 [IS_IN (librt)] (CDISABLE): Likewise.
33291 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33292 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33294 (PSEUDO_END): Likewise.
33295 [IS_IN (libpthread)] (CENABLE): Likewise.
33296 [IS_IN (libpthread)] (CDISABLE): Likewise.
33297 [IS_IN (libc)] (CENABLE): Likewise.
33298 [IS_IN (libc)] (CENABLE): Likewise.
33299 [IS_IN (librt)] (CDISABLE): Likewise.
33300 [IS_IN (librt)] (CDISABLE): Likewise.
33301 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33302 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33304 (PSEUDO_END): Likewise.
33305 [IS_IN (libpthread)] (CENABLE): Likewise.
33306 [IS_IN (libpthread)] (CDISABLE): Likewise.
33307 [IS_IN (libc)] (CENABLE): Likewise.
33308 [IS_IN (libc)] (CENABLE): Likewise.
33309 [IS_IN (librt)] (CDISABLE): Likewise.
33310 [IS_IN (librt)] (CDISABLE): Likewise.
33311 (SINGLE_THREAD_P): Likewise.
33312 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
33314 (PSEUDO_END): Likewise.
33315 [IS_IN (libpthread)] (CENABLE): Likewise.
33316 [IS_IN (libpthread)] (CDISABLE): Likewise.
33317 [IS_IN (libc)] (CENABLE): Likewise.
33318 [IS_IN (libc)] (CENABLE): Likewise.
33319 [IS_IN (librt)] (CDISABLE): Likewise.
33320 [IS_IN (librt)] (CDISABLE): Likewise.
33321 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33322 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
33324 (PSEUDO_END): Likewise.
33325 [IS_IN (libpthread)] (CENABLE): Likewise.
33326 [IS_IN (libpthread)] (CDISABLE): Likewise.
33327 [IS_IN (libc)] (CENABLE): Likewise.
33328 [IS_IN (libc)] (CENABLE): Likewise.
33329 [IS_IN (librt)] (CDISABLE): Likewise.
33330 [IS_IN (librt)] (CDISABLE): Likewise.
33331 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33332 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33333 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33334 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33335 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33337 (PSEUDO_END): Likewise.
33338 [IS_IN (libpthread)] (CENABLE): Likewise.
33339 [IS_IN (libpthread)] (CDISABLE): Likewise.
33340 [IS_IN (libc)] (CENABLE): Likewise.
33341 [IS_IN (libc)] (CENABLE): Likewise.
33342 [IS_IN (librt)] (CDISABLE): Likewise.
33343 [IS_IN (librt)] (CDISABLE): Likewise.
33344 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33345 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
33347 (PSEUDO_END): Likewise.
33348 [IS_IN (libpthread)] (CENABLE): Likewise.
33349 [IS_IN (libpthread)] (CDISABLE): Likewise.
33350 [IS_IN (libc)] (CENABLE): Likewise.
33351 [IS_IN (libc)] (CENABLE): Likewise.
33352 [IS_IN (librt)] (CDISABLE): Likewise.
33353 [IS_IN (librt)] (CDISABLE): Likewise.
33354 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33355 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
33357 (PSEUDO_END): Likewise.
33358 [IS_IN (libpthread)] (CENABLE): Likewise.
33359 [IS_IN (libpthread)] (CDISABLE): Likewise.
33360 [IS_IN (libc)] (CENABLE): Likewise.
33361 [IS_IN (libc)] (CENABLE): Likewise.
33362 [IS_IN (librt)] (CDISABLE): Likewise.
33363 [IS_IN (librt)] (CDISABLE): Likewise.
33364 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33365 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
33366 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33367 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
33368 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
33370 (PSEUDO_END): Likewise.
33371 [IS_IN (libpthread)] (CENABLE): Likewise.
33372 [IS_IN (libpthread)] (CDISABLE): Likewise.
33373 [IS_IN (libc)] (CENABLE): Likewise.
33374 [IS_IN (libc)] (CENABLE): Likewise.
33375 [IS_IN (librt)] (CDISABLE): Likewise.
33376 [IS_IN (librt)] (CDISABLE): Likewise.
33377 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33378 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
33380 (PSEUDO_END): Likewise.
33381 [IS_IN (libpthread)] (CENABLE): Likewise.
33382 [IS_IN (libpthread)] (CDISABLE): Likewise.
33383 [IS_IN (libc)] (CENABLE): Likewise.
33384 [IS_IN (libc)] (CENABLE): Likewise.
33385 [IS_IN (librt)] (CDISABLE): Likewise.
33386 [IS_IN (librt)] (CDISABLE): Likewise.
33387 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33389 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33391 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
33393 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33395 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33397 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33400 * string/stratcliff.c (do_test): Declare size, nchars, inner,
33401 middle and outer with size_t instead of int. Repleace %d and
33402 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
33403 "MAX (outer, nchars - 64)" to support unsigned outer and
33404 nchars. Also exit loop when outer == 0.
33406 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33408 * include/fcntl.h (__fcntl_nocancel): Remove definition.
33409 * include/signal.h (__sigsuspend_nocancel): Likewise.
33410 * include/time.h (__nanosleep_nocancel): Likewise.
33411 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
33412 * login/utmp_file.c: Include non cancellable syscall header.
33413 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
33416 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33418 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
33419 .byte sequences with AVX512F instructions.
33420 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
33421 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
33422 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33423 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
33425 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
33428 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
33429 Steve Ellcey <sellcey@cavium.com>
33431 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
33432 Use PTR_REG macro in cmp instruction.
33434 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33436 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
33437 Change the return type of the ifunc resolver to match the return
33438 type of the target function.
33440 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33442 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
33443 (preadv64): Likewise.
33444 (pwrite64(: Likewise.
33445 (pwritev64): Likewise.
33447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33448 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
33449 (LOAD_ARGS_0): Likewise.
33450 (LOAD_ARGS_1): Likewise.
33451 (LOAD_ARGS_2): Likewise.
33452 (LOAD_ARGS_3): Likewise.
33453 (LOAD_ARGS_4): Likewise.
33454 (LOAD_ARGS_5): Likewise.
33455 (LOAD_ARGS_6): Likewise.
33456 (LOAD_REGS_0): Likewise.
33457 (LOAD_REGS_1): Likewise.
33458 (LOAD_REGS_2): Likewise.
33459 (LOAD_REGS_3): Likewise.
33460 (LOAD_REGS_4): Likewise.
33461 (LOAD_REGS_5): Likewise.
33462 (LOAD_REGS_6): Likewise.
33463 (ASM_ARGS_0): Likewise.
33464 (ASM_ARGS_1): Likewise.
33465 (ASM_ARGS_2): Likewise.
33466 (ASM_ARGS_3): Likewise.
33467 (ASM_ARGS_4): Likewise.
33468 (ASM_ARGS_5): Likewise.
33469 (ASM_ARGS_6): Likewise.
33470 (LOAD_ARGS_TYPES_1): Likewise.
33471 (LOAD_ARGS_TYPES_2): Likewise.
33472 (LOAD_ARGS_TYPES_3): Likewise.
33473 (LOAD_ARGS_TYPES_4): Likewise.
33474 (LOAD_ARGS_TYPES_5): Likewise.
33475 (LOAD_ARGS_TYPES_6): Likewise.
33476 (LOAD_REGS_TYPES_1): Likewise.
33477 (LOAD_REGS_TYPES_2): Likewise.
33478 (LOAD_REGS_TYPES_3): Likewise.
33479 (LOAD_REGS_TYPES_4): Likewise.
33480 (LOAD_REGS_TYPES_5): Likewise.
33481 (LOAD_REGS_TYPES_6): Likewise.
33482 (TYPEFY): New define.
33483 (ARGIFY): Likewise.
33484 (internal_syscall0): Likewise.
33485 (internal_syscall1): Likewise.
33486 (internal_syscall2): Likewise.
33487 (internal_syscall3): Likewise.
33488 (internal_syscall4): Likewise.
33489 (internal_syscall5): Likewise.
33490 (internal_syscall6): Likewise.
33491 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33492 (INTERNAL_SYSCALL_NCS): Remove define.
33493 (internal_syscall1): Add define.
33495 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33497 * math/w_remainder_compat.c: Remove duplicate inclusion of
33498 math-svid-compat.h.
33499 * math/w_remainderf_compat.c: Likewise.
33500 * math/w_remainderl_compat.c: Likewise.
33502 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33506 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33509 * math/tgmath.h (__floating_type): Simplify definitions.
33510 (__real_integer_type): New macro.
33511 (__complex_integer_type): Likewise.
33512 (__expr_is_real): Likewise.
33513 (__tgmath_real_type_sub): Update comment to describe handling of
33515 (__tgmath_complex_type_sub): New macro.
33516 (__tgmath_complex_type): Likewise.
33517 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33518 (__TGMATH_CF128): Use __expr_is_real.
33519 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33521 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33522 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33523 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33526 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33528 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33530 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33532 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33535 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33536 nanosleep_not_cancel with __nanosleep_nocancel.
33537 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33538 (__nanosleep_nocancel): New macro.
33539 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33541 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33543 (__nanosleep_nocancel): New prototype.
33545 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33546 pause_not_cancel with __pause_nocancel.
33547 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33548 (__pause_nocancel): New macro.
33549 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33551 (__pause_nocancel): New prototype.
33552 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33554 2017-08-22 Martin Sebor <msebor@redhat.com>
33556 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33557 to return a pointer to the same type as the target function.
33559 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33563 * include/printf.h (__printf_fphex): Add attribute_hidden.
33564 (__guess_grouping): New prototype.
33565 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33566 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33567 libc_hidden_proto and libc_hidden_def.
33568 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33569 (__vstrfmon_l): Remove the third argument passed to
33572 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33574 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33575 definition for issignaling that does not rely on __MATH_TG,
33576 since __MATH_TG uses __builtin_types_compatible_p, which is only
33577 available in C mode.
33578 (CFLAGS-test-math-issignaling.cc): New variable.
33579 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33580 * math/test-math-issignaling.cc: New test for C++ implementation
33581 of type-generic issignaling.
33582 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33583 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33584 options of test-math-issignaling on powerpc64le.
33586 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33588 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33590 (hidden_proto): Likewise.
33591 (hidden_tls_proto): Likewise.
33592 (__hidden_proto): Likewise.
33594 2017-08-22 Florian Weimer <fweimer@redhat.com>
33596 math: Statically link tests of internal functionality.
33597 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33599 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33600 (gmp-objs): Remove assignment.
33601 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33603 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33606 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33608 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33610 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33613 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33614 variable definitions above inclusion of ../Rules.
33616 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33618 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33619 case calling __builtin_unreachable.
33621 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33623 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33624 __waitpid_nocancel.
33625 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33626 (__waitpid_nocancel): New macro.
33627 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33629 (__waitpid_nocancel): Replace macro with a function.
33630 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33633 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33635 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33636 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33638 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33639 __writev_nocancel_nostatus.
33640 (write_call_graph): Likewise.
33641 (write_bb_counts): Likewise.
33642 * resolv/herror.c (herror): Likewise.
33643 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33645 (__writev_nocancel_nostatus): New macro.
33646 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33648 (__writev_nocancel_nostatus): New function.
33650 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33653 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33655 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33657 (hidden_proto): Likewise.
33658 (hidden_tls_proto): Likewise.
33659 (__hidden_proto): Likewise.
33662 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33663 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33672 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33673 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33674 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33675 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33676 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33677 GLIBC_2.0 sqrtl symbol.
33679 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33680 [__USE_MISC] (_LIB_VERSION): Likewise.
33681 [__USE_MISC] (struct exception): Likewise.
33682 [__USE_MISC] (matherr): Likewise.
33683 [__USE_MISC] (DOMAIN): Likewise.
33684 [__USE_MISC] (SING): Likewise.
33685 [__USE_MISC] (OVERFLOW): Likewise.
33686 [__USE_MISC] (UNDERFLOW): Likewise.
33687 [__USE_MISC] (TLOSS): Likewise.
33688 [__USE_MISC] (PLOSS): Likewise.
33689 [__USE_MISC] (HUGE): Likewise.
33690 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33691 * math/math-svid-compat.h: New file.
33692 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33694 * include/math.h [!_ISOMAC] (__matherr): Remove.
33695 * manual/arith.texi (FP Exceptions): Do not document matherr.
33696 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33697 (tests-internal): New variable.
33698 (install-lib): Do not add libieee.a.
33699 (non-lib.a): Likewise.
33700 (extra-objs): Do not add libieee.a and ieee-math.o.
33701 (CPPFLAGS-s_lib_version.c): Remove variable.
33702 ($(objpfx)libieee.a): Remove rule.
33703 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33704 * math/ieee-math.c: Remove.
33705 * math/libm-test-support.c (matherr): Remove.
33706 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33707 and license notices. Include <math-svid-compat.h> and
33709 (matherr): Undefine as macro. Use compat_symbol_reference.
33710 (_LIB_VERSION): Likewise.
33711 * math/test-matherr-2.c: New file.
33712 * math/test-matherr-3.c: Likewise.
33713 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33715 (__kernel_standard_f): Likewise.
33716 (__kernel_standard_l): Likewise.
33717 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33718 <math_private.h>. Include <math-svid-compat.h>.
33719 (_LIB_VERSION): Undefine as macro.
33720 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33721 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33722 [LIBM_SVID_COMPAT], use compat_symbol.
33723 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33724 <math_private.h>. Include <math-svid-compat.h>.
33725 (matherr): Undefine as macro.
33726 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33728 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33729 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33730 compat_symbol_reference.
33731 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33732 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33733 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33734 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33735 (MATHERR_D): Remove declaration.
33736 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33737 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33738 [LIBM_BUILD] (pmatherrf): Likewise.
33739 [LIBM_BUILD] (pmatherr): Likewise.
33740 [LIBM_BUILD] (pmatherrl): Likewise.
33741 (DOMAIN): Likewise.
33743 (OVERFLOW): Likewise.
33744 (UNDERFLOW): Likewise.
33747 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33748 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33750 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33751 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33753 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33754 * math/w_acos_compat.c: Likewise.
33755 * math/w_acosf_compat.c: Likewise.
33756 * math/w_acosh_compat.c: Likewise.
33757 * math/w_acoshf_compat.c: Likewise.
33758 * math/w_acoshl_compat.c: Likewise.
33759 * math/w_acosl_compat.c: Likewise.
33760 * math/w_asin_compat.c: Likewise.
33761 * math/w_asinf_compat.c: Likewise.
33762 * math/w_asinl_compat.c: Likewise.
33763 * math/w_atan2_compat.c: Likewise.
33764 * math/w_atan2f_compat.c: Likewise.
33765 * math/w_atan2l_compat.c: Likewise.
33766 * math/w_atanh_compat.c: Likewise.
33767 * math/w_atanhf_compat.c: Likewise.
33768 * math/w_atanhl_compat.c: Likewise.
33769 * math/w_cosh_compat.c: Likewise.
33770 * math/w_coshf_compat.c: Likewise.
33771 * math/w_coshl_compat.c: Likewise.
33772 * math/w_exp10_compat.c: Likewise.
33773 * math/w_exp10f_compat.c: Likewise.
33774 * math/w_exp10l_compat.c: Likewise.
33775 * math/w_exp2_compat.c: Likewise.
33776 * math/w_exp2f_compat.c: Likewise.
33777 * math/w_exp2l_compat.c: Likewise.
33778 * math/w_fmod_compat.c: Likewise.
33779 * math/w_fmodf_compat.c: Likewise.
33780 * math/w_fmodl_compat.c: Likewise.
33781 * math/w_hypot_compat.c: Likewise.
33782 * math/w_hypotf_compat.c: Likewise.
33783 * math/w_hypotl_compat.c: Likewise.
33784 * math/w_j0_compat.c: Likewise.
33785 * math/w_j0f_compat.c: Likewise.
33786 * math/w_j0l_compat.c: Likewise.
33787 * math/w_j1_compat.c: Likewise.
33788 * math/w_j1f_compat.c: Likewise.
33789 * math/w_j1l_compat.c: Likewise.
33790 * math/w_jn_compat.c: Likewise.
33791 * math/w_jnf_compat.c: Likewise.
33792 * math/w_jnl_compat.c: Likewise.
33793 * math/w_lgamma_main.c: Likewise.
33794 * math/w_lgamma_r_compat.c: Likewise.
33795 * math/w_lgammaf_main.c: Likewise.
33796 * math/w_lgammaf_r_compat.c: Likewise.
33797 * math/w_lgammal_main.c: Likewise.
33798 * math/w_lgammal_r_compat.c: Likewise.
33799 * math/w_log10_compat.c: Likewise.
33800 * math/w_log10f_compat.c: Likewise.
33801 * math/w_log10l_compat.c: Likewise.
33802 * math/w_log2_compat.c: Likewise.
33803 * math/w_log2f_compat.c: Likewise.
33804 * math/w_log2l_compat.c: Likewise.
33805 * math/w_log_compat.c: Likewise.
33806 * math/w_logf_compat.c: Likewise.
33807 * math/w_logl_compat.c: Likewise.
33808 * math/w_pow_compat.c: Likewise.
33809 * math/w_powf_compat.c: Likewise.
33810 * math/w_powl_compat.c: Likewise.
33811 * math/w_remainder_compat.c: Likewise.
33812 * math/w_remainderf_compat.c: Likewise.
33813 * math/w_remainderl_compat.c: Likewise.
33814 * math/w_scalb_compat.c: Likewise.
33815 * math/w_scalbf_compat.c: Likewise.
33816 * math/w_scalbl_compat.c: Likewise.
33817 * math/w_sinh_compat.c: Likewise.
33818 * math/w_sinhf_compat.c: Likewise.
33819 * math/w_sinhl_compat.c: Likewise.
33820 * math/w_sqrt_compat.c: Likewise.
33821 * math/w_sqrtf_compat.c: Likewise.
33822 * math/w_sqrtl_compat.c: Likewise.
33823 * math/w_tgamma_compat.c: Likewise.
33824 * math/w_tgammaf_compat.c: Likewise.
33825 * math/w_tgammal_compat.c: Likewise.
33826 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33827 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33828 * sysdeps/ieee754/k_standard.c: Likewise.
33829 * sysdeps/ieee754/k_standardf.c: Likewise.
33830 * sysdeps/ieee754/k_standardl.c: Likewise.
33831 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33832 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33833 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33834 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33835 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33836 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33837 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33838 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33839 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33844 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33845 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33846 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33847 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33849 2017-08-21 Florian Weimer <fweimer@redhat.com>
33852 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33853 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33854 Move before inclusion of ../Rules.
33856 2017-08-21 Florian Weimer <fweimer@redhat.com>
33859 * assert/assert.h (assert): Use static_cast (bool) for C++.
33860 Use the ternary operator in the warning branch for GNU C.
33861 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33862 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33863 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33864 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33865 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33867 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33870 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33871 (__syscall_clock_gettime): Add attribute_hidden.
33872 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33873 (__start_context): Likewise.
33875 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33877 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33879 (hidden_proto): Likewise.
33880 (hidden_tls_proto): Likewise.
33881 (__hidden_proto): Likewise.
33883 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33885 * include/libc-symbols.h (attribute_hidden): Enable hidden
33886 visibility in libc.a compiled with PIE.
33888 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33891 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33892 Add attribute_hidden.
33894 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33897 * Makerules (all-nonlib): Add $(others-extras).
33898 * catgets/Makefile (others-extras): New.
33899 * elf/Makefile (others-extras): Likewise.
33900 * nss/Makefile (others-extras): Likewise.
33902 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33905 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33906 * elf/dl-open.c: Include <libc-internal.h>.
33907 (__libc_multiple_libcs): Removed.
33908 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33910 * include/libc-internal.h (__libc_multiple_libcs): New.
33911 * misc/sbrk.c: Include <libc-internal.h>.
33912 (__libc_multiple_libcs): Removed.
33914 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33917 * grp/initgroups.c (__nss_group_database): Removed.
33918 (__nss_initgroups_database): Likewise.
33919 * nscd/gai.c (__nss_hosts_database): Likewise.
33920 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33921 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33922 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33923 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33924 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33925 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33927 * nss/nsswitch.c (__nss_database_custom): Define only if
33928 USE_NSCD is defined.
33929 (__nss_configure_lookup): Use __nss_database_custom only if
33930 USE_NSCD is defined.
33931 * nss/nsswitch.h (__nss_database_custom): Declare only if
33932 USE_NSCD is defined. Add attribute_hidden.
33933 (__nss_setent): Add attribute_hidden.
33934 (__nss_endent): Likewise.
33935 (__nss_getent_r): Likewise.
33936 (__nss_getent): Likewise.
33937 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33939 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33942 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33943 libc_hidden_proto and libc_hidden_def.
33945 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33948 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33949 Add libc_hidden_proto.
33950 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33951 Add libc_hidden_def.
33953 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33956 * gmon/Makefile (routines): Remove bb_init_func and
33958 (elide-routines.os): Removed.
33959 * gmon/bb_exit_func.c: Likewise.
33960 * gmon/bb_init_func.c: Likewise.
33961 * include/sys/gmon.h (__bb): Likewise.
33962 (__bb_init_func): Likewise.
33963 (__bb_exit_func): Likewise.
33964 * sysdeps/alpha/bb_init_func.S: Likewise.
33966 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33968 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33969 * include/setjmp.h (____longjmp_chk): Here. Add
33972 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33975 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33977 (__strspn_sse2): Likewise.
33979 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33981 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33982 (close_not_cancel_no_status): Likewise.
33983 (__close_nocancel): New macro.
33984 (__close_nocancel_nostatus): Likewise.
33985 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33987 (close_not_cancel): Likewise.
33988 (close_not_cancel_no_status): Likewise.
33989 (__close_nocancel): New prototype.
33990 (__close_nocancel_nostatus): New function.
33991 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33992 * catgets/open_catalog.c (__open_catalog): Replace
33993 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33994 * gmon/gmon.c (write_gmon): Likewise.
33995 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33996 * intl/loadmsgcat.c (close): Likewise.
33997 * io/ftw.c (open_dir_stream): Likewise.
33998 (ftw_startup): Likewise.
33999 * libio/fileops.c (_IO_file_open): Likewise.
34000 (_IO_file_close_mmap): Likewise.
34001 (_IO_file_close): Likewise.
34002 * libio/iopopen.c (_IO_dup2): Likewise.
34003 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34004 * locale/loadlocale.c (_nl_load_locale): Likewise.
34005 * login/utmp_file.c (pututline_file): Likewise.
34006 (endutent_file): Likewise.
34007 * misc/daemon.c (daemon): Likewise.
34008 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34009 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34010 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34011 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34012 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34013 * nscd/nscd_helper.c (open_socket): Likewise.
34014 (__nscd_open_socket): Likewise.
34015 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34016 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34017 (__nscd_innetgr): Likewise.
34018 * nss/nss_db/db-open.c (internal_setent): Likewise.
34019 * resolv/res-close.c (__res_iclose): Likewise.
34020 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34021 * sysdeps/posix/closedir.c (__closedir): Likewise.
34022 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
34023 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34024 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34025 (opendir_tail): Likewise.
34026 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34027 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
34028 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34029 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34030 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34031 (gethostid): Likewise.
34032 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34033 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34035 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34036 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
34037 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34038 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34040 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
34041 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
34042 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34044 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
34045 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34047 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34049 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34050 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34051 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34054 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
34055 (openat_not_cancel_3): Likewise.
34056 (openat64_not_cancel_3): Likewise).
34057 (openat_not_cancel_3): Likewise).
34058 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
34060 (openat_not_cancel_3): Likewise.
34061 (openat64_not_cancel): Likewise.
34062 (openat64_not_cancel_3): Likewise.
34063 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
34064 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
34065 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
34066 __open{64}_nocancel.
34067 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34068 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34069 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34071 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34074 * include/argz.h (__argz_create_sep): New function prototype.
34075 (__argz_append): Likewise.
34076 (__argz_add): Likewise.
34077 (__argz_add_sep): Likewise.
34078 (__argz_delete): Likewise.
34079 (__argz_insert): Likewise.
34080 (__argz_replace): Likewise.
34081 * string/argz.h (__argz_create_sep): Removed.
34082 (__argz_append): Likewise.
34083 (__argz_add): Likewise.
34084 (__argz_add_sep): Likewise.
34085 (__argz_delete): Likewise.
34086 (__argz_insert): Likewise.
34087 (__argz_replace): Likewise.
34089 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34091 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
34092 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
34093 (GNU_PROPERTY_STACK_SIZE): Likewie.
34094 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
34095 (GNU_PROPERTY_LOPROC): Likewise.
34096 (GNU_PROPERTY_HIPROC): Likewise.
34097 (GNU_PROPERTY_LOUSER): Likewise.
34098 (GNU_PROPERTY_HIUSER): Likewise.
34099 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34100 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34101 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34102 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34103 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34104 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34105 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34106 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34107 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34108 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34109 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34110 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34111 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34112 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34113 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34114 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34115 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34116 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34117 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34118 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34119 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34120 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34121 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34123 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34125 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34128 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34131 * math/math.h (isinf): Check if in C or C++ mode before using
34132 __builtin_types_compatible_p, since this is a C mode feature.
34134 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34136 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34137 (__write_nocancel): New macro.
34138 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34139 Rewrite as a function prototype.
34140 (write_not_cancel): Remove macro.
34141 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34142 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34143 (write_gmon): Likewise.
34144 * libio/fileops.c (_IO_new_file_write): Likewise.
34145 * login/utmp_file.c (pututline_file): Likewise.
34146 (updwtmp_file): Likewise.
34147 * stdio-common/psiginfo.c (psiginfo): Likewise.
34148 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34149 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34150 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34152 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34155 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34156 (__read_nocancel): New macro.
34157 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34159 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34161 (__read_nocancel): New prototype.
34162 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34163 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34164 with __read_nocancel.
34165 * intl/loadmsgcat.c (read): Likewise.
34166 * libio/fileops.c (_IO_file_read): Likewise.
34167 * locale/loadlocale.c (_nl_load_locale): Likewise.
34168 * login/utmp_file.c (getutent_r_file): Likewise.
34169 (internal_getut_r): Likewise.
34170 (getutline_r_file): Likewise.
34171 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34172 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34173 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34174 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34176 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34177 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34178 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34180 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34182 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34184 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34186 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34188 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34191 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34192 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34195 2017-08-17 DJ Delorie <dj@redhat.com>
34197 * bug17079.c: Update to new test harness.
34198 * test-digits-dots.c: Likewise.
34199 * test-netdb.c: Likewise.
34200 * tst-field.c: Likewise.
34201 * tst-nss-getpwent.c: Likewise.
34202 * tst-nss-static.c: Likewise.
34203 * tst-nss-test1.c: Likewise.
34204 * tst-nss-test2.c: Likewise.
34205 * tst-nss-test3.c: Likewise.
34206 * tst-nss-test4.c: Likewise.
34207 * tst-nss-test5.c: Likewise.
34209 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34211 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34212 (open_not_cancel_2): Likewise.
34213 (open_nocancel): New macro.
34214 (open64_nocancel): Likewise.
34215 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34216 (open_not_cancel_2): Likewise.
34217 (__open_nocancel): New prototype.
34218 (__open64_nocancel): Likewise.
34219 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34221 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34222 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34223 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34224 with __open_nocancel.
34225 * csu/check_fds.c (check_one_fd): Likewise.
34226 * gmon/gmon.c (write_gmon): Likewise.
34227 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34228 * intl/loadmsgcat.c (open): Likewise.
34229 * libio/fileops.c (_IO_file_open): Likewise.
34230 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34231 * locale/loadlocale.c (_nl_load_locale): Likewise.
34232 * login/utmp_file.c (setutent_file): Likewise.
34233 * misc/daemon.c (daemon): Likewise.
34234 * nss/nss_db/db-open.c (internal_setent): Likewise.
34235 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34236 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34237 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34238 (__opendir): Likewise.
34239 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34240 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34241 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34242 (gethostid): Likewise.
34243 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34244 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34247 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34248 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34249 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34251 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34253 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34255 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34257 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34259 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34261 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34262 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34264 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34266 * benchtests/bench-skeleton.c (main): Add support for
34267 latency benchmarking.
34268 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34270 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34272 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34273 the startup object.
34275 2017-08-17 Florian Weimer <fweimer@redhat.com>
34277 * include/sys/socket.h (__opensock): Remove internal_function.
34278 * socket/opensock.c (__opensock): Likewise.
34279 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34281 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34284 * signal/bits/types/__sigval_t.h: New file.
34285 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34286 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34287 and define sigval_t using __sigval_t.
34288 * include/bits/types/__sigval_t.h: New file.
34289 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34290 instead of <bits/types/__sigval_t.h>.
34291 (struct sigevent): Use __sigval_t instead of sigval_t.
34292 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34293 instead of <bits/types/__sigval_t.h>.
34294 (siginfo_t): Use __sigval_t instead of sigval_t.
34295 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34296 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34297 (struct sigevent): Use __sigval_t instead of sigval_t.
34298 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34299 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34300 (siginfo_t): Use __sigval_t instead of sigval_t.
34301 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34303 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34305 * NEWS: Remove "[Add new features here]" for 2.27.
34307 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34309 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34312 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34314 * NEWS: Mention x86-64 FMA optimization.
34316 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34319 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34321 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
34322 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
34323 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
34325 2017-08-16 Andreas Schwab <schwab@suse.de>
34329 * elf/ldd.bash.in: Never run file directly.
34331 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34334 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34335 (L(SP_INF_0)): Likewise.
34337 2017-08-15 Florian Weimer <fweimer@redhat.com>
34339 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
34342 2017-08-15 Florian Weimer <fweimer@redhat.com>
34344 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
34345 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
34346 BROKEN_THREAD_SIGNALS code.
34347 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
34348 request_list): Remove caller_pid member used for
34349 BROKEN_THREAD_SIGNALS.
34350 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
34351 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34352 Remove BROKEN_THREAD_SIGNALS support.
34353 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
34354 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
34356 2017-08-15 Florian Weimer <fweimer@redhat.com>
34358 * gmon/Makefile (tests): Add tst-gmon.
34359 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
34361 (tests-special): Add tst-gmon-prof.out.
34362 (tst-gmon.out): Depend on clean-tst-gmon-data.
34363 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
34364 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
34365 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
34367 * aclocal.m4 (GPROF): Set and substitute.
34368 * config.amke.in (GPROF): Set.
34369 * configure: Regenerate.
34371 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
34373 * elf/elf.h A (NT_PPC_TAR): New macro.
34374 (NT_PPC_PPR): Likewise.
34375 (NT_PPC_DSCR): Likewise.
34376 (NT_PPC_EBB): Likewise.
34377 (NT_PPC_PMU): Likewise.
34378 (NT_PPC_TM_CGPR): Likewise.
34379 (NT_PPC_TM_CFPR): Likewise.
34380 (NT_PPC_TM_CVMX): Likewise.
34381 (NT_PPC_TM_CVSX): Likewise.
34382 (NT_PPC_TM_SPR): Likewise.
34383 (NT_PPC_TM_CTAR): Likewise.
34384 (NT_PPC_TM_CPPR): Likewise.
34385 (NT_PPC_TM_CDSCR): Likewise.
34387 2017-08-15 Florian Weimer <fweimer@redhat.com>
34389 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
34390 regparm (2) instead of internal_function.
34391 (_MCOUNT_DECL): Adjust.
34393 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34395 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
34396 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
34398 2017-08-14 Joseph Myers <joseph@codesourcery.com>
34400 * conform/data/sys/wait.h-data (si_value): Do not expect for
34403 2017-08-14 Florian Weimer <fweimer@redhat.com>
34406 NSS: Create stubs for accidentally exported lookup functions.
34407 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
34408 Remove declaration.
34409 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
34410 (ether_hostton): Call __nss_ethers_lookup2 instead.
34411 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
34412 (ether_ntohost): Call __nss_ethers_lookup2 instead.
34413 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
34414 (setup): Call __nss_netgroup_lookup2 instead.
34415 * nss/Makefile (routines): Add compat-lookup.
34416 * nss/Versions (GLIBC_2.27): Add symbol version.
34417 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
34418 (DB_COMPAT_FCT): Remove.
34419 * nss/compat-lookup.c: New file.
34420 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
34421 from databases.def.
34422 * nss/service-lookup.c (NO_COMPAT): Remove definition.
34423 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
34424 (netname2user): Call __nss_publickey_lookup2 instead.
34425 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
34426 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
34429 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34430 Sergei Trofimovich <slyfox@inbox.ru>
34433 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
34434 Rename to MMAP2_PAGE_UNIT.
34435 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
34436 __OFF_T_MATCHES_OFF64_T is not defined.
34437 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
34439 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
34440 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
34442 2017-08-14 Florian Weimer <fweimer@redhat.com>
34444 i386: Do not set internal_function.
34445 * config.h.in (USE_REGPARMS, internal_function): Remove.
34446 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
34447 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
34449 2017-08-14 Florian Weimer <fweimer@redhat.com>
34451 * elf/dl-init.c (_dl_init): Remove internal_function.
34452 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
34453 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
34455 2017-08-14 Florian Weimer <fweimer@redhat.com>
34457 * elf/rtld.c (_dl_start): Remove internal_function.
34458 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
34461 2017-08-14 Florian Weimer <fweimer@redhat.com>
34463 * elf/dl-fini.c (_dl_fini): Remove internal_function
34464 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
34466 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
34468 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
34469 (bit_cpu_SHSTK): Likewise.
34470 (index_cpu_IBT): Likewise.
34471 (index_cpu_SHSTK): Likewise.
34472 (reg_IBT): Likewise.
34473 (reg_SHSTK): Likewise.
34474 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34475 Handle index_cpu_IBT and index_cpu_SHSTK.
34477 2017-08-14 Mike FABIAN <mfabian@redhat.com>
34480 * po/fr.po: Fix spelling mistake.
34482 2017-08-13 Florian Weimer <fweimer@redhat.com>
34484 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34485 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34486 (_dl_catch_error, _dl_receive_error): Likewise.
34487 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34488 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34489 (_dl_deallocate_tls): Likewise.
34490 * include/dlfcn.h (_dl_addr): Likewise.
34491 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34492 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34493 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34496 2017-08-13 Florian Weimer <fweimer@redhat.com>
34498 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34499 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34501 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34503 2017-08-13 Florian Weimer <fweimer@redhat.com>
34505 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34507 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34508 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34509 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34510 internal_function from _dl_make_stack_executable_hook member.
34511 (_dl_make_stack_executable): Remove internal_function.
34512 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34514 * sysdeps/unix/sysv/linux/dl-execstack.c
34515 (_dl_make_stack_executable): Likewise.
34517 2017-08-13 Florian Weimer <fweimer@redhat.com>
34519 * sysdeps/unix/sysv/linux/netlinkaccess.h
34520 (__netlink_assert_response): Remove internal_function.
34521 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34522 (__netlink_assert_response): Likewise.
34524 2017-08-13 Florian Weimer <fweimer@redhat.com>
34526 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34528 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34530 2017-08-13 Florian Weimer <fweimer@redhat.com>
34532 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34534 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34535 * inet/netgroup.h (__internal_setnetgrent)
34536 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34537 * inet/getnetgrent_r.c (__internal_setnetgrent)
34538 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34539 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34540 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34541 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34542 * nss/nsswitch.h (db_lookup_function): Likewise.
34544 2017-08-13 Florian Weimer <fweimer@redhat.com>
34546 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34547 Remove internal_function.
34548 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34549 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34550 message argument on the stack.
34551 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34554 2017-08-12 Mike FABIAN <mfabian@redhat.com>
34556 Adapt test case data to the changes in the thousands
34560 * localedata/tst-langinfo.sh: Adapt test case data.
34561 * stdlib/tst-strfmon_l.c: Likewise.
34562 * stdlib/tst-strtod4.c: Likewise.
34563 * stdlib/tst-strtod5i.c: Likewise.
34565 2017-08-11 Florian Weimer <fweimer@redhat.com>
34568 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34569 Suppress pedantic warning resulting from statement expression.
34570 (__ASSERT_FUNCTION): Add missing __extension__.
34572 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34574 * benchtests/bench-memmove-large.c: Print output in JSON
34576 * benchtests/bench-memmove.c: Likewise.
34578 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34579 * benchtests/bench-memchr.c (do_one_test): Likewise.
34580 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34581 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34582 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34583 * benchtests/bench-memmove.c (do_one_test): Likewise.
34584 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34585 * benchtests/bench-memset.c (do_one_test): Likewise.
34586 * benchtests/bench-string.h (test_init): Remove memsets.
34588 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34591 (Computing the Width of an Integer Data Type): Rename section to
34592 "Width of an Integer Type". Remove inaccurate statement regarding
34593 lack of C language facilities for determining width of integer
34594 types, and reorder content to improve flow and context of
34597 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34599 * lang.texi (va_copy): Change standard from ISO to C99.
34600 (__va_copy): Add standard and header annotation.
34601 Update description for clarity of origins and current use.
34603 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34606 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34607 xssqrtqp requires operands to be in Vector Registers
34608 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34609 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34610 (__ieee754_sqrtf128): Likewise.
34612 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34614 * sysdeps/aarch64/memcmp.S (memcmp):
34615 Rewrite of optimized memcmp.
34617 2017-08-10 Florian Weimer <fweimer@redhat.com>
34619 Introduce ld.so exceptions.
34620 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34621 (_dl_exception_create, _dl_exception_create_format)
34622 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34623 (_dl_catch_exception): Declare.
34624 (_dl_catch_error): Update comment.
34625 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34626 errstring, malloced members with exception member.
34627 (_dl_out_of_memory): Remove.
34628 (fatal_error): New function, extracted from _dl_signal_error.
34629 (_dl_signal_exception, _dl_signal_cexception): New functions.
34630 (_dl_signal_error): Call _dl_exception_create to allocate an
34632 (_dl_catch_exception): New function, based on _dl_catch_error.
34633 (_dl_catch_error): Implement using _dl_catch_exception.
34634 * elf/dl-exception.c: New file.
34635 * elf/Makefile (dl-routines): Add dl-exception.
34636 (elide-routines.os): Likewise.
34637 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34638 _dl_exception_create_format, _dl_exception_free.
34639 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34640 _dl_signal_exception.
34641 * elf/dl-lookup.c (make_string): Remove.
34642 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34643 _dl_signal_cexception, _dl_exception_free.
34644 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34645 _dl_signal_exception.
34646 * elf/dl-sym.c (do_sym): Likewise.
34647 * elf/dl-version.c (make_string): Remove.
34648 (match_symbol): Use _dl_exception_create_format,
34649 _dl_signal_cexception, _dl_exception_free.
34650 (_dl_check_map_versions): Likewise.
34651 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34652 _dl_catch_exception.
34653 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34654 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34655 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34656 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34657 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34658 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34659 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34660 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34662 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34669 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34670 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34671 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34673 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34675 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34677 2017-08-10 Florian Weimer <fweimer@redhat.com>
34679 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34680 attribute_hidden, internal_function.
34681 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34684 2017-08-10 Florian Weimer <fweimer@redhat.com>
34686 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34687 function which calls __builtin_unreachable.
34689 2017-08-10 Mike FABIAN <mfabian@redhat.com>
34691 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34692 Indian monetary formatting
34693 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34696 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34698 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34699 Fix typo in comment.
34702 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34703 PTRACE_SEIZE_DEVEL): Remove.
34704 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34705 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34706 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34707 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34708 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34710 2017-08-09 Joseph Myers <joseph@codesourcery.com>
34712 * posix/bits/types.h (__qaddr_t): Remove.
34715 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34716 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34718 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34719 (ucontext_t): Use __ctx with uc_flags.
34720 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34721 (__ctxt): Likewise.
34722 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34724 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34725 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34727 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34728 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34730 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34732 (ucontext_t): Use __ctx with uc_flags.
34733 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34734 (ucontext_t): Use __ctx with uc_flags.
34735 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34736 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34737 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34738 (ucontext_t): Use __ctx with uc_flags.
34739 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34740 undefine further down.
34741 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34743 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34744 undefine further down.
34745 (ucontext_t): Use __ctx with uc_flags.
34746 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34747 undefine further down.
34748 (ucontext_t): Use __ctx with uc_flags.
34749 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34750 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34751 Rename uc_pad to __glibc_reserved1.
34752 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34753 undefine further down.
34754 (ucontext_t): Use __ctx with uc_flags.
34755 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34757 (ucontext_t): Use __ctx with uc_flags.
34758 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34759 __ctx with uc_flags.
34760 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34761 (ucontext_t): Use __ctx with uc_flags.
34762 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34763 __ctx with uc_flags.
34765 2017-08-09 Florian Weimer <fweimer@redhat.com>
34768 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34769 before early return.
34771 2017-08-09 Andreas Schwab <schwab@suse.de>
34774 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34778 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34779 tst-compat-forwarder.
34780 (modules-names): Add tst-compat-forwarder-mod.
34781 ($(objpfx)tst-compat-forwarder): Depend on
34782 $(objpfx)tst-compat-forwarder-mod.so.
34783 * nptl/tst-compat-forwarder.c: New file.
34784 * nptl/tst-compat-forwarder-mod.c: New file.
34786 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34788 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34791 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34792 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34794 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34796 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34797 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34798 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34799 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34801 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34804 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34807 * manual/setjmp.texi (getcontex): Document uc_stack value
34808 compatibility differences.
34810 2017-08-08 Joseph Myers <joseph@codesourcery.com>
34812 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34813 (old_malloc_hook): Likewise.
34814 (old_memalign_hook): Likewise.
34815 (old_realloc_hook): Likewise.
34816 (struct hdr): Likewise.
34818 (freehook): Likewise.
34819 (mallochook): Likewise.
34820 (memalignhook): Likewise.
34821 (reallochook): Likewise.
34822 (mprobe): Likewise.
34823 * malloc/mtrace.c (mallwatch): Likewise.
34824 (tr_old_free_hook): Likewise.
34825 (tr_old_malloc_hook): Likewise.
34826 (tr_old_realloc_hook): Likewise.
34827 (tr_old_memalign_hook): Likewise.
34828 (tr_where): Likewise.
34829 (lock_and_info): Likewise.
34830 (tr_freehook): Likewise.
34831 (tr_mallochook): Likewise.
34832 (tr_reallochook): Likewise.
34833 (tr_memalignhook): Likewise.
34834 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34835 * misc/mmap.c (__mmap): Likewise.
34836 * misc/mmap64.c (__mmap64): Likewise.
34837 * misc/mprotect.c (__mprotect): Likewise.
34838 * misc/msync.c (msync): Likewise.
34839 * misc/munmap.c (__munmap): Likewise.
34840 * posix/posix_madvise.c (posix_madvise): Likewise.
34841 * socket/send.c (__send): Likewise.
34842 * socket/sendto.c (__sendto): Likewise.
34843 * socket/setsockopt.c (__setsockopt): Likewise.
34844 * string/memcmp.c (__ptr_t): Remove macro.
34845 (MEMCMP): Use void * instead of ptr_t.
34846 * string/memrchr.c (__ptr_t): Remove macro.
34847 (__memrchr): Use void * instead of ptr_t.
34848 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34849 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34850 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34851 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34852 * sysdeps/mach/msync.c (msync): Likewise.
34853 * sysdeps/mach/munmap.c (__munmap): Likewise.
34854 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34856 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34857 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34858 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34859 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34860 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34861 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34862 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34863 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34865 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34866 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34867 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34868 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34869 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34870 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34871 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34872 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34873 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34875 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34876 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34877 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34878 (MEMCMP): Use void * instead of ptr_t.
34879 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34880 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34882 2017-08-08 Florian Weimer <fweimer@redhat.com>
34884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34887 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34890 * csu/libc-tls.c: Include <startup.h> first.
34891 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34892 * elf/dl-tunables.c: Include <startup.h> first.
34893 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34894 * sysdeps/generic/startup.h: New file.
34895 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34896 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34897 (I386_USE_SYSENTER): New. Defined to 0.
34899 2017-08-08 Andreas Schwab <schwab@suse.de>
34902 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34903 * nptl/pt-system.c (system): Likewise.
34905 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34908 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34910 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34911 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34912 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34913 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34914 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34915 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34916 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34918 2017-08-07 Joseph Myers <joseph@codesourcery.com>
34921 * bits/sigaction.h (struct sigaction): Define sa_handler and
34922 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34923 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34924 [__USE_XOPEN_EXTENDED].
34925 (SA_RESTART): Likewise.
34926 (SA_NODEFER): Likewise.
34927 (SA_RESETHAND): Likewise.
34928 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34929 (struct sigaction): Define sa_handler and sa_sigaction using union
34930 also for [__USE_XOPEN_EXTENDED].
34931 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34932 [__USE_XOPEN_EXTENDED].
34933 (SA_RESTART): Likewise.
34934 (SA_NODEFER): Likewise.
34935 (SA_RESETHAND): Likewise.
34936 * sysdeps/unix/sysv/linux/bits/sigaction.h
34937 (struct sigaction): Define sa_handler and sa_sigaction using union
34938 also for [__USE_XOPEN_EXTENDED].
34939 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34940 [__USE_XOPEN_EXTENDED].
34941 (SA_RESTART): Likewise.
34942 (SA_NODEFER): Likewise.
34943 (SA_RESETHAND): Likewise.
34944 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34945 (struct sigaction): Define sa_handler and sa_sigaction using union
34946 also for [__USE_XOPEN_EXTENDED].
34947 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34948 [__USE_XOPEN_EXTENDED].
34949 (SA_RESTART): Likewise.
34950 (SA_NODEFER): Likewise.
34951 (SA_RESETHAND): Likewise.
34952 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34953 (struct sigaction): Define sa_handler and sa_sigaction using union
34954 also for [__USE_XOPEN_EXTENDED].
34955 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34956 [__USE_XOPEN_EXTENDED].
34957 (SA_RESTART): Likewise.
34958 (SA_NODEFER): Likewise.
34959 (SA_RESETHAND): Likewise.
34960 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34961 (struct sigaction): Define sa_handler and sa_sigaction using union
34962 also for [__USE_XOPEN_EXTENDED].
34963 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34964 [__USE_XOPEN_EXTENDED].
34965 (SA_RESTART): Likewise.
34966 (SA_NODEFER): Likewise.
34967 (SA_RESETHAND): Likewise.
34968 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34969 (struct sigaction): Define sa_handler and sa_sigaction using union
34970 also for [__USE_XOPEN_EXTENDED].
34971 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34972 [__USE_XOPEN_EXTENDED].
34973 (SA_RESTART): Likewise.
34974 (SA_NODEFER): Likewise.
34975 (SA_RESETHAND): Likewise.
34976 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34977 (struct sigaction): Define sa_handler and sa_sigaction using union
34978 also for [__USE_XOPEN_EXTENDED].
34979 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34980 [__USE_XOPEN_EXTENDED].
34981 (SA_RESTART): Likewise.
34982 (SA_NODEFER): Likewise. Define directly rather than as alias.
34983 (SA_RESETHAND): Likewise.
34984 (SA_INTERRUPT): Define only for [__USE_MISC].
34985 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34986 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34988 (SA_STACK): Define only for [__USE_MISC].
34989 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34990 (struct sigaction): Define sa_handler and sa_sigaction using union
34991 also for [__USE_XOPEN_EXTENDED].
34992 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34993 [__USE_XOPEN_EXTENDED].
34994 (SA_RESTART): Likewise.
34995 (SA_NODEFER): Likewise.
34996 (SA_RESETHAND): Likewise.
34997 (SA_NOPTRACE): Define only for [__USE_MISC].
34999 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35000 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35001 (struct catalog_info): Likewise.
35002 * inet/htontest.c (lo): Likewise.
35004 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35005 * inet/inet_net.c (inet_network): Likewise.
35006 * inet/inet_netof.c (inet_netof): Likewise.
35007 * inet/rcmd.c (__ivaliduser): Likewise.
35008 (iruserok): Likewise.
35009 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35010 * locale/programs/locale-spec.c (locale_special): Likewise.
35011 * nis/nis_findserv.c (struct findserv_req): Likewise.
35012 (__nis_findfastest_with_timeout): Likewise.
35013 * nss/test-netdb.c (test_network): Likewise.
35014 * resolv/inet_neta.c (inet_neta): Likewise.
35015 * resolv/ns_date.c (ns_datetosecs): Likewise.
35016 (SECS_PER_DAY): Likewise.
35017 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35019 * resolv/res_comp.c (__putlong): Likewise.
35020 (__putshort): Likewise.
35021 (_getlong): Likewise.
35022 (_getshort): Likewise.
35023 * resolv/res_debug.c (p_time): Likewise.
35024 (precsize_ntoa): Likewise.
35025 (precsize_aton): Likewise.
35026 (latlon2ul): Likewise.
35027 (loc_aton): Likewise.
35028 (loc_ntoa): Likewise.
35029 * resolv/res_hconf.c (struct netaddr): Likewise.
35030 (_res_hconf_reorder_addrs): Likewise.
35031 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
35032 (clnttcp_control): Likewise.
35033 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35034 (clntudp_control): Likewise.
35035 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
35036 (clntunix_control): Likewise.
35037 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
35038 * sunrpc/rpc/auth.h (union des_block): Likewise.
35039 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
35040 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
35041 (xdrrec_create): Likewise.
35042 (xdrrec_endofrecord): Likewise.
35043 (flush_out): Likewise.
35044 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
35045 (xdrstdio_putlong): Likewise.
35046 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
35049 * misc/sys/cdefs.h (__long_double_t): Remove.
35050 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
35051 instead of __long_double_t,
35052 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
35054 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
35056 * benchtests/scripts/compare_strings.py: Avoid display error when
35057 running on a text terminal.
35059 * benchtests/scripts/compare_strings.py (main): Add an
35060 optional -base option.
35061 (process_results): New argument base_func.
35063 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
35065 * benchtests/bench-memcpy-large.c (test_name): Likewise.
35066 * benchtests/bench-memcpy-random.c (test_name): Likewise.
35068 2017-08-07 Andreas Schwab <schwab@suse.de>
35070 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
35071 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35072 * intl/Makefile ($(objpfx)tst-gettext.out)
35073 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
35074 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
35075 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35076 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35077 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
35078 * posix/Makefile ($(objpfx)globtest.out)
35079 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
35080 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
35081 ($(objpfx)tst-printf.out): Likewise.
35082 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
35083 ($(objpfx)tst-setcontext3.out): Likewise.
35085 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
35087 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35088 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
35089 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
35090 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
35091 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
35093 (CFLAGS-doasin-fma.c): New.
35094 (CFLAGS-dosincos-fma.c): Likewise.
35095 (CFLAGS-e_asin-fma.c): Likewise.
35096 (CFLAGS-e_atan2-fma.c): Likewise.
35097 (CFLAGS-e_exp-fma.c): Likewise.
35098 (CFLAGS-e_log-fma.c): Likewise.
35099 (CFLAGS-e_pow-fma.c): Likewise.
35100 (CFLAGS-halfulp-fma.c): Likewise.
35101 (CFLAGS-mpa-fma.c): Likewise.
35102 (CFLAGS-mpatan-fma.c): Likewise.
35103 (CFLAGS-mpatan2-fma.c): Likewise.
35104 (CFLAGS-mpexp-fma.c): Likewise.
35105 (CFLAGS-mplog-fma.c): Likewise.
35106 (CFLAGS-mpsqrt-fma.c): Likewise.
35107 (CFLAGS-mptan-fma.c): Likewise.
35108 (CFLAGS-s_atan-fma.c): Likewise.
35109 (CFLAGS-sincos32-fma.c): Likewise.
35110 (CFLAGS-slowexp-fma.c): Likewise.
35111 (CFLAGS-slowpow-fma.c): Likewise.
35112 (CFLAGS-s_sin-fma.c): Likewise.
35113 (CFLAGS-s_tan-fma.c): Likewise.
35114 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35115 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35116 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35117 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35118 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35119 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35120 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35121 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35122 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35123 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35124 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35125 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35126 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35127 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35128 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35129 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35130 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35131 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35132 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35133 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35134 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35135 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35136 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35137 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35138 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35139 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35140 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35141 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35142 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35143 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35144 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35146 2017-08-04 Joseph Myers <joseph@codesourcery.com>
35148 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35149 (min_of_type_f): New macro.
35150 (min_of_type_): Likewise.
35151 (min_of_type_l): Likewise.
35152 (min_of_type_f128): Likewise.
35153 (min_of_type): Define using __MATH_TG and taking an expression
35155 (math_check_force_underflow): Pass expression instead of type to
35157 (math_check_force_underflow_nonneg): Likewise.
35159 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35161 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35162 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35163 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35165 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35168 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35169 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35170 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35171 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35172 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35173 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35174 memmove_chk-nonshared and memset_chk-nonshared
35175 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35176 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35177 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35178 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35179 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35180 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35181 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35182 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35183 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35184 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35185 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35186 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35187 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35188 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35189 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35190 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35191 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35192 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35193 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35194 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35195 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35196 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35197 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35198 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35199 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35200 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35201 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35202 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35203 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35204 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35205 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35206 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35207 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35208 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35209 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35210 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35211 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35212 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35213 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35214 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35215 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35216 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35217 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35218 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35219 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35220 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35221 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35222 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35223 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35224 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35225 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35226 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35227 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35228 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35229 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35230 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35231 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35232 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35233 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35234 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35235 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35236 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35237 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35238 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35239 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35240 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35241 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35242 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35243 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35244 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35245 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35246 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35247 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35248 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35249 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35250 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35251 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35252 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35253 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35254 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35255 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35256 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35257 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35258 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35259 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35260 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35261 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35262 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35263 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35264 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35265 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35266 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35267 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35268 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35269 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35270 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35271 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35272 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35273 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35274 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35275 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35276 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35277 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35278 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35279 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35280 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35281 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35282 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35284 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35286 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35287 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35288 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35289 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35290 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35291 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35292 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35293 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35294 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35295 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35296 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35297 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35298 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35299 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35300 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35301 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35302 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35303 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35304 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35305 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35306 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35307 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35308 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35309 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35310 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35311 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35312 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
35313 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
35314 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
35315 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
35316 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
35317 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
35318 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
35319 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
35320 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
35321 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
35322 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
35323 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
35324 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
35325 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
35326 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35327 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35328 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35329 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35330 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35331 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35332 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35333 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35334 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35335 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35336 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35337 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35338 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
35339 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
35340 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
35341 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
35342 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
35343 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
35344 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
35346 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
35347 Don't include <sysdep.h> nor <init-arch.h>.
35348 (_ZGVbN2v_cos): Removed.
35349 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
35351 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
35352 Don't include <sysdep.h> nor <init-arch.h>.
35353 (_ZGVdN4v_cos): Removed.
35354 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
35356 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
35357 Don't include <sysdep.h> nor <init-arch.h>.
35358 (_ZGVeN8v_cos): Removed.
35359 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
35361 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
35362 Don't include <sysdep.h> nor <init-arch.h>.
35363 (_ZGVbN2v_exp): Removed.
35364 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
35366 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
35367 Don't include <sysdep.h> nor <init-arch.h>.
35368 (_ZGVdN4v_exp): Removed.
35369 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
35371 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
35372 Don't include <sysdep.h> nor <init-arch.h>.
35373 (_ZGVeN8v_exp): Removed.
35374 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
35376 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
35377 Don't include <sysdep.h> nor <init-arch.h>.
35378 (_ZGVbN2v_log): Removed.
35379 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
35381 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
35382 Don't include <sysdep.h> nor <init-arch.h>.
35383 (_ZGVdN4v_log): Removed.
35384 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
35386 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
35387 Don't include <sysdep.h> nor <init-arch.h>.
35388 (_ZGVeN8v_log): Removed.
35389 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
35391 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
35392 Don't include <sysdep.h> nor <init-arch.h>.
35393 (_ZGVbN2vv_pow): Removed.
35394 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
35396 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
35397 Don't include <sysdep.h> nor <init-arch.h>.
35398 (_ZGVdN4vv_pow): Removed.
35399 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
35401 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
35402 Don't include <sysdep.h> nor <init-arch.h>.
35403 (_ZGVeN8vv_pow): Removed.
35404 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
35406 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
35407 Don't include <sysdep.h> nor <init-arch.h>.
35408 (_ZGVbN2v_sin): Removed.
35409 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
35411 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
35412 Don't include <sysdep.h> nor <init-arch.h>.
35413 (_ZGVbN4v_sin): Removed.
35414 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
35416 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
35417 Don't include <sysdep.h> nor <init-arch.h>.
35418 (_ZGVbN8v_sin): Removed.
35419 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
35421 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
35422 Don't include <sysdep.h> nor <init-arch.h>.
35423 (_ZGVbN2vvv_sincos): Removed.
35424 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
35426 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
35427 Don't include <sysdep.h> nor <init-arch.h>.
35428 (_ZGVdN4vvv_sincos): Removed.
35429 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
35431 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
35432 Don't include <sysdep.h> nor <init-arch.h>.
35433 (_ZGVeN8vvv_sincos): Removed.
35434 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
35436 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
35437 Don't include <sysdep.h> nor <init-arch.h>.
35438 (_ZGVeN16v_cosf): Removed.
35439 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
35441 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
35442 Don't include <sysdep.h> nor <init-arch.h>.
35443 (_ZGVbN4v_cosf): Removed.
35444 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
35446 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
35447 Don't include <sysdep.h> nor <init-arch.h>.
35448 (_ZGVdN8v_cosf): Removed.
35449 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
35451 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
35452 Don't include <sysdep.h> nor <init-arch.h>.
35453 (_ZGVeN16v_expf): Removed.
35454 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
35456 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
35457 Don't include <sysdep.h> nor <init-arch.h>.
35458 (_ZGVbN4v_expf): Removed.
35459 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
35461 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
35462 Don't include <sysdep.h> nor <init-arch.h>.
35463 (_ZGVdN8v_expf): Removed.
35464 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
35466 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
35467 Don't include <sysdep.h> nor <init-arch.h>.
35468 (_ZGVeN16v_logf): Removed.
35469 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35471 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35472 Don't include <sysdep.h> nor <init-arch.h>.
35473 (_ZGVbN4v_logf): Removed.
35474 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35476 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35477 Don't include <sysdep.h> nor <init-arch.h>.
35478 (_ZGVdN8v_logf): Removed.
35479 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35481 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35482 Don't include <sysdep.h> nor <init-arch.h>.
35483 (_ZGVeN16vv_powf): Removed.
35484 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35486 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35487 Don't include <sysdep.h> nor <init-arch.h>.
35488 (_ZGVbN4vv_powf): Removed.
35489 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35491 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35492 Don't include <sysdep.h> nor <init-arch.h>.
35493 (_ZGVdN8vv_powf): Removed.
35494 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35496 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35497 Don't include <sysdep.h> nor <init-arch.h>.
35498 (_ZGVeN16vvv_sincosf): Removed.
35499 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35501 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35502 Don't include <sysdep.h> nor <init-arch.h>.
35503 (_ZGVbN4vvv_sincosf): Removed.
35504 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35506 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35507 Don't include <sysdep.h> nor <init-arch.h>.
35508 (_ZGVdN8vvv_sincosf): Removed.
35509 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35511 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35512 Don't include <sysdep.h> nor <init-arch.h>.
35513 (_ZGVeN16v_sinf): Removed.
35514 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35516 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35517 Don't include <sysdep.h> nor <init-arch.h>.
35518 (_ZGVbN4v_sinf): Removed.
35519 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35521 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35522 Don't include <sysdep.h> nor <init-arch.h>.
35523 (_ZGVdN8v_sinf): Removed.
35525 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35527 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35528 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35529 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35530 s_rint-sse4_1 and s_rintf-sse4_1.
35531 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35532 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35533 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35534 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35535 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35536 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35537 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35538 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35539 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35540 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35541 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35542 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35544 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35545 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35546 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35547 (__ceilf): Removed.
35548 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35549 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35550 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35551 (__floor): Removed.
35552 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35553 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35554 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35555 (__floorf): Removed.
35556 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35557 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35558 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35559 (__nearbyint): Removed.
35560 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35561 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35562 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35563 (__nearbyintf): Removed.
35564 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35565 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35566 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35568 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35569 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35570 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35571 (__rintf): Removed.
35573 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35575 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35576 SHARED. Avoid dynamic relocation against main in static PIE.
35578 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35581 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35582 (LDFLAGS-tst-prelink): Likewise.
35584 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35586 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35587 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35588 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35589 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35590 (INTERNAL_SYSCALL_NCS): Likewise.
35591 (LOADARGS_1): Likewise.
35592 (LOADARGS_5): Likewise.
35593 (RESTOREARGS_1): Likewise.
35594 (RESTOREARGS_5): Likewise.
35596 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35598 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35599 (MEMPCPY_SYMBOL): Likewise.
35600 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35601 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35602 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35604 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35605 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35607 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35608 (__hidden_ver1): Don't use in libc.a.
35609 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35610 (__mempcpy): Don't create a weak alias in libc.a.
35611 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35613 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35614 (__hidden_ver1): Don't use in libc.a.
35616 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35618 * config.make.in (have-insert): New.
35619 * configure.ac (libc_cv_insert): New. Set to yes if linker
35620 supports INSERT in linker script.
35621 (AC_SUBST(libc_cv_insert): New.
35622 * configure: Regenerated.
35623 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35624 if $(have-insert) == yes.
35626 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35628 * elf/Makefile (tests): Add vismain only if
35629 $(have-protected-data) == yes.
35630 (tests-pie): Likewise.
35632 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35635 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35636 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35638 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35641 * sysdeps/i386/i586/memset.S
35642 (__memset_zero_constant_len_parameter): Removed.
35643 * sysdeps/i386/i686/memset.S
35644 (__memset_zero_constant_len_parameter): Likewise.
35645 * sysdeps/i386/i686/multiarch/memset_chk.S
35646 (__memset_zero_constant_len_parameter): Likewise.
35647 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35650 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35652 * stdlib/getentropy.c (getentropy): Change return type to int.
35654 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35656 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35658 2017-08-03 Joseph Myers <joseph@codesourcery.com>
35660 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35662 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35663 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35665 (ieee_float_shape_type): Likewise.
35666 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35667 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35668 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35669 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35670 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35671 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35672 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35673 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35674 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35676 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35677 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35678 (__ieee754_yn): Likewise.
35679 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35680 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35681 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35683 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35684 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35685 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35686 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35687 (__erfc): Likewise.
35688 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35689 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35690 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35691 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35692 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35693 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35695 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35696 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35697 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35698 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35699 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35700 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35701 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35702 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35703 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35704 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35705 (__issignaling): Likewise.
35706 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35707 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35708 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35710 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35711 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35712 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35713 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35715 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35717 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35718 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35719 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35720 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35721 (__erfcf): Likewise.
35722 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35723 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35724 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35725 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35727 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35728 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35730 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35731 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35732 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35733 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35734 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35735 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35736 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35737 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35739 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35741 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35743 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35744 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35746 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35748 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35749 (__ieee754_ynl): Likewise.
35750 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35751 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35753 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35755 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35756 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35757 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35759 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35760 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35761 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35762 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35763 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35764 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35765 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35766 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35768 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35769 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35770 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35772 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35773 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35774 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35775 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35776 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35777 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35779 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35781 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35783 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35785 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35786 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35787 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35788 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35789 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35790 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35793 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35795 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35796 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35798 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35799 (__ieee754_remainderl): Likewise.
35800 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35801 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35802 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35803 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35805 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35806 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35808 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35809 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35810 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35811 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35812 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35813 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35815 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35816 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35817 (__ieee754_y0l): Likewise.
35820 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35821 (__ieee754_y1l): Likewise.
35824 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35825 (__ieee754_ynl): Likewise.
35826 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35827 (__ieee754_lgammal_r): Likewise.
35828 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35830 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35831 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35832 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35833 (__erfcl): Likewise.
35834 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35835 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35837 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35838 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35839 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35840 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35841 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35842 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35843 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35845 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35846 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35847 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35848 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35849 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35851 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35852 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35854 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35855 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35856 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35857 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35858 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35860 2017-08-03 Florian Weimer <fweimer@redhat.com>
35863 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35864 on memory allocation failure.
35866 2017-08-03 Alan Modra <amodra@gmail.com>
35868 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35869 tst-tlsopt-powerpc.c with function name change and no test harness.
35870 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35871 Call tls_get_addr_opt_test.
35872 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35873 (modules-names): Add mod-tlsopt-powerpc.
35874 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35875 (tst-tlsopt-powerpc): Depend on .so.
35876 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35877 define. Expand use in TLS_GD and TLS_LD.
35879 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35881 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35883 * sysdeps/posix/shm_open.c: Include <pthread.h>.
35885 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35888 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35889 comparing size with that of double.
35890 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35891 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35892 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35893 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35894 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35895 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35896 unsigned __int128 types.
35898 2017-08-02 Steve Ellcey <sellcey@cavium.com>
35900 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35901 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35902 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35903 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35904 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35906 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35908 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35910 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35912 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35914 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35915 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35916 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35917 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35918 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35919 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35920 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35922 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35925 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35926 bit-field expressions passed to sizeof or typeof.
35927 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35928 (__TGMATH_F128): Likewise.
35929 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35930 (__TGMATH_CF128): Likewise.
35931 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35932 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35933 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35934 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35935 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35936 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35937 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35938 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35939 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35940 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35941 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35942 (__TGMATH_UNARY_IMAG): Likewise.
35943 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35944 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35945 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35947 (define_vars_for_type): Handle bit_field type specially.
35948 (Tests.__init__): Declare structure with bit-field element.
35950 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35953 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35954 (MEMCPY_CHK): Define only if SHARED is defined.
35955 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35957 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35960 See ChangeLog.18 for earlier changes.