1 2017-12-12 Carlos O'Donell <carlos@redhat.com>
4 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
7 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
10 * INSTALL: Regenerated.
11 * Makeconfig (real-static-start-installed-name): New.
12 (pic-default): Updated for --enable-static-pie.
13 (pie-default): New for --enable-static-pie.
14 (default-pie-ldflag): Likewise.
15 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
16 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17 Replace $(static-start-installed-name) with
18 $(real-static-start-installed-name).
19 (+prectorT): Updated for --enable-static-pie.
20 (+postctorT): Likewise.
21 (CFLAGS-.o): Add $(pie-default).
22 (CFLAGS-.op): Likewise.
23 * NEWS: Mention --enable-static-pie.
24 * config.h.in (ENABLE_STATIC_PIE): New.
25 * configure.ac (--enable-static-pie): New configure option.
26 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
27 (have-static-pie): Likewise.
28 Enable static PIE if linker supports --no-dynamic-linker.
29 (ENABLE_STATIC_PIE): New AC_DEFINE.
30 (enable-static-pie): New LIBC_CONFIG_VAR.
31 * configure: Regenerated.
32 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
33 gr$(start-installed-name) for --enable-static-pie.
34 (extra-objs): Likewise.
35 (install-lib): Likewise.
36 (extra-objs): Add static-reloc.o and static-reloc.os
37 ($(objpfx)$(start-installed-name)): Also depend on
38 $(objpfx)static-reloc.o.
39 ($(objpfx)r$(start-installed-name)): New.
40 ($(objpfx)g$(start-installed-name)): Also depend on
41 $(objpfx)static-reloc.os.
42 ($(objpfx)gr$(start-installed-name)): New.
43 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
45 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
47 * csu/static-reloc.c: New file.
48 * elf/Makefile (routines): Add dl-reloc-static-pie.
49 (elide-routines.os): Likewise.
50 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
51 (tst-tls1-static-non-pie-no-pie): New.
52 * elf/dl-reloc-static-pie.c: New file.
53 * elf/dl-support.c (_dl_get_dl_main_map): New function.
54 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
56 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
57 * gmon/Makefile (tests): Add tst-gmon-static-pie.
58 (tests-static): Likewise.
59 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
60 (tst-gmon-static-no-pie): New.
61 (CFLAGS-tst-gmon-static-pie.c): Likewise.
62 (CRT-tst-gmon-static-pie): Likewise.
63 (tst-gmon-static-pie-ENV): Likewise.
64 (tests-special): Likewise.
65 ($(objpfx)tst-gmon-static-pie.out): Likewise.
66 (clean-tst-gmon-static-pie-data): Likewise.
67 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
68 * gmon/tst-gmon-static-pie.c: New file.
69 * manual/install.texi: Document --enable-static-pie.
70 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
71 (_dl_get_dl_main_map): Likewise.
72 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
73 * sysdeps/x86_64/configure.ac: Likewise.
74 * sysdeps/i386/configure: Regenerated.
75 * sysdeps/x86_64/configure: Likewise.
76 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
77 (ASFLAGS-.op): Likewise.
79 2017-12-15 Joseph Myers <joseph@codesourcery.com>
81 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
82 * posix/tst-mmap-offset.c (fname): Use /tmp.
83 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
85 2017-12-15 Steve Ellcey <sellcey@cavium.com>
87 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
89 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
91 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
94 2017-12-15 Joseph Myers <joseph@codesourcery.com>
96 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
97 --with-float=hard for arm-linux-gnueabihf configurations.
100 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
101 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
102 ($(mo-installed)): Use $(objpfx)%.mo.
103 (realclean): Remove rule.
105 * po/Makefile (linguas): Remove rule and dependencies.
106 (linguas.mo): Likewise.
107 (.PHONY): Do not depend on linguas and linguas.mo.
108 (podir): Remove variable.
110 [$(pofiles)] (%.po): Remove rule.
112 * sysdeps/sparc/sparc32/Makefile
113 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
114 start-of-line whitespace in argument of echo.
115 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
116 with whitespace. Generate __wrap_.udiv alias.
117 * sysdeps/sparc/sparc32/rem.S: Regenerated.
118 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
119 * sysdeps/sparc/sparc32/udiv.S: Likewise.
120 * sysdeps/sparc/sparc32/urem.S: Likewise.
122 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
124 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
127 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
129 * benchtests/bench-strcmp.c: Print output in JSON format.
131 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
133 2017-12-14 Florian Weimer <fweimer@redhat.com>
137 * elf/dl-load.c (_dl_init_paths): Compute number of components in
138 the expanded path string.
140 2017-12-14 Florian Weimer <fweimer@redhat.com>
144 * elf/dl-load.c (system_dirs): Update comment.
145 (nsystem_dirs_len): Use array_length.
146 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
148 2017-12-14 Florian Weimer <fweimer@redhat.com>
150 Simplify compiling most of support/ outside of glibc.
151 * support/check_addrinfo.c: Include <string.h>.
152 * support/check_dns_packet.c: Likewise.
153 * support/check_hostent.c: Likewise.
154 * support/support_can_chroot.c: Include <support/xunistd.h>.
155 * support/support_format_addrinfo.c: Include <stdlib.h>
156 * support/support_format_dns_packet.c: Include <stdbool.h>.
157 * support/support_format_hostent.c: Include <stdlib.h>.
158 * support/support_format_netent.c: Likewise.
159 * support/support_write_string.c: Include <support/xunistd.h>.
160 * support/xdlfcn.c: Include <stddef.h>.
162 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
164 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
166 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
167 Adhemerval Zanella <adhemerval.zanella@linaro.org>
169 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
170 (sysdeps_routines): Add memset-niagara7.
171 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
173 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
175 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
176 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
177 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
178 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
180 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
183 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
184 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
185 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
187 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
189 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
190 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
191 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
192 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
193 and __memmove_niagara7.
194 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
196 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
197 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
198 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
199 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
200 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
202 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
204 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
205 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
206 * sysdeps/sparc/sparc64/memmove.S: Likewise.
207 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
209 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
210 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
211 _dl_sparc_cap_flags array.
212 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
214 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
216 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
217 time whenever possible.
219 2017-12-12 Carlos O'Donell <carlos@redhat.com>
221 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
222 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
224 2017-12-12 Joseph Myers <joseph@codesourcery.com>
226 * soft-fp/fmadf4.c: Move to ....
227 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
228 * soft-fp/fmasf4.c: Move to ....
229 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
230 * soft-fp/fmatf4.c: Move to ....
231 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
232 * sysdeps/ieee754/soft-fp/Makefile: New file.
233 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
234 * sysdeps/arm/preconfigure: Regenerated.
235 * sysdeps/arm/nofpu/Implies: New file.
236 * sysdeps/arm/s_fma.c: Remove file.
237 * sysdeps/arm/s_fmaf.c: Likewise.
238 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
239 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
240 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
241 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
242 * sysdeps/microblaze/s_fma.c: Remove file.
243 * sysdeps/microblaze/s_fmaf.c: Likewise.
244 * sysdeps/mips/mips32/nofpu/Implies: New file.
245 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
246 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
247 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
248 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
249 * sysdeps/mips/ieee754/s_fma.c: Remove file.
250 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
251 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
253 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
254 * sysdeps/nios2/s_fma.c: Remove file.
255 * sysdeps/nios2/s_fmaf.c: Likewise.
256 * sysdeps/sh/nofpu/Implies: New file.
257 * sysdeps/sh/s_fma.c: Remove file.
258 * sysdeps/sh/s_fmaf.c: Likewise.
259 * sysdeps/tile/Implies: Add ieee754/soft-fp.
260 * sysdeps/tile/s_fma.c: Remove file.
261 * sysdeps/tile/s_fmaf.c: Likewise.
263 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
265 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
266 Add s_cosf-sse2 and s_cosf-fma.
267 (CFLAGS-s_cosf-fma.c): New.
268 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
269 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
270 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
272 2017-12-12 Steve Ellcey <sellcey@cavium.com>
274 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
276 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
278 * libio/Makefile (tests): Add tst-bz22415.
279 (tst-bz22415-ENV): New rule.
280 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
281 (tests-special): Add tst-bz22415-mem.out.
282 ($(objpfx)tst-bz22415-mem.out): New rule.
283 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
284 in case of a successful seek operation.
285 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
286 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
288 * libio/tst-bz22415.c: New test.
290 * sysdeps/ia64/fpu/libm-test-ulps: Update.
292 2017-12-12 James Clarke <jrtc27@jrtc27.com>
294 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
295 __IPC_64 to 0 to avoid IPC_64 being set.
297 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
300 * math/bits/mathcalls.h (nextafter): Remove const.
301 (nexttoward): Likewise.
303 2017-12-12 Joseph Myers <joseph@codesourcery.com>
305 * configure.ac (--with-fp): Remove configure option.
306 (with_fp_cond): New variable.
307 (libc_cv_with_fp): New configure test. Use this variable instead
309 * configure: Regenerated.
310 * config.make.in (with-fp): Use @libc_cv_with_fp@.
311 * manual/install.texi (Configuring and compiling): Remove
313 * INSTALL: Regenerated.
314 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
315 * sysdeps/mips/preconfigure (with_fp_cond): Define.
316 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
317 * sysdeps/sh/preconfigure (with_fp_cond): Define.
318 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
319 use --without-fp to configure glibc.
321 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
323 * manual/locale.texi (nl_langinfo): Fix a typo.
325 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
328 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
330 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
332 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
333 (CFLAGS-argp-parse.c): Likewise.
334 (CFLAGS-argp-fmtstream.c): Likewise.
335 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
336 (CPPFLAGS-sha512-crypt.c): Likewise.
337 (CPPFLAGS-md5-crypt.c): Likewise.
338 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
339 (CFLAGS-stack_chk_fail_local.c): Likewise.
340 (CFLAGS-backtrace.c): Likewise.
341 (CFLAGS-sprintf_chk.c): Likewise.
342 (CFLAGS-snprintf_chk.c): Likewise.
343 (CFLAGS-vsprintf_chk.c): Likewise.
344 (CFLAGS-vsnprintf_chk.c): Likewise.
345 (CFLAGS-asprintf_chk.c): Likewise.
346 (CFLAGS-vasprintf_chk.c): Likewise.
347 (CFLAGS-obprintf_chk.c): Likewise.
348 (CFLAGS-dprintf_chk.c): Likewise.
349 (CFLAGS-vdprintf_chk.c): Likewise.
350 (CFLAGS-printf_chk.c): Likewise.
351 (CFLAGS-fprintf_chk.c): Likewise.
352 (CFLAGS-vprintf_chk.c): Likewise.
353 (CFLAGS-vfprintf_chk.c): Likewise.
354 (CFLAGS-gets_chk.c): Likewise.
355 (CFLAGS-fgets_chk.c): Likewise.
356 (CFLAGS-fgets_u_chk.c): Likewise.
357 (CFLAGS-fread_chk.c): Likewise.
358 (CFLAGS-fread_u_chk.c): Likewise.
359 (CFLAGS-swprintf_chk.c): Likewise.
360 (CFLAGS-vswprintf_chk.c): Likewise.
361 (CFLAGS-wprintf_chk.c): Likewise.
362 (CFLAGS-fwprintf_chk.c): Likewise.
363 (CFLAGS-vwprintf_chk.c): Likewise.
364 (CFLAGS-vfwprintf_chk.c): Likewise.
365 (CFLAGS-fgetws_chk.c): Likewise.
366 (CFLAGS-fgetws_u_chk.c): Likewise.
367 (CFLAGS-read_chk.c): Likewise.
368 (CFLAGS-pread_chk.c): Likewise.
369 (CFLAGS-pread64_chk.c): Likewise.
370 (CFLAGS-recv_chk.c): Likewise.
371 (CFLAGS-recvfrom_chk.c): Likewise.
372 (CFLAGS-tst-longjmp_chk.c): Likewise.
373 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
374 (CFLAGS-tst-longjmp_chk2.c): Likewise.
375 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
376 (CFLAGS-tst-longjmp_chk3.c): Likewise.
377 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
378 (CFLAGS-tst-chk1.c): Likewise.
379 (CFLAGS-tst-chk2.c): Likewise.
380 (CFLAGS-tst-chk3.c): Likewise.
381 (CFLAGS-tst-chk4.cc): Likewise.
382 (CFLAGS-tst-chk5.cc): Likewise.
383 (CFLAGS-tst-chk6.cc): Likewise.
384 (CFLAGS-tst-lfschk1.c): Likewise.
385 (CFLAGS-tst-lfschk2.c): Likewise.
386 (CFLAGS-tst-lfschk3.c): Likewise.
387 (CFLAGS-tst-lfschk4.cc): Likewise.
388 (CFLAGS-tst-lfschk5.cc): Likewise.
389 (CFLAGS-tst-lfschk6.cc): Likewise.
390 (CFLAGS-tst-ssp-1.c): Likewise.
391 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
392 (CFLAGS-scandir64.c): Likewise.
393 (CFLAGS-scandir-tail.c): Likewise.
394 (CFLAGS-scandir64-tail.c): Likewise.
395 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
396 (CFLAGS-dl-tunables.c): Likewise.
397 (CFLAGS-dl-runtime.c): Likewise.
398 (CFLAGS-dl-lookup.c): Likewise.
399 (CFLAGS-dl-iterate-phdr.c): Likewise.
400 (CFLAGS-vismain.c): Likewise.
401 (CFLAGS-tst-linkall-static.c): Likewise.
402 (CFLAGS-tst-linkall-static.c): Likewise.
403 (CPPFLAGS-dl-load.c): Likewise.
404 (CFLAGS-ldconfig.c): Likewise.
405 (CFLAGS-dl-cache.c): Likewise.
406 (CFLAGS-cache.c): Likewise.
407 (CFLAGS-rtld.c): Likewise.
408 (CFLAGS-multiload.c): Likewise.
409 (CFLAGS-filtmod1.c): Likewise.
410 (CFLAGS-tst-align.c): Likewise.
411 (CFLAGS-tst-align2.c): Likewise.
412 (CFLAGS-tst-alignmod.c): Likewise.
413 (CFLAGS-tst-alignmod2.c): Likewise.
414 (CPPFLAGS-tst-execstack.c): Likewise.
415 (CFLAGS-tst-ptrguard1-static.c): Likewise.
416 (CFLAGS-tst-latepthreadmod.c): Likewise.
417 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
418 (CFLAGS-getgrnam_r.c): Likewise.
419 (CFLAGS-getgrent_r.c): Likewise.
420 (CFLAGS-getgrent.c): Likewise.
421 (CFLAGS-fgetgrent.c): Likewise.
422 (CFLAGS-fgetgrent_r.c): Likewise.
423 (CFLAGS-putgrent.c): Likewise.
424 (CFLAGS-initgroups.c): Likewise.
425 (CFLAGS-getgrgid.c): Likewise.
426 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
427 (CFLAGS-getsgent.c): Likewise.
428 (CFLAGS-fgetsgent.c): Likewise.
429 (CFLAGS-fgetsgent_r.c): Likewise.
430 (CFLAGS-putsgent.c): Likewise.
431 (CFLAGS-getsgnam.c): Likewise.
432 (CFLAGS-getsgnam_r.c): Likewise.
433 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
434 (CFLAGS-iconv_charmap.c): Likewise.
435 (CFLAGS-dummy-repertoire.c): Likewise.
436 (CFLAGS-charmap.c): Likewise.
437 (CFLAGS-linereader.c): Likewise.
438 (CFLAGS-simple-hash.c): Likewise.
439 (CFLAGS-gconv_conf.c): Likewise.
440 (CFLAGS-iconvconfig.c): Likewise.
441 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
442 (CFLAGS-gethstbyad.c): Likewise.
443 (CFLAGS-gethstbynm_r.c): Likewise.
444 (CFLAGS-gethstbynm.c): Likewise.
445 (CFLAGS-gethstbynm2_r.c): Likewise.
446 (CFLAGS-gethstbynm2.c): Likewise.
447 (CFLAGS-gethstent_r.c): Likewise.
448 (CFLAGS-gethstent.c): Likewise.
449 (CFLAGS-rcmd.c): Likewise.
450 (CFLAGS-getnetbynm_r.c): Likewise.
451 (CFLAGS-getnetbynm.c): Likewise.
452 (CFLAGS-getnetbyad_r.c): Likewise.
453 (CFLAGS-getnetbyad.c): Likewise.
454 (CFLAGS-getnetent_r.c): Likewise.
455 (CFLAGS-getnetent.c): Likewise.
456 (CFLAGS-getaliasent_r.c): Likewise.
457 (CFLAGS-getaliasent.c): Likewise.
458 (CFLAGS-getrpcent_r.c): Likewise.
459 (CFLAGS-getrpcent.c): Likewise.
460 (CFLAGS-getservent_r.c): Likewise.
461 (CFLAGS-getservent.c): Likewise.
462 (CFLAGS-getprtent_r.c): Likewise.
463 (CFLAGS-getprtent.c): Likewise.
464 (CFLAGS-either_ntoh.c): Likewise.
465 (CFLAGS-either_hton.c): Likewise.
466 (CFLAGS-getnetgrent.c): Likewise.
467 (CFLAGS-getnetgrent_r.c): Likewise.
468 (CFLAGS-tst-checks-posix.c): Likewise.
469 (CFLAGS-tst-sockaddr.c): Likewise.
470 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
471 (CFLAGS-tst-translit.c): Likewise.
472 (CFLAGS-tst-gettext2.c): Likewise.
473 (CFLAGS-tst-codeset.c): Likewise.
474 (CFLAGS-tst-gettext3.c): Likewise.
475 (CFLAGS-tst-gettext4.c): Likewise.
476 (CFLAGS-tst-gettext5.c): Likewise.
477 (CFLAGS-tst-gettext6.c): Likewise.
478 * io/Makefile (CFLAGS-open.c): Likewise.
479 (CFLAGS-open64.c): Likewise.
480 (CFLAGS-creat.c): Likewise.
481 (CFLAGS-creat64.c): Likewise.
482 (CFLAGS-fcntl.c): Likewise.
483 (CFLAGS-poll.c): Likewise.
484 (CFLAGS-ppoll.c): Likewise.
485 (CFLAGS-lockf.c): Likewise.
486 (CFLAGS-statfs.c): Likewise.
487 (CFLAGS-fstatfs.c): Likewise.
488 (CFLAGS-statvfs.c): Likewise.
489 (CFLAGS-fstatvfs.c): Likewise.
490 (CFLAGS-fts.c): Likewise.
491 (CFLAGS-fts64.c): Likewise.
492 (CFLAGS-ftw.c): Likewise.
493 (CFLAGS-ftw64.c): Likewise.
494 (CFLAGS-lockf.c): Likewise.
495 (CFLAGS-posix_fallocate.c): Likewise.
496 (CFLAGS-posix_fallocate64.c): Likewise.
497 (CFLAGS-fallocate.c): Likewise.
498 (CFLAGS-fallocate64.c): Likewise.
499 (CFLAGS-read.c): Likewise.
500 (CFLAGS-write.c): Likewise.
501 (CFLAGS-test-stat.c): Likewise.
502 (CFLAGS-test-lfs.c): Likewise.
503 * libio/Makefile (CFLAGS-fileops.c): Likewise.
504 (CFLAGS-fputc.c): Likewise.
505 (CFLAGS-fputwc.c): Likewise.
506 (CFLAGS-freopen64.c): Likewise.
507 (CFLAGS-freopen.c): Likewise.
508 (CFLAGS-fseek.c): Likewise.
509 (CFLAGS-fseeko64.c): Likewise.
510 (CFLAGS-fseeko.c): Likewise.
511 (CFLAGS-ftello64.c): Likewise.
512 (CFLAGS-ftello.c): Likewise.
513 (CFLAGS-fwide.c): Likewise.
514 (CFLAGS-genops.c): Likewise.
515 (CFLAGS-getc.c): Likewise.
516 (CFLAGS-getchar.c): Likewise.
517 (CFLAGS-getwc.c): Likewise.
518 (CFLAGS-getwchar.c): Likewise.
519 (CFLAGS-iofclose.c): Likewise.
520 (CFLAGS-iofflush.c): Likewise.
521 (CFLAGS-iofgetpos64.c): Likewise.
522 (CFLAGS-iofgetpos.c): Likewise.
523 (CFLAGS-iofgets.c): Likewise.
524 (CFLAGS-iofgetws.c): Likewise.
525 (CFLAGS-iofputs.c): Likewise.
526 (CFLAGS-iofputws.c): Likewise.
527 (CFLAGS-iofread.c): Likewise.
528 (CFLAGS-iofsetpos64.c): Likewise.
529 (CFLAGS-iofsetpos.c): Likewise.
530 (CFLAGS-ioftell.c): Likewise.
531 (CFLAGS-iofwrite.c): Likewise.
532 (CFLAGS-iogetdelim.c): Likewise.
533 (CFLAGS-iogetline.c): Likewise.
534 (CFLAGS-iogets.c): Likewise.
535 (CFLAGS-iogetwline.c): Likewise.
536 (CFLAGS-ioputs.c): Likewise.
537 (CFLAGS-ioseekoff.c): Likewise.
538 (CFLAGS-ioseekpos.c): Likewise.
539 (CFLAGS-iosetbuffer.c): Likewise.
540 (CFLAGS-iosetvbuf.c): Likewise.
541 (CFLAGS-ioungetc.c): Likewise.
542 (CFLAGS-ioungetwc.c): Likewise.
543 (CFLAGS-oldfileops.c): Likewise.
544 (CFLAGS-oldiofclose.c): Likewise.
545 (CFLAGS-oldiofgetpos64.c): Likewise.
546 (CFLAGS-oldiofgetpos.c): Likewise.
547 (CFLAGS-oldiofsetpos64.c): Likewise.
548 (CFLAGS-oldiofsetpos.c): Likewise.
549 (CFLAGS-peekc.c): Likewise.
550 (CFLAGS-putc.c): Likewise.
551 (CFLAGS-putchar.c): Likewise.
552 (CFLAGS-putwc.c): Likewise.
553 (CFLAGS-putwchar.c): Likewise.
554 (CFLAGS-rewind.c): Likewise.
555 (CFLAGS-wfileops.c): Likewise.
556 (CFLAGS-wgenops.c): Likewise.
557 (CFLAGS-oldiofopen.c): Likewise.
558 (CFLAGS-iofopen.c): Likewise.
559 (CFLAGS-iofopen64.c): Likewise.
560 (CFLAGS-oldtmpfile.c): Likewise.
561 (CFLAGS-tst_putwc.c): Likewise.
562 * locale/Makefile (CFLAGS-md5.c): Likewise.
563 (CFLAGS-charmap.c): Likewise.
564 (CFLAGS-locfile.c): Likewise.
565 (CFLAGS-charmap-dir.c): Likewise.
566 * login/Makefile (CFLAGS-grantpt.c): Likewise.
567 (CFLAGS-getpt.c): Likewise.
568 (CFLAGS-pt_chown.c): Likewise.
569 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
570 (CFLAGS-obstack.c): Likewise.
571 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
572 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
573 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
574 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
575 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
576 (CFLAGS-test-tgmath.c): Likewise.
577 (CFLAGS-test-tgmath2.c): Likewise.
578 (CFLAGS-test-tgmath-ret.c): Likewise.
579 (CFLAGS-test-powl.c): Likewise.
580 (CFLAGS-test-snan.c): Likewise.
581 (CFLAGS-test-signgam-finite.c): Likewise.
582 (CFLAGS-test-signgam-finite-c99.c): Likewise.
583 (CFLAGS-test-signgam-finite-c11.c): Likewise.
584 (CFLAGS-test-signgam-uchar.c): Likewise.
585 (CFLAGS-test-signgam-uchar-init.c): Likewise.
586 (CFLAGS-test-signgam-uchar-static.c): Likewise.
587 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
588 (CFLAGS-test-signgam-uint.c): Likewise.
589 (CFLAGS-test-signgam-uint-init.c): Likewise.
590 (CFLAGS-test-signgam-uint-static.c): Likewise.
591 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
592 (CFLAGS-test-signgam-ullong.c): Likewise.
593 (CFLAGS-test-signgam-ullong-init.c): Likewise.
594 (CFLAGS-test-signgam-ullong-static.c): Likewise.
595 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
596 (CFLAGS-test-math-cxx11.cc): Likewise.
597 (CFLAGS-test-math-isinff.cc): Likewise.
598 (CFLAGS-test-math-iszero.cc): Likewise.
599 (CFLAGS-test-math-issignaling.cc): Likewise.
600 (CFLAGS-test-math-iscanonical.cc): Likewise.
601 (CFLAGS-test-iszero-excess-precision.c): Likewise.
602 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
603 (CFLAGS-test-flt-eval-method.c): Likewise.
604 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
605 (CFLAGS-test-finite-macros.c): Likewise.
606 * misc/Makefile (CFLAGS-select.c): Likewise.
607 (CFLAGS-tsearch.c): Likewise.
608 (CFLAGS-lsearch.c): Likewise.
609 (CFLAGS-pselect.c): Likewise.
610 (CFLAGS-readv.c): Likewise.
611 (CFLAGS-writev.c): Likewise.
612 (CFLAGS-preadv.c): Likewise.
613 (CFLAGS-preadv64.c): Likewise.
614 (CFLAGS-pwritev.c): Likewise.
615 (CFLAGS-pwritev64.c): Likewise.
616 (CFLAGS-preadv2.c): Likewise.
617 (CFLAGS-preadv64v2.c): Likewise.
618 (CFLAGS-pwritev2.c): Likewise.
619 (CFLAGS-pwritev64v2.c): Likewise.
620 (CFLAGS-usleep.c): Likewise.
621 (CFLAGS-syslog.c): Likewise.
622 (CFLAGS-error.c): Likewise.
623 (CFLAGS-getpass.c): Likewise.
624 (CFLAGS-mkstemp.c): Likewise.
625 (CFLAGS-mkstemp64.c): Likewise.
626 (CFLAGS-getsysstats.c): Likewise.
627 (CFLAGS-getusershell.c): Likewise.
628 (CFLAGS-err.c): Likewise.
629 (CFLAGS-tst-tsearch.c): Likewise.
630 (CFLAGS-msync.c): Likewise.
631 (CFLAGS-fdatasync.c): Likewise.
632 (CFLAGS-fsync.c): Likewise.
633 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
634 (CFLAGS-unwind.c): Likewise.
635 (CFLAGS-unwind-forcedunwind.c): Likewise.
636 (CFLAGS-pthread_cancel.c): Likewise.
637 (CFLAGS-pthread_setcancelstate.c): Likewise.
638 (CFLAGS-pthread_setcanceltype.c): Likewise.
639 (CFLAGS-cancellation.c): Likewise.
640 (CFLAGS-libc-cancellation.c): Likewise.
641 (CFLAGS-pthread_exit.c): Likewise.
642 (CFLAGS-forward.c): Likewise.
643 (CFLAGS-pthread_testcancel.c): Likewise.
644 (CFLAGS-pthread_join.c): Likewise.
645 (CFLAGS-pthread_timedjoin.c): Likewise.
646 (CFLAGS-pthread_once.c): Likewise.
647 (CFLAGS-pthread_cond_wait.c): Likewise.
648 (CFLAGS-sem_wait.c): Likewise.
649 (CFLAGS-sem_timedwait.c): Likewise.
650 (CFLAGS-fcntl.c): Likewise.
651 (CFLAGS-lockf.c): Likewise.
652 (CFLAGS-pread.c): Likewise.
653 (CFLAGS-pread64.c): Likewise.
654 (CFLAGS-pwrite.c): Likewise.
655 (CFLAGS-pwrite64.c): Likewise.
656 (CFLAGS-wait.c): Likewise.
657 (CFLAGS-waitpid.c): Likewise.
658 (CFLAGS-sigwait.c): Likewise.
659 (CFLAGS-msgrcv.c): Likewise.
660 (CFLAGS-msgsnd.c): Likewise.
661 (CFLAGS-tcdrain.c): Likewise.
662 (CFLAGS-open.c): Likewise.
663 (CFLAGS-open64.c): Likewise.
664 (CFLAGS-pause.c): Likewise.
665 (CFLAGS-recv.c): Likewise.
666 (CFLAGS-send.c): Likewise.
667 (CFLAGS-accept.c): Likewise.
668 (CFLAGS-sendto.c): Likewise.
669 (CFLAGS-connect.c): Likewise.
670 (CFLAGS-recvfrom.c): Likewise.
671 (CFLAGS-recvmsg.c): Likewise.
672 (CFLAGS-sendmsg.c): Likewise.
673 (CFLAGS-close.c): Likewise.
674 (CFLAGS-read.c): Likewise.
675 (CFLAGS-write.c): Likewise.
676 (CFLAGS-nanosleep.c): Likewise.
677 (CFLAGS-sigsuspend.c): Likewise.
678 (CFLAGS-msync.c): Likewise.
679 (CFLAGS-fdatasync.c): Likewise.
680 (CFLAGS-fsync.c): Likewise.
681 (CFLAGS-pt-system.c): Likewise.
682 (CFLAGS-tst-cleanup2.c): Likewise.
683 (CFLAGS-tst-cleanupx2.c): Likewise.
684 (CFLAGS-flockfile.c): Likewise.
685 (CFLAGS-ftrylockfile.c): Likewise.
686 (CFLAGS-funlockfile.c): Likewise.
687 (CFLAGS-tst-initializers1.c): Likewise.
688 (CFLAGS-tst-initializers1-c89.c): Likewise.
689 (CFLAGS-tst-initializers1-c99.c): Likewise.
690 (CFLAGS-tst-initializers1-c11.c): Likewise.
691 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
692 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
693 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
694 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
695 (CFLAGS-nscd_getgr_r.c): Likewise.
696 (CFLAGS-nscd_gethst_r.c): Likewise.
697 (CFLAGS-nscd_getai.c): Likewise.
698 (CFLAGS-nscd_initgroups.c): Likewise.
699 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
700 (CFLAGS-pause.c): Likewise.
701 (CFLAGS-pread.c): Likewise.
702 (CFLAGS-pread64.c): Likewise.
703 (CFLAGS-pwrite.c): Likewise.
704 (CFLAGS-pwrite64.c): Likewise.
705 (CFLAGS-sleep.c): Likewise.
706 (CFLAGS-wait.c): Likewise.
707 (CFLAGS-waitid.c): Likewise.
708 (CFLAGS-waitpid.c): Likewise.
709 (CFLAGS-getopt.c): Likewise.
710 (CFLAGS-wordexp.c): Likewise.
711 (CFLAGS-sysconf.c): Likewise.
712 (CFLAGS-pathconf.c): Likewise.
713 (CFLAGS-fpathconf.c): Likewise.
714 (CFLAGS-spawn.c): Likewise.
715 (CFLAGS-spawnp.c): Likewise.
716 (CFLAGS-spawni.c): Likewise.
717 (CFLAGS-glob.c): Likewise.
718 (CFLAGS-glob64.c): Likewise.
719 (CFLAGS-getconf.c): Likewise.
720 (CFLAGS-nanosleep.c): Likewise.
721 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
722 (CFLAGS-getpwent.c): Likewise.
723 (CFLAGS-getpw.c): Likewise.
724 (CFLAGS-fgetpwent_r.c): Likewise.
725 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
726 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
727 (CFLAGS-mq_timedreceive.c): Likewise.
728 (CFLAGS-mq_timedsend.c): Likewise.
729 (CFLAGS-clock_nanosleep.c): Likewise.
730 (CFLAGS-librt-cancellation.c): Likewise.
731 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
732 (CFLAGS-getspent.c): Likewise.
733 (CFLAGS-fgetspent.c): Likewise.
734 (CFLAGS-fgetspent_r.c): Likewise.
735 (CFLAGS-putspent.c): Likewise.
736 (CFLAGS-getspnam.c): Likewise.
737 (CFLAGS-getspnam_r.c): Likewise.
738 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
739 (CFLAGS-sigsuspend.c): Likewise.
740 (CFLAGS-sigtimedwait.c): Likewise.
741 (CFLAGS-sigwait.c): Likewise.
742 (CFLAGS-sigwaitinfo.c): Likewise.
743 (CFLAGS-sigreturn.c): Likewise.
744 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
745 (CFLAGS-vfwprintf.c): Likewise.
746 (CFLAGS-tmpfile.c): Likewise.
747 (CFLAGS-tmpfile64.c): Likewise.
748 (CFLAGS-tempname.c): Likewise.
749 (CFLAGS-psignal.c): Likewise.
750 (CFLAGS-vprintf.c): Likewise.
751 (CFLAGS-cuserid.c): Likewise.
752 (CFLAGS-errlist.c): Likewise.
753 (CFLAGS-siglist.c): Likewise.
754 (CFLAGS-scanf15.c): Likewise.
755 (CFLAGS-scanf17.c): Likewise.
756 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
757 (CFLAGS-msort.c): Likewise.
758 (CFLAGS-qsort.c): Likewise.
759 (CFLAGS-system.c): Likewise.
760 (CFLAGS-fmtmsg.c): Likewise.
761 (CFLAGS-strfmon.c): Likewise.
762 (CFLAGS-strfmon_l.c): Likewise.
763 (CFLAGS-strfromd.c): Likewise.
764 (CFLAGS-strfromf.c): Likewise.
765 (CFLAGS-strfroml.c): Likewise.
766 (CFLAGS-tst-bsearch.c): Likewise.
767 (CFLAGS-tst-qsort.c): Likewise.
768 (CFLAGS-tst-makecontext2.c): Likewise.
769 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
770 (CFLAGS-xnlm_prot.c): Likewise.
771 (CFLAGS-xrstat.c): Likewise.
772 (CFLAGS-xyppasswd.c): Likewise.
773 (CFLAGS-xklm_prot.c): Likewise.
774 (CFLAGS-xrex.c): Likewise.
775 (CFLAGS-xsm_inter.c): Likewise.
776 (CFLAGS-xmount.c): Likewise.
777 (CFLAGS-xrusers.c): Likewise.
778 (CFLAGS-xspray.c): Likewise.
779 (CFLAGS-xnfs_prot.c): Likewise.
780 (CFLAGS-xrquota.c): Likewise.
781 (CFLAGS-xkey_prot.c): Likewise.
782 (CFLAGS-auth_unix.c): Likewise.
783 (CFLAGS-key_call.c): Likewise.
784 (CFLAGS-pmap_rmt.c): Likewise.
785 (CFLAGS-clnt_perr.c): Likewise.
786 (CFLAGS-openchild.c): Likewise.
787 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
788 (CFLAGS-msgsnd.c): Likewise.
789 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
790 * time/Makefile (CFLAGS-tzfile.c): Likewise.
791 (CFLAGS-tzset.c): Likewise.
792 (CFLAGS-getdate.c): Likewise.
793 (CFLAGS-test_time.c): Likewise.
794 (CPPFLAGS-tst-tzname.c): Likewise.
795 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
796 (CFLAGS-zic.c): Likewise.
797 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
798 (CFLAGS-wcswidth.c): Likewise.
799 (CFLAGS-wcstol.c): Likewise.
800 (CFLAGS-wcstoul.c): Likewise.
801 (CFLAGS-wcstoll.c): Likewise.
802 (CFLAGS-wcstoull.c): Likewise.
803 (CFLAGS-wcstod.c): Likewise.
804 (CFLAGS-wcstold.c): Likewise.
805 (CFLAGS-wcstof128.c): Likewise.
806 (CFLAGS-wcstof.c): Likewise.
807 (CFLAGS-wcstol_l.c): Likewise.
808 (CFLAGS-wcstoul_l.c): Likewise.
809 (CFLAGS-wcstoll_l.c): Likewise.
810 (CFLAGS-wcstoull_l.c): Likewise.
811 (CFLAGS-wcstod_l.c): Likewise.
812 (CFLAGS-wcstold_l.c): Likewise.
813 (CFLAGS-wcstof128_l.c): Likewise.
814 (CFLAGS-wcstof_l.c): Likewise.
815 (CPPFLAGS-tst-wchar-h.c): Likewise.
816 (CPPFLAGS-wcstold_l.c): Likewise.
818 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
820 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
822 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
823 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
825 * manual/tunables.texi (Hardware Capability Tunables): Document
826 glibc.tune.cached_memopt.
827 * sysdeps/powerpc/cpu-features.c: New file.
828 * sysdeps/powerpc/cpu-features.h: New file.
829 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
830 _dl_powerpc_cpu_features.
831 * sysdeps/powerpc/dl-tunables.list: New file.
832 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
833 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
834 (INIT_ARCH): Initialize use_aligned_memopt.
835 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
836 IS_IN(rtld))]: Restrict dl_platform_init availability and
837 initialize CPU features used by tunables.
838 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
839 Add memcpy-power8-cached.
840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
841 __memcpy_power8_cached.
842 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
843 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
846 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
848 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
849 (CFLAGS-noinl-tester.c): Likewise.
850 (CFLAGS-tst-strlen.c): Likewise.
851 (CFLAGS-stratcliff.c): Likewise.
852 (CFLAGS-test-ffs.c): Likewise.
853 (CFLAGS-tst-inlcall.c): Likewise.
854 (CFLAGS-tst-xbzero-opt.c): Likewise.
855 (CFLAGS-memcpy.c): Likewise.
856 (CFLAGS-wordcopy.c): Likewise.
858 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
860 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
861 Store r15 on stack and add cfi rule.
862 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
865 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
868 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
871 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
873 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
874 Add s_sinf-sse2 and s_sinf-fma.
875 (CFLAGS-s_sinf-fma.c): New.
876 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
877 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
878 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
880 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
882 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
884 2017-12-07 Joseph Myers <joseph@codesourcery.com>
887 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
888 part of result to imaginary part of argument if it is zero and the
889 real part of the argument is not finite.
890 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
891 of result to real part of argument if it is zero and the imaginary
892 part of the argument is not finite.
894 2017-12-07 Mike FABIAN <mfabian@redhat.com>
897 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
898 and to the list of locales to be built for testing.
899 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
900 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
901 and build the collation rules upon that.
903 2017-12-07 Joseph Myers <joseph@codesourcery.com>
905 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
906 * manual/math.texi (Mathematics): Document support for _Float32.
907 * math/Makefile (test-types): Add float32.
908 * math/Versions (GLIBC_2.27): Add _Float32 functions.
909 * stdlib/Versions (GLIBC_2.27): Likewise.
910 * wcsmbs/Versions (GLIBC_2.27): Likewise.
911 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
912 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
913 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
914 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
915 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
916 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
917 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
918 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
919 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
920 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
921 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
922 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
923 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
924 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
925 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
926 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
927 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
928 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
929 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
930 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
931 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
933 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
934 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
935 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
936 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
937 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
955 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
956 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
957 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
958 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
959 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
960 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
961 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
962 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
963 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
964 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
973 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
974 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
975 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
976 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
977 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
978 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
979 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
980 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
982 2017-12-06 Joseph Myers <joseph@codesourcery.com>
984 * stdlib/strtof.c: Include <bits/floatn.h>
985 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
986 and later undefine as macro. Define as weak alias if
988 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
989 and later undefine as macro. Define as weak alias if
991 * stdlib/strtof_l.c: Include <bits/floatn.h>
992 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
993 and later undefine as macro. Define as weak alias if
995 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
996 and later undefine as macro. Define as weak alias if
999 * stdlib/strfromf.c: Include <bits/floatn.h>.
1000 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
1001 and later undefine as macro and define as weak alias.
1003 * math/test-float32.h: New file.
1005 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
1006 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
1007 (libm_alias_float_other_r): Create f32 alias.
1008 (libm_alias_float_r): Use semicolon before call to
1009 libm_alias_float_other_r.
1011 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
1012 second argument to libm_alias_float_other.
1013 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
1014 second argument to libm_alias_float_other.
1015 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
1016 argument to libm_alias_float_other.
1019 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
1020 real part of result for argument 0 + i * NaN.
1021 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
1022 results for tests of 0 + i * NaN.
1024 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1026 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1028 2017-12-06 David S. Miller <davem@davemloft.net>
1030 * sysdeps/sparc/fpu/libm-test-ulps: Update
1031 exp_{downward,towardzero,upward} ulps.
1033 2017-12-06 Joseph Myers <joseph@codesourcery.com>
1035 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
1038 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
1040 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
1042 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
1044 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
1047 2017-12-06 Mike FABIAN <mfabian@redhat.com>
1050 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
1051 and to the list of locales to be built for testing.
1052 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
1053 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
1054 and build the collation rules upon that.
1056 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1058 * NEWS: Add sinf to list of optimized functions.
1060 2017-12-06 Joseph Myers <joseph@codesourcery.com>
1062 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
1063 (__HAVE_FLOAT32X): Likewise.
1064 * manual/math.texi (Mathematics): Document support for _Float64
1066 * math/Makefile (test-types): Add float64 and float32x.
1067 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
1069 * stdlib/Versions (GLIBC_2.27): Likewise.
1070 * wcsmbs/Versions (GLIBC_2.27): Likewise.
1071 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
1072 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1073 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1074 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1075 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1076 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1077 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1078 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1079 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1080 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1081 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1082 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1083 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1084 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1085 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1086 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1087 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1088 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1089 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1090 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1091 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1093 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1094 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1095 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1096 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1097 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1114 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1115 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1116 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1117 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1118 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1119 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1120 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1121 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1122 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1123 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1132 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1133 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1134 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1135 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1136 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1137 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1138 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1139 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1141 2017-12-05 Joseph Myers <joseph@codesourcery.com>
1143 * bits/floatn-common.h: Include <bits/long-double.h>.
1144 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
1145 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
1146 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
1147 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
1148 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
1149 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
1150 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1151 (__builtin_huge_valf64): Use __builtin_huge_vall.
1152 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1153 (__builtin_inff64): Use __builtin_infl.
1154 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1155 (__builtin_nanf64): Use __builtin_nanl.
1156 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
1157 (__builtin_nansf64): Use __builtin_nansl.
1159 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>,
1160 Paul E. Murphy <murphyp@linux.vnet.ibm.com>,
1161 Carlos O'Donnell <carlos@redhat.com>
1163 * elf/dl-tunables.list: Add elision parameters.
1164 * manual/tunables.texi: Add entries about elision tunable.
1165 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
1166 Add callback functions to dynamically enable/disable elision.
1167 Add multiple callbacks functions to set elision parameters.
1168 Deleted __libc_enable_secure check.
1169 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
1170 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
1171 * configure: Regenerated.
1172 * configure.ac: Option enable_lock_elision was deleted.
1173 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
1174 * config.make.in: Remove references to enable_lock_elision.
1175 * manual/install.texi: Elision configure option was removed.
1176 * INSTALL: Regenerated to remove enable_lock_elision.
1178 Disable elision so it can verify error case for destroying a mutex.
1179 * sysdeps/powerpc/nptl/elide.h:
1180 Cleanup ENABLE_LOCK_ELISION check.
1181 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
1182 * sysdeps/s390/configure: Regenerated.
1183 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
1184 * nptl/tst-mutex8.c:
1185 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
1186 * sysdeps/powerpc/powerpc32/sysdep.h:
1187 Deleted all ENABLE_LOCK_ELISION checks.
1188 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1189 * sysdeps/powerpc/sysdep.h: Likewise.
1190 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
1191 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
1192 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1193 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1194 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1195 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
1196 enable-lock-elision.
1198 2017-12-05 Joseph Myers <joseph@codesourcery.com>
1200 * stdlib/strtod.c: Include <bits/floatn.h>.
1201 (BUILD_DOUBLE): New macro.
1202 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
1203 (strtof64): Define and later undefine as macro. Define as weak
1204 alias if [!USE_WIDE_CHAR].
1205 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
1206 (wcstof64): Define and later undefine as macro. Define as weak
1207 alias if [USE_WIDE_CHAR].
1208 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
1209 (strtof32x): Define and later undefine as macro. Define as weak
1210 alias if [!USE_WIDE_CHAR].
1211 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
1212 (wcstof32x): Define and later undefine as macro. Define as weak
1213 alias if [USE_WIDE_CHAR].
1214 * stdlib/strtod_l.c: Include <bits/floatn.h>.
1215 (BUILD_DOUBLE): New macro.
1216 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
1217 (strtof64_l): Define and later undefine as macro. Define as weak
1218 alias if [!USE_WIDE_CHAR].
1219 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
1220 (wcstof64_l): Define and later undefine as macro. Define as weak
1221 alias if [USE_WIDE_CHAR].
1222 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
1223 (strtof32x_l): Define and later undefine as macro. Define as weak
1224 alias if [!USE_WIDE_CHAR].
1225 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
1226 (wcstof32x_l): Define and later undefine as macro. Define as weak
1227 alias if [USE_WIDE_CHAR].
1229 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1231 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
1232 (reduced): Use ones as double instead of integer.
1234 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
1236 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
1238 2017-12-05 Joseph Myers <joseph@codesourcery.com>
1240 * stdlib/strfromd.c: Include <bits/floatn.h>.
1241 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
1242 and later undefine as macro and define as weak alias.
1243 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
1246 * math/test-float32x.h: New file.
1247 * math/test-float64.h: Likewise.
1249 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
1250 (libm_alias_double_other_r_f64): New macro.
1251 (libm_alias_double_other_r_f32x): Likewise.
1252 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
1253 libm_alias_double_other_r_f32x.
1254 (libm_alias_double_r): Use semicolon before call to
1255 libm_alias_double_other_r.
1256 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
1258 (libm_alias_double_other_r_f64): New macro.
1259 (libm_alias_double_other_r_f32x): Likewise.
1260 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
1261 libm_alias_double_other_r_f32x.
1263 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
1265 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
1267 (SINF_FUNC): Likewise. Replace floor with simple casts.
1269 2017-12-05 Mike FABIAN <mfabian@redhat.com>
1272 * localedata/Makefile: Add et_EE.UTF-8 to test-input
1273 and to the list of locales to be built for testing.
1274 * localedata/et_EE.UTF-8.in: New file for testing the collation.
1275 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
1276 and build the collation rules upon that.
1278 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
1280 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
1281 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
1282 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
1283 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
1284 instead of __insn__xxx.
1285 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
1286 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
1287 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
1288 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
1289 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
1290 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
1292 2017-12-05 Florian Weimer <fweimer@redhat.com>
1294 Linux: Implement interfaces for memory protection keys
1295 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
1297 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
1298 * support/xunistd.h (xsysconf): Declare.
1299 * support/xraise.c: New file.
1300 * support/xsigaction.c: Likewise.
1301 * support/xsignal.c: Likewise.
1302 * support/xsysconf.c: Likewise.
1303 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
1304 pkey_set, pkey_get, pkey_mprotect.
1305 [misc] (tests): Add tst-pkey.
1306 (tst-pkey): Link with -lpthread.
1307 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
1308 pkey_free, pkey_set, pkey_get, pkey_mprotect.
1309 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
1310 (PKEY_DISABLE_WRITE): Define.
1311 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
1313 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
1315 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
1316 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
1317 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
1318 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
1320 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
1321 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
1322 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
1323 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
1324 * sysdeps/unix/sysv/linux/**.abilist: Update.
1326 2017-12-05 Florian Weimer <fweimer@redhat.com>
1328 * support/tst-test_compare.c (subprocess): Use long long instead
1329 of long argument for consistent type width across 32-bit and
1330 64-bit architectures.
1331 (do_test): Adjust expected output.
1333 2017-12-05 Joseph Myers <joseph@codesourcery.com>
1335 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
1336 (cosf): Define using libm_alias_float.
1337 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
1338 (fabsf): Define using libm_alias_float.
1339 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
1340 (fmaf): Define using libm_alias_float.
1341 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
1342 (rintf): Define using libm_alias_float.
1343 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
1344 (sinf): Define using libm_alias_float.
1345 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
1346 <libm-alias-float.h>.
1347 (modff): Define using libm_alias_float.
1348 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
1349 <libm-alias-float.h>.
1350 (logbf): Define using libm_alias_float.
1351 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
1352 <libm-alias-float.h>.
1353 (ceilf): Define using libm_alias_float.
1354 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
1355 <libm-alias-float.h>.
1356 (copysignf): Define using libm_alias_float.
1357 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
1358 <libm-alias-float.h>.
1359 (floorf): Define using libm_alias_float.
1360 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
1361 <libm-alias-float.h>.
1362 (llrintf): Define using libm_alias_float.
1363 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
1364 <libm-alias-float.h>.
1365 (llroundf): Define using libm_alias_float.
1366 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
1367 <libm-alias-float.h>.
1368 (lrintf): Define using libm_alias_float.
1369 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
1370 <libm-alias-float.h>.
1371 (lroundf): Define using libm_alias_float.
1372 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
1373 <libm-alias-float.h>.
1374 (nearbyintf): Define using libm_alias_float.
1375 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
1376 <libm-alias-float.h>.
1377 (rintf): Define using libm_alias_float.
1378 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
1379 <libm-alias-float.h>.
1380 (roundf): Define using libm_alias_float.
1381 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
1382 <libm-alias-float.h>.
1383 (truncf): Define using libm_alias_float.
1384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
1385 Include <libm-alias-float.h>.
1386 (ceilf): Define using libm_alias_float.
1387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1388 Include <libm-alias-float.h>.
1389 (copysignf): Define using libm_alias_float.
1390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
1391 Include <libm-alias-float.h>.
1392 (floorf): Define using libm_alias_float.
1393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
1394 Include <libm-alias-float.h>.
1395 (llrintf): Define using libm_alias_float.
1396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
1397 Include <libm-alias-float.h>.
1398 (llroundf): Define using libm_alias_float.
1399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
1400 Include <libm-alias-float.h>.
1401 (logbf): Define using libm_alias_float.
1402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
1403 Include <libm-alias-float.h>.
1404 (lrintf): Define using libm_alias_float.
1405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
1406 Include <libm-alias-float.h>.
1407 (lroundf): Define using libm_alias_float.
1408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
1409 Include <libm-alias-float.h>.
1410 (modff): Define using libm_alias_float.
1411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
1412 Include <libm-alias-float.h>.
1413 (roundf): Define using libm_alias_float.
1414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
1415 Include <libm-alias-float.h>.
1416 (truncf): Define using libm_alias_float.
1417 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
1418 <libm-alias-float.h>.
1419 (llrintf): Define using libm_alias_float.
1420 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
1421 <libm-alias-float.h>.
1422 (llroundf): Define using libm_alias_float.
1423 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
1424 <libm-alias-float.h>.
1425 (ceilf): Define using libm_alias_float.
1426 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
1427 <libm-alias-float.h>.
1428 (floorf): Define using libm_alias_float.
1429 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
1430 <libm-alias-float.h>.
1431 (llroundf): Define using libm_alias_float.
1432 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
1433 <libm-alias-float.h>.
1434 (lroundf): Define using libm_alias_float.
1435 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
1436 <libm-alias-float.h>.
1437 (roundf): Define using libm_alias_float.
1438 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
1439 <libm-alias-float.h>.
1440 (truncf): Define using libm_alias_float.
1441 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
1442 <libm-alias-float.h>.
1443 (copysignf): Define using libm_alias_float.
1444 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
1445 <libm-alias-float.h>.
1446 (llrintf): Define using libm_alias_float.
1447 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
1448 <libm-alias-float.h>.
1449 (llroundf): Define using libm_alias_float.
1450 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
1451 <libm-alias-float.h>.
1452 (lrintf): Define using libm_alias_float.
1453 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
1454 <libm-alias-float.h>.
1455 (lroundf): Define using libm_alias_float.
1456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
1457 <libm-alias-float.h>.
1458 (ceilf): Define using libm_alias_float.
1459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
1460 <libm-alias-float.h>.
1461 (copysignf): Define using libm_alias_float.
1462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
1463 <libm-alias-float.h>.
1464 (cosf): Define using libm_alias_float.
1465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
1466 <libm-alias-float.h>.
1467 (floorf): Define using libm_alias_float.
1468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
1469 <libm-alias-float.h>.
1470 (llrintf): Define using libm_alias_float.
1471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
1472 <libm-alias-float.h>.
1473 (llroundf): Define using libm_alias_float.
1474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
1475 <libm-alias-float.h>.
1476 (logbf): Define using libm_alias_float.
1477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
1478 <libm-alias-float.h>.
1479 (modff): Define using libm_alias_float.
1480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
1481 <libm-alias-float.h>.
1482 (roundf): Define using libm_alias_float.
1483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
1484 <libm-alias-float.h>.
1485 (sinf): Define using libm_alias_float.
1486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
1487 <libm-alias-float.h>.
1488 (truncf): Define using libm_alias_float.
1489 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
1490 <libm-alias-float.h>.
1491 (ceilf): Define using libm_alias_float.
1492 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
1493 <libm-alias-float.h>.
1494 (copysignf): Define using libm_alias_float.
1495 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
1496 <libm-alias-float.h>.
1497 (floorf): Define using libm_alias_float.
1498 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
1499 <libm-alias-float.h>.
1500 (llrintf): Define using libm_alias_float.
1501 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
1502 <libm-alias-float.h>.
1503 (llroundf): Define using libm_alias_float.
1504 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
1505 <libm-alias-float.h>.
1506 (nearbyintf): Define using libm_alias_float.
1507 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
1508 <libm-alias-float.h>.
1509 (rintf): Define using libm_alias_float.
1510 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
1511 <libm-alias-float.h>.
1512 (roundf): Define using libm_alias_float.
1513 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
1514 <libm-alias-float.h>.
1515 (truncf): Define using libm_alias_float.
1516 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
1517 <libm-alias-float.h>.
1518 (ceilf): Define using libm_alias_float.
1519 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
1520 <libm-alias-float.h>.
1521 (floorf): Define using libm_alias_float.
1522 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
1523 <libm-alias-float.h>.
1524 (llroundf): Define using libm_alias_float.
1525 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
1526 <libm-alias-float.h>.
1527 (roundf): Define using libm_alias_float.
1528 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
1529 <libm-alias-float.h>.
1530 (truncf): Define using libm_alias_float.
1531 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
1532 <libm-alias-float.h>.
1533 (copysignf): Define using libm_alias_float.
1534 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
1535 <libm-alias-float.h>.
1536 (llrintf): Define using libm_alias_float.
1537 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
1538 <libm-alias-float.h>.
1539 (llroundf): Define using libm_alias_float.
1540 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
1541 <libm-alias-float.h>.
1542 (cosf): Define using libm_alias_float.
1543 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
1544 <libm-alias-float.h>.
1545 (llrintf): Define using libm_alias_float.
1546 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
1547 <libm-alias-float.h>.
1548 (llroundf): Define using libm_alias_float.
1549 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
1550 <libm-alias-float.h>.
1551 (sinf): Define using libm_alias_float.
1553 2017-12-04 Florian Weimer <fweimer@redhat.com>
1555 * support/check.h (TEST_COMPARE): Define.
1556 (support_test_compare_failure): Declare.
1557 * support/Makefile (libsupport-routines): Add
1558 support_test_compare_failure.
1559 (tests): Add tst-test_compare.
1560 * support /support_test_compare_failure.c: New file.
1561 * support/tst-test_compare.c: Likewise.
1563 2017-12-04 Mike FABIAN <mfabian@redhat.com>
1566 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
1567 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
1568 available, this rewrite of the collation rules does reproduce
1569 the test file in the same order.
1571 2017-12-04 Mike FABIAN <mfabian@redhat.com>
1574 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
1575 digraphs in the month and day names. Using single code points for
1576 digraphs is deprecated. While there are dedicated Unicode
1577 codepoints, for the digraphs, these are included for backwards
1578 compatibility and modern texts use a sequence of Basic Latin
1579 characters. See: https://www.unicode.org/faq/ligature_digraph.html
1580 This makes the month and day names agree exactly with CLDR now,
1581 CLDR does not use the single code points for the digraphs either.
1583 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
1585 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
1587 2017-12-04 Joseph Myers <joseph@codesourcery.com>
1589 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
1592 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
1594 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
1595 Define only for libc.so.
1597 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
1599 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1600 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
1601 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
1602 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
1603 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1605 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1608 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
1610 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
1613 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
1614 PREINIT_FUNCTION_WEAK is nonzero.
1615 (gmon_initializer): New function. Put procedure label for it in
1616 .init_array section.
1617 (_init): Don't call PREINIT_FUNCTION.
1618 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
1619 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
1620 value when map argument is null.
1622 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
1623 depi instruction from PIC pc-relative sequence.
1624 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
1625 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
1626 (elf_machine_load_address): Likewise.
1627 (elf_machine_runtime_setup): Likewise.
1629 2017-12-02 Joseph Myers <joseph@codesourcery.com>
1631 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
1632 <libm-alias-double.h>.
1633 (logb): Define using libm_alias_double.
1634 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
1635 <libm-alias-double.h>.
1636 (copysign): Define using libm_alias_double.
1637 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
1638 <libm-alias-double.h>.
1639 (llrint): Define using libm_alias_double.
1640 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
1641 <libm-alias-double.h>.
1642 (llround): Define using libm_alias_double.
1643 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
1644 <libm-alias-double.h>.
1645 (lrint): Define using libm_alias_double.
1646 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
1647 <libm-alias-double.h>.
1648 (lround): Define using libm_alias_double.
1649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1650 Include <libm-alias-double.h>.
1651 (copysign): Define using libm_alias_double.
1652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
1653 Include <libm-alias-double.h>.
1654 (llrint): Define using libm_alias_double.
1655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
1656 Include <libm-alias-double.h>.
1657 (llround): Define using libm_alias_double.
1658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
1659 <libm-alias-double.h>.
1660 (logb): Define using libm_alias_double.
1661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
1662 Include <libm-alias-double.h>.
1663 (lrint): Define using libm_alias_double.
1664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
1665 Include <libm-alias-double.h>.
1666 (lround): Define using libm_alias_double.
1667 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
1668 <libm-alias-double.h>.
1669 (llrint): Define using libm_alias_double.
1670 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
1671 <libm-alias-double.h>.
1672 (llround): Define using libm_alias_double.
1673 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
1674 <libm-alias-double.h>.
1675 (llround): Define using libm_alias_double.
1676 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
1677 <libm-alias-double.h>.
1678 (lround): Define using libm_alias_double.
1679 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
1680 <libm-alias-double.h>.
1681 (copysign): Define using libm_alias_double.
1682 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
1683 <libm-alias-double.h>.
1684 (llrint): Define using libm_alias_double.
1685 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
1686 <libm-alias-double.h>.
1687 (llround): Define using libm_alias_double.
1688 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
1689 <libm-alias-double.h>.
1690 (lrint): Define using libm_alias_double.
1691 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
1692 <libm-alias-double.h>.
1693 (lround): Define using libm_alias_double.
1694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
1695 <libm-alias-double.h>.
1696 (copysign): Define using libm_alias_double.
1697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
1698 <libm-alias-double.h>.
1699 (llrint): Define using libm_alias_double.
1701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
1702 <libm-alias-double.h>.
1703 (llround): Define using libm_alias_double.
1705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
1706 <libm-alias-double.h>.
1707 (logb): Define using libm_alias_double.
1708 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
1709 <libm-alias-double.h>.
1710 (copysign): Define using libm_alias_double.
1711 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
1712 <libm-alias-double.h>.
1713 (llrint): Define using libm_alias_double.
1715 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
1716 <libm-alias-double.h>.
1717 (llround): Define using libm_alias_double.
1719 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
1720 <libm-alias-double.h>.
1721 (llround): Define using libm_alias_double.
1723 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
1724 <libm-alias-double.h>.
1725 (copysign): Define using libm_alias_double.
1726 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
1727 <libm-alias-double.h>.
1728 (llrint): Define using libm_alias_double.
1730 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
1731 <libm-alias-double.h>.
1732 (llround): Define using libm_alias_double.
1734 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
1735 <libm-alias-double.h>.
1736 (llrint): Define using libm_alias_double.
1738 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
1739 <libm-alias-double.h>.
1740 (llround): Define using libm_alias_double.
1743 2017-12-01 Joseph Myers <joseph@codesourcery.com>
1745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
1746 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
1747 compat symbol based on llround.
1749 * sysdeps/powerpc/power7/fpu/s_logb.c
1750 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
1751 symbol based on __logb, not on logb.
1752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
1753 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
1754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
1755 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
1757 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
1758 (rint): Define using libm_alias_double.
1759 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
1760 <libm-alias-double.h>.
1761 (modf): Define using libm_alias_double.
1762 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
1763 <libm-alias-double.h>.
1764 (ceil): Define using libm_alias_double.
1765 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
1766 <libm-alias-double.h>.
1767 (floor): Define using libm_alias_double.
1768 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
1769 <libm-alias-double.h>.
1770 (nearbyint): Define using libm_alias_double.
1771 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
1772 <libm-alias-double.h>.
1773 (rint): Define using libm_alias_double.
1774 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
1775 <libm-alias-double.h>.
1776 (round): Define using libm_alias_double.
1777 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
1778 <libm-alias-double.h>.
1779 (trunc): Define using libm_alias_double.
1780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
1781 <libm-alias-double.h>.
1782 (ceil): Define using libm_alias_double.
1783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
1784 Include <libm-alias-double.h>.
1785 (floor): Define using libm_alias_double.
1786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
1787 <libm-alias-double.h>.
1788 (modf): Define using libm_alias_double.
1789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
1790 Include <libm-alias-double.h>.
1791 (round): Define using libm_alias_double.
1792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
1793 Include <libm-alias-double.h>.
1794 (trunc): Define using libm_alias_double.
1795 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
1796 <libm-alias-double.h>.
1797 (ceil): Define using libm_alias_double.
1798 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
1799 <libm-alias-double.h>.
1800 (floor): Define using libm_alias_double.
1801 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
1802 <libm-alias-double.h>.
1803 (round): Define using libm_alias_double.
1804 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
1805 <libm-alias-double.h>.
1806 (trunc): Define using libm_alias_double.
1807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
1808 <libm-alias-double.h>.
1809 (ceil): Define using libm_alias_double.
1810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
1811 <libm-alias-double.h>.
1812 (floor): Define using libm_alias_double.
1813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
1814 <libm-alias-double.h>.
1815 (modf): Define using libm_alias_double.
1816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
1817 <libm-alias-double.h>.
1818 (round): Define using libm_alias_double.
1819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
1820 <libm-alias-double.h>.
1821 (trunc): Define using libm_alias_double.
1822 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
1823 <libm-alias-double.h>.
1824 (ceil): Define using libm_alias_double.
1825 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
1826 <libm-alias-double.h>.
1827 (floor): Define using libm_alias_double.
1828 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
1829 <libm-alias-double.h>.
1830 (nearbyint): Define using libm_alias_double.
1831 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
1832 <libm-alias-double.h>.
1833 (rint): Define using libm_alias_double.
1834 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
1835 <libm-alias-double.h>.
1836 (round): Define using libm_alias_double.
1837 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
1838 <libm-alias-double.h>.
1839 (trunc): Define using libm_alias_double.
1840 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
1841 <libm-alias-double.h>.
1842 (ceil): Define using libm_alias_double.
1843 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
1844 <libm-alias-double.h>.
1845 (floor): Define using libm_alias_double.
1846 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
1847 <libm-alias-double.h>.
1848 (round): Define using libm_alias_double.
1849 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
1850 <libm-alias-double.h>.
1851 (trunc): Define using libm_alias_double.
1853 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
1854 (fabs): Define using libm_alias_double.
1855 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
1856 (fma): Define using libm_alias_double.
1857 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
1858 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
1859 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
1860 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
1862 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1864 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
1866 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
1867 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
1868 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
1870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
1873 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
1875 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
1877 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1879 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
1880 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
1881 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
1882 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
1884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1885 (libm-sysdep_routines): Add s_nearbyintf-generic and
1886 s_nearbyint-generic.
1887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
1889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
1890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
1892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
1894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
1896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
1899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1900 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
1901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
1903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
1904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
1906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
1907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
1908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1911 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
1912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
1914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
1915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
1917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
1918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
1919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
1921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1922 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
1923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
1925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
1926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
1928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
1929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
1930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1933 (sysdep_calls): New rule.
1934 (sysdep_routines): Use sysdep_calls as base.
1935 (libm-sysdep_routines): Add generic rule for symbols shared with
1936 libc. Add s_copysign-generic and s_copysign-generic objects.
1937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
1939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
1940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
1942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
1943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
1944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
1946 2017-12-01 Mike FABIAN <mfabian@redhat.com>
1949 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
1950 the list of locales to be built for testing.
1951 * localedata/is_IS.UTF-8.in: New file.
1952 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
1955 2017-12-01 Joseph Myers <joseph@codesourcery.com>
1957 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
1958 <libm-alias-float.h>.
1959 (fabsf): Define using libm_alias_float.
1961 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
1963 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
1965 2017-11-30 Joseph Myers <joseph@codesourcery.com>
1967 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
1968 <libm-alias-float.h>.
1969 (fabsf): Define using libm_alias_float.
1970 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
1971 <libm-alias-float.h>.
1972 (lrintf): Define using libm_alias_float.
1973 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
1974 <libm-alias-float.h>.
1975 (rintf): Define using libm_alias_float.
1977 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
1978 <libm-alias-double.h>.
1979 (fabs): Define using libm_alias_double.
1980 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
1981 <libm-alias-double.h>.
1982 (lrint): Define using libm_alias_double.
1983 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
1984 <libm-alias-double.h>.
1985 (rint): Define using libm_alias_double.
1987 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
1988 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
1989 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
1990 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
1991 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
1992 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
1993 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
1994 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
1995 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
1996 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
1997 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
1998 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
1999 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
2000 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
2001 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
2002 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
2003 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
2004 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
2006 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
2007 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
2008 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
2010 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
2011 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
2012 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
2014 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
2015 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
2016 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
2018 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
2019 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
2020 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
2022 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
2023 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
2024 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
2026 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
2027 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
2028 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
2030 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
2031 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
2033 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
2034 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
2035 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
2037 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
2038 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
2039 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
2040 s_nearbyint_template.c.
2041 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
2042 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
2043 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
2044 s_remquo_template.c.
2045 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
2046 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
2047 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
2049 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
2050 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
2051 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
2053 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
2054 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
2055 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
2056 s_sincos_template.c.
2057 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
2058 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
2059 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
2061 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
2062 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
2063 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
2065 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
2066 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
2067 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
2069 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
2070 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
2071 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
2072 s_atan.c instead of including s_atan.c.
2073 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
2074 s_atanf.c instead of including s_atanf.c.
2075 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
2076 s_atanl.c instead of including s_atanl.c.
2077 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
2078 instead of s_atan.c.
2079 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
2080 instead of s_atanf.c.
2081 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
2082 instead of s_atanl.c.
2084 * scripts/update-copyrights: Do not handle intl/plural.c
2087 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
2090 * configure.ac (BISON): Require to be present.
2091 * configure: Regenerated.
2092 * intl/Makefile (generated): Add plural.c.
2093 [$(BISON) != no]: Make code unconditional.
2094 (plural.c): Change rule to $(objpfx)plural.c.
2095 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
2096 * intl/plural.c: Remove.
2097 * manual/install.texi (Tools for Compilation): Document bison as
2099 * INSTALL: Regenerated.
2101 2017-11-30 Joseph Myers <joseph@codesourcery.com>
2103 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
2104 <libm-alias-double.h>.
2105 (llrint): Define using libm_alias_double.
2106 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
2107 <libm-alias-float.h>.
2108 (llrintf): Define using libm_alias_float.
2109 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
2110 <libm-alias-ldouble.h>.
2111 (llrintl): Define using libm_alias_ldouble.
2113 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
2114 declare_mgen_alias instead of weak_alias.
2115 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
2116 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
2117 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
2119 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2121 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2123 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
2124 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
2125 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
2127 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2128 Add submul_1-generic.
2129 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
2130 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
2131 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
2133 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2134 Add addmul_1-generic.
2135 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
2136 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
2137 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
2139 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2141 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
2142 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
2143 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
2145 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
2147 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
2148 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
2149 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
2151 2017-11-30 Mike FABIAN <mfabian@redhat.com>
2153 According to CLDR, collation rules for Serbian and Bosnian
2154 should be the same as for Croatian.
2157 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
2158 and to the list of locales to be built for testing.
2159 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
2160 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
2161 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
2162 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
2164 2017-11-30 Mike FABIAN <mfabian@redhat.com>
2166 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
2167 to make test case pass.
2168 * localedata/hr_HR.UTF-8.in: Add more test strings.
2170 2017-11-30 Mike FABIAN <mfabian@redhat.com>
2172 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
2174 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
2176 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
2177 the list of locales to built for testing.
2178 * localedata/hr_HR.UTF-8.in: New file.
2180 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
2183 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
2185 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
2186 CLDR (except use ligatures for the digraphs, CLDR does not use
2187 the ligatures), add first_workday, some fixes in the date and time
2189 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
2191 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
2192 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
2193 Add int_p_cs_precedes and int_n_cs_precedes.
2194 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
2195 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
2197 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
2198 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
2200 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
2201 and lang_lib. Change postal_fmt.
2203 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
2205 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
2207 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
2208 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
2209 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
2210 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
2211 * sysdeps/generic/setjmpP.h: New file.
2212 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
2213 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
2214 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
2215 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
2216 Add jmp_buf-ssp.sym.
2217 (tests): Add tst-saved_mask-1.
2219 2017-11-30 Arjun Shankar <arjun@redhat.com>
2223 * malloc/malloc.c (__libc_malloc): Use checked_request2size
2224 instead of request2size.
2226 2017-11-30 Joseph Myers <joseph@codesourcery.com>
2228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
2229 (__lllrint): Remove alias.
2230 (lllrint): Likewise.
2231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
2232 (__lllrintf): Likewise.
2233 (lllrintf): Likewise.
2235 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
2236 <libm-alias-float.h>.
2237 (copysignf): Define using libm_alias_float.
2238 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
2239 <libm-alias-float.h>.
2240 (fabsf): Define using libm_alias_float.
2241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2242 Include <libm-alias-float.h>.
2243 (copysignf): Define using libm_alias_float.
2244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
2245 <libm-alias-float.h>.
2246 (fabsf): Define using libm_alias_float.
2247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
2248 <libm-alias-float.h>.
2249 (fdimf): Define using libm_alias_float.
2250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
2251 <libm-alias-float.h>.
2252 (fmaf): Define using libm_alias_float.
2253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
2254 <libm-alias-float.h>.
2255 (llrintf): Define using libm_alias_float.
2256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
2257 Include <libm-alias-float.h>.
2258 (nearbyintf): Define using libm_alias_float.
2259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
2260 <libm-alias-float.h>.
2261 (rintf): Define using libm_alias_float.
2262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
2263 <libm-alias-float.h>.
2264 (llrintf): Define using libm_alias_float.
2265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
2266 <libm-alias-float.h>.
2267 (lrintf): Define using libm_alias_float.
2268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
2269 <libm-alias-float.h>.
2270 (nearbyintf): Define using libm_alias_float.
2271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
2272 <libm-alias-float.h>.
2273 (rintf): Define using libm_alias_float.
2274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
2275 <libm-alias-float.h>.
2276 (ceilf): Define using libm_alias_float.
2277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
2278 <libm-alias-float.h>.
2279 (floorf): Define using libm_alias_float.
2280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
2281 <libm-alias-float.h>.
2282 (fmaf): Define using libm_alias_float.
2283 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
2284 <libm-alias-float.h>.
2285 (lrintf): Define using libm_alias_float.
2286 (llrintf): Likewise.
2287 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
2288 <libm-alias-float.h>.
2289 (nearbyintf): Define using libm_alias_float.
2290 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
2291 <libm-alias-float.h>.
2292 (rintf): Define using libm_alias_float.
2293 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
2294 <libm-alias-float.h>.
2295 (truncf): Define using libm_alias_float.
2296 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
2297 <libm-alias-float.h>.
2298 (copysignf): Define using libm_alias_float.
2299 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
2300 <libm-alias-float.h>.
2301 (fabsf): Define using libm_alias_float.
2302 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
2303 <libm-alias-float.h>.
2304 (lrintf): Define using libm_alias_float.
2305 (llrintf): Likewise.
2306 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
2307 <libm-alias-float.h>.
2308 (nearbyintf): Define using libm_alias_float.
2309 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
2310 <libm-alias-float.h>.
2311 (rintf): Define using libm_alias_float.
2313 2017-11-29 Joseph Myers <joseph@codesourcery.com>
2315 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
2316 <libm-alias-double.h>.
2317 (copysign): Define using libm_alias_double.
2318 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
2319 <libm-alias-double.h>.
2320 (fabs): Define using libm_alias_double.
2321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2322 Include <libm-alias-double.h>.
2323 (copysign): Define using libm_alias_double.
2324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
2325 <libm-alias-double.h>.
2326 (fabs): Define using libm_alias_double.
2327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
2328 <libm-alias-double.h>.
2329 (fdim): Define using libm_alias_double.
2330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
2331 <libm-alias-double.h>.
2332 (fma): Define using libm_alias_double.
2333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
2334 <libm-alias-double.h>.
2335 (llrint): Define using libm_alias_double.
2336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
2337 Include <libm-alias-double.h>.
2338 (nearbyint): Define using libm_alias_double.
2339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
2340 <libm-alias-double.h>.
2341 (rint): Define using libm_alias_double.
2342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
2343 <libm-alias-double.h>.
2344 (fabs): Define using libm_alias_double.
2345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
2346 <libm-alias-double.h>.
2347 (llrint): Define using libm_alias_double.
2348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
2349 <libm-alias-double.h>.
2350 (nearbyint): Define using libm_alias_double.
2351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
2352 <libm-alias-double.h>.
2353 (rint): Define using libm_alias_double.
2354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
2355 <libm-alias-double.h>.
2356 (ceil): Define using libm_alias_double.
2357 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
2358 <libm-alias-double.h>.
2359 (floor): Define using libm_alias_double.
2360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
2361 <libm-alias-double.h>.
2362 (fma): Define using libm_alias_double.
2363 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
2364 <libm-alias-double.h>.
2365 (lrint): Define using libm_alias_double.
2367 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
2368 <libm-alias-double.h>.
2369 (nearbyint): Define using libm_alias_double.
2370 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
2371 <libm-alias-double.h>.
2372 (rint): Define using libm_alias_double.
2373 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
2374 <libm-alias-double.h>.
2375 (trunc): Define using libm_alias_double.
2376 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
2377 <libm-alias-double.h>.
2378 (copysign): Define using libm_alias_double.
2379 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
2380 <libm-alias-double.h>.
2381 (fabs): Define using libm_alias_double.
2382 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
2383 <libm-alias-double.h>.
2384 (lrint): Define using libm_alias_double.
2386 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
2387 <libm-alias-double.h>.
2388 (nearbyint): Define using libm_alias_double.
2389 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
2390 <libm-alias-double.h>.
2391 (rint): Define using libm_alias_double.
2394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
2396 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
2398 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2399 SPARC --disable-multi-arch glibc variants.
2401 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
2402 <libm-alias-float.h>.
2403 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2405 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
2406 <libm-alias-float.h>.
2407 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2409 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
2410 <libm-alias-float.h>.
2411 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2413 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
2414 <libm-alias-float.h>.
2415 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2417 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
2418 <libm-alias-float.h>.
2419 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2421 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
2422 <libm-alias-float.h>.
2423 (ceilf): Define using libm_alias_float.
2424 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
2425 <libm-alias-float.h>.
2426 (floorf): Define using libm_alias_float.
2427 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
2428 <libm-alias-float.h>.
2429 (fmaf): Define using libm_alias_float.
2430 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
2431 <libm-alias-float.h>.
2432 (nearbyintf): Define using libm_alias_float.
2433 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
2434 <libm-alias-float.h>.
2435 (rintf): Define using libm_alias_float.
2436 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
2437 <libm-alias-float.h>.
2438 (truncf): Define using libm_alias_float.
2439 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
2440 (copysignf): Define using libm_alias_float.
2441 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
2442 (cosf): Define using libm_alias_float.
2443 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
2444 (fabsf): Define using libm_alias_float.
2445 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
2446 (fmaxf): Define using libm_alias_float.
2447 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
2448 (fminf): Define using libm_alias_float.
2449 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
2450 (llrintf): Define using libm_alias_float.
2451 [!__ILP32__] (lrintf): Likewise.
2452 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
2453 (sincosf): Define using libm_alias_float.
2454 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
2455 (sinf): Define using libm_alias_float.
2456 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
2457 (lrintf): Define using libm_alias_float.
2459 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
2460 <libm-alias-double.h>.
2461 (atan): Define using libm_alias_double.
2462 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
2463 <libm-alias-double.h>.
2464 (ceil): Define using libm_alias_double.
2465 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
2466 <libm-alias-double.h>.
2467 (floor): Define using libm_alias_double.
2468 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
2469 <libm-alias-double.h>.
2470 (fma): Define using libm_alias_double.
2471 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
2472 <libm-alias-double.h>.
2473 (nearbyint): Define using libm_alias_double.
2474 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
2475 <libm-alias-double.h>.
2476 (rint): Define using libm_alias_double.
2477 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
2478 <libm-alias-double.h>.
2479 (sin): Define using libm_alias_double.
2481 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
2482 <libm-alias-double.h>.
2483 (tan): Define using libm_alias_double.
2484 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
2485 <libm-alias-double.h>.
2486 (trunc): Define using libm_alias_double.
2487 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
2488 (copysign): Define using libm_alias_double.
2489 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
2490 (fabs): Define using libm_alias_double.
2491 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
2492 (fmax): Define using libm_alias_double.
2493 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
2494 (fmin): Define using libm_alias_double.
2495 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
2496 (llrint): Define using libm_alias_double.
2497 [!__ILP32__] (lrint): Likewise.
2498 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
2499 (lrint): Define using libm_alias_double.
2501 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2504 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
2506 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
2507 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
2508 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
2509 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
2510 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
2511 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2513 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2514 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
2516 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
2517 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
2518 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
2519 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
2520 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
2521 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2523 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2524 (libm-sysdep_routines): Add s_nearbyint-generic and
2525 s_nearbyintf-generic objects.
2526 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
2527 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
2528 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
2529 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
2530 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
2531 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
2533 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
2534 Add s_finitef-generic and s_finite-generic objects.
2535 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
2536 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
2537 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
2538 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
2539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
2540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
2542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
2543 Add s_isinff-generic and s_isinf-generic objects.
2544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
2545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
2546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
2547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
2548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
2549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2551 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
2552 Add s_isnanf-generic and s_isnan-generic objects.
2553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
2554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
2555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
2556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
2557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
2558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2560 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
2562 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
2564 (sysdep_routines): Use sysdep_calls as base.
2565 (libm-sysdep_routines): Add generic rule for symbols shared with
2566 libc. Add s_signbit-generic and s_signbitf-generic objects.
2567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
2568 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
2569 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
2570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
2571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
2572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2574 2017-11-29 Joseph Myers <joseph@codesourcery.com>
2576 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
2577 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
2578 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
2579 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
2580 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
2581 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
2582 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
2583 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
2584 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
2585 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
2586 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
2587 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
2588 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
2590 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
2591 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
2593 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
2594 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
2595 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
2596 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
2597 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
2598 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
2599 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
2600 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
2601 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
2602 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
2604 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
2606 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
2607 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
2608 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
2609 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
2610 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
2611 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
2612 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
2613 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
2614 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
2615 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
2616 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
2617 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
2618 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
2619 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
2620 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
2621 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
2622 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
2623 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
2624 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
2626 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
2627 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
2628 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
2629 * sysdeps/ia64/fpu/w_lgammaf_main.c
2630 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
2631 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
2633 2017-11-28 Mike FABIAN <mfabian@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
2636 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
2637 * localedata/fr_CA.UTF-8.in: New file with test data for backward
2639 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
2641 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
2642 * localedata/locales/de_DE (LC_COLLATE): Likewise.
2643 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
2644 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
2645 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
2646 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
2647 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
2648 instead of “ifdef DIACRIT_BACKWARD”.
2650 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2652 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
2653 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
2654 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2655 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
2656 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
2657 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
2658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2660 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
2663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
2664 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2665 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2666 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
2667 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
2668 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
2669 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
2670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2671 ($(have-as-vis3) == yes): Remove conditional.
2672 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
2674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
2676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
2678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
2680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
2682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
2683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
2684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
2685 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
2686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
2687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
2688 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
2689 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
2691 2017-11-29 Joseph Myers <joseph@codesourcery.com>
2693 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
2694 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
2695 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
2696 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
2697 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
2698 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
2699 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
2700 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
2701 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
2702 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
2703 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
2704 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
2705 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
2706 libm_alias_double_r.
2707 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
2709 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
2710 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
2711 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
2712 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
2713 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
2714 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
2715 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
2716 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
2717 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
2718 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
2719 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
2721 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
2723 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
2724 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
2725 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
2726 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
2727 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
2728 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
2729 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
2730 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
2731 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
2732 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
2733 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
2734 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
2735 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
2736 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
2737 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
2738 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
2739 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
2740 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
2742 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
2743 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
2744 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
2745 * sysdeps/ia64/fpu/w_lgamma_main.c
2746 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
2747 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
2749 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
2751 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
2752 address of $global$ into %dp register earlier. Use pc-relative
2753 instruction sequence for PIC case.
2755 2017-11-28 Joseph Myers <joseph@codesourcery.com>
2757 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
2758 (asinhf): Define using libm_alias_float.
2759 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
2760 (atanf): Define using libm_alias_float.
2761 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
2762 (cbrtf): Define using libm_alias_float.
2763 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
2764 (ceilf): Define using libm_alias_float.
2765 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
2766 (copysignf): Define using libm_alias_float.
2767 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
2768 (expm1f): Define using libm_alias_float.
2769 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
2770 (fabsf): Define using libm_alias_float.
2771 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
2772 (floorf): Define using libm_alias_float.
2773 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
2774 (fmaxf): Define using libm_alias_float.
2775 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
2776 (fminf): Define using libm_alias_float.
2777 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
2778 (frexpf): Define using libm_alias_float.
2779 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
2780 (llrintf): Define using libm_alias_float.
2781 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
2782 (logbf): Define using libm_alias_float.
2783 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
2784 (lrintf): Define using libm_alias_float.
2785 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
2786 (nearbyintf): Define using libm_alias_float.
2787 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
2788 (remquof): Define using libm_alias_float.
2789 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
2790 (rintf): Define using libm_alias_float.
2791 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
2792 (truncf): Define using libm_alias_float.
2793 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
2794 <libm-alias-float.h>.
2795 (exp2f): Define using libm_alias_float, or libm_alias_float_other
2797 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
2798 <libm-alias-float.h>.
2799 (expf): Define using libm_alias_float, or libm_alias_float_other
2801 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
2802 <libm-alias-float.h>.
2803 (log2f): Define using libm_alias_float, or libm_alias_float_other
2805 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
2806 <libm-alias-float.h>.
2807 (logf): Define using libm_alias_float, or libm_alias_float_other
2809 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
2810 <libm-alias-float.h>.
2811 (powf): Define using libm_alias_float, or libm_alias_float_other
2813 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
2814 <libm-alias-float.h>.
2815 (cosf): Define using libm_alias_float.
2816 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
2817 <libm-alias-float.h>.
2818 (sincosf): Define using libm_alias_float.
2819 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
2820 <libm-alias-float.h>.
2821 (sinf): Define using libm_alias_float.
2822 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
2823 (fmaxf): Define using libm_alias_float.
2824 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
2825 (fminf): Define using libm_alias_float.
2826 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
2827 <libm-alias-float.h>.
2828 (fmaf): Define using libm_alias_float.
2830 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
2831 (asinh): Define using libm_alias_double.
2832 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
2833 (atan): Define using libm_alias_double.
2834 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
2835 (cbrt): Define using libm_alias_double.
2836 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
2837 (ceil): Define using libm_alias_double.
2838 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
2839 (copysign): Define using libm_alias_double.
2840 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
2841 (expm1): Define using libm_alias_double.
2842 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
2843 (fabs): Define using libm_alias_double.
2844 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
2845 (fdim): Define using libm_alias_double.
2846 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
2847 (floor): Define using libm_alias_double.
2848 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
2849 (fmax): Define using libm_alias_double.
2850 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
2851 (fmin): Define using libm_alias_double.
2852 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
2853 (frexp): Define using libm_alias_double.
2854 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
2855 (llrint): Define using libm_alias_double.
2856 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
2857 (logb): Define using libm_alias_double.
2858 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
2859 (lrint): Define using libm_alias_double.
2860 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
2861 (nearbyint): Define using libm_alias_double.
2862 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
2863 (remquo): Define using libm_alias_double.
2864 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
2865 (rint): Define using libm_alias_double.
2866 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
2867 (trunc): Define using libm_alias_double.
2868 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
2869 (fmax): Define using libm_alias_double.
2870 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
2871 (fmin): Define using libm_alias_double.
2872 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
2873 (fma): Define using libm_alias_double.
2875 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
2878 * elf/dl-hwcaps.c (ROUND): Removed.
2879 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
2880 and ELF_NOTE_NEXT_OFFSET.
2881 * elf/dl-load.c (ROUND): Removed.
2882 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
2883 * elf/readelflib.c (ROUND): Removed.
2884 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
2885 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
2886 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
2887 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
2889 2017-11-28 Joseph Myers <joseph@codesourcery.com>
2891 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
2892 [!__fmaf] (fmaf): Define using libm_alias_float.
2894 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
2895 [!__fma] (fma): Define using libm_alias_double.
2896 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
2898 2017-11-28 Mike FABIAN <mfabian@redhat.com>
2901 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
2902 and implement the collation rules for cs from CLDR on top of that.
2903 * Makefile: Add cs_CZ.UTF-8 to test-input.
2904 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
2906 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
2908 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
2910 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
2911 Icarus Sparry <icarus.w.sparry@intel.com>
2913 * benchtests/Makefile:Add BENCHSET to allow subsets of
2914 benchmarks to be run.
2915 * benchtests/README: Add documentation for: Running subsets of
2918 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
2920 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
2921 range of tests names.
2923 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
2924 result from property and remove "max", min" and "mean" from
2925 required properties based on benchtests/bench-skeleton.c.
2927 2017-11-28 Florian Weimer <fweimer@redhat.com>
2930 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
2931 due to Internet requirement.
2932 * posix/Makefile (tests): Remove tst-getaddrinfo4,
2934 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
2936 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2938 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
2939 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
2940 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
2941 (sysdep_routines): Add memset-ultra1.
2942 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
2944 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
2945 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
2946 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
2947 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
2948 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
2949 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
2950 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
2951 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2953 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
2955 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
2956 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
2957 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
2958 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
2959 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
2960 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
2961 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
2963 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
2964 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
2965 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
2966 (sysdep_routines): Add memcpy-ultra1.
2967 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
2968 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
2970 2017-11-28 Joseph Myers <joseph@codesourcery.com>
2972 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
2973 (cfloat_versions): Take function argument without trailing 'f'.
2974 Call libm_alias_float_other.
2975 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
2976 * sysdeps/alpha/fpu/cargf.c: Likewise.
2977 * sysdeps/alpha/fpu/cimagf.c: Likewise.
2978 * sysdeps/alpha/fpu/conjf.c: Likewise.
2979 * sysdeps/alpha/fpu/crealf.c: Likewise.
2980 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
2981 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2982 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
2983 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2984 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
2985 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2986 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2987 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2988 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
2989 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
2990 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
2991 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
2992 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2993 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2994 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
2995 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2996 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2997 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
2998 (clog10f): Use libm_alias_float_other.
2999 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
3000 (ceilf): Define using libm_alias_float.
3001 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
3002 (copysignf): Define using libm_alias_float.
3003 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
3004 (fabsf): Define using libm_alias_float.
3005 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
3006 (floorf): Define using libm_alias_float.
3007 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
3008 (fmaxf): Define using libm_alias_float.
3009 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
3010 (fminf): Define using libm_alias_float.
3011 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
3012 (lrintf): Define using libm_alias_float.
3013 (llrintf): Likewise.
3014 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
3015 (lroundf): Define using libm_alias_float.
3016 (llroundf): Likewise.
3017 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
3018 (rintf): Define using libm_alias_float.
3019 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
3020 (truncf): Define using libm_alias_float.
3022 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
3023 (ceilf): Define using libm_alias_float.
3024 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
3025 (floorf): Define using libm_alias_float.
3026 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
3027 (fmaf): Define using libm_alias_float.
3028 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
3029 (fmaxf): Define using libm_alias_float.
3030 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
3031 (fminf): Define using libm_alias_float.
3032 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
3033 (llrintf): Define using libm_alias_float.
3034 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
3035 (llroundf): Define using libm_alias_float.
3036 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
3037 (lrintf): Define using libm_alias_float.
3038 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
3039 (lroundf): Define using libm_alias_float.
3040 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
3041 <libm-alias-float.h>.
3042 (nearbyintf): Define using libm_alias_float.
3043 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
3044 (rintf): Define using libm_alias_float.
3045 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
3046 (roundf): Define using libm_alias_float.
3047 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
3048 (truncf): Define using libm_alias_float.
3050 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
3051 (ceil): Define using libm_alias_double.
3052 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
3053 (copysign): Define using libm_alias_double.
3054 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
3055 (fabs): Define using libm_alias_double.
3056 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
3057 (floor): Define using libm_alias_double.
3058 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
3059 (fmax): Define using libm_alias_double.
3060 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
3061 (fmin): Define using libm_alias_double.
3062 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
3063 (lrint): Define using libm_alias_double.
3065 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
3066 (lround): Define using libm_alias_double.
3067 (llround): Likewise.
3068 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
3069 (rint): Define using libm_alias_double.
3070 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
3071 (trunc): Define using libm_alias_double.
3073 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
3074 (libm_alias_double_r): Add semicolon after weak_alias call.
3076 2017-11-27 Joseph Myers <joseph@codesourcery.com>
3078 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
3079 (ceil): Define using libm_alias_double.
3080 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
3081 (floor): Define using libm_alias_double.
3082 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
3083 (fma): Define using libm_alias_double.
3084 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
3085 (fmax): Define using libm_alias_double.
3086 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
3087 (fmin): Define using libm_alias_double.
3088 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
3089 (llrint): Define using libm_alias_double.
3090 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
3091 (llround): Define using libm_alias_double.
3092 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
3093 (lrint): Define using libm_alias_double.
3094 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
3095 (lround): Define using libm_alias_double.
3096 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
3097 (nearbyint): Define using libm_alias_double.
3098 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
3099 (rint): Define using libm_alias_double.
3100 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
3101 (round): Define using libm_alias_double.
3102 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
3103 (trunc): Define using libm_alias_double.
3105 2017-11-27 Florian Weimer <fweimer@redhat.com>
3107 * sysdeps/unix/sysv/linux/mlock2.c: New file.
3108 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
3109 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
3110 (tests): Add tst-mlock2.
3111 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
3112 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
3113 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
3114 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
3115 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
3116 for mlock. Document mlock2.
3118 2017-11-27 Joseph Myers <joseph@codesourcery.com>
3120 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
3121 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
3123 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
3125 * sysdeps/x86/Makeconfig: New file.
3126 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
3127 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3128 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
3129 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3130 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3131 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3132 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
3134 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3135 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3136 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3137 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3138 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3139 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
3140 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
3141 * manual/math.texi (Mathematics): Document support for _Float64x.
3142 * math/Versions (GLIBC_2.27): Add _Float64x functions.
3143 * stdlib/Versions (GLIBC_2.27): Likewise.
3144 * wcsmbs/Versions (GLIBC_2.27): Likewise.
3145 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
3146 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3147 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3148 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3149 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3150 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3151 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3152 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3153 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3154 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3155 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3160 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3161 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3162 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3163 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3164 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3165 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3166 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3167 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3168 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3169 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3170 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3171 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3172 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3173 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3175 2017-11-27 Andreas Schwab <schwab@suse.de>
3177 * elf/Makefile (dl-routines): Add dl-sort-maps.
3178 * elf/dl-sort-maps.c: New file.
3179 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
3180 (_dl_sort_maps): Declare.
3181 * elf/dl-fini.c (_dl_sort_fini): Remove.
3182 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
3183 * elf/dl-close.c (_dl_close_worker): Likewise.
3184 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
3186 * elf/dl-open.c (dl_open_worker): Likewise.
3188 2017-11-24 Joseph Myers <joseph@codesourcery.com>
3190 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
3191 using libm_alias_float128.
3192 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
3194 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
3196 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
3197 (setpayloadsigf128): Likewise.
3198 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
3200 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
3203 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
3204 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
3205 -mfloat128 to CFLAGS.
3207 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
3209 (CFLAGS-libm-test-support-float64x.c): New variable.
3210 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
3211 $(f128-loader-link) to gnulib-tests.
3213 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
3214 (libm_alias_float128_other_r): If
3215 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
3217 (libm_alias_float128_r): Add semicolon after weak_alias call.
3218 * sysdeps/generic/libm-alias-ldouble.h
3219 (libm_alias_ldouble_other_r_f128): New macro.
3220 (libm_alias_ldouble_other_r_f64x): Likewise.
3221 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
3222 and libm_alias_ldouble_other_r_f64x.
3223 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
3224 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
3225 (libm_alias_ldouble_other_r_f128): New macro.
3226 (libm_alias_ldouble_other_r_f64x): Likewise.
3227 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
3228 and libm_alias_ldouble_other_r_f64x.
3230 * stdlib/strfroml.c: Always include <stdlib.h>.
3231 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
3232 undefine as macro and define as weak alias.
3233 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
3234 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
3236 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
3237 Define and later undefine as macro and define as weak alias.
3239 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
3240 Define and later undefine as macro. Define as weak alias if
3242 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
3243 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
3244 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
3245 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
3246 Define and later undefine as macro. Define as weak alias if
3248 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
3249 Define and later undefine as macro. Define as weak alias if
3251 * sysdeps/ieee754/float128/strtof128_l.c
3252 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
3253 Define and later undefine as macro. Define as weak alias if
3255 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
3256 Define and later undefine as macro. Define as weak alias if
3258 * sysdeps/ieee754/ldbl-128/strtold_l.c
3259 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
3260 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
3261 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
3262 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
3263 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
3264 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
3265 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
3266 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
3267 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
3268 * sysdeps/ieee754/ldbl-96/strtold_l.c
3269 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
3270 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
3271 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
3272 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
3274 * math/test-float64x.h: New file.
3275 * math/Makefile (type-float64x-yes): New variable.
3276 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
3278 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
3279 function-like macro.
3280 (min_of_type_): Likewise.
3281 (min_of_type_l): Likewise.
3282 (min_of_type_f128): Likewise.
3283 (min_of_type): Pass () as last argument of __MATH_TG.
3285 * stdlib/tst-strtod-round-skeleton.c
3286 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
3289 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
3290 for combinations of long double with _Float64 and _Float64x.
3292 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
3293 (__DECL_SIMD_cosf32): Likewise.
3294 (__DECL_SIMD_cosf64): Likewise.
3295 (__DECL_SIMD_cosf32x): Likewise.
3296 (__DECL_SIMD_cosf64x): Likewise.
3297 (__DECL_SIMD_cosf128x): Likewise.
3298 (__DECL_SIMD_sinf16): Likewise.
3299 (__DECL_SIMD_sinf32): Likewise.
3300 (__DECL_SIMD_sinf64): Likewise.
3301 (__DECL_SIMD_sinf32x): Likewise.
3302 (__DECL_SIMD_sinf64x): Likewise.
3303 (__DECL_SIMD_sinf128x): Likewise.
3304 (__DECL_SIMD_sincosf16): Likewise.
3305 (__DECL_SIMD_sincosf32): Likewise.
3306 (__DECL_SIMD_sincosf64): Likewise.
3307 (__DECL_SIMD_sincosf32x): Likewise.
3308 (__DECL_SIMD_sincosf64x): Likewise.
3309 (__DECL_SIMD_sincosf128x): Likewise.
3310 (__DECL_SIMD_logf16): Likewise.
3311 (__DECL_SIMD_logf32): Likewise.
3312 (__DECL_SIMD_logf64): Likewise.
3313 (__DECL_SIMD_logf32x): Likewise.
3314 (__DECL_SIMD_logf64x): Likewise.
3315 (__DECL_SIMD_logf128x): Likewise.
3316 (__DECL_SIMD_expf16): Likewise.
3317 (__DECL_SIMD_expf32): Likewise.
3318 (__DECL_SIMD_expf64): Likewise.
3319 (__DECL_SIMD_expf32x): Likewise.
3320 (__DECL_SIMD_expf64x): Likewise.
3321 (__DECL_SIMD_expf128x): Likewise.
3322 (__DECL_SIMD_powf16): Likewise.
3323 (__DECL_SIMD_powf32): Likewise.
3324 (__DECL_SIMD_powf64): Likewise.
3325 (__DECL_SIMD_powf32x): Likewise.
3326 (__DECL_SIMD_powf64x): Likewise.
3327 (__DECL_SIMD_powf128x): Likewise.
3329 * stdlib/Versions (libc): Move entries for wcstof128 and
3331 * wcsmbs/Versions (libc): ... here.
3332 Include <float128-abi.h>.
3334 2017-11-24 Florian Weimer <fweimer@redhat.com>
3336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3338 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
3339 <bits/mman-shared.h>.
3340 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
3342 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
3343 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
3344 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
3345 <bits/mman-shared.h>.
3347 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3350 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
3351 posix_memalign/free.
3352 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
3354 2017-11-22 Mike FABIAN <mfabian@redhat.com>
3357 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
3358 and implement the collation rules for pl from CLDR on top of that.
3359 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
3360 of locales to be built for testing.
3361 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
3363 2017-11-23 Joseph Myers <joseph@codesourcery.com>
3365 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
3366 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
3367 libm_alias_ldouble_other.
3368 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
3369 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
3370 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
3371 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
3372 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
3373 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
3374 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
3375 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
3376 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
3377 libm_alias_ldouble_r.
3378 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
3379 libm_alias_ldouble_other.
3380 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
3382 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
3383 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
3384 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
3385 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
3386 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
3387 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
3388 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
3390 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
3391 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
3392 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
3394 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
3396 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
3397 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
3398 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
3400 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
3401 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
3402 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
3403 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
3404 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
3405 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
3406 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
3407 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
3408 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
3409 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
3410 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
3412 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
3413 libm_alias_ldouble_other.
3414 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
3415 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
3416 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
3418 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
3419 libm_alias_ldouble_other.
3420 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
3421 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
3422 * sysdeps/ia64/fpu/w_lgammal_main.c
3423 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
3424 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
3426 2017-11-23 Florian Weimer <fweimer@redhat.com>
3428 * malloc/malloc.c (tcache_thread_shutdown): Rename from
3429 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
3430 alike. Remove freeres marker.
3431 * malloc/arena.c (arena_thread_freeres): Call
3432 tcache_thread_shutdown.
3434 2017-11-23 Florian Weimer <fweimer@redhat.com>
3437 Export nscd hash function as __nss_hash.
3438 * include/nss.h (__nss_hash): Declare.
3439 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
3441 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
3442 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
3444 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
3445 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
3446 * nss/Makefiles (routines): Add nss_hash.
3447 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
3448 * nss/nss_hash.c: Rename from nis/nis_hash.c.
3449 (__nss_hash): Rename from __nis_hash. Define hidden alias.
3450 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
3452 2017-11-23 Florian Weimer <fweimer@redhat.com>
3455 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
3456 Return error code, not -1.
3457 * signal/tst-sigwait-eintr.c: New file.
3458 * signal/Makefile (tests): Add tst-sigwait-eintr.
3460 2017-11-23 Florian Weimer <fweimer@redhat.com>
3462 Linux: Add memfd_create system call wrapper
3463 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
3465 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
3466 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
3467 [__USE_GNU] (memfd_create): Declare.
3468 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
3469 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
3470 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
3471 * sysdeps/unix/sysv/linux/**.abilist: Update.
3472 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
3474 2017-11-22 Joseph Myers <joseph@codesourcery.com>
3476 * localedata/gen-locale.sh: Fix typo in variable name.
3478 * resolv/res_debug.c (p_secstodate): Condition definition on
3479 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
3480 directly as __p_secstodate, and as a compat symbol. Do not use
3481 libresolv_hidden_def.
3482 * resolv/resolv.h (p_secstodate): Remove macro and function
3484 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
3486 * include/resolv.h (__p_secstodate): Do not use
3487 libresolv_hidden_proto.
3488 * resolv/Makefile (tests): Move tst-p_secstodate to ....
3489 (tests-internal): ... here.
3490 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
3491 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
3492 and declare and use __p_secstodate and use compat_symbol_reference
3494 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
3495 implementation returning 77.
3498 * resolv/res_debug.c: Include <libc-diag.h>.
3499 (p_secstodate): Assert time_t at least as wide as u_long. On
3500 overflow, use integer seconds since the epoch as output, or use
3501 "<overflow>" as output and set errno to EOVERFLOW if integer
3502 seconds since the epoch would be 14 or more characters.
3503 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
3505 * resolv/tst-p_secstodate.c: New file.
3506 * resolv/Makefile (tests): Add tst-p_secstodate.
3507 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
3509 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
3510 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3511 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
3513 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
3515 * posix/regcomp.c (init_word_char): Add comments.
3517 2017-11-22 Joseph Myers <joseph@codesourcery.com>
3520 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
3521 strlen to compute length of ut_user and set trailing NUL byte of
3524 2017-11-21 Mike FABIAN <mfabian@redhat.com>
3527 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
3528 using “copy "iso14651_t1"” and then implementing the
3529 collation rules for lv from CLDR on top of that.
3530 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
3531 of locales to be built for testing.
3532 * lv_LV.UTF-8.in: New file with test data to test the Latvian
3535 2017-11-21 Joseph Myers <joseph@codesourcery.com>
3537 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
3538 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
3539 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
3540 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
3541 [__USE_MISC] (MADV_HWPOISON): New macro.
3542 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
3544 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3546 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
3547 -Wmissing-braces on GCC 4.9.
3549 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
3551 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
3552 * sysdeps/s390/s390-32/start.S (_start): Likewise
3553 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
3554 (thread_start): Likewise.
3555 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
3556 (thread_start): Likewise.
3557 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
3558 (__makecontext_ret): Likewise.
3559 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
3560 (__makecontext_ret): Likewise.
3562 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
3564 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
3565 __wcschrnul): Remove attribute_hidden.
3567 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
3569 regex: don't assume uint64_t or uint32_t
3570 This avoids -Werror=overflow errors for 32-bit systems in
3571 the 64-bit case. Problem reported by Joseph Myers in:
3572 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
3573 Also, when this code is used in Gnulib it ports to platforms
3574 that lack uint64_t and uint32_t. The C standard doesn't guarantee
3575 them, and on some 32-bit compilers there is no uint64_t.
3576 Problem reported by Gianluigi Tiesi in:
3577 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
3578 * posix/regcomp.c (init_word_char): Don't assume that the types
3579 uint64_t and uint32_t exist. Adapted from Gnulib patch
3580 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
3581 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
3583 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
3585 * sysdeps/aarch64/memset-reg.h: New file.
3586 * sysdeps/aarch64/memset.S: Use it.
3587 (__memset): Rename to MEMSET macro.
3588 [ZVA_MACRO]: Use zva_macro.
3589 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3590 Add memset_generic and memset_falkor.
3591 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3592 (__libc_ifunc_impl_list): Add memset ifuncs.
3593 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
3594 local variable zva_size.
3595 * sysdeps/aarch64/multiarch/memset.c: New file.
3596 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
3597 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
3598 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
3599 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3600 (DCZID_DZP_MASK): New macro.
3601 (DCZID_BS_MASK): Likewise.
3602 (init_cpu_features): Read and set zva_size.
3603 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
3604 (struct cpu_features): New member zva_size.
3606 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
3607 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
3608 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
3610 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
3611 backwards. Fix timing computation.
3612 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
3613 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
3614 on memset by N at a time. Fix timing computation.
3616 2017-11-20 Florian Weimer <fweimer@redhat.com>
3618 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
3619 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
3621 2017-11-19 Florian Weimer <fweimer@redhat.com>
3623 manual: Document mprotect
3624 * manual/memory.texi (Memory Protection): New section.
3625 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
3626 documentation of PROT_* flags and reference the Memory Protection
3629 2017-11-19 Florian Weimer <fweimer@redhat.com>
3631 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
3632 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
3633 (Scatter-Gather): ... to here. Remove misleading comment.
3635 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
3637 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
3640 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
3641 when /proc/<pid>/setgroups does not exist.
3643 2017-11-18 Florian Weimer <fweimer@redhat.com>
3645 * sysdeps/unix/sysv/linux/tst-ttyname.c
3646 (become_root_in_mount_ns): Remove.
3647 (do_in_chroot_1): Call support_enter_mount_namespace.
3648 (do_in_chroot_2): Likewise.
3649 (do_test): Call support_become_root early.
3651 2017-11-18 Florian Weimer <fweimer@redhat.com>
3653 * support/namespace.h (support_enter_mount_namespace): Declare.
3654 * support/support_enter_mount_namespace.c: New file.
3655 * support/Makefile (libsupport-routines): Add
3656 support_enter_mount_namespace.
3658 2017-11-18 Florian Weimer <fweimer@redhat.com>
3660 * support/temp_file.c (support_create_temp_directory): Use
3661 test_dir and do not rely on the presence of the XXXXXX suffix.
3662 * support/temp_file.h (support_create_temp_directory): Update
3664 * support/tst-xreadlink.c (do_test): Adjust.
3665 * support/support_chroot.c (support_chroot_create): Likewise.
3667 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3669 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
3671 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
3674 2017-11-17 Joseph Myers <joseph@codesourcery.com>
3676 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
3677 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
3678 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
3679 (ceill): Define using libm_alias_ldouble.
3680 * sysdeps/x86_64/fpu/s_copysignl.S: Include
3681 <libm-alias-ldouble.h>.
3682 (copysignl): Define using libm_alias_ldouble.
3683 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
3684 (fabsl): Define using libm_alias_ldouble.
3685 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
3686 (floorl): Define using libm_alias_ldouble.
3687 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
3688 (fmaxl): Define using libm_alias_ldouble.
3689 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
3690 (fminl): Define using libm_alias_ldouble.
3691 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
3692 (llrintl): Define using libm_alias_ldouble.
3694 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
3695 <libm-alias-ldouble.h>.
3696 (nearbyintl): Define using libm_alias_ldouble.
3697 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
3698 (truncl): Define using libm_alias_ldouble.
3699 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
3700 <libm-alias-ldouble.h>.
3701 (lrintl): Define using libm_alias_ldouble.
3703 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
3704 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
3705 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
3706 (asinhl): Define using libm_alias_ldouble.
3707 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
3708 (atanl): Define using libm_alias_ldouble.
3709 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
3710 (cbrtl): Define using libm_alias_ldouble.
3711 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
3712 (ceill): Define using libm_alias_ldouble.
3713 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
3714 (copysignl): Define using libm_alias_ldouble.
3715 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
3716 (fabsl): Define using libm_alias_ldouble.
3717 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
3718 (floorl): Define using libm_alias_ldouble.
3719 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
3720 (fmaxl): Define using libm_alias_ldouble.
3721 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
3722 (fminl): Define using libm_alias_ldouble.
3723 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
3724 (frexpl): Define using libm_alias_ldouble.
3725 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
3726 (llrintl): Define using libm_alias_ldouble.
3727 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
3728 (logbl): Define using libm_alias_ldouble.
3729 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
3730 (lrintl): Define using libm_alias_ldouble.
3731 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
3732 (nearbyintl): Define using libm_alias_ldouble.
3733 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
3734 (nextafterl): Define using libm_alias_ldouble.
3735 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
3736 (remquol): Define using libm_alias_ldouble.
3737 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
3738 (rintl): Define using libm_alias_ldouble.
3739 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
3740 (truncl): Define using libm_alias_ldouble.
3741 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
3742 (fmaxl): Define using libm_alias_ldouble.
3743 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
3744 (fminl): Define using libm_alias_ldouble.
3746 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
3747 to C syntax instead of availability and properties of types.
3748 * bits/floatn.h [!__ASSEMBLER]: Likewise.
3749 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
3750 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
3751 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
3752 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
3753 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
3755 2017-11-17 Florian Weimer <fweimer@redhat.com>
3757 support_become_root: Enable file creation in namespaces.
3758 * support/support_become_root.c (setup_mapping): New function.
3759 (support_become_root): Call it.
3761 2017-11-17 Joseph Myers <joseph@codesourcery.com>
3763 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
3766 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3768 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
3769 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
3771 2017-11-16 Joseph Myers <joseph@codesourcery.com>
3773 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
3775 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3778 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3780 * INSTALL: Fix botched up regeneration.
3782 * NEWS: Update sourceare link to https.
3783 * configure.ac: Likewise.
3784 * crypt/md5test-giant.c: Likewise.
3785 * dlfcn/bug-atexit1.c: Likewise.
3786 * dlfcn/bug-atexit2.c: Likewise.
3787 * localedata/README: Likewise.
3788 * malloc/tst-mallocfork.c: Likewise.
3789 * manual/install.texi: Likewise.
3790 * nptl/tst-pthread-getattr.c: Likewise.
3791 * stdio-common/tst-fgets.c: Likewise.
3792 * stdio-common/tst-fwrite.c: Likewise.
3793 * sunrpc/Makefile: Likewise.
3794 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
3795 * wcsmbs/tst-mbrtowc2.c: Likewise.
3796 * configure: Regenerate.
3797 * INSTALL: Regenerate.
3799 2017-11-15 Martin Sebor <msebor@redhat.com>
3801 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
3802 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
3803 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
3805 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
3808 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
3809 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
3812 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
3813 Defer is_pty check until end of the function.
3814 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3817 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
3818 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
3819 (ttyname): Likewise.
3820 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
3821 (__ttyname_r): Likewise.
3823 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
3826 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
3828 * manual/terminal.texi (Is It a Terminal):
3829 Mention ENODEV for ttyname and ttyname_r.
3831 2017-11-15 Joseph Myers <joseph@codesourcery.com>
3833 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
3836 * sysdeps/unix/sysv/linux/bits/mman-linux.h
3837 [__USE_MISC] (MADV_WIPEONFORK): New macro.
3838 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
3839 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
3840 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
3841 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
3843 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3845 * signal/sigrelse.c (sigrelse): Optimize implementation.
3847 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
3848 (__sigpause): Rely on __sigsuspend to implement single thread
3849 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
3851 2017-11-15 Joseph Myers <joseph@codesourcery.com>
3853 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3854 kernel version to 4.14.
3856 2017-11-15 Steve Ellcey <sellcey@cavium.com>
3859 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
3860 Check if ifname is too long.
3862 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
3864 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
3866 2017-11-15 Mike FABIAN <mfabian@redhat.com>
3868 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
3869 was accidentally lost.
3871 2017-11-15 Mike FABIAN <mfabian@redhat.com>
3873 * localedata/locales/az_IR: Add standard copyright header.
3875 2017-11-15 Florian Weimer <fweimer@redhat.com>
3878 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
3879 not just the top one. Output a new "subheaps" statistic.
3881 2017-11-15 Florian Weimer <fweimer@redhat.com>
3884 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
3885 under the per-arena lock.
3886 * malloc/Makefile (tests): Add tst-malloc_info.
3887 (tst-malloc_info): Link with libpthread.
3888 * malloc/tst-malloc_info.c: New file.
3890 2017-11-15 Joseph Myers <joseph@codesourcery.com>
3893 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
3894 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
3895 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
3896 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
3897 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
3898 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
3899 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
3900 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
3901 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
3902 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
3903 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
3904 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
3905 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
3906 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
3907 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
3908 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
3909 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
3910 (__floating_type): Likewise.
3911 (__real_integer_type): Likewise.
3912 (__complex_integer_type): Likewise.
3913 (__expr_is_real): Likewise.
3914 (__tgmath_real_type_sub): Likewise.
3915 (__tgmath_real_type): Likewise.
3916 (__tgmath_complex_type_sub): Likewise.
3917 (__tgmath_complex_type): Likewise.
3918 (__TGMATH_F128): Likewise.
3919 (__TGMATH_CF128): Likewise.
3920 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
3922 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
3923 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
3925 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
3927 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
3928 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
3929 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
3930 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
3932 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
3933 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
3935 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
3936 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
3937 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
3939 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
3940 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
3941 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
3945 2017-11-14 Joseph Myers <joseph@codesourcery.com>
3947 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
3948 for stpncpy calls for GCC 8.
3949 (test_strncat): Disable -Wstringop-truncation warning for strncat
3950 calls for GCC 8. Disable -Wstringop-overflow= warning for one
3951 strncat call for GCC 7.
3952 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
3954 (test_memcmp): Use memcpy instead of strncpy for calls not copying
3957 * string/bug-strncat1.c: Include <libc-diag.h>.
3958 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
3960 2017-11-13 Claude Paroz <claude@2xlibre.net>
3963 * localedata/locales/aa_DJ: Improved readibility by replacing
3964 <Uxxxx> sequences in the ASCII printable range by their ASCII
3965 character equivalents.
3966 * localedata/locales/aa_ER: Likewise.
3967 * localedata/locales/aa_ER@saaho: Likewise.
3968 * localedata/locales/aa_ET: Likewise.
3969 * localedata/locales/af_ZA: Likewise.
3970 * localedata/locales/agr_PE: Likewise.
3971 * localedata/locales/ak_GH: Likewise.
3972 * localedata/locales/am_ET: Likewise.
3973 * localedata/locales/anp_IN: Likewise.
3974 * localedata/locales/ar_AE: Likewise.
3975 * localedata/locales/ar_BH: Likewise.
3976 * localedata/locales/ar_DZ: Likewise.
3977 * localedata/locales/ar_EG: Likewise.
3978 * localedata/locales/ar_IN: Likewise.
3979 * localedata/locales/ar_IQ: Likewise.
3980 * localedata/locales/ar_JO: Likewise.
3981 * localedata/locales/ar_KW: Likewise.
3982 * localedata/locales/ar_LB: Likewise.
3983 * localedata/locales/ar_LY: Likewise.
3984 * localedata/locales/ar_MA: Likewise.
3985 * localedata/locales/ar_OM: Likewise.
3986 * localedata/locales/ar_QA: Likewise.
3987 * localedata/locales/ar_SA: Likewise.
3988 * localedata/locales/ar_SD: Likewise.
3989 * localedata/locales/ar_SS: Likewise.
3990 * localedata/locales/ar_SY: Likewise.
3991 * localedata/locales/ar_TN: Likewise.
3992 * localedata/locales/ar_YE: Likewise.
3993 * localedata/locales/as_IN: Likewise.
3994 * localedata/locales/ast_ES: Likewise.
3995 * localedata/locales/ayc_PE: Likewise.
3996 * localedata/locales/az_AZ: Likewise.
3997 * localedata/locales/az_IR: Likewise.
3998 * localedata/locales/be_BY: Likewise.
3999 * localedata/locales/be_BY@latin: Likewise.
4000 * localedata/locales/bem_ZM: Likewise.
4001 * localedata/locales/ber_DZ: Likewise.
4002 * localedata/locales/ber_MA: Likewise.
4003 * localedata/locales/bg_BG: Likewise.
4004 * localedata/locales/bhb_IN: Likewise.
4005 * localedata/locales/bho_IN: Likewise.
4006 * localedata/locales/bi_VU: Likewise.
4007 * localedata/locales/bn_BD: Likewise.
4008 * localedata/locales/bn_IN: Likewise.
4009 * localedata/locales/bo_CN: Likewise.
4010 * localedata/locales/bo_IN: Likewise.
4011 * localedata/locales/br_FR: Likewise.
4012 * localedata/locales/brx_IN: Likewise.
4013 * localedata/locales/bs_BA: Likewise.
4014 * localedata/locales/byn_ER: Likewise.
4015 * localedata/locales/ca_AD: Likewise.
4016 * localedata/locales/ca_ES: Likewise.
4017 * localedata/locales/ca_FR: Likewise.
4018 * localedata/locales/ca_IT: Likewise.
4019 * localedata/locales/ce_RU: Likewise.
4020 * localedata/locales/chr_US: Likewise.
4021 * localedata/locales/cmn_TW: Likewise.
4022 * localedata/locales/crh_UA: Likewise.
4023 * localedata/locales/cs_CZ: Likewise.
4024 * localedata/locales/csb_PL: Likewise.
4025 * localedata/locales/cv_RU: Likewise.
4026 * localedata/locales/cy_GB: Likewise.
4027 * localedata/locales/da_DK: Likewise.
4028 * localedata/locales/de_AT: Likewise.
4029 * localedata/locales/de_BE: Likewise.
4030 * localedata/locales/de_CH: Likewise.
4031 * localedata/locales/de_DE: Likewise.
4032 * localedata/locales/de_IT: Likewise.
4033 * localedata/locales/de_LI: Likewise.
4034 * localedata/locales/de_LU: Likewise.
4035 * localedata/locales/doi_IN: Likewise.
4036 * localedata/locales/dv_MV: Likewise.
4037 * localedata/locales/dz_BT: Likewise.
4038 * localedata/locales/el_CY: Likewise.
4039 * localedata/locales/el_GR: Likewise.
4040 * localedata/locales/en_AG: Likewise.
4041 * localedata/locales/en_AU: Likewise.
4042 * localedata/locales/en_BW: Likewise.
4043 * localedata/locales/en_CA: Likewise.
4044 * localedata/locales/en_DK: Likewise.
4045 * localedata/locales/en_GB: Likewise.
4046 * localedata/locales/en_HK: Likewise.
4047 * localedata/locales/en_IE: Likewise.
4048 * localedata/locales/en_IL: Likewise.
4049 * localedata/locales/en_IN: Likewise.
4050 * localedata/locales/en_NG: Likewise.
4051 * localedata/locales/en_NZ: Likewise.
4052 * localedata/locales/en_PH: Likewise.
4053 * localedata/locales/en_SG: Likewise.
4054 * localedata/locales/en_US: Likewise.
4055 * localedata/locales/en_ZA: Likewise.
4056 * localedata/locales/en_ZM: Likewise.
4057 * localedata/locales/en_ZW: Likewise.
4058 * localedata/locales/eo: Likewise.
4059 * localedata/locales/es_AR: Likewise.
4060 * localedata/locales/es_BO: Likewise.
4061 * localedata/locales/es_CL: Likewise.
4062 * localedata/locales/es_CO: Likewise.
4063 * localedata/locales/es_CR: Likewise.
4064 * localedata/locales/es_CU: Likewise.
4065 * localedata/locales/es_DO: Likewise.
4066 * localedata/locales/es_EC: Likewise.
4067 * localedata/locales/es_ES: Likewise.
4068 * localedata/locales/es_GT: Likewise.
4069 * localedata/locales/es_HN: Likewise.
4070 * localedata/locales/es_MX: Likewise.
4071 * localedata/locales/es_NI: Likewise.
4072 * localedata/locales/es_PA: Likewise.
4073 * localedata/locales/es_PE: Likewise.
4074 * localedata/locales/es_PR: Likewise.
4075 * localedata/locales/es_PY: Likewise.
4076 * localedata/locales/es_SV: Likewise.
4077 * localedata/locales/es_US: Likewise.
4078 * localedata/locales/es_UY: Likewise.
4079 * localedata/locales/es_VE: Likewise.
4080 * localedata/locales/et_EE: Likewise.
4081 * localedata/locales/eu_ES: Likewise.
4082 * localedata/locales/eu_ES@euro: Likewise.
4083 * localedata/locales/fa_IR: Likewise.
4084 * localedata/locales/ff_SN: Likewise.
4085 * localedata/locales/fi_FI: Likewise.
4086 * localedata/locales/fil_PH: Likewise.
4087 * localedata/locales/fo_FO: Likewise.
4088 * localedata/locales/fr_BE: Likewise.
4089 * localedata/locales/fr_CA: Likewise.
4090 * localedata/locales/fr_CH: Likewise.
4091 * localedata/locales/fr_FR: Likewise.
4092 * localedata/locales/fr_LU: Likewise.
4093 * localedata/locales/fur_IT: Likewise.
4094 * localedata/locales/fy_DE: Likewise.
4095 * localedata/locales/fy_NL: Likewise.
4096 * localedata/locales/ga_IE: Likewise.
4097 * localedata/locales/gd_GB: Likewise.
4098 * localedata/locales/gez_ER: Likewise.
4099 * localedata/locales/gez_ET: Likewise.
4100 * localedata/locales/gl_ES: Likewise.
4101 * localedata/locales/gu_IN: Likewise.
4102 * localedata/locales/gv_GB: Likewise.
4103 * localedata/locales/ha_NG: Likewise.
4104 * localedata/locales/hak_TW: Likewise.
4105 * localedata/locales/he_IL: Likewise.
4106 * localedata/locales/hi_IN: Likewise.
4107 * localedata/locales/hif_FJ: Likewise.
4108 * localedata/locales/hne_IN: Likewise.
4109 * localedata/locales/hr_HR: Likewise.
4110 * localedata/locales/hsb_DE: Likewise.
4111 * localedata/locales/ht_HT: Likewise.
4112 * localedata/locales/hu_HU: Likewise.
4113 * localedata/locales/hy_AM: Likewise.
4114 * localedata/locales/i18n: Likewise.
4115 * localedata/locales/ia_FR: Likewise.
4116 * localedata/locales/id_ID: Likewise.
4117 * localedata/locales/ig_NG: Likewise.
4118 * localedata/locales/ik_CA: Likewise.
4119 * localedata/locales/is_IS: Likewise.
4120 * localedata/locales/it_CH: Likewise.
4121 * localedata/locales/it_IT: Likewise.
4122 * localedata/locales/iu_CA: Likewise.
4123 * localedata/locales/ja_JP: Likewise.
4124 * localedata/locales/ka_GE: Likewise.
4125 * localedata/locales/kk_KZ: Likewise.
4126 * localedata/locales/kl_GL: Likewise.
4127 * localedata/locales/kn_IN: Likewise.
4128 * localedata/locales/ko_KR: Likewise.
4129 * localedata/locales/kok_IN: Likewise.
4130 * localedata/locales/ks_IN: Likewise.
4131 * localedata/locales/ks_IN@devanagari: Likewise.
4132 * localedata/locales/ku_TR: Likewise.
4133 * localedata/locales/kw_GB: Likewise.
4134 * localedata/locales/ky_KG: Likewise.
4135 * localedata/locales/lb_LU: Likewise.
4136 * localedata/locales/lg_UG: Likewise.
4137 * localedata/locales/li_BE: Likewise.
4138 * localedata/locales/li_NL: Likewise.
4139 * localedata/locales/lij_IT: Likewise.
4140 * localedata/locales/ln_CD: Likewise.
4141 * localedata/locales/lo_LA: Likewise.
4142 * localedata/locales/lt_LT: Likewise.
4143 * localedata/locales/lv_LV: Likewise.
4144 * localedata/locales/lzh_TW: Likewise.
4145 * localedata/locales/mag_IN: Likewise.
4146 * localedata/locales/mai_IN: Likewise.
4147 * localedata/locales/mg_MG: Likewise.
4148 * localedata/locales/mhr_RU: Likewise.
4149 * localedata/locales/mi_NZ: Likewise.
4150 * localedata/locales/mk_MK: Likewise.
4151 * localedata/locales/ml_IN: Likewise.
4152 * localedata/locales/mn_MN: Likewise.
4153 * localedata/locales/mni_IN: Likewise.
4154 * localedata/locales/mr_IN: Likewise.
4155 * localedata/locales/ms_MY: Likewise.
4156 * localedata/locales/mt_MT: Likewise.
4157 * localedata/locales/my_MM: Likewise.
4158 * localedata/locales/nan_TW: Likewise.
4159 * localedata/locales/nan_TW@latin: Likewise.
4160 * localedata/locales/nb_NO: Likewise.
4161 * localedata/locales/nds_DE: Likewise.
4162 * localedata/locales/nds_NL: Likewise.
4163 * localedata/locales/ne_NP: Likewise.
4164 * localedata/locales/nhn_MX: Likewise.
4165 * localedata/locales/niu_NU: Likewise.
4166 * localedata/locales/niu_NZ: Likewise.
4167 * localedata/locales/nl_AW: Likewise.
4168 * localedata/locales/nl_BE: Likewise.
4169 * localedata/locales/nl_NL: Likewise.
4170 * localedata/locales/nn_NO: Likewise.
4171 * localedata/locales/nr_ZA: Likewise.
4172 * localedata/locales/nso_ZA: Likewise.
4173 * localedata/locales/oc_FR: Likewise.
4174 * localedata/locales/om_ET: Likewise.
4175 * localedata/locales/om_KE: Likewise.
4176 * localedata/locales/or_IN: Likewise.
4177 * localedata/locales/os_RU: Likewise.
4178 * localedata/locales/pa_IN: Likewise.
4179 * localedata/locales/pa_PK: Likewise.
4180 * localedata/locales/pap_AW: Likewise.
4181 * localedata/locales/pap_CW: Likewise.
4182 * localedata/locales/pl_PL: Likewise.
4183 * localedata/locales/ps_AF: Likewise.
4184 * localedata/locales/pt_BR: Likewise.
4185 * localedata/locales/pt_PT: Likewise.
4186 * localedata/locales/quz_PE: Likewise.
4187 * localedata/locales/raj_IN: Likewise.
4188 * localedata/locales/ro_RO: Likewise.
4189 * localedata/locales/ru_RU: Likewise.
4190 * localedata/locales/ru_UA: Likewise.
4191 * localedata/locales/rw_RW: Likewise.
4192 * localedata/locales/sa_IN: Likewise.
4193 * localedata/locales/sat_IN: Likewise.
4194 * localedata/locales/sc_IT: Likewise.
4195 * localedata/locales/sd_IN: Likewise.
4196 * localedata/locales/sd_IN@devanagari: Likewise.
4197 * localedata/locales/se_NO: Likewise.
4198 * localedata/locales/sgs_LT: Likewise.
4199 * localedata/locales/shs_CA: Likewise.
4200 * localedata/locales/si_LK: Likewise.
4201 * localedata/locales/sid_ET: Likewise.
4202 * localedata/locales/sk_SK: Likewise.
4203 * localedata/locales/sl_SI: Likewise.
4204 * localedata/locales/sm_WS: Likewise.
4205 * localedata/locales/so_DJ: Likewise.
4206 * localedata/locales/so_ET: Likewise.
4207 * localedata/locales/so_KE: Likewise.
4208 * localedata/locales/so_SO: Likewise.
4209 * localedata/locales/sq_AL: Likewise.
4210 * localedata/locales/sq_MK: Likewise.
4211 * localedata/locales/sr_ME: Likewise.
4212 * localedata/locales/sr_RS: Likewise.
4213 * localedata/locales/sr_RS@latin: Likewise.
4214 * localedata/locales/ss_ZA: Likewise.
4215 * localedata/locales/st_ZA: Likewise.
4216 * localedata/locales/sv_FI: Likewise.
4217 * localedata/locales/sv_SE: Likewise.
4218 * localedata/locales/sw_KE: Likewise.
4219 * localedata/locales/sw_TZ: Likewise.
4220 * localedata/locales/szl_PL: Likewise.
4221 * localedata/locales/ta_IN: Likewise.
4222 * localedata/locales/ta_LK: Likewise.
4223 * localedata/locales/tcy_IN: Likewise.
4224 * localedata/locales/te_IN: Likewise.
4225 * localedata/locales/tg_TJ: Likewise.
4226 * localedata/locales/th_TH: Likewise.
4227 * localedata/locales/the_NP: Likewise.
4228 * localedata/locales/ti_ER: Likewise.
4229 * localedata/locales/ti_ET: Likewise.
4230 * localedata/locales/tig_ER: Likewise.
4231 * localedata/locales/tk_TM: Likewise.
4232 * localedata/locales/tl_PH: Likewise.
4233 * localedata/locales/tn_ZA: Likewise.
4234 * localedata/locales/to_TO: Likewise.
4235 * localedata/locales/tpi_PG: Likewise.
4236 * localedata/locales/tr_CY: Likewise.
4237 * localedata/locales/tr_TR: Likewise.
4238 * localedata/locales/ts_ZA: Likewise.
4239 * localedata/locales/tt_RU: Likewise.
4240 * localedata/locales/tt_RU@iqtelif: Likewise.
4241 * localedata/locales/ug_CN: Likewise.
4242 * localedata/locales/uk_UA: Likewise.
4243 * localedata/locales/unm_US: Likewise.
4244 * localedata/locales/ur_IN: Likewise.
4245 * localedata/locales/ur_PK: Likewise.
4246 * localedata/locales/uz_UZ: Likewise.
4247 * localedata/locales/uz_UZ@cyrillic: Likewise.
4248 * localedata/locales/ve_ZA: Likewise.
4249 * localedata/locales/vi_VN: Likewise.
4250 * localedata/locales/wa_BE: Likewise.
4251 * localedata/locales/wae_CH: Likewise.
4252 * localedata/locales/wal_ET: Likewise.
4253 * localedata/locales/wo_SN: Likewise.
4254 * localedata/locales/xh_ZA: Likewise.
4255 * localedata/locales/yi_US: Likewise.
4256 * localedata/locales/yo_NG: Likewise.
4257 * localedata/locales/yue_HK: Likewise.
4258 * localedata/locales/yuw_PG: Likewise.
4259 * localedata/locales/zh_CN: Likewise.
4260 * localedata/locales/zh_HK: Likewise.
4261 * localedata/locales/zh_SG: Likewise.
4262 * localedata/locales/zh_TW: Likewise.
4263 * localedata/locales/zu_ZA: Likewise.
4265 2017-11-13 Florian Weimer <fweimer@redhat.com>
4267 * support/next_to_fault.h, support/next_to_fault.c: New files.
4268 * support/Makefile (libsupport-routines): Add next_to_fault.
4269 * resolv/tst-inet_pton.c (struct next_to_fault)
4270 (next_to_fault_allocate, next_to_fault_free): Remove.
4271 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
4273 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
4275 * elf/dl-support.c: Include <dl-procruntime.c>.
4276 * include/link.h: Include <link_map.h>.
4277 * sysdeps/generic/dl-procruntime.c: New file.
4278 * sysdeps/generic/link_map.h: Likewise.
4279 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
4280 the writable ld.so namespace.
4282 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
4284 timezone: pacify GCC -Wstringop-truncation
4285 Problem reported by Martin Sebor in:
4286 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
4287 * timezone/zic.c (writezone): Use memcpy, not strncpy.
4289 2017-11-12 Florian Weimer <fweimer@redhat.com>
4291 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
4293 (tests): Add tst-xreadlink.
4294 * support/support.h (xstrndup): Declare.
4295 * support/xunistd.h (xunlink, xreadlink): Declare.
4296 * support/temp_file.h (support_create_temp_directory): Declare.
4297 * support/temp_file.c (support_create_temp_directory): New function.
4298 * support/support_chroot.c (support_chroot_create): Use it.
4299 * support/xreadlink.c: New file.
4300 * support/xstrndup.c: Likewise.
4301 * support/xunlink.c: Likewise.
4302 * support/tst-xreadlink.c: Likewise.
4304 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
4306 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
4308 2017-11-11 Florian Weimer <fweimer@redhat.com>
4312 * resolv/res_comp.c (printable_string, binary_hnok)
4313 (binary_leading_dash): New functions.
4314 (res_hnok): Reimplement using these functions and ns_name_pton.
4315 (res_ownok): Likewise.
4316 (res_mailok): Reimplement using printable_string, ns_name_pton and
4318 (res_dnok): Reimplement using printable_string and ns_name_pton.
4319 * resolv/tst-res_hnok.c (tests): Add additional tests.
4320 (LETTERDIGITS, PRINTABLE): Define.
4321 (do_test): Adjust one_char results.
4323 2017-11-11 Florian Weimer <fweimer@redhat.com>
4326 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
4327 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
4329 2017-11-11 Florian Weimer <fweimer@redhat.com>
4331 * resolv/tst-ns_name_pton.c: New file.
4332 * resolv/Makefile (tests): Add tst-ns_name_pton.
4333 (tst-ns_name_pton): Link against libresolv.
4335 2017-11-11 Florian Weimer <fweimer@redhat.com>
4337 * resolv/tst-res_hnok.c: New file.
4338 * resolv/Makefile (tests): Add tst-res_hnok.
4339 (tst-res_hnok): Link against libresolv.
4341 2017-11-11 Florian Weimer <fweimer@redhat.com>
4343 * resolv/tst-resolv-network.c: Use test framework instead explicit
4346 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
4348 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
4350 [!_ISOMAC] (STR_HELPER): New.
4351 [!_ISOMAC] (STR): Likewise.
4352 [!_ISOMAC] (TEST_SIZE): Likewise.
4353 [!_ISOMAC] (TEST_ALIGN): Likewise.
4354 [!_ISOMAC] (TEST_OFFSET): Likewise.
4355 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
4356 field offsets of jmp_buf as well as sigjmp_buf.
4357 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
4358 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
4359 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
4360 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
4361 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
4362 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
4363 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
4364 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
4365 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
4366 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
4368 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
4370 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
4371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
4373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
4375 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
4376 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
4377 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
4378 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
4379 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
4380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
4382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
4384 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
4385 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
4386 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
4388 2017-11-07 Joseph Myers <joseph@codesourcery.com>
4391 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4392 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
4393 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4394 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
4395 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4396 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
4397 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4398 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
4399 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4400 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
4401 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4402 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
4403 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4404 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
4405 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4406 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
4407 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4408 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
4409 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4410 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
4411 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4412 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
4413 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4414 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
4415 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4416 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
4417 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4418 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
4419 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4420 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
4421 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4422 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
4423 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4424 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
4425 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4426 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
4427 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4428 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
4429 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4430 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
4431 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4432 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
4433 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4434 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
4435 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4436 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
4437 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4438 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
4439 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4440 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
4441 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4442 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
4443 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4444 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
4445 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4446 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
4447 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4448 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
4449 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4450 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
4451 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4452 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
4453 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4454 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
4455 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4456 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
4457 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4458 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
4459 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4460 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
4461 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4462 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
4463 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4464 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
4465 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4466 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
4467 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4468 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
4469 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4470 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
4471 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4472 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
4473 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4474 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
4475 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4476 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
4477 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
4478 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
4480 * stdlib/tst-strtod.h (F16): New macro.
4486 (IF_FLOAT16): Likewise.
4487 (IF_FLOAT32): Likewise.
4488 (IF_FLOAT64): Likewise.
4489 (IF_FLOAT32X): Likewise.
4490 (IF_FLOAT64X): Likewise.
4491 (IF_FLOAT128X): Likewise.
4492 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
4493 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
4494 (STRTOD_TEST_FOREACH): Likewise.
4495 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
4496 (CHOOSE_f64): Likewise.
4497 (CHOOSE_f32x): Likewise.
4498 (CHOOSE_f64x): Likewise.
4500 2017-11-07 Andreas Schwab <schwab@suse.de>
4502 * nptl/Makefile (tests-internal): Remove tst-typesizes.
4504 2017-11-07 Mike FABIAN <mfabian@redhat.com>
4507 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
4509 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
4512 2017-11-07 Claude Paroz <claude@2xlibre.net>
4515 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
4517 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
4519 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
4522 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4525 * nptl/allocatestack.c (allocate_stack): Check if
4526 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
4527 __PTHREAD_MUTEX_HAVE_PREV is defined.
4528 * nptl/descr.h (pthread): Likewise.
4529 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4531 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4532 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4533 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
4534 * sysdeps/nptl/bits/thread-shared-types.h
4535 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
4537 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
4538 of __WORDSIZE for internal layout.
4539 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
4540 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
4541 instead of __WORDSIZE whether to use an union for __spins and __list
4543 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
4545 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
4546 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
4548 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
4549 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4551 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
4552 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4554 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
4555 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4557 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
4558 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4560 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
4561 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4563 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
4564 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4566 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
4567 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4569 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
4570 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4572 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
4573 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4575 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
4576 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4578 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
4579 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4581 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
4582 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4584 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
4585 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4587 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
4588 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
4591 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
4593 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
4594 checks for expected input type size.
4595 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4596 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4598 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4599 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
4600 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4601 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
4602 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4603 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
4604 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
4605 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
4606 superflous runtime assert check.
4607 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
4609 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
4611 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4613 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
4615 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
4617 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
4619 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
4620 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
4621 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4623 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4625 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
4627 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
4629 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4631 * nptl/pthread_attr_setinheritsched.c
4632 (__pthread_attr_setinheritsched): Likewise.
4633 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
4635 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
4637 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
4638 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
4639 __old_pthread_attr_setstack): Likewise.
4640 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4642 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4644 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
4646 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4647 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
4649 * nptl/tst-typesizes.c: Remove file.
4651 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
4652 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
4653 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
4654 checks for internal pthread_mutex_t offsets.
4655 * sysdeps/aarch64/nptl/pthread-offsets.h
4656 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
4657 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
4658 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
4659 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
4660 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
4661 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
4662 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
4663 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
4664 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
4665 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
4666 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
4667 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
4668 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
4669 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
4670 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
4671 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
4672 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
4673 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
4675 2017-11-07 Florian Weimer <fweimer@redhat.com>
4677 * bits/mman-linux.h: Move ...
4678 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
4680 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
4683 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4685 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
4686 Redefine STRNLEN as __strnlen_power8.
4688 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4690 * signal/sighold.c (sighold): Optimize implementation.
4692 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
4693 __NR_rt_sigqueueinfo.
4695 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
4697 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
4698 assume __NR_rt_sigtimedwait.
4699 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
4700 and add LIBC_CANCEL_HANDLED for cancellation marking.
4701 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4703 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
4704 (sysdeps_routines): Add memchr_noneon.
4705 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
4706 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
4707 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
4708 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
4709 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
4710 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
4711 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
4713 * sysdeps/arm/arm-ifunc.h: New file.
4714 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
4715 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
4716 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
4717 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
4718 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
4719 (__memcpy_neon): Avoid create hidden alias.
4720 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
4721 (__memcpy_vfp): Likewise.
4722 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
4723 (sysdep_routines): Add memcpy_arm.
4724 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
4726 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
4729 * Makerules (make-link-multidir): New.
4730 * config.make.in (multidir): New.
4731 * configure.ac (libc_cv_multidir): New. AC_SUBST.
4732 * configure: Regenerated.
4733 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
4734 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
4735 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
4738 2017-11-06 Joseph Myers <joseph@codesourcery.com>
4741 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
4742 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
4744 2017-11-04 Mike FABIAN <mfabian@redhat.com>
4746 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
4749 2017-11-04 Florian Weimer <fweimer@redhat.com>
4751 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
4753 2017-11-03 Joseph Myers <joseph@codesourcery.com>
4755 * math/math.h [__HAVE_DISTINCT_FLOAT16
4756 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
4757 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
4758 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
4759 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
4760 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
4761 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
4762 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
4763 (__MATH_TG_F32): New macro.
4764 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
4765 (__MATH_TG_F64X): Likewise.
4766 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
4767 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
4769 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
4771 * po/de.po: Update translations.
4772 * po/ru.po: Likewise.
4774 2017-11-03 Florian Weimer <fweimer@redhat.com>
4776 * manual/filesys.texi (Hard Links): Document linkat.
4778 2017-11-03 Joseph Myers <joseph@codesourcery.com>
4780 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
4781 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
4782 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
4783 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
4784 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
4785 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
4786 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
4787 the same as _Float128.
4788 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
4789 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
4790 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
4793 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
4795 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
4797 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
4799 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4800 (strtof32x): Likewise.
4801 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4802 (strtof64x): Likewise.
4803 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4804 (strtof128x): Likewise.
4805 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4806 (strfromf16): Likewise.
4807 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4808 (strfromf32): Likewise.
4809 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4810 (strfromf64): Likewise.
4811 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4812 (strfromf32x): Likewise.
4813 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4814 (strfromf64x): Likewise.
4815 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4816 (strfromf128x): Likewise.
4817 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
4818 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
4819 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
4820 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
4821 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
4822 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
4824 2017-11-03 Richard Henderson <rth@twiddle.net>
4826 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
4828 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4830 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
4832 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4834 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
4835 DT_TLSDESC_GOT initialization.
4836 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
4837 (_dl_tlsdesc_resolve_hold): Likewise.
4838 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
4839 (_dl_tlsdesc_resolve_hold): Likewise.
4840 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
4841 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
4843 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4845 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
4847 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4850 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
4851 non-lazily for R_ARM_TLS_DESC.
4853 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4856 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
4857 R_ARM_TLS_DESC case.
4858 (elf_machine_lazy_rel): Remove the prelink check.
4860 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4862 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
4863 DT_TLSDESC_GOT initialization.
4864 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
4865 (_dl_tlsdesc_resolve_rela): Likewise.
4866 (_dl_tlsdesc_resolve_hold): Likewise.
4867 (_dl_tlsdesc_undefweak): Remove ldar.
4868 (_dl_tlsdesc_dynamic): Likewise.
4869 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
4870 (_dl_tlsdesc_resolve_rela): Likewise.
4871 (_dl_tlsdesc_resolve_hold): Likewise.
4872 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
4873 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
4874 (_dl_tlsdesc_resolve_rela): Likewise.
4875 (_dl_tlsdesc_resolve_hold): Likewise.
4877 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4879 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
4880 binding and initialization non-lazily for R_AARCH64_TLSDESC.
4882 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4884 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
4885 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4887 2017-11-02 Joseph Myers <joseph@codesourcery.com>
4889 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
4891 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
4892 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
4893 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
4894 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
4895 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
4896 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
4897 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
4898 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
4899 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
4900 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
4901 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
4903 2017-11-02 Mike FABIAN <mfabian@redhat.com>
4906 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
4907 * localedata/locales/tpi_PG: Add standard header.
4909 2017-11-02 Florian Weimer <fweimer@redhat.com>
4911 test-errno-linux: quotactl can fail with EPERM in containers.
4912 * sysdeps/unix/sysv/linux/test-errno-linux.c
4913 (LIST, LIST_FORWARD): New macros.
4914 (check_error_in_list): New function.
4915 (test_wrp_rv): Accept list of permitted error codes.
4916 (test_wrp_rv2): Remove.
4917 (test_wrp): Call test_wrp_rv with list of error codes.
4918 (test_wrp2): Accept list of error codes.
4919 (do_test): Adjust. Allow EPERM for quotactl.
4921 2017-11-02 Florian Weimer <fweimer@redhat.com>
4923 * stdio-common/bug16.c (do_test): Use array_length.
4924 * stdio-common/errlist.c (_sys_nerr): Likewise.
4925 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
4926 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
4927 * stdio-common/psiginfo.c (psiginfo): Use array_length.
4928 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
4929 (do_test): Use array_length.
4930 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
4931 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
4932 * stdio-common/tst-printf-round.c (do_test): Likewise.
4933 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
4934 (CHECK): Use array_length.
4935 * stdio-common/tstdiomisc.c (t3, F): Likewise.
4936 * stdio-common/tstscanf.c (main): Likewise.
4937 * stdio-common/vfprintf.c (process_string_arg): Likewise.
4939 2017-11-02 Florian Weimer <fweimer@redhat.com>
4941 Add array_length and array_end macros.
4942 * include/array_length.h: New file.
4944 2017-11-02 Florian Weimer <fweimer@redhat.com>
4947 * posix/tst-glob-tilde.c (do_noescape): New variable.
4948 (one_test): Process it.
4949 (do_test): Set do_noescape. Add unescaping test case.
4951 2017-11-01 Joseph Myers <joseph@codesourcery.com>
4954 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
4955 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
4956 with appropriate macros defined and undefined.
4957 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
4958 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
4959 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
4960 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
4961 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
4962 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
4963 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
4964 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
4965 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
4966 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
4969 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
4970 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
4971 that for long double. Do not condition define and undefine of
4972 _Mdouble_complex_ on [__CFLOAT128].
4974 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
4976 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
4977 of <sysdeps/generic/sysdep.h>.
4978 (ALIGNARG): Removed.
4979 (ASM_SIZE_DIRECTIVE): Likewise.
4982 (ENTRY_CHK): Likewise.
4983 (END_CHK): Likewise.
4984 (syscall_error): Likewise.
4986 (PSEUDO_END): Likewise.
4988 (atom_text_section): Likewise.
4989 * sysdeps/x86/sysdep.h: New file.
4990 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
4991 of <sysdeps/generic/sysdep.h>.
4992 (ALIGNARG): Removed.
4993 (ASM_SIZE_DIRECTIVE): Likewise.
4996 (ENTRY_CHK): Likewise.
4997 (END_CHK): Likewise.
4998 (syscall_error): Likewise.
5000 (PSEUDO_END): Likewise.
5002 (atom_text_section): Likewise.
5004 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
5006 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
5007 category of LC_CTYPE set to "i18n:2012".
5008 * localedata/locales/i18n_ctype: Regenerate.
5010 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
5012 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
5013 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5014 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5015 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5017 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
5018 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
5019 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5020 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
5022 2017-10-31 Joseph Myers <joseph@codesourcery.com>
5025 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
5027 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
5029 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
5031 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5032 (CMPLXF32X): Likewise.
5033 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5034 (CMPLXF64X): Likewise.
5035 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5036 (CMPLXF128X): Likewise.
5039 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
5040 (__MATH_EVAL_FMT2): Define to add 0.0f.
5042 2017-10-31 Alan Modra <amodra@gmail.com>
5044 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
5046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
5047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
5048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
5049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
5050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
5051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
5052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
5053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
5054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
5055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
5056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
5057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
5059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
5060 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
5061 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
5062 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
5063 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
5064 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
5065 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
5066 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
5067 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
5068 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
5069 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
5070 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5071 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
5072 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
5073 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
5074 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
5075 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
5076 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5077 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5078 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
5079 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
5080 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
5081 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
5082 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
5083 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
5084 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
5085 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5086 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
5087 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
5088 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
5089 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
5090 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
5091 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
5092 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5093 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
5094 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5095 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5096 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
5097 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
5098 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
5099 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5100 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5101 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
5102 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5103 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5104 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5105 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5106 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5107 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
5108 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
5109 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5110 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
5111 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
5112 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
5113 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
5114 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
5116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
5117 include sysdep.h and math_ldbl_opt.h.
5119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
5120 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
5121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
5122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
5123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
5124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
5125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
5126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
5127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
5128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
5129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
5130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
5131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
5132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
5133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
5134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
5135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
5136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
5137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
5138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
5139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
5140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
5141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
5142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
5143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
5144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
5146 2017-10-31 Alan Modra <amodra@gmail.com>
5148 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
5149 string/strncase_l.c, not string/strncase.c.
5150 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
5151 (libc_hidden_def): Redefine.
5153 2017-10-31 Alan Modra <amodra@gmail.com>
5155 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
5156 (__STRCMP, STRCMP, __strcasecmp_l): Define.
5157 (__strcasecmp): Don't define.
5159 2017-10-31 Alan Modra <amodra@gmail.com>
5161 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
5163 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5164 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5165 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5167 2017-10-31 Alan Modra <amodra@gmail.com>
5169 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
5172 2017-10-31 Alan Modra <amodra@gmail.com>
5174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
5175 Redefine only when SHARED.
5177 2017-10-30 Joseph Myers <joseph@codesourcery.com>
5179 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
5180 Include <bits/math-finite.h> with appropriate macros defined and
5182 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
5183 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
5184 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
5185 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
5186 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
5188 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
5189 [!_Mlong_double_] (_Mlong_double_): Likewise.
5190 [!_Mfloat16_] (_Mfloat16_): Likewise.
5191 [!_Mfloat32_] (_Mfloat32_): Likewise.
5192 [!_Mfloat64_] (_Mfloat64_): Likewise.
5193 [!_Mfloat128_] (_Mfloat128_): Likewise.
5194 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
5195 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
5196 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
5197 (_Mdouble_): Define without indirection through those macros.
5198 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
5199 [!_Mfloat128_] (_Mfloat128_): Likewise.
5200 [_Mlong_double_] (_Mlong_double_): Likewise.
5201 (_Mdouble_): Define without indirection through those macros.
5202 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
5203 not add -D_Mlong_double_=double.
5204 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
5205 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
5207 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
5209 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
5211 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
5213 * sysdeps/x86/libc-start.c: Reformat.
5215 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
5218 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
5222 (L(Src2)): Likewise.
5223 (L(1)): Renamed to ...
5226 2017-10-30 Joseph Myers <joseph@codesourcery.com>
5228 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
5229 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
5230 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
5231 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
5232 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
5233 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
5234 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
5235 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
5236 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
5237 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
5238 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
5239 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
5240 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
5241 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
5242 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
5243 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
5244 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
5245 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
5246 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
5247 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
5248 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
5249 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
5250 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
5251 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
5252 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
5253 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
5254 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
5255 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
5256 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
5257 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
5258 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
5259 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
5260 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
5261 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
5262 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
5263 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
5264 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
5265 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
5266 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
5267 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
5268 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
5269 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
5270 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
5271 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
5272 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
5273 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
5274 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
5275 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
5276 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
5277 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
5278 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
5279 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
5280 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
5281 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
5282 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
5283 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
5284 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
5285 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
5286 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
5287 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
5288 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
5289 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
5290 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
5291 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
5292 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
5293 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
5295 2017-10-30 Florian Weimer <fweimer@redhat.com>
5297 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
5299 * io/tst-mkdirat.c (do_test): Likewise.
5300 * io/tst-mkfifoat.c (do_test): Likewise.
5301 * io/tst-mknodat.c (do_test): Likewise.
5302 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
5303 * locale/programs/locale.c (select_dirs): Likewise.
5304 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
5305 * posix/bug-glob2.c (my_readdir): Likewise.
5306 * posix/tst-dir.c (main): Likewise.
5307 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
5308 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
5310 2017-10-30 Florian Weimer <fweimer@redhat.com>
5312 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
5315 2017-10-30 Florian Weimer <fweimer@redhat.com>
5317 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
5318 Convert to support/test-driver.c.
5319 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
5320 New macro parameters.
5321 (PRINTF): Remove macro. Use test_verbose conditionals instead.
5322 * posix/tst-gnuglob.c: New file.
5323 * posix/tst-gnuglob64.c: Likewise.
5324 * posix/Makefile (tests): Add tst-gnuglob64.
5326 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
5329 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
5330 and use a better translation for March in “mon”.
5331 * localedata/locales/csb_PL: Use more ASCII to improve the
5332 readability of the source.
5334 2017-10-30 Mike FABIAN <mfabian@redhat.com>
5337 * localedata/locales/km_KH: Use ASCII as much
5338 as possible for better readability of the source and
5339 remove useless comments.
5340 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
5341 was commented out and apparently wrong anyway because it was
5342 using Lao characters. If Buddhist era should be used
5343 for km_KH, a native speaker should write the correct formaat
5345 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
5346 (According to CLDR, the first weekday for Cambodia is Sunday).
5347 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
5348 (These were using Lao characters which must be wrong. If we get
5349 the correct data from a native speaker, we could add it back, until
5350 then it is better not to have name_mr and name_mrs at all than
5353 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
5355 * locale/loadlocale.c: Correct size of
5356 _nl_value_type_LC_<category> arrays.
5358 2017-10-27 Joseph Myers <joseph@codesourcery.com>
5360 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
5361 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
5362 with appropriate macros defined and undefined.
5363 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
5364 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
5365 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
5366 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
5367 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
5369 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
5371 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
5374 2017-10-27 Mike FABIAN <mfabian@redhat.com>
5376 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
5377 with lowercase letters to make it agree with CLDR.
5379 2017-10-27 Mike FABIAN <mfabian@redhat.com>
5382 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
5383 first letters of yesstr and nostr in yesexpr and noexpr,
5384 not for the full words.
5385 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
5386 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
5387 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
5388 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
5389 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
5390 first letters of yesstr and nostr in yesexpr and noexpr,
5391 until now only English was matched in yesexpr and noexpr.
5392 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
5393 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
5394 fil but not for tl. As tl and fil are very similar, using fil
5395 is probably better than using English.
5397 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
5400 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
5401 in yesstr and nostr.
5403 2017-10-26 Joseph Myers <joseph@codesourcery.com>
5405 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
5406 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
5407 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
5409 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
5411 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
5413 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
5415 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5416 (SNANF128X): Likewise.
5418 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
5419 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
5420 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5421 (HUGE_VAL_F32): Likewise.
5422 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5423 (HUGE_VAL_F64): Likewise.
5424 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5425 (HUGE_VAL_F32X): Likewise.
5426 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5427 (HUGE_VAL_F64X): Likewise.
5428 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
5429 (HUGE_VAL_F128X): Likewise.
5431 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
5433 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
5434 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
5435 for the br_FR locale.
5437 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
5440 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
5442 2017-10-25 Carlos O'Donell <carlos@redhat.com>
5444 * locale/programs/record-status.h: Define globals, and function
5445 prototypes. Move function bodies...
5446 * locale/programs/record-status.c: ... to here. New file.
5447 * iconv/Makefile (iconv_prog-modules): Add record-status.
5448 * locale/Makefile (lib-modules): Likewise.
5449 * iconv/iconv_prog.c: Remove verbose.
5450 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
5451 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
5452 record a warning about ASCII compatibility.
5453 * locale/programs/ld-monetary.c (monetary_finish): If
5454 warn_int_curr_symbol is true then record a warning about the symbol
5455 not being in our ISO 4217 list.
5456 * locale/programs/locale.c: Include record-status.h. Remove verbose.
5457 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
5458 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
5459 (OPT_NO_WARN): Define.
5461 (options): Add entry for --no-warnings, and --warnings.
5462 (set_warnings): New function to enable/disable warnings.
5463 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
5464 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
5465 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
5466 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
5467 Pass flags to generate_locale.
5468 (generate_locale): Accept new flag argument and pass it to localedef
5470 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
5471 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
5473 * localedata/Makefile (test-input-data): Use full file name.
5474 * localedata/da_DK.in: Rename to...
5475 * localedata/da_DK.ISO-8859-1.in: ...this.
5476 * localedata/de_DE.in: Rename to...
5477 * localedata/de_DE.ISO-8859-1.in: ...this.
5478 * localedata/en_US.in: Rename to...
5479 * localedata/en_US.ISO-8859-1.in: ...this.
5480 * localedata/fr_FR.in: Rename to...
5481 * localedata/fr_FR.UTF-8.in: ... this.
5482 * localedata/hr_HR.in: Rename to...
5483 * localedata/hr_HR.ISO-8859-2.in: ...this.
5484 * localedata/hu_HU.in: Rename to...
5485 * localedata/hu_HU.UTF-8.in: ...this.
5486 * localedata/si_LK.in: Rename to...
5487 * localedata/si_LK.UTF-8.in: ...this.
5488 * localedata/sv_SE.in: Rename to...
5489 * localedata/sv_SE.ISO-8859-1.in: ...this.
5490 * localedata/tr_TR.in: Rename to...
5491 * localedata/tr_TR.UTF-8.in: ...this.
5492 * localedata/uk_UA.in: Rename to...
5493 * localedata/uk_UA.UTF-8.in: ...this.
5494 * localedata/sort-test.sh: Test file is locale name with the
5497 * localedata/unicode-gen/Makefile (check_i18n): Rename to
5498 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
5500 * localedata/locales/i18n_ctype: Regenerate.
5501 * localedata/locales/tr_TR: Likewise.
5502 * localedata/locales/translit_circle: Likewise.
5503 * localedata/locales/translit_cjk_compat: Likewise.
5504 * localedata/locales/translit_combining: Likewise.
5505 * localedata/locales/translit_compat: Likewise.
5506 * localedata/locales/translit_font: Likewise.
5507 * localedata/locales/translit_fraction: Likewise.
5509 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5511 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
5512 lxvd2x/stxvd2x with lvx/stvx.
5513 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
5515 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
5517 * include/alloc_buffer.h: Replace "if if " with "if " in
5519 * sysdeps/mips/memcpy.S: Likkewise.
5520 * sysdeps/mips/memset.S: Likewise.
5521 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5523 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
5525 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
5528 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5531 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
5533 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
5534 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
5535 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
5536 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
5537 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
5538 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
5539 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
5541 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5543 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
5544 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
5545 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
5546 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
5547 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
5548 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
5549 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
5550 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
5551 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
5552 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
5553 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
5554 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
5556 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5558 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
5559 as possible for better readability of the source.
5560 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
5561 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
5562 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
5563 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
5564 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
5565 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
5566 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
5567 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
5568 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
5569 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
5570 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
5571 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
5572 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
5573 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
5574 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
5575 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
5576 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
5577 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
5578 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
5579 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
5580 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
5581 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
5582 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
5583 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
5584 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
5585 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
5586 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
5587 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
5588 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
5589 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
5590 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
5591 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
5592 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
5593 * localedata/locales/en_US (LC_MESSAGES): Likewise.
5594 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
5595 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
5596 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
5597 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
5598 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
5599 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
5600 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
5601 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
5602 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
5603 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
5604 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
5605 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
5606 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
5607 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
5608 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
5609 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
5610 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
5611 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
5612 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
5613 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
5614 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
5615 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
5616 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
5617 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
5618 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
5619 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
5620 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
5621 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
5622 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
5623 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
5624 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
5625 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
5626 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
5627 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
5628 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
5629 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
5630 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
5631 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
5632 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
5633 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
5634 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
5635 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
5636 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
5637 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
5638 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
5639 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
5640 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
5641 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
5642 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
5643 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
5644 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
5645 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
5646 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
5647 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
5648 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
5649 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
5650 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
5651 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
5652 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
5653 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
5654 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
5655 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
5656 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
5657 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
5658 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
5659 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
5660 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
5661 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
5662 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
5663 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
5664 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
5665 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
5666 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
5667 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
5668 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
5669 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
5670 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
5671 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
5672 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
5673 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
5674 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
5675 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
5676 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
5677 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
5678 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
5679 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
5680 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
5681 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
5682 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
5683 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
5684 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
5685 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
5686 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
5687 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
5688 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
5689 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
5690 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
5691 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
5692 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
5693 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
5694 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
5695 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
5696 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
5697 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
5698 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
5699 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
5700 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
5701 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
5702 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
5703 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
5704 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
5705 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
5706 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
5707 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
5708 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
5709 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
5710 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
5711 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
5712 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
5713 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
5714 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
5715 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
5716 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
5717 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
5718 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
5719 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
5720 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
5721 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
5722 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
5723 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
5724 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
5725 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
5726 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
5727 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
5728 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
5729 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
5730 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
5731 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
5732 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
5733 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
5735 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5737 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
5738 (Use first letters of yesstr and nostr correctly instead of using
5741 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5743 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
5744 (Use first letters of yesstr and nostr correctly).
5746 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5748 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
5749 also check for the first characters of yesstr and nostr.
5750 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
5751 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
5753 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5755 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
5756 also check for Chinese characters.
5758 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5760 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
5761 match also for the contents of yesstr and nostr. As the first letter
5762 of yesstr and nostr is equal, checking only for the first letter
5765 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5767 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
5768 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
5770 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5772 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
5773 of main contributor.
5775 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5777 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
5778 instead of using English.
5780 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5782 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
5783 by including the first letters of nostr and yesexpr in the regexp.
5784 Also make it more readable by using ASCII where possible.
5786 2017-10-25 Mike FABIAN <mfabian@redhat.com>
5788 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
5789 the first letter of nostr in the regexp. It agrees with CLDR now.
5790 Also make it more readable by using ASCII where possible.
5792 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5794 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
5795 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
5796 these strings contain a U+17D6 (which somewhat looks like a colon)
5797 instead of a real colon to separate the full words for “yes”
5798 and “no” from the single letter responses.
5800 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5802 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
5803 it agree with CLDR (include the first letter of yesstr).
5804 Also make it more readable by using ASCII where possible.
5806 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5808 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
5809 and improve yesexpr and noexpr. The yesstr and nostr apparently
5810 came from CLDR. And CLDR has a bug there: these strings contain
5811 a U+0903 (which looks like a colon) instead of a real colon
5812 to separate the full words for “yes” and “no” from the single
5815 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5817 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
5818 letters of the full yesstr and nostr in yesexpr and noexpr.
5820 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5822 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
5823 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
5824 * localedata/locales/an_ES: Make source more readable by using ASCII
5827 2017-10-24 Mike FABIAN <mfabian@redhat.com>
5830 * localedata/locales/yuw_PG: New file.
5831 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
5832 * locale/iso-639.def: Add Yau (Uruwa).
5834 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5836 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
5838 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5840 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
5841 (__libc_realloc): Likewise.
5842 (_mid_memalign): Likewise.
5843 (__libc_calloc): Likewise.
5845 2017-10-23 Mike FABIAN <mfabian@redhat.com>
5847 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
5848 by adding the generic +1 and -0 as in all other locales.
5849 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
5850 day names and make it more readable by using ASCII where possible.
5852 2017-10-24 Joseph Myers <joseph@codesourcery.com>
5854 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
5855 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
5857 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5859 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
5860 WNOHANG in waitpid call.
5862 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
5864 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
5865 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
5867 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
5868 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
5869 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
5870 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
5871 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
5872 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
5873 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
5874 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
5877 2017-10-23 Michael Collison <michael.collison@arm.com>
5879 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
5880 with __builtin_sqrt.
5881 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
5882 with __builtin_sqrtf.
5883 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
5884 with __builtin_ceil.
5885 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
5886 with __builtin_ceilf.
5887 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
5888 with __builtin_floor.
5889 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
5890 with __builtin_floorf.
5891 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
5893 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
5894 with __builtin_fmaf.
5895 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
5896 with __builtin_fmax.
5897 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
5898 with __builtin_fmaxf.
5899 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
5900 with __builtin_fmin.
5901 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
5902 with __builtin_fminf.
5903 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
5904 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
5905 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
5906 with builtin_rint and conversion to int.
5907 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
5908 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
5909 with builtin_llround.
5910 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
5911 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
5912 with builtin_rint and conversion to long int.
5913 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
5914 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
5915 with builtin_lround.
5916 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
5917 with builtin_lroundf.
5918 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
5919 statements with __builtin_nearbyint.
5920 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
5921 statements with __builtin_nearbyintf.
5922 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
5923 with __builtin_rint.
5924 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
5925 with __builtin_rintf.
5926 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
5927 with __builtin_round.
5928 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
5929 with __builtin_roundf.
5930 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
5931 with __builtin_trunc.
5932 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
5933 with __builtin_truncf.
5934 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
5935 and s_l[l]round[f].c too.
5937 2017-10-23 Alan Modra <amodra@gmail.com>
5939 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
5940 Adjust stack after restoring regs. Add missing LR cfi_restore.
5942 2017-10-23 Alan Modra <amodra@gmail.com>
5944 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
5945 Move LR save and frame setup/teardown and LR restore to
5946 immediately around memset call. Provide cfi.
5948 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5950 * sysdeps/i386/fpu/e_powf.S: Removed.
5951 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
5952 * sysdeps/i386/fpu/w_powf.c: Likewise.
5953 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
5954 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5955 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
5957 (CFLAGS-e_powf-sse2.c): New.
5958 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
5959 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
5961 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5963 * sysdeps/i386/fpu/e_log2f.S: Removed.
5964 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
5965 * sysdeps/i386/fpu/w_log2f.c: Likewise.
5966 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
5967 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5968 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
5970 (CFLAGS-e_log2f-sse2.c): New.
5971 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
5972 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
5974 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5976 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5978 (CFLAGS-e_powf-fma.c): New.
5979 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
5980 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
5982 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5984 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5986 (CFLAGS-e_log2f-fma.c): New.
5987 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
5988 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
5990 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
5992 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5994 (CFLAGS-e_logf-fma.c): New.
5995 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
5996 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
5998 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6000 * sysdeps/i386/fpu/e_logf.S: Removed.
6001 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
6002 * sysdeps/i386/fpu/w_logf.c: Likewise.
6003 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
6004 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
6005 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6006 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6008 (CFLAGS-e_logf-sse2.c): New.
6009 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
6010 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
6012 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6014 * sysdeps/i386/fpu/e_exp2f.S: Removed.
6015 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
6016 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
6017 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6018 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6020 (CFLAGS-e_exp2f-sse2.c): New.
6021 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
6022 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
6024 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6026 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6028 (CFLAGS-e_exp2f-fma.c): New.
6029 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
6030 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
6032 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6034 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
6035 * sysdeps/i386/fpu/e_expf.S: Likewise.
6036 * sysdeps/i386/fpu/math_errf.c: Likewise.
6037 * sysdeps/i386/fpu/w_expf.c: Likewise.
6038 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
6039 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6040 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
6041 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
6042 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6043 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
6045 (CFLAGS-e_expf-sse2.c): New.
6046 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
6047 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
6049 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
6051 * sysdeps/x86_64/fpu/e_expf.S: Removed.
6052 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
6053 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
6054 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
6056 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
6058 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
6059 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
6061 (__redirect_expf): This.
6062 (SYMBOL_NAME): Changed to expf.
6063 (__ieee754_expf): Renamed to ...
6065 (__GI___expf): This.
6066 (__ieee754_expf): Add strong_alias.
6067 (__expf_finite): Likewise.
6069 Include <sysdeps/ieee754/flt-32/e_expf.c>.
6071 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
6074 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
6077 2017-10-21 Florian Weimer <fweimer@redhat.com>
6079 * posix/Makefile (tests): Add tst-glob-tilde.
6080 (tests-special): Add tst-glob-tilde-mem.out
6081 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
6082 (tst-glob-tilde-mem.out): Add mtrace check.
6083 * posix/tst-glob-tilde.c: New file.
6085 2017-10-20 Joseph Myers <joseph@codesourcery.com>
6087 * bits/floatn-common.h: New file.
6088 * math/Makefile (headers): Add bits/floatn-common.h.
6089 * bits/floatn.h: Include <bits/floatn-common.h>.
6090 * sysdeps/ia64/bits/floatn.h: Likewise.
6091 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
6092 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
6093 * sysdeps/powerpc/bits/floatn.h: Likewise.
6094 * sysdeps/x86/bits/floatn.h: Likewise.
6096 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6098 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
6099 indicates whether compiler emits an warning for alias for
6100 functions with incompatible types.
6103 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
6104 the auxiliary process is terminated by a signal before calling _exit
6107 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
6110 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
6112 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
6113 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
6114 and bit_arch_XSAVEC_Usable if needed.
6115 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
6116 and bit_arch_Use_dl_runtime_resolve_opt.
6117 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6119 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6120 (bit_arch_Prefer_No_AVX512): Updated.
6121 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
6122 (bit_arch_XSAVEC_Usable): New.
6123 (STATE_SAVE_OFFSET): Likewise.
6124 (STATE_SAVE_MASK): Likewise.
6125 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
6126 (cpu_features): Add xsave_state_size and xsave_state_full_size.
6127 (index_arch_Use_dl_runtime_resolve_opt): Removed.
6128 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6129 (index_arch_XSAVEC_Usable): New.
6130 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
6131 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
6132 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
6134 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
6135 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
6136 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
6137 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
6138 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
6139 _dl_runtime_resolve_xsavec.
6140 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
6142 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
6143 instead of VEC_SIZE.
6144 (REGISTER_SAVE_BND0): Removed.
6145 (REGISTER_SAVE_BND1): Likewise.
6146 (REGISTER_SAVE_BND3): Likewise.
6147 (REGISTER_SAVE_RAX): Always defined to 0.
6149 (_dl_runtime_resolve_avx): Likewise.
6150 (_dl_runtime_resolve_avx_slow): Likewise.
6151 (_dl_runtime_resolve_avx_opt): Likewise.
6152 (_dl_runtime_resolve_avx512): Likewise.
6153 (_dl_runtime_resolve_avx512_opt): Likewise.
6154 (_dl_runtime_resolve_sse): Likewise.
6155 (_dl_runtime_resolve_sse_vex): Likewise.
6157 (_dl_runtime_resolve_fxsave): Likewise.
6158 (USE_XSAVE): Likewise.
6159 (_dl_runtime_resolve_xsave): Likewise.
6160 (USE_XSAVEC): Likewise.
6161 (_dl_runtime_resolve_xsavec): Likewise.
6162 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
6164 (_dl_runtime_resolve_avx512_opt): Likewise.
6165 (_dl_runtime_resolve_avx): Likewise.
6166 (_dl_runtime_resolve_avx_opt): Likewise.
6167 (_dl_runtime_resolve_sse): Likewise.
6168 (_dl_runtime_resolve_sse_vex): Likewise.
6169 (_dl_runtime_resolve_fxsave): New.
6170 (_dl_runtime_resolve_xsave): Likewise.
6171 (_dl_runtime_resolve_xsavec): Likewise.
6173 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
6177 * posix/glob.c (__glob): Fix one-byte overflow.
6179 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
6181 * malloc/malloc.c (sysdep-cancel.h): Add include.
6183 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
6185 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
6187 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
6189 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
6190 (tests): Remove $(objpfx)ga_test depdendency.
6191 * resolv/ga_test.c: Remove file.
6193 2017-10-20 Mike FABIAN <mfabian@redhat.com>
6196 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
6197 * localedata/locales/kab_DZ: New file.
6199 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
6201 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
6202 _dl_relocate_static_pie instead of _dl_start to compute load
6203 address in static PIE.
6205 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
6207 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
6209 2017-10-20 Mike FABIAN <mfabian@redhat.com>
6212 * localedata/SUPPORTED: Add shn_MM/UTF-8.
6213 * localedata/locales/shn_MM: New file.
6215 2017-10-20 Florian Weimer <fweimer@redhat.com>
6218 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
6219 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
6220 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
6221 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
6222 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
6223 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
6225 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
6227 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6229 2017-10-19 Joseph Myers <joseph@codesourcery.com>
6231 * sysdeps/mips/ieee754/bits/floatn.h: New file.
6234 * sysdeps/mips/bits/long-double.h: Move to ....
6235 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
6237 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
6239 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
6241 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
6242 H.J. Lu <hongjiu.lu@intel.com>
6245 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6246 GLRO(dl_platform) to NULL.
6247 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
6248 (modules-names): Add tst-platformmod-1 and
6249 x86_64/tst-platformmod-2.
6250 (CFLAGS-tst-platform-1.c): New.
6251 (CFLAGS-tst-platformmod-1.c): Likewise.
6252 (CFLAGS-tst-platformmod-2.c): Likewise.
6253 (LDFLAGS-tst-platformmod-2.so): Likewise.
6254 ($(objpfx)tst-platform-1): Likewise.
6255 ($(objpfx)tst-platform-1.out): Likewise.
6256 (tst-platform-1-ENV): Likewise.
6257 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
6258 * sysdeps/x86_64/tst-platform-1.c: New file.
6259 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
6260 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
6262 2017-10-19 Mike FABIAN <mfabian@redhat.com>
6265 * locale/iso-639.def: Add Karbi.
6266 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
6267 * localedata/locales/mjw_IN: New file.
6269 2017-10-18 Joseph Myers <joseph@codesourcery.com>
6271 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
6272 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
6273 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
6274 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
6275 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
6276 (libm_alias_ldouble_other_r): Also create _Float128 alias.
6277 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
6279 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
6280 (libm_alias_ldouble_other_r): Also create _Float128 alias.
6281 * manual/math.texi (Mathematics): Document additional architecture
6282 support for _Float128.
6283 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
6284 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6285 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6286 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6287 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6288 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6289 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6290 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6291 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6292 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6293 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6294 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6295 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6296 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6297 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6299 2017-10-18 Renlin Li <renlin.li@arm.com>
6301 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
6302 _DYNAMIC symbol to calculate load address.
6304 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
6306 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
6307 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
6309 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
6310 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
6312 2017-10-18 Mike FABIAN <mfabian@redhat.com>
6315 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
6316 and improve readability by using more ASCII.
6317 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
6318 and improve readability by using more ASCII.
6320 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
6322 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
6323 not all targets support atomics on bool.
6325 2017-10-17 Joseph Myers <joseph@codesourcery.com>
6327 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
6328 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
6330 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
6331 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
6332 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
6333 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
6334 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
6335 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
6337 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6339 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
6342 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
6345 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
6346 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
6347 (do_check_remalloced_chunk): Fix build bug.
6348 (do_check_malloc_state): Add assert that checks arena->top.
6349 (malloc_consolidate): Remove initialization.
6350 (int_mallinfo): Remove call to malloc_consolidate.
6351 (__libc_mallopt): Clarify why malloc_consolidate is needed.
6353 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
6355 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
6356 (have_fastchunks): Remove.
6357 (clear_fastchunks): Remove.
6358 (set_fastchunks): Remove.
6359 (malloc_state): Add have_fastchunks.
6360 (malloc_init_state): Use have_fastchunks.
6361 (do_check_malloc_state): Remove incorrect invariant checks.
6362 (_int_malloc): Use have_fastchunks.
6363 (_int_free): Likewise.
6364 (malloc_consolidate): Likewise.
6366 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
6368 * malloc/malloc.c (tcache_put): Inline.
6369 (tcache_get): Inline.
6371 2017-10-17 Jordi Mallach <jordi@gnu.org>
6373 Aurelien Jarno <aurelien@aurel32.net>
6375 * localedata/locales/ca_ES@valencia: New file.
6376 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
6378 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
6381 * math/math.h: Let signbit use the builtin in C++ mode with gcc
6384 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6386 * scripts/build-many-glibcs.py (Context.add_all_configs):
6387 Add arm-linux-gnueabihf multiarch extra_glibcs.
6389 * sysdeps/generic/ifunc-init.h: New file.
6390 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
6392 2017-10-17 Mike FABIAN <mfabian@redhat.com>
6395 * localedata/locales/el_GR: Set n_cs_precedes to 0.
6396 * localedata/locales/el_CY: copy "el_GR" because it is identical.
6397 * stdlib/tst-strfmon_l.c: adapt test case.
6399 2017-10-16 Joseph Myers <joseph@codesourcery.com>
6401 * sysdeps/generic/float128-abi.h: New file.
6402 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
6403 non-__prefixed symbols to ....
6404 * math/Versions: ... here. Include <float128-abi.h>.
6405 * stdlib/Versions ... and here. Include <float128-abi.h>
6407 2017-10-16 Florian Weimer <fweimer@redhat.com>
6409 * version.h (VERSION): Switch to ".9000" as the development
6412 2017-10-16 Florian Weimer <fweimer@redhat.com>
6415 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
6416 compat_symbol_reference to access non-default version.
6418 2017-10-16 Florian Weimer <fweimer@redhat.com>
6420 * malloc/Makefile (others-extras): Set to mcheck-init.o.
6422 2017-10-16 Carlos O'Donell <carlos@redhat.com>
6424 * include/shlib-compat.h (compat_symbol_reference): Update
6427 2017-10-16 Joseph Myers <joseph@codesourcery.com>
6429 * math/Makefile (test-types): Add
6430 $(type-float128-$(float128-alias-fcts)).
6431 * math/test-float128.h (TYPE_STR): Define conditional on
6432 [FLT128_MANT_DIG == LDBL_MANT_DIG].
6433 (ULP_IDX): Likewise.
6434 (ULP_I_IDX): Likewise.
6436 * stdlib/strtold.c: Include <bits/floatn.h>
6437 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
6438 and later undefine as macro. Define as weak alias if
6440 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
6441 and later undefine as macro. Define as weak alias if
6443 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
6444 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
6445 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
6446 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
6447 Define and later undefine as macro. Define as weak alias if
6449 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
6451 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
6452 Define and later undefine as macro. Define as weak alias if
6454 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
6455 Define and later undefine as macro. Define as weak alias if
6458 2017-10-15 Carlos O'Donell <carlos@redhat.com>
6460 * localedata/collate-test.c (allocate_arrays): Don't use \n in
6461 record_verbose messages.
6463 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
6466 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
6467 to silence -O3 -Wall warning with GCC 7.
6469 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
6471 * Makeconfig (+link-static-before-libc): Use the first of
6472 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
6473 * gmon/Makefile (tests): Add tst-gmon-static.
6474 (tests-static): Likewise.
6475 (CFLAGS-tst-gmon-static.c): New.
6476 (CRT-tst-gmon-static): Likewise.
6477 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
6478 (tst-gmon-static-ENV): Likewise.
6479 (tests-special): Likewise.
6480 ($(objpfx)tst-gmon-static.out): Likewise.
6481 (clean-tst-gmon-static-data): Likewise.
6482 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
6483 * gmon/tst-gmon-static-gprof.sh: New file.
6484 * gmon/tst-gmon-static.c: Likewise.
6486 2017-10-13 Carlos O'Donell <carlos@redhat.com>
6489 * locale/programs/linereader.c (get_string): Don't warn on
6490 non-symbolic character.
6493 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
6497 * locale/programs/record-status.h: New file
6498 * locale/programs/locale.c: Add comment.
6499 * locale/programs/charmap-dir.c: Don't include error.h.
6500 (charmap_opendir): Use record_error.
6501 * locale/programs/charmap.c: Don't include error.h.
6502 (charmap_read): Use record_error, and record_warning.
6503 (parse_charmap): Likewise.
6504 * locale/programs/ld-address.c: Don't include error.h.
6505 (address_finish): Use record_error, and record_warning.
6506 * locale/programs/ld-collate.c: Don't include error.h.
6507 (collate_finish): Use record_error, and record_error_at_line.
6508 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
6509 (ctype_class_new): Likewise.
6510 (ctype_map_new): Likewise.
6511 (set_one_default): Likewise.
6512 (set_class_defaults): Likewise.
6513 (translit_flatten): Likewise.
6514 (allocate_arrays): Use record_error, and record_verbose.
6515 * locale/programs/ld-identification.c: Don't include error.h.
6516 (indentation_finish): Use record_error and record_warning.
6517 * locale/programs/ld-measurement.c: Don't include error.h.
6518 (measurement_finish): Use record_error.
6519 * locale/programs/ld-messages.c
6520 (message_finish): Likewise.
6521 * locale/programs/ld-monetary.c
6522 (monetary_finish): Likewise.
6523 * locale/programs/ld-name.c (name_finish): Use record_error
6525 * locale/programs/ld-numeric.c
6526 (numeric_finish): Use record_error.
6527 * locale/programs/ld-paper.c: Don't include error.h.
6528 (paper_finish): Use record_error.
6529 * locale/programs/ld-telephone.c: Don't include error.h.
6530 (telephone_finish): Use record_error.
6531 * locale/programs/ld-time.c (time_finish): Likewise.
6532 * locale/programs/linereader.h (lr_error): Make inline func.
6533 * locale/programs/localedef.c: Define recorded_warning_count,
6534 and recorded_error_count.
6535 (main): Use record_error. Use recorded_error_count and
6536 recorded_warning_count to issue correct error returns.
6537 (add_to_readlist): Use record_error.
6538 (find_locale): Likewise.
6539 (load_locale): Likewise.
6540 * locale/programs/localedef.h: Remove be_quiet
6541 and WITH_CUR_LOCALE.
6542 * locale/programs/locarchive.c (compare_from_file): Use
6544 * locale/programs/locfile.c (write_locale_data): Use
6546 * locale/programs/repertoire.c: Dont include error.h.
6547 (repertoire_complain): Use record_error.
6548 * localedata/tst-fmon.sh: Expect failures from localedef.
6549 * localedata/tst-locale.sh: Likewise.
6550 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
6552 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
6553 (REPORTS): Likewise.
6555 (i18n): Rename to...
6556 (i18n_ctype): ...this.
6557 (i18n-report): Rename to...
6558 (i18n_ctype-report): ...this.
6559 * localedata/locales/i18n_ctype: Regenerate.
6560 * localedata/locales/i18n: copy i18n_ctype.
6562 2017-10-13 Joseph Myers <joseph@codesourcery.com>
6564 * stdlib/strfroml.c: Include <bits/floatn.h>.
6565 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
6566 Define before include of <stdlib.h> and undefine afterwards, then
6567 define as weak alias.
6569 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
6570 Undefine and restore default definition. Use
6571 libm_alias_ldouble_other.
6573 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
6576 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
6579 2017-10-13 James Clarke <jrtc27@jrtc27.com>
6581 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6582 Assign sym_map to be map for local symbols, as TLS relocations
6583 use sym_map to determine whether the symbol is defined and to
6584 extract the TLS information.
6585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6586 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6588 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6591 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
6592 (math_force_eval): Add powerpc version.
6595 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
6597 (do_test): Likewise.
6598 * stdio-common/tst-printf.sh: Likewise.
6599 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
6600 ifdef clause in order to set the carry bit right. Replace r0 by
6601 0 without changing the behavior.
6603 2017-10-13 Joseph Myers <joseph@codesourcery.com>
6605 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
6606 <libm-alias-ldouble.h>.
6607 (fabsl): Define using libm_alias_ldouble.
6608 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
6609 <libm-alias-ldouble.h>.
6610 (fabsl): Define using libm_alias_ldouble.
6612 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
6613 Remove conditional code.
6615 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
6616 Rename to __clog10_internal_l.
6617 (__clog10_internal_l): Define aliases using
6618 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
6621 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6623 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
6624 * benchtests/sincosf-inputs: New file.
6625 * benchtests/cosf-inputs: New file.
6626 * benchtests/sinf-inputs: New file.
6628 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6630 * posix/tst-spawn.c (do_test): Wait for both children.
6632 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
6635 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
6636 tests-pie): Add tst-gmon-pie.
6637 (CFLAGS-tst-gmon-pie.c): New.
6638 (CRT-tst-gmon-pie): Likewise.
6639 (tst-gmon-pie-ENV): Likewise.
6640 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
6641 ($(objpfx)tst-gmon-pie.out): Likewise.
6642 (clean-tst-gmon-pie-data): Likewise.
6643 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
6644 * gmon/gmon.c [PIC]: Include <link.h>.
6645 [PIC] (callback): New function.
6646 (write_hist): Add an argument for load address. Subtract load
6648 (write_call_graph): Likewise.
6649 (write_gmon): Call __dl_iterate_phdr to get load address, pass
6650 it to write_hist and write_call_graph.
6651 * gmon/tst-gmon-pie.c: New file.
6653 2017-10-11 Joseph Myers <joseph@codesourcery.com>
6655 * math/Makefile (test-types-basic): New variable.
6656 (test-types): Likewise.
6657 (libm-test-support): Use $(test-types) instead of $(types).
6658 (libm-tests-base-normal): Likewise.
6659 (libm-tests-base-finite): Likewise.
6660 (libm-tests-base-inline): Likewise.
6661 (generated): Likewise.
6662 ($(objpfx)libm-test-support-$(t).c): Likewise.
6663 (libm-tests-for-type iterator): Likewise.
6664 (libm-test-support iterator): Likewise.
6665 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
6666 (ulp_idx): Use ULP_IDX.
6667 * math/test-ldouble.h: Include <float.h>.
6668 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
6669 (ULP_IDX): New macro.
6670 (ULP_I_IDX): Likewise.
6671 * math/test-double.h (ULP_IDX): Likewise.
6672 (ULP_I_IDX): Likewise.
6673 * math/test-float.h (ULP_IDX): Likewise.
6674 (ULP_I_IDX): Likewise.
6675 * math/test-float128.h (ULP_IDX): Likewise.
6676 (ULP_I_IDX): Likewise.
6678 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6680 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
6681 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6682 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6683 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
6684 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6685 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
6686 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
6687 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6688 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6689 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6690 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
6691 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6692 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6693 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6694 (SINGLE_THREAD_BY_GLOBAL): Define.
6695 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6697 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6699 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6701 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6703 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
6704 (SINGLE_THREAD_BY_GLOBAL): Likewise.
6705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
6708 2017-10-11 Andreas Schwab <schwab@suse.de>
6710 * nis/Makefile (aux): Remove.
6711 * nscd/Makefile (aux): Add nscd_hash.
6712 (nscd-modules): Likewise.
6713 ($(objpfx)nscd): Don't depend on libnsl.
6714 * nscd/nscd_hash.c: New file.
6715 * nscd/nscd_hash.h: Likewise.
6716 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
6717 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
6718 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
6719 instead of <nis/rpcsvc/nis.h>.
6720 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
6722 2017-10-11 Florian Weimer <fweimer@redhat.com>
6725 Avoid large NSS buffers with many addresses, aliases.
6726 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
6727 using dynarrays and struct alloc_buffer.
6728 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
6729 (tst-nss-files-hosts-multi): Link with -ldl.
6730 * nss/tst-nss-files-hosts-multi.c: New file.
6732 2017-10-11 Florian Weimer <fweimer@redhat.com>
6735 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
6736 scratch_buffer. Eliminate gotos.
6738 2017-10-11 Joseph Myers <joseph@codesourcery.com>
6740 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
6741 libm_alias_ldouble_other.
6742 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
6743 undefine and redefine.
6744 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
6745 (exp10l): Do not define here.
6746 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
6747 (weak_alias): Undefine and redefine.
6748 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
6749 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
6750 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
6751 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
6753 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
6754 [!__fma] (fma): Define using libm_alias_double.
6755 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
6756 [!__fmaf] (fmaf): Define using libm_alias_float.
6757 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
6758 (fmal): Define using libm_alias_ldouble.
6760 2017-10-10 Joseph Myers <joseph@codesourcery.com>
6762 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
6764 (libm_alias_double_other): Likewise.
6765 (libm_alias_double_r): Use libm_alias_double_other_r.
6766 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
6768 (libm_alias_float_other): Likewise.
6769 (libm_alias_float_r): Use libm_alias_float_other_r.
6770 * sysdeps/generic/libm-alias-float128.h
6771 (libm_alias_float128_other_r): New macro.
6772 (libm_alias_float128_other): Likewise.
6773 (libm_alias_float128_r): Use libm_alias_float128_other_r.
6774 * sysdeps/generic/libm-alias-ldouble.h
6775 (libm_alias_ldouble_other_r): New macro.
6776 (libm_alias_ldouble_other): Likewise.
6777 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
6778 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
6779 (libm_alias_double_other_r): New macro.
6780 (libm_alias_double_other): Likewise.
6781 (libm_alias_double_r): Use libm_alias_double_other_r.
6782 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
6783 (libm_alias_ldouble_other_r): New macro.
6784 (libm_alias_ldouble_other): Likewise.
6785 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
6786 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
6787 [!USE_AS_COMPAT]: Use libm_alias_double_other.
6788 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
6789 [!USE_AS_COMPAT]: Use libm_alias_float_other.
6790 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
6791 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
6792 * math/w_exp2f.c: Use libm_alias_float_other.
6793 * math/w_expf.c: Likewise.
6794 * math/w_log2f.c: Likewise.
6795 * math/w_logf.c: Likewise.
6796 * math/w_powf.c: Likewise.
6797 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
6798 [!__exp2f]: Use libm_alias_float_other.
6799 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
6800 [!__expf]: Use libm_alias_float_other.
6801 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
6802 [!__log2f]: Use libm_alias_float_other.
6803 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
6804 [!__logf]: Use libm_alias_float_other.
6805 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
6806 [!__powf]: Use libm_alias_float_other.
6808 2017-10-10 Florian Weimer <fweimer@redhat.com>
6810 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
6812 (_nss_files_gethostbyname3_r): Call it.
6814 2017-10-09 Joseph Myers <joseph@codesourcery.com>
6816 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
6817 error. Remove default definition of declare_mgen_alias.
6818 [!declare_mgen_alias_r]: Likewise.
6819 * sysdeps/generic/math-type-macros-double.h
6820 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
6821 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
6822 (declare_mgen_alias_r): Likewise.
6823 * sysdeps/generic/math-type-macros-float128.h
6824 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
6825 * sysdeps/generic/math-type-macros-ldouble.h
6826 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
6827 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
6829 (declare_mgen_alias_r_s): Likewise.
6830 (declare_mgen_alias_r): Likewise.
6831 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
6832 (lgamma_r): Define using libm_alias_double_r.
6833 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
6834 (lgammaf_r): Define using libm_alias_float_r.
6835 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
6836 (lgammal_r): Define using libm_alias_ldouble_r.
6837 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
6838 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
6840 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6842 * lib/glob.c (__glob_pattern_type): Remove now-spurious
6845 2017-10-09 Joseph Myers <joseph@codesourcery.com>
6847 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
6849 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
6852 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
6853 [__cplusplus >= 201103] (__USE_ISOC99): Define.
6854 * math/Makefile (test-math-cxx11): New test.
6855 * math/test-math-cxx11.cc: New file.
6857 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
6859 * login/openpty.c (openpty): Close slave pty file descriptor on error.
6861 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
6862 call to allocate the slave pty file descriptor.
6864 2017-10-06 Joseph Myers <joseph@codesourcery.com>
6866 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
6867 [!__fma] (fma): Define using libm_alias_double.
6868 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
6869 [!__fma] (fma): Define using libm_alias_double.
6871 * sysdeps/ieee754/float128/float128_private.h: Include
6872 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
6873 (libm_alias_ldouble_r): Undefine and redefine.
6874 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
6875 <libm-alias-ldouble.h>.
6876 (asinhl): Define using libm_alias_ldouble.
6877 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
6878 <libm-alias-ldouble.h>.
6879 (atanl): Define using libm_alias_ldouble.
6880 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
6881 <libm-alias-ldouble.h>.
6882 (cbrtl): Define using libm_alias_ldouble.
6883 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
6884 <libm-alias-ldouble.h>.
6885 (ceill): Define using libm_alias_ldouble.
6886 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
6887 <libm-alias-ldouble.h>.
6888 (copysignl): Define using libm_alias_ldouble.
6889 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
6890 <libm-alias-ldouble.h>.
6891 (cosl): Define using libm_alias_ldouble.
6892 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
6893 <libm-alias-ldouble.h>.
6894 (erfl): Define using libm_alias_ldouble.
6896 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
6897 <libm-alias-ldouble.h>.
6898 (expm1l): Define using libm_alias_ldouble.
6899 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
6900 <libm-alias-ldouble.h>.
6901 (fabsl): Define using libm_alias_ldouble.
6902 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
6903 <libm-alias-ldouble.h>.
6904 (floorl): Define using libm_alias_ldouble.
6905 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
6906 <libm-alias-ldouble.h>.
6907 (fmal): Define using libm_alias_ldouble.
6908 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
6909 <libm-alias-ldouble.h>.
6910 (frexpl): Define using libm_alias_ldouble.
6911 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
6913 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
6914 <libm-alias-ldouble.h>.
6915 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
6917 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
6918 <libm-alias-ldouble.h>.
6919 (getpayloadl): Define using libm_alias_ldouble.
6920 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
6921 <libm-alias-ldouble.h>.
6922 (llrintl): Define using libm_alias_ldouble.
6923 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
6924 <libm-alias-ldouble.h>.
6925 (llroundl): Define using libm_alias_ldouble.
6926 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
6927 <libm-alias-ldouble.h>.
6928 (logbl): Define using libm_alias_ldouble.
6929 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
6930 <libm-alias-ldouble.h>.
6931 (lrintl): Define using libm_alias_ldouble.
6932 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
6933 <libm-alias-ldouble.h>.
6934 (lroundl): Define using libm_alias_ldouble.
6935 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
6936 <libm-alias-ldouble.h>.
6937 (modfl): Define using libm_alias_ldouble.
6938 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
6939 <libm-alias-ldouble.h>.
6940 (nearbyintl): Define using libm_alias_ldouble.
6941 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
6942 <libm-alias-ldouble.h>.
6943 (nextafterl): Define using libm_alias_ldouble.
6944 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
6945 <libm-alias-ldouble.h>.
6946 (nextupl): Define using libm_alias_ldouble.
6947 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
6948 <libm-alias-ldouble.h>.
6949 (remquol): Define using libm_alias_ldouble.
6950 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
6951 <libm-alias-ldouble.h>.
6952 (rintl): Define using libm_alias_ldouble.
6953 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
6954 <libm-alias-ldouble.h>.
6955 (roundevenl): Define using libm_alias_ldouble.
6956 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
6957 <libm-alias-ldouble.h>.
6958 (roundl): Define using libm_alias_ldouble.
6959 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
6960 using libm_alias_ldouble.
6961 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
6962 <libm-alias-ldouble.h>.
6963 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
6964 Define using libm_alias_ldouble.
6965 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
6966 <libm-alias-ldouble.h>.
6967 (sincosl): Define using libm_alias_ldouble.
6968 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
6969 <libm-alias-ldouble.h>.
6970 (sinl): Define using libm_alias_ldouble.
6971 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
6972 <libm-alias-ldouble.h>.
6973 (tanhl): Define using libm_alias_ldouble.
6974 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
6975 <libm-alias-ldouble.h>.
6976 (tanl): Define using libm_alias_ldouble.
6977 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
6978 <libm-alias-ldouble.h>.
6979 (totalorderl): Define using libm_alias_ldouble.
6980 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
6981 <libm-alias-ldouble.h>.
6982 (totalordermagl): Define using libm_alias_ldouble.
6983 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
6984 <libm-alias-ldouble.h>.
6985 (truncl): Define using libm_alias_ldouble.
6986 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
6988 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
6990 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
6991 <libm-alias-ldouble.h>.
6992 (weak_alias): Do not undefine and redefine.
6993 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
6994 (copysignl): Define with long_double_symbol only if [IS_IN
6996 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
6997 <libm-alias-ldouble.h>.
6998 (weak_alias): Do not undefine and redefine.
6999 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
7000 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
7001 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
7002 <libm-alias-ldouble.h>.
7003 (weak_alias): Do not undefine and redefine.
7004 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
7005 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
7006 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
7007 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
7008 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
7009 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
7010 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
7011 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
7012 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
7013 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
7014 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
7015 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
7016 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
7017 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
7018 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
7019 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
7020 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
7021 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
7022 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
7023 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
7024 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
7025 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
7026 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
7027 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
7028 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
7029 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
7031 2017-10-06 Carlos O'Donell <carlos@redhat.com>
7034 * malloc/malloc.c (tcache_shutting_down): Use bool type.
7035 (tcache_thread_freeres): Set tcache_shutting_down before
7037 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
7038 * malloc/tst-malloc-tcache-leak.c: New file.
7040 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7042 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
7043 back to powerpc32 file.
7044 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
7045 (memrchr): Add __memrchr_power8 to ifunc list.
7046 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
7047 extra bytes for unaligned inputs.
7049 2017-10-06 Joseph Myers <joseph@codesourcery.com>
7051 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
7052 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
7053 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
7054 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7055 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7057 2017-10-05 Joseph Myers <joseph@codesourcery.com>
7059 * sysdeps/arm/libm-test-ulps: Update.
7061 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
7062 <libm-alias-ldouble.h>.
7063 (asinhl): Define using libm_alias_ldouble.
7064 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
7065 <libm-alias-ldouble.h>.
7066 (cbrtl): Define using libm_alias_ldouble.
7067 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
7068 <libm-alias-ldouble.h>.
7069 (copysignl): Define using libm_alias_ldouble.
7070 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
7071 <libm-alias-ldouble.h>.
7072 (cosl): Define using libm_alias_ldouble.
7073 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
7074 <libm-alias-ldouble.h>.
7075 (erfl): Define using libm_alias_ldouble.
7077 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
7078 <libm-alias-ldouble.h>.
7079 (fmal): Define using libm_alias_ldouble.
7080 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
7081 <libm-alias-ldouble.h>.
7082 (frexpl): Define using libm_alias_ldouble.
7083 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
7085 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
7086 <libm-alias-ldouble.h>.
7087 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
7089 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
7090 <libm-alias-ldouble.h>.
7091 (getpayloadl): Define using libm_alias_ldouble.
7092 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
7093 <libm-alias-ldouble.h>.
7094 (llrintl): Define using libm_alias_ldouble.
7095 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
7096 <libm-alias-ldouble.h>.
7097 (llroundl): Define using libm_alias_ldouble.
7098 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
7099 <libm-alias-ldouble.h>.
7100 (lrintl): Define using libm_alias_ldouble.
7101 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
7102 <libm-alias-ldouble.h>.
7103 (lroundl): Define using libm_alias_ldouble.
7104 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
7105 <libm-alias-ldouble.h>.
7106 (modfl): Define using libm_alias_ldouble.
7107 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
7108 <libm-alias-ldouble.h>.
7109 (nextupl): Define using libm_alias_ldouble.
7110 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
7111 <libm-alias-ldouble.h>.
7112 (remquol): Define using libm_alias_ldouble.
7113 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
7114 <libm-alias-ldouble.h>.
7115 (roundevenl): Define using libm_alias_ldouble.
7116 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
7117 <libm-alias-ldouble.h>.
7118 (roundl): Define using libm_alias_ldouble.
7119 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
7120 using libm_alias_ldouble.
7121 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
7122 <libm-alias-ldouble.h>.
7123 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
7124 <libm-alias-ldouble.h>.
7125 (setpayloadsigl): Define using libm_alias_ldouble.
7126 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
7127 <libm-alias-ldouble.h>.
7128 (sincosl): Define using libm_alias_ldouble.
7129 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
7130 <libm-alias-ldouble.h>.
7131 (sinl): Define using libm_alias_ldouble.
7132 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
7133 <libm-alias-ldouble.h>.
7134 (tanhl): Define using libm_alias_ldouble.
7135 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
7136 <libm-alias-ldouble.h>.
7137 (tanl): Define using libm_alias_ldouble.
7138 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
7139 <libm-alias-ldouble.h>.
7140 (totalorderl): Define using libm_alias_ldouble.
7141 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
7142 <libm-alias-ldouble.h>.
7143 (totalordermagl): Define using libm_alias_ldouble.
7144 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
7146 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
7149 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
7151 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7153 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7154 (__libc_ifunc_impl_list): Likewise.
7155 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
7156 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
7158 * benchtests/bench-memmove-walk.c: New file.
7159 * benchtests/Makefile (string-benchset): Add it.
7161 * benchtests/bench-memset-walk.c: New file.
7162 * benchtests/Makefile (string-benchset): Add it.
7164 * benchtests/bench-memcpy-walk.c: New file.
7165 * benchtests/Makefile (string-benchset): Add it.
7167 2017-10-05 Florian Weimer <fweimer@redhat.com>
7169 nscd: Eliminate compilation time dependency in the build output.
7170 * nscd/nscd_stat.c (STATDATA_VERSION)
7171 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
7172 (STATDATA_VERSION_FULL): New macro definitions.
7173 (compilation): Remove.
7174 (struct statdata): Adjust version member.
7175 (send_stats): Set version from STATDATA_VERSION_FULL.
7176 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
7178 2017-10-05 Joseph Myers <joseph@codesourcery.com>
7180 * configure.ac (--enable-add-ons): Remove option.
7181 (machine): Do not mention add-ons in comment.
7182 (LIBC_PRECONFIGURE): Likewise.
7183 (add_ons): Remove variable and sanity checks and logic to locate
7185 (add_ons_automatic): Remove variable.
7186 (configured_add_ons): Likewise.
7187 (add_ons_sfx): Likewise.
7188 (add_ons_pfx): Likewise.
7189 (add_on_subdirs): Likewise.
7190 (sysnames_add_ons): Likewise. Remove loop over add-ons and
7191 consideration of add-ons in Implies handling.
7192 (sysdeps_add_ons): Likewise.
7193 * configure: Regenerated.
7194 * libidn/configure.ac: Remove.
7195 * libidn/configure: Likewise.
7196 * sysdeps/unix/inet/configure.ac: New file.
7197 * sysdeps/unix/inet/configure: New generated file.
7198 * sysdeps/unix/inet/Subdirs: Add libidn.
7199 * Makeconfig (sysdeps-srcdirs): Remove variable.
7200 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
7201 ($(common-objpfx)config.status): Do not depend on add-on files.
7202 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
7204 (all-subdirs): Do not include $(add-on-subdirs).
7205 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
7206 * config.make.in (add-ons): Remove variable.
7207 (add-on-subdirs): Likewise.
7208 (sysdeps-add-ons): Likewise.
7209 * manual/Makefile (add-chapters): Remove.
7210 ($(objpfx)texis): Do not depend on $(add-chapters).
7211 (nonexamples): Do not handle $(add-chapters).
7212 (examples): Do not handle $(add-ons).
7213 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
7215 * manual/install.texi (Installation): Do not mention add-ons.
7216 (--enable-add-ons): Do not document configure option.
7217 * INSTALL: Regenerated.
7218 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
7219 * manual/maint.texi (Hierarchy Conventions): Do not mention
7221 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
7223 * scripts/gen-sorted.awk: Do not handle Subdirs files from
7225 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
7226 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
7228 2017-10-05 Andreas Schwab <schwab@suse.de>
7231 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
7232 (_IO_flush_all_lockp): Always lock list_all_lock.
7233 (_IO_flush_all_linebuffered): Likewise.
7234 (_IO_unbuffer_all): Likewise.
7236 2017-10-05 Florian Weimer <fweimer@redhat.com>
7239 Do not flush stdio streams on abort.
7240 * stdlib/abort.c (fflush): Remove macro definition.
7241 (abort): Remove stages related to stdio flushing.
7243 2017-10-05 Florian Weimer <fweimer@redhat.com>
7245 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
7247 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
7249 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7251 2017-10-05 Florian Weimer <fweimer@redhat.com>
7253 * support/support_format_hostent.c (support_format_hostent): Add
7254 more error information for NETDB_INTERNAL.
7256 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
7258 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
7259 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
7260 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
7261 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
7262 AC_DEFINE if multi-arch is enabled.
7263 * sysdeps/i386/configure: Regenerated.
7265 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
7267 * Makeconfig (+link-static-before-libc): Use
7268 $(DEFAULT-LDFLAGS-$(@F)).
7269 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
7270 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
7271 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
7273 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
7275 * elf/Makefile (tests): Add tst-main1.
7276 (modules-names): Add tst-main1mod.
7277 ($(objpfx)tst-main1): New.
7278 (CRT-tst-main1): Likewise.
7279 (LDFLAGS-tst-main1): Likewise.
7280 (LDLIBS-tst-main1): Likewise.
7281 (tst-main1mod.so-no-z-defs): Likewise.
7282 * elf/tst-main1.c: New file.
7283 * elf/tst-main1mod.c: Likewise.
7285 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
7287 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
7289 2017-10-04 Joseph Myers <joseph@codesourcery.com>
7291 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
7292 (fma): Define using libm_alias_double.
7293 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
7294 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
7296 (fmal): Do not define as compat symbol here.
7297 * sysdeps/alpha/fpu/s_fma.c: New file.
7299 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7301 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
7303 2017-10-04 Joseph Myers <joseph@codesourcery.com>
7306 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
7308 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
7310 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
7311 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
7312 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
7313 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
7314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7315 Include <math_ldbl_opt.h>
7316 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
7318 (compat_symbol): Undefine and redefine.
7319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
7321 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
7322 (compat_symbol): Undefine and redefine.
7323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
7324 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
7325 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
7327 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
7328 GLIBC_2.0 copysignl symbol.
7329 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7330 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
7332 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
7334 2017-10-04 Florian Weimer <fweimer@redhat.com>
7336 * scripts/check-local-headers.sh: Ignore nspr4 header file
7337 directory in addition to nspr.
7339 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
7342 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
7343 * configure: Regenerate.
7344 * crypt/Makefile (nss-cpp-flags): New variable.
7345 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
7346 (CPPFLAGS-md5-crypt.c): Use it.
7347 * scripts/check-local-headers.sh: Ignore nspr header file
7350 2017-10-04 Andreas Schwab <schwab@suse.de>
7352 * nis/Makefile (services): Remove compat.
7353 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
7354 ($(objpfx)libnss_compat.so): Remove rule.
7355 * nis/Versions (libnss_compat): Remove.
7356 * nss/Makefile (services): Add compat.
7357 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
7358 * nss/Versions (libnss_compat): Define.
7359 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
7360 Don't include <rpc/types.h>. Replace bool_t by bool.
7361 * nss/nss_compat/compat-initgroups.c: Likewise.
7362 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
7363 instead of <rpcsrv/ypclnt.h>.
7364 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
7365 yp_get_default_domain.
7366 * nss/nss_compat/compat-pwd.c: Likewise.
7367 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
7368 yp_get_default_domain.
7369 * nss/nss_compat/nisdomain.c: New file.
7370 * nss/nss_compat/nisdomain.h: Likewise.
7372 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7375 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
7376 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7378 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7381 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
7382 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
7384 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7386 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
7387 "movl main@GOTOFF(%ebx), %eax".
7389 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7391 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
7392 allow undefined _DYNAMIC in PIE libc.a.
7393 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
7396 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7398 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
7401 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7403 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
7406 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7408 * math/test-math-iscanonical.cc (error): Replace bool with int.
7410 2017-10-03 Joseph Myers <joseph@codesourcery.com>
7412 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
7413 (modf): Define using libm_alias_double, only if [!__modf].
7414 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
7415 <libm-alias-double.h>.
7416 (modf): Define using libm_alias_double, only if [!__modf].
7417 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
7419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
7420 (weak_alias): Do not undefine and redefine.
7421 (strong_alias): Likewise.
7422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
7423 (weak_alias): Likewise.
7424 (strong_alias): Likewise.
7426 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
7427 (logb): Define using libm_alias_double, only if [!__logb].
7428 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
7429 <libm-alias-double.h>.
7430 (logb): Define using libm_alias_double, only if [!__logb].
7431 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
7432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
7433 (weak_alias): Do not undefine and redefine.
7434 (strong_alias): Likewise.
7435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
7436 (weak_alias): Likewise.
7437 (strong_alias): Likewise.
7439 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7441 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
7442 Check SHARED instead PIC.
7444 2017-10-03 Joseph Myers <joseph@codesourcery.com>
7446 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
7447 [!__fmaf] (fmaf): Define using libm_alias_float.
7449 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
7450 (frexp): Define using libm_alias_double.
7451 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
7452 <libm-alias-double.h>.
7453 (frexp): Define using libm_alias_double.
7454 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
7457 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7460 * math/math.h: Trivial fix for unbalanced parentheses in comment.
7461 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
7462 (CFLAGS-test-math-iscanonical.cc): New variable.
7463 * math/test-math-iscanonical.cc: New file.
7464 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
7465 Provide a C++ implementation based on function overloading,
7466 rather than using __MATH_TG, which uses C-only builtins.
7467 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
7469 * sysdeps/powerpc/powerpc64le/Makefile
7470 (CFLAGS-test-math-iscanonical.cc): New variable.
7472 2017-10-03 Joseph Myers <joseph@codesourcery.com>
7474 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
7475 (ceil): Define using libm_alias_double.
7476 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
7477 (floor): Define using libm_alias_double.
7478 * sysdeps/ieee754/dbl-64/s_llround.c: Include
7479 <libm-alias-double.h>.
7480 (llround): Define using libm_alias_double.
7481 * sysdeps/ieee754/dbl-64/s_lround.c: Include
7482 <libm-alias-double.h>.
7483 (lround): Define using libm_alias_double.
7484 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
7485 <libm-alias-double.h>.
7486 (nearbyint): Define using libm_alias_double.
7487 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
7488 <libm-alias-double.h>.
7489 (remquo): Define using libm_alias_double.
7490 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
7491 (rint): Define using libm_alias_double.
7492 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
7493 (round): Define using libm_alias_double.
7494 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
7495 (trunc): Define using libm_alias_double.
7496 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
7497 <libm-alias-double.h>.
7498 (ceil): Define using libm_alias_double.
7499 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
7500 <libm-alias-double.h>.
7501 (floor): Define using libm_alias_double.
7502 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
7503 <libm-alias-double.h>.
7504 (llround): Define using libm_alias_double.
7505 [_LP64] (lround): Likewise.
7506 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
7507 <libm-alias-double.h>.
7508 [!_LP64] (lround): Define using libm_alias_double.
7509 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
7510 <libm-alias-double.h>.
7511 (nearbyint): Define using libm_alias_double.
7512 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
7513 <libm-alias-double.h>.
7514 (remquo): Define using libm_alias_double.
7515 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
7516 <libm-alias-double.h>.
7517 (rint): Define using libm_alias_double.
7518 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
7519 <libm-alias-double.h>.
7520 (round): Define using libm_alias_double.
7521 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
7522 <libm-alias-double.h>.
7523 (trunc): Define using libm_alias_double.
7524 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
7525 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
7526 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
7527 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
7528 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
7529 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
7530 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
7531 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
7532 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
7534 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7536 * math/w_remainder.c: New file.
7537 * math/w_remainderf.c: New file.
7538 * math/w_remainderl.c: New file.
7540 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
7542 * elf/rtld.c (BOOTSTRAP_MAP): New.
7543 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
7544 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
7546 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
7548 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
7551 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7553 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
7554 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
7555 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
7556 rtld_hidden_data_ver): Define to empty.
7557 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
7558 __assert_perror_fail): Likewise.
7559 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7560 (__rewinddir): Likewise.
7561 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7562 (__profile_frequency): Likewise.
7563 * include/setjmp.h (__sigsetjmp): Likewise.
7564 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
7565 __libc_sigaction): Likewise.
7566 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
7567 not set hidden attribute.
7568 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
7569 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
7570 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
7571 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
7572 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
7573 __fxstatat64): Likewise.
7574 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7575 (__uname): Likewise.
7576 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
7577 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
7578 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
7579 (NO_RTLD_HIDDEN): Set.
7580 * sysdeps/mach/hurd/configure: Refresh.
7581 * config.h.in: Refresh.
7583 2017-10-02 Joseph Myers <joseph@codesourcery.com>
7585 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
7586 (atan): Define using libm_alias_double.
7587 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
7588 (tan): Define using libm_alias_double.
7589 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
7590 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
7592 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
7593 define as weak alias of __atan. Do not define any aliases if
7595 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
7596 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
7597 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
7598 as weak alias of __tan. Do not define any aliases if [__tan].
7599 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
7600 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
7601 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
7603 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
7604 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
7605 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
7606 and define as weak alias of __atan.
7607 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
7609 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
7610 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
7611 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
7612 define as weak alias of __tan.
7614 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7616 * math/w_lgamma.c: New file.
7617 * math/w_lgammaf.c: New file.
7618 * math/w_lgammal.c: New file.
7620 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7622 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
7623 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
7624 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
7625 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
7626 * sysdeps/ieee754/flt-32/w_logf.c: New file.
7627 * sysdeps/ieee754/flt-32/w_powf.c: New file.
7628 * sysdeps/i386/fpu/w_log2f.c: New file.
7629 * sysdeps/i386/fpu/w_logf.c: New file.
7630 * sysdeps/i386/fpu/w_powf.c: New file.
7631 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
7632 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
7633 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
7635 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7636 H.J. Lu <hongjiu.lu@intel.com>
7638 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
7639 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
7640 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
7641 * sysdeps/ieee754/flt-32/w_expf.c: New file.
7642 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
7644 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
7645 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
7646 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
7647 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
7648 * sysdeps/i386/fpu/w_exp2f.c: New file.
7649 * sysdeps/i386/fpu/w_expf.c: New file.
7650 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
7651 * sysdeps/x86_64/fpu/w_expf.c: New file.
7653 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7655 * math/Versions (logf): New libm symbol at GLIBC_2.27.
7658 * math/w_log2f.c: New file.
7659 * math/w_logf.c: New file.
7660 * math/w_powf.c: New file.
7661 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
7662 * math/w_logf_compat.c (__logf_compat): Likewise.
7663 * math/w_powf_compat.c (__powf_compat): Likewise.
7664 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
7665 * sysdeps/ia64/fpu/e_logf.S: Likewise.
7666 * sysdeps/ia64/fpu/e_powf.S: Likewise.
7667 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7668 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7669 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7670 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7671 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7672 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7673 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7674 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7675 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7676 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7677 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7678 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7687 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7688 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7689 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7690 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7691 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7696 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7697 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7698 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7700 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7702 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7703 (sysdep_routines): Add memrchr_power8.
7704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7705 (memrchr): Add __memrchr_power8 to list of memrchr functions.
7706 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
7708 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
7709 (memrchr): Add __memrchr_power8 to ifunc list.
7710 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
7712 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7715 * sysdeps/unix/sysv/linux/posix_fadvise64.c
7716 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
7718 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7719 (__posix_fallocate64_l64): Likewise.
7721 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7724 * sysdeps/unix/sysv/linux/sched_setaffinity.c
7725 (__sched_setaffinity_new): Add libc_hidden_proto and
7728 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7731 * include/glob.h (__glob64): Add libc_hidden_proto.
7732 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
7735 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7738 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
7741 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7744 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
7746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7749 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
7752 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7755 * csu/version.c (__libc_print_version): Add attribute_hidden.
7757 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7760 * include/libc-internal.h (__init_misc): Add attribute_hidden.
7762 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7765 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
7767 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7770 * nscd/nscd_helper.c (__nis_hash): New prototype.
7772 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7775 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
7776 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
7778 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7779 * termios/tcgetattr.c (__tcgetattr): Likewise.
7781 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7784 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
7785 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
7786 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
7787 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
7788 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
7790 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7793 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
7795 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7798 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
7799 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
7801 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7804 * intl/hash-string.h (__hash_string): Add attribute_hidden.
7806 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7809 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
7810 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
7812 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7815 * include/ifreq.h: New file.
7816 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
7817 (__ifreq): Likewise.
7818 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
7819 (__ifreq): Likewise.
7821 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7824 * include/idna.h: New file.
7825 * inet/getnameinfo.c: Include <idna.h> instead of
7827 (__idna_to_unicode_lzlz): Removed.
7828 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
7830 (__idna_to_ascii_lz): Removed.
7831 (__idna_to_unicode_lzlz): Likewise.
7833 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7836 * include/plural-exp.h: New file.
7837 * intl/plural-exp.c: Include <plural-exp.h> instead of
7840 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7843 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
7844 "getsourcefilter.h".
7845 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
7846 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
7847 "getsourcefilter.h".
7848 (__get_sol): Removed.
7850 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7853 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
7855 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
7857 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7860 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
7863 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7866 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
7868 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7871 * include/search.h (__tdestroy): Add libc_hidden_proto.
7872 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
7874 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7877 * include/assert.h (__assert_fail_base): Add attribute_hidden.
7879 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7882 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
7885 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7888 * include/signal.h (__kill): Add libc_hidden_proto.
7889 (__sigblock): Likewise.
7890 (__sigprocmask): Likewise.
7891 (__sigaltstack): Likewise.
7892 * signal/kill.c (__kill): Add libc_hidden_def.
7893 * signal/sigblock.c (__sigblock): Likewise.
7894 * signal/sigprocmask.c (__sigprocmask): Likewise.
7895 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
7896 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7897 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7898 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7899 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
7901 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7903 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
7904 (__sigprocmask): Likewise.
7905 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
7907 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
7908 (__sigprocmask): Likewise.
7909 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
7912 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7915 * include/string.h (__strsep): Add libc_hidden_proto.
7916 * string/strsep.c (__strsep): Add libc_hidden_def.
7918 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7921 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
7923 (__spawni): Likewise.
7925 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7928 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
7929 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
7932 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7935 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
7937 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7940 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
7941 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
7942 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
7943 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
7944 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
7946 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
7947 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
7949 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7952 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
7953 (__dcigettext): Likewise.
7955 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7958 * include/sys/sysinfo.h (__get_nprocs_conf): Add
7960 (__get_nprocs): Likewise.
7961 (__get_phys_pages): Likewise.
7962 (__get_avphys_pages): Likewise.
7963 (__get_child_max): Add attribute_hidden.
7964 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
7965 (__get_nprocs): Likewise.
7966 (__get_phys_pages): Likewise.
7967 (__get_avphys_pages): Likewise.
7968 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
7970 (__get_nprocs): Likewise.
7971 (__get_phys_pages): Likewise.
7972 (__get_avphys_pages): Likewise.
7973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
7975 (__get_nprocs_conf): Likewise.
7976 (__get_phys_pages): Likewise.
7977 (__get_avphys_pages): Likewise.
7979 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7982 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
7984 (__netlink_close): Likewise.
7985 (__netlink_free_handle): Likewise.
7986 (__netlink_request): Likewise.
7988 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
7991 * include/rpc/rpc.h (__rpc_thread_variables): Add
7993 (__rpc_thread_svc_cleanup): Likewise.
7994 (__rpc_thread_clnt_cleanup): Likewise.
7995 (__rpc_thread_key_cleanup): Likewise.
7997 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8000 * include/sys/uio.h (__readv): Add libc_hidden_proto.
8001 (__writev): Likewise.
8002 * misc/readv.c (__readv): Add libc_hidden_def.
8003 * misc/writev.c (__writev): Likewise.
8004 * sysdeps/posix/readv.c (__readv): Likewise.
8005 * sysdeps/posix/writev.c (__writev): Likewise.
8006 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
8007 (__readv): Likewise.
8008 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
8009 (__writev): Likewise.
8011 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8014 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
8015 (__regcomp): Add libc_hidden_proto.
8016 (__regexec): Likewise.
8017 (__regfree): Likewise.
8018 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
8019 (__regfree): Likewise.
8020 * posix/regexec.c (__regexec): Likewise.
8022 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8025 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
8026 (__getutent): Likewise.
8027 (__getutid): Likewise.
8028 (__getutline): Likewise.
8029 (__pututline): Likewise.
8030 (__getutent_r): Likewise.
8031 (__getutid_r): Likewise.
8032 (__getutline_r): Likewise.
8033 (__utmpname): Add attribute_hidden.
8034 (__setutent): Likewise.
8035 (__endutent): Likewise.
8036 * login/getutent.c (__getutent): Add libc_hidden_def.
8037 * login/getutent_r.c (__getutent_r): Likewise.
8038 (__pututline): Likewise.
8039 * login/getutid.c (__getutid): Likewise.
8040 * login/getutid_r.c (__getutid_r): Likewise.
8041 * login/getutline.c (__getutline): Likewise.
8042 * login/getutline_r.c (__getutline_r): Likewise.
8043 * login/updwtmp.c (__updwtmp): Likewise.
8045 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8048 * include/dirent.h (__opendir): Always add attribute_hidden.
8049 (__fdopendir): Likewise.
8050 (__closedir): Likewise.
8051 (__readdir): Likewise.
8052 (__readdir64): Add libc_hidden_proto.
8053 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
8054 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
8055 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
8056 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
8059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8062 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
8063 * include/netdb.h (__gethostbyaddr_r): Likewise.
8064 (__gethostbyname_r): Likewise.
8065 (__gethostbyname2_r): Likewise.
8066 (__getnetbyaddr_r): Likewise.
8067 (__getnetbyname_r): Likewise.
8068 (__getservbyname_r): Likewise.
8069 (__getservbyport_r): Likewise.
8070 (__getprotobyname_r): Likewise.
8071 (__getprotobynumber_r): Likewise.
8072 (__getnetgrent_r): Likewise.
8073 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
8074 (__getrpcbynumber_r): Likewise.
8075 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
8077 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8080 * include/stdio.h (__fcloseall): Add attribute_hidden.
8081 (__getline): Likewise.
8082 (__path_search): Likewise.
8083 (__gen_tempname): Likewise.
8084 (__libc_message): Likewise.
8085 (__flockfile): Likewise.
8086 (__funlockfile): Likewise.
8087 (__fxprintf): Likewise.
8088 (__fxprintf_nocancel): Likewise.
8090 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8093 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
8094 (__sgetsgent_r): Likewise.
8096 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8099 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
8100 (__statfs64): Likewise.
8101 (__fstatfs64): Likewise.
8102 * include/sys/statvfs.h (__statvfs64): Likewise.
8103 (__fstatvfs64): Likewise.
8104 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
8105 (__statfs_filesize_max): Likewise.
8106 (__statfs_symlinks): Likewise.
8107 (__statfs_chown_restricted): Likewise.
8109 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8112 * include/time.h (__tzstring): Add attribute_hidden.
8113 (__tzfile_read): Likewise.
8114 (__tzfile_compute): Likewise.
8115 (__tzfile_default): Likewise.
8116 (__tzset_parse_tz): Likewise.
8117 (__offtime): Likewise.
8118 (__asctime_r): Likewise.
8119 (__tzset): Likewise.
8120 (__tz_convert): Likewise.
8121 (__getdate_r): Likewise.
8122 (__getclktck): Likewise.
8124 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8127 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
8128 (__nscd_unmap): Likewise.
8129 (__nscd_cache_search): Likewise.
8130 (__nscd_get_nl_timestamp): Likewise.
8131 (__nscd_getpwnam_r): Likewise.
8132 (__nscd_getpwuid_r): Likewise.
8133 (__nscd_getgrnam_r): Likewise.
8134 (__nscd_getgrgid_r): Likewise.
8135 (__nscd_gethostbyname_r): Likewise.
8136 (__nscd_gethostbyname2_r): Likewise.
8137 (__nscd_gethostbyaddr_r): Likewise.
8138 (__nscd_getai): Likewise.
8139 (__nscd_getgrouplist): Likewise.
8140 (__nscd_getservbyname_r): Likewise.
8141 (__nscd_getservbyport_r): Likewise.
8142 (__nscd_innetgr): Likewise.
8143 (__nscd_setnetgrent): Likewise.
8145 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8148 * include/gmp.h: Declare internal functions only if _ISOMAC is
8150 (__mpn_extract_double): Add attribute_hidden.
8151 (__mpn_extract_long_double): Likewise.
8152 (__mpn_extract_float128): Likewise.
8153 (__mpn_construct_float): Likewise.
8154 (__mpn_construct_double): Likewise.
8155 (__mpn_construct_long_double): Likewise.
8156 (__mpn_construct_float128): Likewise.
8157 (mpn_add_1): Likewise.
8158 (mpn_addmul_1): Likewise.
8159 (mpn_add_n): Likewise.
8160 (mpn_cmp): Likewise.
8161 (mpn_divrem): Likewise.
8162 (mpn_lshift): Likewise.
8163 (mpn_mul): Likewise.
8164 (mpn_mul_1): Likewise.
8165 (mpn_rshift): Likewise.
8166 (mpn_sub_1): Likewise.
8167 (mpn_submul_1): Likewise.
8168 (mpn_sub_n): Likewise.
8170 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8173 * include/wchar.h (__wcsnlen): Add attribute_hidden.
8174 (__wcscat): Likewise.
8175 (__btowc): Likewise.
8176 (__wcrtomb): Likewise.
8177 (__mbsrtowcs): Likewise.
8178 (__wcsrtombs): Likewise.
8179 (__mbsnrtowcs): Likewise.
8180 (__wcsnrtombs): Likewise.
8181 (__wcsncpy): Likewise.
8182 (__wcpncpy): Likewise.
8183 (__wmemcpy): Likewise.
8184 (__wmempcpy): Likewise.
8185 (__wmemmove): Likewise.
8186 (__wcschrnul): Likewise.
8187 (__vfwscanf): Likewise.
8188 (__vswprintf): Likewise.
8189 (__fwprintf): Likewise.
8190 (__vfwprintf): Likewise.
8192 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8195 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
8196 (__getgrgid_r): Likewise.
8197 (__getgrnam_r): Likewise.
8198 * include/pwd.h (__getpwuid_r): Likewise.
8199 (__getpwnam_r): Likewise.
8200 (__fgetpwent_r): Likewise.
8201 * include/shadow.h (__getspnam_r): Likewise.
8202 (__sgetspent_r): Likewise.
8203 (__fgetspent_r): Likewise.
8205 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8208 * include/unistd.h (__access): Add attribute_hidden.
8209 (__lseek64): Likewise.
8210 (__libc_pread64): Likewise.
8211 (__pipe2): Likewise.
8212 (__sleep): Likewise.
8213 (__chdir): Likewise.
8214 (__fchdir): Likewise.
8215 (__getcwd): Likewise.
8216 (__rmdir): Likewise.
8217 (__execvpe): Likewise.
8218 (__execve): Likewise.
8219 (__setsid): Likewise.
8220 (__getuid): Likewise.
8221 (__geteuid): Likewise.
8222 (__getgid): Likewise.
8223 (__getegid): Likewise.
8224 (__getgroups): Likewise.
8225 (__group_member): Likewise.
8226 (__ttyname_r): Likewise.
8227 (__isatty): Likewise.
8228 (__readlink): Likewise.
8229 (__unlink): Likewise.
8230 (__gethostname): Likewise.
8231 (__profil): Likewise.
8232 (__getdtablesize): Likewise.
8234 (__ftruncate): Likewise.
8235 (__ftruncate64): Likewise.
8237 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8240 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
8241 * argp/argp-fs-xinl.c: Likewise.
8242 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
8243 * argp/argp-parse.c: Include <argp.h>.
8244 * argp/argp-xinl.c: Likewise.
8245 * include/argp-fmtstream.h: New file.
8246 * include/argp.h (__argp_error): Add attribute_hidden.
8247 (__argp_failure): Likewise.
8248 (__argp_input): Likewise.
8249 (__argp_state_help): Likewise.
8251 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8254 * include/wchar.h (____wcstof_l_internal): New prototype.
8255 (____wcstod_l_internal): Likewise.
8256 (____wcstold_l_internal): Likewise.
8257 (____wcstol_l_internal): Likewise.
8258 (____wcstoul_l_internal): Likewise.
8259 (____wcstoll_l_internal): Likewise.
8260 (____wcstoull_l_internal): Likewise.
8261 (____wcstof128_l_internal): Likewise.
8262 * sysdeps/ieee754/float128/wcstof128.c
8263 (____wcstof128_l_internal): Removed.
8264 * sysdeps/ieee754/float128/wcstof128_l.c
8265 (____wcstof128_l_internal): Likewise.
8266 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
8267 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
8268 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
8269 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
8270 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
8271 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
8272 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
8273 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
8274 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
8275 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
8277 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8280 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
8281 instead of <sys/statvfs.h>.
8282 (__internal_statvfs): Removed.
8283 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
8284 instead of <sys/statvfs.h>.
8285 (__internal_statvfs64): Removed.
8286 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
8287 "internal_statvfs.h" instead of <sys/statvfs.h>.
8288 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
8289 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
8290 instead of <sys/statvfs.h>.
8291 (__internal_statvfs): Removed.
8292 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
8293 instead of <sys/statvfs.h>.
8294 (__internal_statvfs64): Removed.
8296 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8299 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
8300 (__gconv_close): Likewise.
8301 (__gconv): Likewise.
8302 (__gconv_find_transform): Likewise.
8303 (__gconv_lookup_cache): Likewise.
8304 (__gconv_compare_alias_cache): Likewise.
8305 (__gconv_load_cache): Likewise.
8306 (__gconv_get_path): Likewise.
8307 (__gconv_close_transform): Likewise.
8308 (__gconv_release_cache): Likewise.
8309 (__gconv_find_shlib): Likewise.
8310 (__gconv_release_shlib): Likewise.
8311 (__gconv_get_builtin_trans): Likewise.
8312 (__gconv_compare_alias): Likewise.
8313 * include/dlfcn.h (_dlerror_run): Likewise.
8314 * include/stdio.h (__fortify_fail_abort): Likewise.
8315 * include/time.h (__tz_compute): Likewise.
8316 (__strptime_internal): Likewise.
8317 * intl/gettextP.h (_nl_find_domain): Likewise.
8318 (_nl_load_domain): Likewise.
8319 (_nl_find_msg): Likewise.
8320 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
8321 (EXTRACT_PLURAL_EXPRESSION): Likewise.
8322 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
8323 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
8324 (__gai_find_request): Likewise.
8325 (__gai_remove_request): Likewise.
8326 (__gai_notify): Likewise.
8327 (__gai_notify_only): Likewise.
8328 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
8329 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
8330 (_dl_non_dynamic_init): Likewise.
8331 (_dl_aux_init): Likewise.
8332 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
8333 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
8335 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
8336 (__wcsmbs_clone_conv): Likewise.
8337 (__wcsmbs_named_conv): Likewise.
8339 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8342 * include/stdlib.h (__random): Add attribute_hidden.
8343 (__random_r): Likewise.
8344 (__srandom_r): Likewise.
8345 (__initstate_r): Likewise.
8346 (__setstate_r): Likewise.
8347 (__erand48_r): Likewise.
8348 (__nrand48_r): Likewise.
8349 (__jrand48_r): Likewise.
8350 (__srand48_r): Likewise.
8351 (__seed48_r): Likewise.
8352 (__lcong48_r): Likewise.
8353 (__drand48_iterate): Likewise.
8354 (__setenv): Likewise.
8355 (__unsetenv): Likewise.
8356 (__clearenv): Likewise.
8357 (__ptsname_r): Likewise.
8358 (__posix_openpt): Likewise.
8359 (__add_to_environ): Likewise.
8360 (__realpath): Add libc_hidden_proto.
8361 (__ecvt_r): Likewise.
8362 (__fcvt_r): Likewise.
8363 (__qecvt_r): Likewise.
8364 (__qfcvt_r): Likewise.
8365 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
8366 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
8368 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
8371 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
8372 * include/time.h (__mktime_internal): Likewise.
8373 * libio/iolibio.h (__fopen_internal): Likewise.
8375 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
8377 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
8379 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
8380 Correct offset used to restore PIC register.
8382 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
8385 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
8386 code to load address of __getcontext_ret when generating PIC code.
8388 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
8390 * elf/Makefile (tests-static-internal): Add
8391 tst-tls1-static-non-pie.
8392 (LDFLAGS-tst-tls1-static-non-pie): New.
8393 * elf/tst-tls1-static-non-pie.c: New file.
8395 2017-09-29 Joseph Myers <joseph@codesourcery.com>
8397 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
8398 (asinh): Define using libm_alias_double.
8399 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
8400 (cbrt): Define using libm_alias_double.
8401 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
8402 <libm-alias-double.h>.
8403 (copysign): Define using libm_alias_double.
8404 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
8405 (erf): Define using libm_alias_double.
8407 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
8408 (expm1): Define using libm_alias_double.
8409 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
8410 (fabs): Define using libm_alias_double.
8411 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
8413 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
8414 <libm-alias-double.h>.
8415 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
8417 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
8418 <libm-alias-double.h>.
8419 (getpayload): Define using libm_alias_double.
8420 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
8421 <libm-alias-double.h>.
8422 (llrint): Define using libm_alias_double.
8423 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
8424 (lrint): Define using libm_alias_double.
8425 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
8426 <libm-alias-double.h>.
8427 (nextup): Define using libm_alias_double.
8428 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
8429 <libm-alias-double.h>.
8430 (roundeven): Define using libm_alias_double.
8431 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
8433 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
8434 <libm-alias-double.h>.
8435 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
8436 using libm_alias_double.
8437 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
8438 (cos): Define using libm_alias_double.
8440 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
8441 <libm-alias-double.h>.
8442 (sincos): Define using libm_alias_double.
8443 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
8444 (tanh): Define using libm_alias_double.
8445 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8446 <libm-alias-double.h>.
8447 (totalorder): Define using libm_alias_double.
8448 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8449 <libm-alias-double.h>.
8450 (totalordermag): Define using libm_alias_double.
8451 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
8453 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
8455 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
8456 <libm-alias-double.h>.
8457 (getpayload): Define using libm_alias_double.
8458 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
8459 <libm-alias-double.h>.
8460 (roundeven): Define using libm_alias_double.
8461 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
8462 <libm-alias-double.h>.
8463 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8464 <libm-alias-double.h>.
8465 (totalorder): Define using libm_alias_double.
8466 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8467 <libm-alias-double.h>.
8468 (totalordermag): Define using libm_alias_double.
8469 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
8470 libc compat symbol here.
8471 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
8472 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
8473 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
8474 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
8475 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
8476 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
8477 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
8478 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
8479 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
8480 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
8482 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
8484 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
8485 _dl_relocate_static_pie instead of _dl_start to compute load
8486 address in static PIE. Return 0 if _DYNAMIC is undefined for
8489 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
8491 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
8492 _DYNAMIC is undefined for static executable.
8494 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
8496 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
8498 2017-09-29 Joseph Myers <joseph@codesourcery.com>
8500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8502 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
8504 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8505 (__ieee754_lgamma_r): Use fabs rather than __fabs.
8506 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8507 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8508 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8509 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
8510 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8511 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8512 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
8513 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
8514 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8515 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8516 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
8517 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
8518 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8519 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8520 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
8522 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
8524 * math/bits/cmathcalls.h (cimag): Remove inline.
8525 (creal): Remove inline.
8526 (conj): Remove inline.
8528 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
8530 * math/Makefile (type-float-routines): Add e_powf_log2_data.
8531 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
8532 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
8533 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
8534 (issignalingf_inline): Likewise.
8535 (POWF_LOG2_TABLE_BITS): Likewise.
8536 (POWF_LOG2_POLY_ORDER): Likewise.
8537 (POWF_SCALE_BITS): Likewise.
8538 (POWF_SCALE): Likewise.
8539 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
8540 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
8541 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
8543 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
8545 * math/Makefile (type-float-routines): Add e_log2f_data.
8546 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
8547 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
8548 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
8549 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
8550 * sysdeps/i386/fpu/e_log2f_data.c: New file.
8551 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
8552 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
8554 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
8556 * math/Makefile (type-float-routines): Add e_logf_data.
8557 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
8558 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
8559 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
8560 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
8561 * sysdeps/i386/fpu/e_logf_data.c: New file.
8562 * sysdeps/ia64/fpu/e_logf_data.c: New file.
8563 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
8565 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
8567 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
8568 undefined _DYNAMIC in PIE libc.a.
8569 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
8572 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
8574 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
8575 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
8576 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
8577 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
8578 (__signbit): Remove.
8579 (__signbitl): Remove.
8580 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
8581 (__signbit): Remove.
8582 (__signbitl): Remove.
8583 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
8584 (__signbit): Remove.
8585 (__signbitl): Remove.
8586 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
8587 (__signbit): Remove.
8588 (__signbitl): Remove.
8589 * sysdeps/tile/bits/mathinline.h: Delete file.
8590 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
8591 (__signbit): Remove.
8592 (__signbitl): Remove.
8594 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
8596 * math/math.h: Improve handling of C99 isgreater macros.
8597 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
8598 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
8599 * sysdeps/powerpc/bits/mathinline.h: Likewise.
8600 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8601 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
8603 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
8605 * sysdeps/aarch64/libm-test-ulps: Update.
8607 2017-09-28 Joseph Myers <joseph@codesourcery.com>
8610 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8611 math_opt_barrier on argument when doing arithmetic on it.
8612 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8613 Likewise. Use math_force_eval not math_opt_barrier after
8615 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
8616 math_opt_barrier on argument when doing arithmetic on it.
8617 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8620 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
8622 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
8624 (__freeifaddrs): Likewise.
8626 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8628 * include/dirent.h (__dirfd): New declaration.
8629 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
8631 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
8632 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
8633 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
8634 * include/unistd.h (__revoke): New declaration.
8635 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
8637 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8638 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
8640 * include/dirent.h (__seekdir): New declaration.
8641 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
8642 redefine as weak alias.
8643 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
8645 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
8646 and use libc_hidden_def on them.
8647 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
8649 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
8650 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
8651 instead of getifaddrs and freeifaddrs.
8653 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
8656 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
8657 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
8658 (__dso_handle): Remove declaration.
8659 * dlfcn/tstatexit.c (__dso_handle): Removed.
8660 (main): Don't check __dso_handle.
8661 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
8662 (main): Don't check __dso_handle.
8663 * include/dso_handle.h: New file.
8664 * malloc/mtrace.c: Include <dso_handle.h>.
8665 (mtrace): Pass __dso_handle directly.
8666 * nptl/pthread_atfork.c: Include <dso_handle.h>.
8667 (__dso_handle): Remove declaration.
8668 (__pthread_atfork): Pass __dso_handle directly.
8669 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
8670 (__dso_handle): Removed.
8671 * posix/wordexp-test.c: Include <dso_handle.h>.
8672 (__dso_handle): Remove declaration.
8673 (__app_register_atfork): Pass __dso_handle directly.
8674 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
8675 (__dso_handle): Remove declaration.
8676 (at_quick_exit): Pass __dso_handle directly.
8677 * stdlib/atexit.c: Include <dso_handle.h>.
8678 (__dso_handle): Remove declaration.
8679 (atexit): Pass __dso_handle directly.
8680 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
8681 (__dso_handle): Removed.
8683 2017-09-26 Joseph Myers <joseph@codesourcery.com>
8685 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
8688 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
8690 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
8691 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
8692 values to correct default value for given type.
8694 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
8697 * elf/Makefile (tests): Add tst-debug1.
8698 ($(objpfx)tst-debug1): New.
8699 ($(objpfx)tst-debug1.out): Likewise.
8700 ($(objpfx)tst-debug1mod1.so): Likewise.
8701 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
8703 * elf/tst-debug1.c: New file.
8705 2017-09-26 Joseph Myers <joseph@codesourcery.com>
8707 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
8708 Define using __ifunc.
8710 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8712 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
8715 2017-09-26 Joseph Myers <joseph@codesourcery.com>
8718 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
8720 2017-09-26 Florian Weimer <fweimer@redhat.com>
8722 * resolv/Makefile (tests-internal): Fix typo in comment.
8724 2017-09-26 Florian Weimer <fweimer@redhat.com>
8726 * resolv/nss_dns/dns-host.c: Fix typo in comment.
8728 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8730 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
8731 Use an union instead of a max_align_t array for __space,
8732 so that __space is the same size on all platforms.
8733 * malloc/scratch_buffer_grow_preserve.c
8734 (__libc_scratch_buffer_grow_preserve): Likewise.
8737 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
8739 * posix/Makefile (routines): Add glob-lstat-compat and
8740 glob64-lstat-compat.
8741 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
8742 * posix/glob-lstat-compat.c: New file.
8743 * posix/glob64-lstat-compat.c: Likewise.
8744 * posix/tst-glob_lstat_compat.c: Likewise.
8745 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
8746 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
8747 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
8748 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
8750 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
8751 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
8752 * posix/glob.c (glob_lstat): New function.
8753 (glob): Rename to __glob and add versioned symbol to 2.27.
8754 (glob_in_dir): Use glob_lstat.
8755 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
8756 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8757 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
8759 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
8760 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
8761 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
8762 gl_lstat on glob call.
8763 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
8765 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8766 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8767 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8768 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8769 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8770 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8771 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8772 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8773 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8774 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8775 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8776 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8779 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8781 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8782 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8783 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8784 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8785 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8788 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8789 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8790 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8792 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
8794 * configure.ac (AS): Require binutils 2.25 or later.
8795 * configure: Regenerated.
8797 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8800 * stdlib/test-atexit-race-common.c (do_test): Minimize required
8803 2017-09-25 DJ Delorie <dj@redhat.com>
8806 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
8809 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8811 * sysdeps/ieee754/dbl-64/sincos32.h
8812 [SINCCOS32_H]: Remove define.
8813 [SINCOS32_H]: Define.
8815 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
8817 * math/Versions (expf): New libm symbol at GLIBC_2.27.
8819 * math/w_exp2f.c: New file.
8820 * math/w_expf.c: New file.
8821 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
8822 * math/w_expf_compat.c (__expf_compat): Likewise.
8823 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
8824 * sysdeps/ia64/fpu/e_expf.S: Likewise.
8825 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8826 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8827 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8828 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8829 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8830 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8831 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8832 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8833 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8834 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8835 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8836 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8845 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8846 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8847 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8848 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8849 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8854 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8855 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8856 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8858 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
8860 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
8861 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
8862 (roundtoint, converttoint): Likewise.
8863 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
8864 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
8865 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
8866 * sysdeps/ieee754/flt-32/math_config.h: New file.
8867 * sysdeps/ieee754/flt-32/math_errf.c: New file.
8868 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
8869 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
8870 * sysdeps/i386/fpu/math_errf.c: New file.
8871 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
8872 * sysdeps/ia64/fpu/math_errf.c: New file.
8873 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
8874 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
8876 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
8878 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
8879 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
8880 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
8881 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
8882 to make sure that these symbols are defined.
8883 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
8885 (__need_NULL): Do not define.
8886 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
8888 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
8889 CMGROUP_MAX, cmsgcred): Do not define.
8890 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
8892 * bits/socket.h: Likewise.
8893 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
8894 __gettimeofday instead of gettimeofday.
8895 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
8896 instead of settimeofday.
8898 2017-09-22 Joseph Myers <joseph@codesourcery.com>
8900 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
8901 (asinhf): Define using libm_alias_float.
8902 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
8903 (atanf): Define using libm_alias_float.
8904 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
8905 (cbrtf): Define using libm_alias_float.
8906 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
8907 (ceilf): Define using libm_alias_float.
8908 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
8909 <libm-alias-float.h>.
8910 (copysignf): Define using libm_alias_float.
8911 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
8912 (cosf): Define using libm_alias_float.
8913 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
8914 (erff): Define using libm_alias_float.
8916 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
8917 (expm1f): Define using libm_alias_float.
8918 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
8919 (fabsf): Define using libm_alias_float.
8920 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
8921 (floorf): Define using libm_alias_float.
8922 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
8923 (frexpf): Define using libm_alias_float.
8924 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
8926 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
8927 <libm-alias-float.h>.
8928 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
8930 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
8931 <libm-alias-float.h>.
8932 (getpayloadf): Define using libm_alias_float.
8933 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
8934 <libm-alias-float.h>.
8935 (llrintf): Define using libm_alias_float.
8936 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
8937 <libm-alias-float.h>.
8938 (llroundf): Define using libm_alias_float.
8939 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
8940 (logbf): Define using libm_alias_float.
8941 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
8942 (lrintf): Define using libm_alias_float.
8943 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
8944 (lroundf): Define using libm_alias_float.
8945 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
8946 (modff): Define using libm_alias_float.
8947 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
8948 <libm-alias-float.h>.
8949 (nearbyintf): Define using libm_alias_float.
8950 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
8951 <libm-alias-float.h>.
8952 (nextafterf): Define using libm_alias_float.
8953 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
8954 <libm-alias-float.h>.
8955 (nextupf): Define using libm_alias_float.
8956 * sysdeps/ieee754/flt-32/s_remquof.c: Include
8957 <libm-alias-float.h>.
8958 (remquof): Define using libm_alias_float.
8959 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
8960 (rintf): Define using libm_alias_float.
8961 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
8962 <libm-alias-float.h>.
8963 (roundevenf): Define using libm_alias_float.
8964 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
8965 (roundf): Define using libm_alias_float.
8966 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
8967 using libm_alias_float.
8968 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
8969 <libm-alias-float.h>.
8970 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
8971 Define using libm_alias_float.
8972 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
8973 <libm-alias-float.h>.
8974 (sincosf): Define using libm_alias_float.
8975 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
8976 (sinf): Define using libm_alias_float.
8977 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
8978 (tanf): Define using libm_alias_float.
8979 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
8980 (tanhf): Define using libm_alias_float.
8981 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8982 <libm-alias-float.h>.
8983 (totalorderf): Define using libm_alias_float.
8984 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8985 <libm-alias-float.h>.
8986 (totalordermagf): Define using libm_alias_float.
8987 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
8988 (truncf): Define using libm_alias_float.
8989 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
8991 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
8994 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8997 math/math.h: Let fpclassify use the builtin in C++ mode, even
8998 when optimazing for size.
9000 2017-09-22 Joseph Myers <joseph@codesourcery.com>
9002 * csu/Makefile (generated): Do not add version-info.h.
9003 (before-compile): Likewise.
9004 (all-Banner-files): Remove variable.
9005 ($(objpfx)version-info.h): Remove rule.
9006 * csu/version.c (banner): Do not include "version-info.h".
9007 * libidn/Banner: Remove.
9008 * manual/contrib.texi (Simon Josefsson): New entry.
9010 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9012 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9013 Remove conditionals on LDBL_MANT_DIG.
9014 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
9015 (__ieee754_lgammal_r): Likewise.
9017 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9019 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
9021 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
9022 _Float128 and L(). Replace _Float128 with long double and L(x)
9023 with xL, throughout the file.
9024 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9025 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9026 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
9029 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9031 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
9032 sysdeps/ieee754/ldbl-128ibm.
9033 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
9034 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
9035 of including it. Keep _Float128 and L() intact. These will be
9036 reviewed by a separate patch.
9037 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9039 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
9042 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
9045 (__finitef128): Define to __redirect___finitef128.
9046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
9047 (__isinff128): Define to __redirect___isinff128.
9048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
9049 (__isnanf128): Define to __redirect___isnanf128.
9051 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9053 * sysdeps/powerpc/powerpc64le/Makefile
9054 (CFLAGS-tst-strtod-nan-locale.c): New variable.
9055 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
9057 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
9058 Carlos O'Donell <carlos@redhat.com>
9061 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
9062 * stdlib/test-dlclose-exit-race.c: New file.
9063 * stdlib/test-dlclose-exit-race-helper.c: New file.
9064 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
9066 2017-09-21 Joseph Myers <joseph@codesourcery.com>
9068 * crypt/Banner: Remove file.
9069 * nptl/Banner: Likewise.
9070 * resolv/Banner: Likewise.
9071 * soft-fp/Banner: Likewise.
9072 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
9073 ($(objpfx)version.d): Remove dependency on banner.h.
9074 ($(objpfx)version.os): Likewise.
9075 * nptl/version.c (banner): Do not include banner.h.
9076 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
9077 Jelinek and BIND code.
9079 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
9080 Carlos O'Donell <carlos@redhat.com>
9082 * support/xdlfcn.h: New file.
9083 * support/xdlfcn.c: New file.
9084 * support/Makefile (libsupport-routines): Add xdlfcn.
9085 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
9087 2017-09-20 Joseph Myers <joseph@codesourcery.com>
9090 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9091 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
9092 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
9093 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
9094 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9095 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
9096 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
9097 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9099 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
9100 Ricky Zhou <rickyz@google.com>
9101 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
9104 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
9106 (__new_exitfn): Fail registration when we finished at_exit processing.
9107 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9108 * stdlib/on_exit.c (__on_exit): Likewise.
9109 * stdlib/exit.c (__exit_funcs_done): New variable.
9110 (__run_exit_handlers): Use __exit_funcs_lock.
9111 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
9113 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
9114 (test-cxa_atexit-race, test-on_exit-race): New tests.
9115 * stdlib/test-atexit-race-common.c: New file.
9116 * stdlib/test-atexit-race.c: New file.
9117 * stdlib/test-at_quick_exit-race.c: New file.
9118 * stdlib/test-cxa_atexit-race.c: New file.
9119 * stdlib/test-on_exit-race.c: New file.
9121 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
9123 * benchtests/Makefile: Add exp2f and log2f benchmarks.
9124 * benchtests/exp2f-inputs: Copy of expf-inputs.
9125 * benchtests/log2f-inputs: Copy of logf-inputs.
9127 2017-09-19 Joseph Myers <joseph@codesourcery.com>
9129 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
9130 Explicitly take address of first element of array arguments in
9131 call to INLINE_SYSCALL.
9133 2017-09-19 Andreas Schwab <schwab@suse.de>
9136 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
9138 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
9140 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
9141 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
9142 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9143 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
9144 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9145 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
9146 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9147 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
9148 * posix/Makefile (tests): Add tst-fexecve.
9149 * posix/tst-fexecve.c: New file.
9151 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9153 * benchtests/Makefile: Add logf benchmark.
9154 * benchtests/logf-inputs: Add reduced trace from wrf_r.
9156 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9158 * benchtests/Makefile: Add expf benchmark.
9159 * benchtests/expf-inputs: Add reduced trace from wrf_r.
9161 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9163 * csu/Makefile: Add -funwind-tables to libc-start.c.
9164 * debug/Makefile: Add -funwind-tables to backtrace.c.
9165 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
9166 * sysdeps/arm/Makefile: Likewise.
9167 * sysdeps/i386/Makefile: Likewise.
9168 * sysdeps/m68k/Makefile: Likewise.
9169 * sysdeps/mips/Makefile: Likewise.
9170 * sysdeps/nios2/Makefile: Likewise.
9171 * sysdeps/sh/Makefile: Likewise.
9172 * sysdeps/sparc/Makefile: Likewise.
9174 2017-09-19 Joseph Myers <joseph@codesourcery.com>
9176 * benchtests/Makefile (bench-math): Add trunc and truncf.
9177 (CFLAGS-bench-trunc.c): New variable.
9178 (CFLAGS-bench-truncf.c): Likewise.
9179 * benchtests/trunc-inputs: New file.
9180 * benchtests/truncf-inputs: Likewise.
9182 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9184 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
9186 2017-09-18 Joseph Myers <joseph@codesourcery.com>
9188 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
9189 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
9191 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
9192 (exp10l): Define as weak alias.
9193 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
9194 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
9196 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
9197 (remainderl): Define as weak alias.
9199 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
9200 (fmal): Define using libm_alias_ldouble.
9201 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
9202 (acoshl): Define using libm_alias_ldouble.
9203 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
9204 (acosl): Define using libm_alias_ldouble.
9205 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
9206 (asinl): Define using libm_alias_ldouble.
9207 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
9208 (atan2l): Define using libm_alias_ldouble.
9209 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
9210 (atanhl): Define using libm_alias_ldouble.
9211 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
9212 (coshl): Define using libm_alias_ldouble.
9213 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
9214 (exp10l): Define using libm_alias_ldouble.
9215 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
9216 (exp2l): Define using libm_alias_ldouble.
9217 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
9218 (expl): Define using libm_alias_ldouble.
9219 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
9220 (fmodl): Define using libm_alias_ldouble.
9221 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
9222 (hypotl): Define using libm_alias_ldouble.
9223 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
9224 (j0l): Define using libm_alias_ldouble.
9226 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
9227 (j1l): Define using libm_alias_ldouble.
9229 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
9230 (jnl): Define using libm_alias_ldouble.
9232 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
9233 (log10l): Define using libm_alias_ldouble.
9234 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
9235 (log2l): Define using libm_alias_ldouble.
9236 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
9237 (logl): Define using libm_alias_ldouble.
9238 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
9239 (powl): Define using libm_alias_ldouble.
9240 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
9241 (remainderl): Define using libm_alias_ldouble.
9242 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
9243 (sinhl): Define using libm_alias_ldouble.
9244 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
9245 (sqrtl): Define using libm_alias_ldouble.
9246 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
9247 (tgammal): Define using libm_alias_ldouble.
9248 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
9249 (exp10l): Do not use long_double_symbol here.
9250 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
9251 [LIBM_SVID_COMPAT] (remainderl): Likewise.
9252 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
9253 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9254 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9255 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9256 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9257 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9258 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9259 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
9260 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9261 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9262 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9263 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9264 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9265 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9266 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9267 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9268 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9269 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9270 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9271 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9273 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
9275 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
9276 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
9278 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
9280 * io/read.c (read): Add libc_hidden_weak.
9281 * sysdeps/mach/hurd/read.c (read): Likewise.
9282 * io/write.c (write): Likewise.
9283 * sysdeps/mach/hurd/write.c (write): Likewise.
9284 * io/pread64.c (__pread64): Likewise.
9285 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
9286 * posix/pread64.c (__pread64): Add libc_hidden_def.
9288 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9290 * benchtests/scripts/compare_strings.py: New option -g.
9291 (draw_graph): Print a message that a graph is being generated.
9292 (process_results): Generate graph only if -g is passed.
9293 (main): Process option -g.
9295 * benchtests/scripts/compare_strings.py (process_results):
9296 Better spacing for output.
9298 * benchtests/scripts/compare_strings.py: Use argparse.
9299 * benchtests/README: Document existence of compare_strings.py.
9301 2017-09-15 Joseph Myers <joseph@codesourcery.com>
9303 * math/s_fma.c: Include <libm-alias-double.h>.
9304 (fma): Define using libm_alias_double.
9305 * math/s_nextafter.c: Include <libm-alias-double.h>.
9306 (nextafter): Define using libm_alias_double.
9307 * math/w_acos_compat.c: Include <libm-alias-double.h>.
9308 (acos): Define using libm_alias_double.
9309 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
9310 (aocsh): Define using libm_alias_double.
9311 * math/w_asin_compat.c: Include <libm-alias-double.h>.
9312 (asin): Define using libm_alias_double.
9313 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
9314 (atan2): Define using libm_alias_double.
9315 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
9316 (atanh): Define using libm_alias_double.
9317 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
9318 (cosh): Define using libm_alias_double.
9319 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
9320 (exp10): Define using libm_alias_double.
9321 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
9322 (exp2): Define using libm_alias_double.
9323 * math/w_exp_compat.c: Include <libm-alias-double.h>.
9324 (exp): Define using libm_alias_double.
9325 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
9326 (fmod): Define using libm_alias_double.
9327 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
9328 (hypot): Define using libm_alias_double.
9329 * math/w_j0_compat.c: Include <libm-alias-double.h>.
9330 (j0): Define using libm_alias_double.
9332 * math/w_j1_compat.c: Include <libm-alias-double.h>.
9333 (j1): Define using libm_alias_double.
9335 * math/w_jn_compat.c: Include <libm-alias-double.h>.
9336 (jn): Define using libm_alias_double.
9338 * math/w_log10_compat.c: Include <libm-alias-double.h>.
9339 (log10): Define using libm_alias_double.
9340 * math/w_log2_compat.c: Include <libm-alias-double.h>.
9341 (log2): Define using libm_alias_double.
9342 * math/w_log_compat.c: Include <libm-alias-double.h>.
9343 (log): Define using libm_alias_double.
9344 * math/w_pow_compat.c: Include <libm-alias-double.h>.
9345 (pow): Define using libm_alias_double.
9346 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
9347 (remainder): Define using libm_alias_double.
9348 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
9349 (sinh): Define using libm_alias_double.
9350 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
9351 (sqrt): Define using libm_alias_double.
9352 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
9353 (tgamma): Define using libm_alias_double.
9354 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
9355 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
9356 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
9357 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
9358 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
9359 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
9360 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
9361 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
9362 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
9363 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
9364 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
9365 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
9366 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9367 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
9368 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
9369 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
9370 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
9371 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
9372 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
9373 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
9374 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
9375 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
9376 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9377 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9378 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9380 * math/e_acoshl.c: Remove.
9381 * math/e_acosl.c: Likewise.
9382 * math/e_asinl.c: Likewise.
9383 * math/e_atan2l.c: Likewise.
9384 * math/e_atanhl.c: Likewise.
9385 * math/e_coshl.c: Likewise.
9386 * math/e_expl.c: Likewise.
9387 * math/e_fmodl.c: Likewise.
9388 * math/e_gammal_r.c: Likewise.
9389 * math/e_hypotl.c: Likewise.
9390 * math/e_j0l.c: Likewise.
9391 * math/e_j1l.c: Likewise.
9392 * math/e_jnl.c: Likewise.
9393 * math/e_lgammal_r.c: Likewise.
9394 * math/e_log10l.c: Likewise.
9395 * math/e_log2l.c: Likewise.
9396 * math/e_logl.c: Likewise.
9397 * math/e_powl.c: Likewise.
9398 * math/e_rem_pio2l.c: Likewise.
9399 * math/e_sinhl.c: Likewise.
9400 * math/e_sqrtf128.c: Likewise.
9401 * math/e_sqrtl.c: Likewise.
9402 * math/k_cosl.c: Likewise.
9403 * math/k_sinl.c: Likewise.
9404 * math/k_tanl.c: Likewise.
9405 * math/s_asinhl.c: Likewise.
9406 * math/s_atanl.c: Likewise.
9407 * math/s_cbrtl.c: Likewise.
9408 * math/s_erfl.c: Likewise.
9409 * math/s_expm1l.c: Likewise.
9410 * math/s_log1pl.c: Likewise.
9411 * math/s_tanhl.c: Likewise.
9413 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9416 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
9417 [$(subdir) = math] (sysdep_calls): New variable. Has the
9418 previous contents of sysdep_routines, but re-sorted..
9419 [$(subdir) = math] (sysdep_routines): Re-use the contents from
9421 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
9422 defined in sysdep_calls and replace by the respective m_* names.
9423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
9424 (compat_symbol): Undefine to avoid duplicated compat symbols in
9427 2017-09-15 Joseph Myers <joseph@codesourcery.com>
9429 * math/s_fmaf.c: Include <libm-alias-float.h>.
9430 (fmaf): Define using libm_alias_float.
9431 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
9432 (acosf): Define using libm_alias_float.
9433 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
9434 (acoshf): Define using libm_alias_float.
9435 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
9436 (asinf): Define using libm_alias_float.
9437 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
9438 (atan2f): Define using libm_alias_float.
9439 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
9440 (atanhf): Define using libm_alias_float.
9441 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
9442 (coshf): Define using libm_alias_float.
9443 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
9444 (exp10f): Define using libm_alias_float.
9445 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
9446 (fmodf): Define using libm_alias_float.
9447 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
9448 (hypotf): Define using libm_alias_float.
9449 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
9450 (j0f): Define using libm_alias_float.
9452 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
9453 (j1f): Define using libm_alias_float.
9455 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
9456 (jnf): Define using libm_alias_float.
9458 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
9459 (log10f): Define using libm_alias_float.
9460 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
9461 (log2f): Define using libm_alias_float.
9462 * math/w_logf_compat.c: Include <libm-alias-float.h>.
9463 (logf): Define using libm_alias_float.
9464 * math/w_powf_compat.c: Include <libm-alias-float.h>.
9465 (powf): Define using libm_alias_float.
9466 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
9467 (remainderf): Define using libm_alias_float.
9468 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
9469 (sinhf): Define using libm_alias_float.
9470 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
9471 (sqrtf): Define using libm_alias_float.
9472 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
9473 (tgammaf): Define using libm_alias_float.
9475 2017-09-14 Joseph Myers <joseph@codesourcery.com>
9477 * include/math.h (roundeven): Change hidden_proto call to
9479 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
9481 [NO_LONG_DOUBLE] (__j0l): New strong alias.
9482 (y0): Rename to __y0 and define as weak alias.
9483 [NO_LONG_DOUBLE] (__y0l): New strong alias.
9484 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
9486 (y0f): Rename to __y0f and define as weak alias.
9487 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
9489 [NO_LONG_DOUBLE] (__j1l): New strong alias.
9490 (y1): Rename to __y1 and define as weak alias.
9491 [NO_LONG_DOUBLE] (__y1l): New strong alias.
9492 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
9494 (y1f): Rename to __y1f and define as weak alias.
9495 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
9497 [NO_LONG_DOUBLE] (__jnl): New strong alias.
9498 (yn): Rename to __yn and define as weak alias.
9499 [NO_LONG_DOUBLE] (__ynl): New strong alias.
9500 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
9502 (ynf): Rename to __ynf and define as weak alias.
9503 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
9504 (fromfp): Define as weak alias.
9505 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
9506 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
9507 (fromfpx): Define as weak alias.
9508 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
9509 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
9510 __getpayload and define as weak alias.
9511 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
9512 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
9513 __roundeven and define as weak alias.
9514 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
9515 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
9517 (setpayload): Define as weak alias.
9518 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
9519 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
9521 (setpayloadsig): Define as weak alias.
9522 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
9523 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
9524 __totalorder and define as weak alias.
9525 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
9526 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
9527 to __totalordermag and define as weak alias.
9528 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
9529 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
9530 (ufromfp): Define as weak alias.
9531 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
9532 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
9534 (ufromfpx): Define as weak alias.
9535 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
9536 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
9537 Rename to __getpayload and define as weak alias.
9538 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
9539 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
9540 Rename to __roundeven and define as weak alias.
9541 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
9542 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
9543 Rename to __totalorder and define as weak alias.
9544 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
9545 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
9546 (totalordermag): Rename to __totalordermag and define as weak
9548 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
9549 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
9551 (__roundevenl): Likewise.
9552 (__totalorderl): Likewise.
9553 (__totalordermagl): Likewise
9554 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
9556 (fromfpf128): Define as weak alias.
9557 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
9559 (fromfpxf128): Define as weak alias.
9560 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
9562 (setpayloadf128): Define as weak alias.
9563 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
9564 __setpayloadsigf128.
9565 (setpayloadsigf128): Define as weak alias.
9566 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
9568 (ufromfpf128): Define as weak alias.
9569 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
9571 (ufromfpxf128): Define as weak alias.
9572 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
9573 (fromfpf): Define as weak alias.
9574 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
9576 (fromfpxf): Define as weak alias.
9577 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
9578 __getpayloadf and define as weak alias.
9579 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
9580 __roundevenf and define as weak alias.
9581 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
9583 (setpayloadf): Define as weak alias.
9584 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
9586 (setpayloadsigf): Define as weak alias.
9587 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
9588 __totalorderf and define as weak alias.
9589 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
9590 Rename to __totalordermagf and define as weak alias.
9591 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
9593 (ufromfpf): Define as weak alias.
9594 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
9596 (ufromfpxf): Define as weak alias.
9597 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
9599 (fromfpl): Define as weak alias.
9600 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
9602 (fromfpxl): Define as weak alias.
9603 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
9604 to __getpayloadl and define as weak alias.
9605 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
9606 __roundevenl and define as weak alias.
9607 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
9609 (setpayloadl): Define as weak alias.
9610 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
9612 (setpayloadsigl): Define as weak alias.
9613 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
9614 to __totalorderl and define as weak alias.
9615 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
9616 Rename to __totalordermagl and define as weak alias.
9617 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
9619 (ufromfpl): Define as weak alias.
9620 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
9622 (ufromfpxl): Define as weak alias.
9623 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
9625 (fromfpl): Define as weak alias.
9626 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
9628 (fromfpxl): Define as weak alias.
9629 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
9630 Rename to __getpayloadl and define as weak alias.
9631 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
9632 to __roundevenl and define as weak alias. Call __roundeven
9633 instead of roundeven.
9634 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
9636 (setpayloadl): Define as weak alias.
9637 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
9639 (setpayloadsigl): Define as weak alias.
9640 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
9641 Rename to __totalorderl and define as weak alias.
9642 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
9643 Rename to __totalordermagl and define as weak alias.
9644 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
9646 (ufromfpl): Define as weak alias.
9647 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
9649 (ufromfpxl): Define as weak alias.
9650 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
9652 (fromfpl): Define as weak alias.
9653 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
9655 (fromfpxl): Define as weak alias.
9656 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
9657 __getpayloadl and define as weak alias.
9658 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
9659 __roundevenl and define as weak alias.
9660 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
9662 (setpayloadl): Define as weak alias.
9663 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
9665 (setpayloadsigl): Define as weak alias.
9666 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
9667 __totalorderl and define as weak alias.
9668 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
9669 Rename to __totalordermagl and define as weak alias.
9670 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
9672 (ufromfpl): Define as weak alias.
9673 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
9675 (ufromfpxl): Define as weak alias.
9677 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
9679 * benchtests/bench-string.h (realloc_bufs): New function.
9680 (test_init): Call it.
9681 * benchtests/bench-memset-large.c (do_test): Likewise.
9682 * benchtests/bench-memset.c (do_test): Likewise.
9684 * benchtests/bench-memset-large.c: Print output in JSON
9686 * benchtests/bench-memset.c: Likewise.
9688 2017-09-14 Mike FABIAN <mfabian@redhat.com>
9691 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
9692 * iconvdata/Makefile: Add IBM858.
9693 * iconvdata/gconv-modules: Likewise.
9694 * iconvdata/tst-tables.sh: Likewise.
9695 * iconvdata/ibm858.c: New file.
9696 * localedata/charmaps/IBM858: Likewise.
9698 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
9701 * locales/niu_NZ (LC_TIME): copy "niu_NU".
9702 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
9704 2017-09-14 Mike FABIAN <mfabian@redhat.com>
9707 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
9708 and add tel_int_fmt.
9710 2017-09-14 Joseph Myers <joseph@codesourcery.com>
9712 * sysdeps/generic/libm-alias-float128.h: New file.
9713 * sysdeps/generic/math-type-macros-float128.h: Include
9714 <libm-alias-float128.h>.
9715 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
9717 2017-09-13 Joseph Myers <joseph@codesourcery.com>
9719 * sysdeps/generic/libm-alias-ldouble.h: New file.
9720 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
9721 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
9722 * sysdeps/generic/math-type-macros-ldouble.h: Include
9723 <libm-alias-ldouble.h>.
9724 [!declare_mgen_alias] (declare_mgen_alias): Define to use
9727 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
9729 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
9730 * math/w_exp_compat.c: ... here.
9731 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
9732 * math/w_expf_compat.c: ... here.
9733 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
9734 * math/w_expl_compat.c: ... here.
9735 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
9736 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
9737 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
9738 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
9740 2017-09-13 Joseph Myers <joseph@codesourcery.com>
9742 * math/w_scalbln_template.c (strong_alias): Do not undefine and
9744 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
9746 (ldexpl): Only define as compat symbol for libc, not libm.
9747 (scalbnl): Define as compat symbol for libc here.
9748 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
9749 define for [IS_IN (libc)].
9750 (__ldexpl_2): Remove alias.
9751 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
9752 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
9753 name in long_double_symbol call.
9754 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
9755 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9756 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9757 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
9758 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
9760 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
9761 Define as compat symbol.
9763 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9765 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
9766 * sysdeps/unix/sysv/linux/alpha/Makefile
9767 [$(subdir) = csu] (sysdep_routines): Remove rule.
9769 2017-09-13 Joseph Myers <joseph@codesourcery.com>
9771 * sysdeps/generic/libm-alias-double.h: New file.
9772 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
9773 * sysdeps/generic/math-type-macros-double.h: Include
9774 <libm-alias-double.h>.
9775 [declare_mgen_alias] (declare_mgen_alias): Define to use
9777 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
9778 (M_LIBM_NEED_COMPAT): Remove macro.
9779 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
9780 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
9781 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
9783 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9784 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9785 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9786 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9787 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9788 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9789 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9790 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9791 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9792 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9793 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9794 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9795 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9796 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9797 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9798 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9799 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9800 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9801 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9802 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9803 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9804 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9805 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9806 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9807 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9808 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9809 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
9810 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
9811 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
9813 (declare_mgen_alias): New macro.
9814 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
9815 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
9816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
9817 (M_LIBM_NEED_COMPAT): Remove macro.
9818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
9819 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
9821 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
9822 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
9824 2017-09-12 Joseph Myers <joseph@codesourcery.com>
9826 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
9827 (declare_mgen_alias_2): Remove.
9828 * sysdeps/generic/math-type-macros-double.h
9829 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
9831 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
9833 (ldexp): Define with declare_mgen_alias.
9836 2017-09-12 Steve Ellcey <sellcey@cavium.com>
9838 * grp/initgroups.c: Include config.h.
9839 (DEFAULT_CONFIG): New macro.
9840 (internal_getgrouplist): Use DEFAULT_CONFIG.
9841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9842 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
9843 (DEFAULT_DEFCONFIG): New macro.
9844 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
9845 * nss/grp-lookup.c: Include config.h
9846 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
9847 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
9848 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
9849 * manual/nss.texi: Update default values section.
9851 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
9854 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
9856 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
9857 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9858 Handle MathVec_Prefer_No_AVX512.
9859 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
9860 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
9863 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
9865 * posix/sched_primax.c (__sched_get_priority_max): Add
9867 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
9868 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
9869 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
9870 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
9871 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
9872 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
9873 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
9874 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
9877 2017-09-11 Joseph Myers <joseph@codesourcery.com>
9879 * sysdeps/generic/libm-alias-float.h: New file.
9880 * sysdeps/generic/math-type-macros-float.h: Include
9881 <libm-alias-float.h>.
9882 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
9884 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
9887 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
9888 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
9889 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
9890 (HWCAP_IMPORTANT): Likewise.
9891 (HWCAP_X86_64): New enum.
9892 (HWCAP_X86_AVX512_1): Updated.
9893 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
9894 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
9895 (modules-names): Add x86_64/tst-x86_64mod-1.
9896 (LDFLAGS-tst-x86_64mod-1.so): New.
9897 ($(objpfx)tst-x86_64-1): Likewise.
9898 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
9899 (tst-x86_64-1-clean): Likewise.
9900 * sysdeps/x86_64/tst-x86_64-1.c: New file.
9901 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
9903 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9905 * po/sv.po: Update translations.
9906 * po/fr.po: Likewise.
9908 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9910 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
9912 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
9914 * elf/rtld-Rules: Fix $(error) use.
9916 2017-09-09 Mike FABIAN <mfabian@redhat.com>
9919 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
9920 * locale/iso-639.def: Change “Bengali” to “Bangla”.
9921 * localedata/locales/bn_BD: “Bengali” was still used in some
9922 comments. Change it to “Bangla”.
9924 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
9926 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
9928 2017-09-08 Steve Ellcey <sellcey@cavium.com>
9930 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
9931 thunderx2t99p1 to list of cpu names.
9932 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
9933 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
9935 2017-09-08 Steve Ellcey <sellcey@cavium.com>
9937 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
9938 Use strcmp instead of tunable_is_name.
9940 2017-09-08 Joseph Myers <joseph@codesourcery.com>
9942 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9943 (F_GET_RW_HINT): New macro.
9944 [__USE_GNU] (F_SET_RW_HINT): Likewise.
9945 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
9946 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
9947 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
9948 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
9949 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
9950 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
9951 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
9952 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
9954 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9955 (F_ADD_SEALS): New macro.
9956 [__USE_GNU] (F_GET_SEALS): Likewise.
9957 [__USE_GNU] (F_SEAL_SEAL): Likewise.
9958 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
9959 [__USE_GNU] (F_SEAL_GROW): Likewise.
9960 [__USE_GNU] (F_SEAL_WRITE): Likewise.
9962 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9964 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
9965 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
9966 * posix/glob_internal.h (__glob_pattern_type):
9967 * posix/glob.c (glob):
9968 * posix/glob_pattern_p.c (__glob_pattern_p):
9971 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
9972 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9973 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
9974 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
9975 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
9977 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
9978 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
9979 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
9980 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9981 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
9982 * sysdeps/wordsize-64/glob.c: Likewise.
9983 * sysdeps/wordsize-64/glob64.c: Likewise.
9984 * sysdeps/wordsize-64/globfree.c: Likewise.
9985 * sysdeps/wordsize-64/globfree64.c: Likewise.
9986 * sysdeps/unix/sysv/linux/glob.c: New file.
9987 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
9988 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
9989 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
9990 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
9991 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
9992 adds !GLOB_NO_OLD_VERSION as an extra condition.
9993 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
9994 using relative path instead of absolute one.
9995 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
9996 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9997 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9998 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
9999 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
10000 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
10003 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
10004 (glob): Use the same scratch buffer for both getlogin_r and
10005 getpwnam_r. Don’t require preallocation of the login name. This
10006 simplifies storage allocation, and corrects the handling of
10010 * posix/glob.c (glob): Port recent patches to platforms
10011 lacking getpwnam_r.
10012 (glob): Fix longstanding misuse of errno after getpwnam_r, which
10013 returns an error number rather than setting errno.
10015 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
10016 instead of GCC extension.
10017 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
10018 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
10019 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
10023 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
10024 * posix/bug-glob1.c: Remove file.
10025 * posix/tst-glob_symlinks.c: New file.
10026 * posix/glob.c (__lstat64): New macro.
10027 (is_dir): New function.
10028 (glob, glob_in_dir): Match symlinks even if they are dangling.
10029 (link_stat, link_exists_p): Remove. All uses removed.
10033 * posix/glob.c (struct readdir_result): Remove skip_entry member.
10034 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
10039 * posix/Makefile (routines): Add globfree, globfree64, and
10041 * posix/flexmember.h: New file.
10042 * posix/glob_internal.h: Likewise.
10043 * posix/glob_pattern_p.c: Likewise.
10044 * posix/globfree.c: Likewise.
10045 * posix/globfree64.c: Likewise.
10046 * sysdeps/gnu/globfree64.c: Likewise.
10047 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
10048 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
10049 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
10050 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
10051 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
10052 * sysdeps/wordsize-64/globfree.c: Likewise.
10053 * sysdeps/wordsize-64/globfree64.c: Likewise.
10054 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
10055 [NDEBUG): Remove comments.
10056 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
10057 (dirent_type): New type. Use uint_fast8_t not
10058 uint8_t, as C99 does not require uint8_t.
10059 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
10060 (struct readdir_result): Use dirent_type. Do not define skip_entry
10061 unless it is needed; this saves a byte on platforms lacking d_ino.
10062 (readdir_result_type, readdir_result_skip_entry):
10063 New functions, replacing ...
10064 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
10065 these functions, which were removed. This makes the callers
10066 easier to read. All callers changed.
10067 (D_INO_TO_RESULT): Now empty if there is no d_ino.
10068 (size_add_wrapv, glob_use_alloca): New static functions.
10069 (glob, glob_in_dir): Check for size_t overflow in several places,
10070 and fix some size_t checks that were not quite right.
10071 Remove old code using SHELL since Bash no longer
10073 (glob, prefix_array): Separate MS code better.
10074 (glob_in_dir): Remove old Amiga and VMS code.
10075 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
10077 (glob_in_dir): Do not rely on undefined behavior in accessing
10078 struct members beyond their bounds. Use a flexible array member
10080 (link_stat): Rename from link_exists2_p and return -1/0 instead of
10081 0/1. Caller changed.
10082 (glob): Fix memory leaks.
10083 * posix/glob64 (globfree64): Move to separate file.
10084 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
10085 (globfree64): Remove hidden alias.
10086 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
10088 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
10090 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
10092 Move compat code to separate file.
10093 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
10096 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
10098 * resolv/tst-resolv-qtypes.c (domain): Changed to
10099 "const char domain[] =".
10101 2017-09-07 Joseph Myers <joseph@codesourcery.com>
10103 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
10106 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
10107 (TCP_MD5SIG_EXT): Likewise.
10108 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
10109 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
10110 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
10112 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
10114 2017-09-07 Mike FABIAN <mfabian@redhat.com>
10116 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
10118 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
10121 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
10123 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10125 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
10126 before assuming that the file is empty. Avoid testing buffer content
10129 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10132 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
10134 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
10136 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
10138 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
10140 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
10142 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
10144 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
10147 2017-09-06 Florian Weimer <fweimer@redhat.com>
10149 * malloc/dynarray_emplace_enlarge.c
10150 (__libc_dynarray_emplace_enlarge): Add missing else.
10152 2017-09-06 Florian Weimer <fweimer@redhat.com>
10155 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
10156 case of failure to obtain the global conf object.
10158 2017-09-06 Florian Weimer <fweimer@redhat.com>
10161 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
10162 dynarray allocation failure.
10164 2017-09-06 Florian Weimer <fweimer@redhat.com>
10166 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
10167 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
10168 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
10170 (response): Call them. Add 'p', '6' flag processing.
10171 (test_reverse): New function.
10172 (test_get2_any): Call it.
10173 (test_no_inet6): Add 'p' test.
10174 (test_inet6): Likewise.
10176 2017-09-06 Florian Weimer <fweimer@redhat.com>
10178 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
10179 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
10181 (test_gai): Adjust query names. Add additional tests.
10182 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
10183 test_get2. Adjust query names. Add additional tests.
10184 (test_no_inet6): New function, extracted from threadfunc.
10185 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
10186 Add additional tests.
10188 2017-09-06 Mike FABIAN <mfabian@redhat.com>
10191 * localedata/unicode-gen/utf8_gen.py: Set the width for
10192 characters with Prepended_Concatenation_Mark property to 1
10193 * localedata/charmaps/UTF-8: Updated using the improved script.
10195 2017-09-06 Mike FABIAN <mfabian@redhat.com>
10198 * localedata/unicode-gen/utf8_gen.py: Improve the script to
10199 use the range notation for all ranges of neighbouring characters
10200 with the same width.
10202 2017-09-05 Joseph Myers <joseph@codesourcery.com>
10204 * sysdeps/generic/math-type-macros-double.h: Include
10205 <math-svid-compat.h>.
10206 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
10207 * sysdeps/generic/math-type-macros-float.h: Include
10208 <math-svid-compat.h>.
10209 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
10210 * sysdeps/generic/math-type-macros-ldouble.h: Include
10211 <math-svid-compat.h>.
10212 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
10213 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
10215 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
10216 * math/w_acosf_compat.c: Likewise.
10217 * math/w_acosh_compat.c: Likewise.
10218 * math/w_acoshf_compat.c: Likewise.
10219 * math/w_acoshl_compat.c: Likewise.
10220 * math/w_acosl_compat.c: Likewise.
10221 * math/w_asin_compat.c: Likewise.
10222 * math/w_asinf_compat.c: Likewise.
10223 * math/w_asinl_compat.c: Likewise.
10224 * math/w_atan2_compat.c: Likewise.
10225 * math/w_atan2f_compat.c: Likewise.
10226 * math/w_atan2l_compat.c: Likewise.
10227 * math/w_atanh_compat.c: Likewise.
10228 * math/w_atanhf_compat.c: Likewise.
10229 * math/w_atanhl_compat.c: Likewise.
10230 * math/w_cosh_compat.c: Likewise.
10231 * math/w_coshf_compat.c: Likewise.
10232 * math/w_coshl_compat.c: Likewise.
10233 * math/w_exp10_compat.c: Likewise.
10234 * math/w_exp10f_compat.c: Likewise.
10235 * math/w_exp10l_compat.c: Likewise.
10236 * math/w_exp2_compat.c: Likewise.
10237 * math/w_exp2f_compat.c: Likewise.
10238 * math/w_exp2l_compat.c: Likewise.
10239 * math/w_fmod_compat.c: Likewise.
10240 * math/w_fmodf_compat.c: Likewise.
10241 * math/w_fmodl_compat.c: Likewise.
10242 * math/w_hypot_compat.c: Likewise.
10243 * math/w_hypotf_compat.c: Likewise.
10244 * math/w_hypotl_compat.c: Likewise.
10245 * math/w_j0_compat.c: Likewise.
10246 * math/w_j0f_compat.c: Likewise.
10247 * math/w_j0l_compat.c: Likewise.
10248 * math/w_j1_compat.c: Likewise.
10249 * math/w_j1f_compat.c: Likewise.
10250 * math/w_j1l_compat.c: Likewise.
10251 * math/w_jn_compat.c: Likewise.
10252 * math/w_jnf_compat.c: Likewise.
10253 * math/w_jnl_compat.c: Likewise.
10254 * math/w_lgamma_r_compat.c: Likewise.
10255 * math/w_lgammaf_r_compat.c: Likewise.
10256 * math/w_lgammal_r_compat.c: Likewise.
10257 * math/w_log10_compat.c: Likewise.
10258 * math/w_log10f_compat.c: Likewise.
10259 * math/w_log10l_compat.c: Likewise.
10260 * math/w_log2_compat.c: Likewise.
10261 * math/w_log2f_compat.c: Likewise.
10262 * math/w_log2l_compat.c: Likewise.
10263 * math/w_log_compat.c: Likewise.
10264 * math/w_logf_compat.c: Likewise.
10265 * math/w_logl_compat.c: Likewise.
10266 * math/w_pow_compat.c: Likewise.
10267 * math/w_powf_compat.c: Likewise.
10268 * math/w_powl_compat.c: Likewise.
10269 * math/w_remainder_compat.c: Likewise.
10270 * math/w_remainderf_compat.c: Likewise.
10271 * math/w_remainderl_compat.c: Likewise.
10272 * math/w_sinh_compat.c: Likewise.
10273 * math/w_sinhf_compat.c: Likewise.
10274 * math/w_sinhl_compat.c: Likewise.
10275 * math/w_sqrt_compat.c: Likewise.
10276 * math/w_sqrtf_compat.c: Likewise.
10277 * math/w_sqrtl_compat.c: Likewise.
10278 * math/w_tgamma_compat.c: Likewise.
10279 * math/w_tgammaf_compat.c: Likewise.
10280 * math/w_tgammal_compat.c: Likewise.
10281 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
10282 [LIBM_SVID_COMPAT].
10283 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
10284 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
10285 [LIBM_SVID_COMPAT].
10286 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
10287 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
10288 [LIBM_SVID_COMPAT].
10289 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
10290 * sysdeps/i386/fpu/w_sqrt.c: New file.
10291 * sysdeps/ia64/fpu/w_acos.c: Likewise.
10292 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10293 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10294 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10295 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10296 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10297 * sysdeps/ia64/fpu/w_asin.c: Likewise.
10298 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10299 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10300 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10301 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10302 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10303 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10304 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10305 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10306 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10307 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10308 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10309 * sysdeps/ia64/fpu/w_exp.c: Likewise.
10310 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10311 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10312 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10313 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10314 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10315 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10316 * sysdeps/ia64/fpu/w_expf.c: Likewise.
10317 * sysdeps/ia64/fpu/w_expl.c: Likewise.
10318 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10319 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10320 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10321 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10322 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10323 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10324 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
10325 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
10326 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
10327 * sysdeps/ia64/fpu/w_log.c: Likewise.
10328 * sysdeps/ia64/fpu/w_log10.c: Likewise.
10329 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10330 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10331 * sysdeps/ia64/fpu/w_log2.c: Likewise.
10332 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10333 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10334 * sysdeps/ia64/fpu/w_logf.c: Likewise.
10335 * sysdeps/ia64/fpu/w_logl.c: Likewise.
10336 * sysdeps/ia64/fpu/w_pow.c: Likewise.
10337 * sysdeps/ia64/fpu/w_powf.c: Likewise.
10338 * sysdeps/ia64/fpu/w_powl.c: Likewise.
10339 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10340 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10341 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10342 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10343 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10344 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10345 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10346 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10347 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10348 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
10349 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
10350 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
10352 [LIBM_SVID_COMPAT].
10353 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
10354 * sysdeps/ieee754/k_standard.c: Likewise.
10355 * sysdeps/ieee754/k_standardf.c: Likewise.
10356 * sysdeps/ieee754/k_standardl.c: Likewise.
10357 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
10358 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
10359 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
10360 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
10361 long_double_symbol call on [LIBM_SVID_COMPAT].
10362 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10363 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10364 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10365 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10366 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10367 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10368 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10369 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10370 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10371 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10372 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10373 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
10374 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10375 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10376 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10377 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10378 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
10379 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10380 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10381 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10382 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
10383 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
10385 2017-09-05 Steve Ellcey <sellcey@cavium.com>
10387 * include/shlib-compat.h (TEST_COMPAT): New Macro.
10388 * malloc/tst-mallocstate.c: Convert from test-skeleton
10389 to test-driver. Ifdef code using TEST_COMPAT macro.
10390 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
10391 * math/test-matherr.c: Likewise.
10393 2017-09-05 Joseph Myers <joseph@codesourcery.com>
10396 * debug/pcprofiledump.c (main): Use byte-swapped mask when
10397 comparing word with byte-swapped constant.
10399 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
10402 * locale/iso-639.def: add Miskito.
10403 * localedata/SUPPORTED: Add miq_NI/UTF-8.
10404 * localedata/locales/miq_NI: New file.
10406 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
10409 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
10410 (__mkdir): Likewise.
10411 * io/chmod.c (__chmod): Add libc_hidden_def.
10412 * io/mkdir.c (__mkdir): Likewise.
10413 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10414 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10415 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
10416 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
10418 2017-09-04 Joseph Myers <joseph@codesourcery.com>
10420 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10424 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
10425 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
10427 2017-09-04 Florian Weimer <fweimer@redhat.com>
10429 * math/math.h: Issue warning if log is defined.
10431 2017-09-04 Joseph Myers <joseph@codesourcery.com>
10433 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10434 kernel version to 4.13.
10436 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10438 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
10439 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
10441 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
10442 just <bits/types.h>.
10443 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
10444 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
10445 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
10446 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
10447 * misc/preadv2.c: Include <errno.h>.
10448 * misc/preadv64v2.c: Include <errno.h>.
10449 * misc/pwritev2.c: Include <errno.h>.
10450 * misc/pwritev64v2.c: Include <errno.h>.
10451 * sysdeps/posix/preadv2.c: Include <errno.h>.
10452 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
10453 Fix <unistd.h> inclusion.
10454 * sysdeps/posix/pwritev2.c: Include <errno.h>.
10455 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
10456 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
10457 __strtoul_internal): New functions.
10458 * sysdeps/posix/pause.c: Include <sigsetops.h>.
10459 * sysdeps/posix/system.c: Include <sigsetops.h>.
10460 * sysdeps/mach/hurd/i386/Makefile
10461 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
10462 [$(subdir) = csu] (sysdep-only-routines): Likewise.
10463 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
10464 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
10465 __feraiseexcept_renamed to feraiseexcept instead of
10466 __GI_feraiseexcept.
10467 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
10468 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
10469 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
10470 RWF_NOWAIT): Define to 0 if undefined already.
10471 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
10473 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
10474 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
10476 2017-09-01 Joseph Myers <joseph@codesourcery.com>
10478 * manual/math.texi (pow10): Do not document.
10479 (pow10f): Likewise.
10480 (pow10l): Likewise.
10481 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
10482 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
10483 * math/libm-test-exp10.inc (pow10_test): Remove.
10484 (do_test): Do not call pow10.
10485 * math/w_exp10_compat.c (pow10): Make into compat symbol.
10486 [NO_LONG_DOUBLE] (pow10l): Likewise.
10487 * math/w_exp10f_compat.c (pow10f): Likewise.
10488 * math/w_exp10l_compat.c (pow10l): Likewise.
10489 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
10490 (pow10): Make into compat symbol.
10491 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
10492 (pow10f): Make into compat symbol.
10493 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
10494 (pow10l): Make into compat symbol.
10495 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
10497 (CFLAGS-nldbl-pow10.c): Remove variable..
10498 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
10499 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
10500 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
10501 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
10502 Undefine and redefine.
10503 (pow10l): Make into compat symbol.
10504 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
10505 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10506 * sysdeps/arm/libm-test-ulps: Likewise.
10507 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
10508 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10509 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10510 * sysdeps/microblaze/libm-test-ulps: Likewise.
10511 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10512 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10513 * sysdeps/nios2/libm-test-ulps: Likewise.
10514 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10515 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10516 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10517 * sysdeps/sh/libm-test-ulps: Likewise.
10518 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10519 * sysdeps/tile/libm-test-ulps: Likewise.
10520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10522 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10524 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
10526 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
10528 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
10529 "../ChangeLog.old/ChangeLog.8".
10530 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
10531 "../ChangeLog.old/ChangeLog.14".
10533 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
10535 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
10538 2017-09-01 Joseph Myers <joseph@codesourcery.com>
10540 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
10542 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
10544 * csu/version.c (banner): Remove "by Roland McGrath et al.".
10545 * nptl/Banner: Remove "by Ulrich Drepper et al.".
10547 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10549 * stdlib/tst-atexit-common.c (do_test): Test support for at least
10550 32 atexit handlers.
10552 2017-09-01 Zack Weinberg <zackw@panix.com>
10554 * math/math.h (HUGE_VAL): Improve commentary.
10556 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10557 Andreas Schwab <schwab@suse.de>
10560 * include/stdio.h (__gen_tempfd): New function.
10561 * stdio-common/Makefile (routines): Add gentempfd.
10562 * stdio-common/gentempfd.c: New file.
10563 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
10564 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
10565 unnamed file first.
10567 2017-09-01 Florian Weimer <fweimer@redhat.com>
10571 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
10572 result to determine success or failure, not the errno value.
10573 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
10574 (tst-nss-files-hosts-erange): Link with -ldl.
10575 * nss/tst-nss-files-hosts-erange.c: New file.
10576 * nss/tst-resolv-basic.c (response): Handle nodata.example.
10577 (do_test): Add NO_DATA tests.
10578 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
10579 (do_test): Call it.
10581 2017-09-01 Florian Weimer <fweimer@redhat.com>
10584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
10585 coming from gethostbyname2_r.
10587 2017-09-01 Florian Weimer <fweimer@redhat.com>
10589 * support/namespace.h (struct support_chroot_configuration): Add
10591 (struct support_chroot): Add path_hosts, path_host_conf.
10592 * support/support_chroot.c (write_file): New function.
10593 (support_chroot_create): Call it to process /etc/resolv.conf,
10594 /etc/hosts, /etc/host.conf.
10595 (support_chroot_free): Update.
10597 2017-09-01 Florian Weimer <fweimer@redhat.com>
10599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
10600 status indicates it is set.
10602 2017-09-01 Florian Weimer <fweimer@redhat.com>
10604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
10605 function lookup failures more reliable.
10607 2017-09-01 Florian Weimer <fweimer@redhat.com>
10609 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
10610 (getcanonname): Likewise.
10611 (gaih_inet): Likewise.
10613 2017-09-01 Florian Weimer <fweimer@redhat.com>
10615 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
10616 (getcanonname): Likewise.
10617 (gaih_inet): Likewise.
10619 2017-08-31 Steve Ellcey <sellcey@cavium.com>
10620 Richard Henderson <rth@twiddle.net>
10622 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
10623 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
10624 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
10625 (IREG_SIZE, OREG_SIZE): New macros.
10626 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
10627 (IREG_SIZE, OREG_SIZE): New macros.
10628 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
10629 (IREG_SIZE): New macro.
10630 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
10631 (IREG_SIZE): New macro.
10632 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
10634 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
10635 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
10636 (__CONCATX): Handle exceptions correctly on large values that may
10638 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
10639 Initialize if not already set.
10640 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
10642 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10644 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
10645 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
10647 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
10649 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
10651 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
10653 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
10655 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
10657 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
10659 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
10660 (NO_CANCELLATION): Likewise.
10661 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
10663 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
10665 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
10667 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
10668 (NO_CANCELLATION): Likewise.
10669 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
10670 (NO_CANCELLATION): Likewise.
10671 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
10673 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
10675 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
10677 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
10679 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
10681 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
10682 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
10684 2017-08-31 Steve Ellcey <sellcey@cavium.com>
10686 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
10689 2017-08-31 Florian Weimer <fweimer@redhat.com>
10691 * include/libc-symbols.h (internal_function): Remove.
10693 2017-08-31 Florian Weimer <fweimer@redhat.com>
10695 * stdlib/fmtmsg.c (internal_addseverity): Remove
10698 2017-08-31 Florian Weimer <fweimer@redhat.com>
10700 * stdio-common/printf_fp.c (group_number): Remove
10702 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
10704 2017-08-31 Florian Weimer <fweimer@redhat.com>
10706 * posix/fnmatch.c (internal_function): Remove definition.
10707 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
10708 * posix/regcomp.c (peek_token, init_word_char)
10709 (duplicate_node_closure, fetch_token, peek_token)
10710 (peek_token_bracket, build_range_exp, build_collating_symbol):
10712 * posix/regex_internal.c (re_string_construct_common)
10713 (create_ci_newstate, create_cd_newstate, re_string_allocate)
10714 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
10715 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
10716 (re_string_translate_buffer, re_string_reconstruct)
10717 (re_string_peek_byte_case, re_string_fetch_byte_case)
10718 (re_string_destruct, re_string_context_at, re_node_set_alloc)
10719 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
10720 (re_node_set_add_intersect, re_node_set_init_union)
10721 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
10722 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
10723 (re_dfa_add_node, calc_state_hash, re_acquire_state)
10724 (re_acquire_state_context): Likewise.
10725 * posix/regex_internal.h (internal_function): Remove definition.
10726 (re_string_realloc_buffers, build_wcs_buffer)
10727 (build_wcs_upper_buffer, build_upper_buffer)
10728 (re_string_translate_buffer, re_string_context_at)
10729 (re_string_char_size_at, re_string_wchar_at)
10730 (re_string_elem_size_at): Likewise.
10731 * posix/regexec.c (match_ctx_init, match_ctx_clean)
10732 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
10733 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
10734 (re_search_internal, re_search_2_stub, re_search_stub)
10735 (re_copy_regs, prune_impossible_nodes, check_matching)
10736 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
10737 (free_fail_stack_return, sift_states_iter_mb)
10738 (sift_states_backward, build_sifted_states)
10739 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
10740 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
10741 (check_subexp_limits, sift_states_bkref, merge_state_array)
10742 (find_recover_state, transit_state, merge_state_with_log)
10743 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
10744 (transit_state_mb, transit_state_bkref, get_subexp)
10745 (get_subexp_sub, find_subexp_node, check_arrival)
10746 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
10747 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
10748 (check_node_accept_bytes, find_collation_sequence_value)
10749 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
10750 (acquire_init_state_context, check_halt_node_context)
10751 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
10752 (sub_epsilon_src_nodes): Likewise.
10753 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
10754 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
10755 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
10756 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
10757 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
10758 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
10759 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
10760 * sysdeps/posix/ttyname.c (getttyname): Likewise.
10761 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10762 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
10763 (PREADV): Likewise.
10764 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
10765 (PREADV): Likewise.
10766 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
10767 (PWRITEV): Likewise.
10768 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
10769 (PWRITEV): Likewise.
10770 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
10771 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
10773 2017-08-31 Florian Weimer <fweimer@redhat.com>
10775 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
10776 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
10777 Remove internal_function.
10778 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10779 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
10780 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
10781 (__deallocate_stack, __libc_pthread_init)
10782 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
10783 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
10784 (__libc_disable_asynccancel, __librt_disable_asynccancel):
10786 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
10787 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
10788 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
10790 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
10791 (__pthread_mutex_unlock_usercnt): Likewise.
10793 2017-08-31 Florian Weimer <fweimer@redhat.com>
10795 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
10796 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
10797 (fts_safe_changedir): Remove internal_function.
10798 * io/ftw.c (internal_function): Remove definition.
10799 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
10801 2017-08-31 Florian Weimer <fweimer@redhat.com>
10803 * inet/deadline.c (__deadline_current_time)
10804 (__deadline_from_timeval, __deadline_to_ms): Remove
10806 * inet/getnameinfo.c (nrl_domainname): Likewise.
10807 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10808 * inet/inet6_option.c (add_pad): Likewise.
10809 * inet/net-internal.h (__deadline_current_time)
10810 (__deadline_from_timeval, __deadline_to_ms): Likewise.
10811 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
10812 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
10813 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
10815 2017-08-31 Joseph Myers <joseph@codesourcery.com>
10817 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
10818 include <bits/nan.h>.
10819 * math/Makefile (headers): Remove bits/nan.h.
10820 * bits/nan.h: Remove.
10821 * sysdeps/ieee754/bits/nan.h: Likewise.
10822 * sysdeps/mips/bits/nan.h: Likewise.
10824 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
10825 not include <bits/inf.h>.
10826 * math/Makefile (headers): Remove bits/inf.h.
10827 * bits/inf.h: Remove.
10828 * sysdeps/ieee754/bits/inf.h: Likewise.
10830 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
10831 bits/huge_vall.h or bits/huge_val_flt128.h.
10832 (HUGE_VAL): Define directly here.
10833 [__USE_ISOC99] (HUGE_VALF): Likewise.
10834 [__USE_ISOC99] (HUGE_VALL): Likewise.
10835 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
10836 (HUGE_VAL_F128): Likewise.
10837 * math/Makefile (headers): Remove bits/huge_val.h,
10838 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
10839 * bits/huge_val.h: Remove.
10840 * bits/huge_val_flt128.h: Likewise.
10841 * bits/huge_valf.h: Likewise.
10842 * bits/huge_vall.h: Likewise.
10843 * sysdeps/ia64/bits/huge_vall.h: Likewise.
10844 * sysdeps/ieee754/bits/huge_val.h: Likewise.
10845 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
10846 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
10847 * sysdeps/sh/bits/huge_val.h: Likewise.
10848 * sysdeps/sparc/bits/huge_vall.h: Likewise.
10849 * sysdeps/x86/bits/huge_vall.h: Likewise.
10851 2017-08-31 Florian Weimer <fweimer@redhat.com>
10853 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
10855 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
10857 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
10858 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10859 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
10860 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
10861 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10862 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10863 * elf/dl-libc.c (dlerror_run): Likewise.
10864 * elf/dl-load.c (add_name_to_object, decompose_rpath)
10865 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
10866 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
10867 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
10869 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
10870 (_dl_higher_prime_number, _dl_strtoul): Likewise.
10871 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
10872 * elf/dl-profile.c (_dl_start_profile): Likewise.
10873 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
10874 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
10876 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
10877 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
10878 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
10879 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
10880 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
10881 (_dl_allocate_tls_storage): Likewise.
10882 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
10883 (_dl_check_all_versions): Likewise.
10884 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10885 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
10886 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
10887 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
10888 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
10889 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
10890 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
10891 internal_function from __dl_start.
10892 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
10893 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10894 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
10895 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
10896 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
10897 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
10898 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
10899 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
10900 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
10901 (_dl_next_ld_env_entry, _dl_important_hwcaps)
10902 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
10903 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
10904 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
10905 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
10906 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
10908 (struct rtld_global_ro): Remove internal_function from the
10909 _dl_lookup_symbol_x member.
10910 (_dl_symbol_value): Remove. No longer defined anywhere.
10911 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
10913 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
10914 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
10915 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
10916 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
10917 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
10918 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
10919 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
10920 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
10921 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
10922 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10923 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
10924 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
10926 2017-08-31 Florian Weimer <fweimer@redhat.com>
10928 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
10929 Remove internal_function.
10930 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
10932 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
10935 2017-08-31 Florian Weimer <fweimer@redhat.com>
10937 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
10938 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
10939 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
10941 2017-08-31 Florian Weimer <fweimer@redhat.com>
10943 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
10944 (__gai_enqueue_request): Remove internal_function.
10945 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
10946 (__gai_remove_request, __gai_notify, __gai_notify_only)
10947 (__gai_sigqueue): Likewise.
10948 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
10949 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10950 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
10951 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10954 2017-08-31 Florian Weimer <fweimer@redhat.com>
10956 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
10957 * include/dirent.h (__opendirat, __getdents, __getdents64)
10958 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
10959 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
10960 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
10961 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
10963 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
10965 2017-08-31 Florian Weimer <fweimer@redhat.com>
10967 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
10969 (GETCWD_RETURN_TYPE): Likewise.
10971 2017-08-31 Florian Weimer <fweimer@redhat.com>
10973 * include/time.h (__tz_compute, __strptime_internal): Remove
10975 * time/strptime_l.c (__strptime_internal): Likewise.
10976 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
10978 2017-08-31 Florian Weimer <fweimer@redhat.com>
10980 * iconv/gconv.c (__gconv): Remove internal_function.
10981 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
10982 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
10983 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
10984 (__gconv_release_cache): Likewise.
10985 * iconv/gconv_close.c (__gconv_close): Likewise.
10986 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
10987 (read_conf_file, __gconv_get_path): Likewise.
10988 * iconv/gconv_db.c (derivation_lookup, add_derivation)
10989 (__gconv_release_step, gen_steps, increment_counter)
10990 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
10991 (__gconv_close_transform, free_modules_db): Likewise.
10992 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
10994 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
10995 (__gconv_find_transform, __gconv_lookup_cache)
10996 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
10997 (__gconv_close_transform, __gconv_release_cache)
10998 (__gconv_loaded_object, __gconv_release_shlib)
10999 (__gconv_compare_alias): Likewise.
11000 * iconv/gconv_open.c (__gconv_open): Likewise.
11001 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
11002 * iconv/iconvconfig.c (add_module): Likewise.
11003 * intl/dcigettext.c (plural_lookup, guess_category_value)
11004 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
11005 * intl/eval-plural.h (plural_eval): Likewise.
11006 * intl/finddomain.c (_nl_find_domain): Likewise.
11007 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
11008 (_nl_load_domain, _nl_find_msg): Likewise.
11009 (internal_function): Remove definition.
11010 * intl/loadinfo.h (internal_function): Likewise.
11011 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
11013 * intl/localealias.c (internal_function): Remove definition.
11014 (read_alias_file): Remove internal_function.
11015 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
11016 * intl/plural-exp.h (internal_function): Remove definition.
11017 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
11019 * intl/plural.c: Regenerate.
11020 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
11021 * locale/coll-lookup.c (__collidx_table_lookup)
11022 (__collseq_table_lookup): Likewise.
11023 * locale/coll-lookup.h (__collidx_table_lookup)
11024 (__collseq_table_lookup): Likewise.
11025 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
11026 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11027 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
11028 (_nl_unload_locale): Likewise.
11029 * locale/localeinfo.h (struct __locale_data): Remove
11030 internal_function from cleanup member.
11031 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
11032 (_nl_remove_locale, _nl_load_locale_from_archive)
11033 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
11034 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
11035 (_nl_cleanup_time): Remove internal_function.
11036 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
11037 (_nl_parse_alt_digit): Likewise.
11038 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
11039 (_nl_select_era_entry): Likewise.
11040 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
11041 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
11042 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
11043 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
11044 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
11046 2017-08-31 Florian Weimer <fweimer@redhat.com>
11048 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
11049 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
11050 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
11051 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
11053 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
11054 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
11055 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
11056 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
11058 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
11060 2017-08-31 Florian Weimer <fweimer@redhat.com>
11062 * misc/getttyent.c (skip, value): Remove internal_function.
11063 * misc/syslog.c (openlog_internal): Likewise.
11064 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
11066 2017-08-31 Florian Weimer <fweimer@redhat.com>
11068 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
11069 (__nss_rewrite_field): Remove internal_function.
11070 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11071 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11072 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11073 * nss/nsswitch.c (nss_parse_file, nss_getline)
11074 (nss_parse_service_list, nss_new_service): Likewise.
11075 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
11076 * nss/valid_field.c (__nss_valid_field): Likewise.
11077 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11079 2017-08-31 Florian Weimer <fweimer@redhat.com>
11081 * malloc/arena.c (__malloc_fork_lock_parent)
11082 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
11083 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
11084 internal_function from defintions.
11085 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
11086 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
11087 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
11088 internal_function from declarations.
11089 * malloc/malloc.c (internal_function): Do not define.
11090 (mem2mem_check): Remove internal_function from declaration.
11091 (munmap_chunk, mremap_chunk): Remove internal_function.
11092 * malloc/mtrace.c (tr_where): Likewise.
11094 2017-08-31 Florian Weimer <fweimer@redhat.com>
11096 * include/rpc/pmap_clnt.h (__get_socket): Remove
11098 * sunrpc/auth_des.c (synchronize): Likewise.
11099 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
11100 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
11101 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
11102 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
11103 (key_call): Likewise.
11104 * sunrpc/pm_getport.c (__get_socket): Likewise.
11105 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
11106 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
11107 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
11108 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
11109 (invalidate): Likewise.
11110 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
11111 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
11112 (set_input_fragment, get_input_bytes): Likewise.
11114 2017-08-31 Florian Weimer <fweimer@redhat.com>
11116 * malloc/malloc.c (_int_free): Remove locked variable and related
11119 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
11122 * Makerules (build-module-helper-objlist): Filter out
11123 $(elf-objpfx)sofini.os.
11124 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
11127 2017-08-31 Florian Weimer <fweimer@redhat.com>
11129 * libio/fcloseall.c: Assume weak_alias is defined.
11130 * libio/feof.c: Likewise.
11131 * libio/fileno.c: Likewise.
11132 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
11133 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
11135 (_IO_file_open): Call __open directly.
11136 (_IO_new_file_sync): Assume ESPIPE is defined.
11137 (_IO_file_seekoff_maybe_mmap): Call __read directly.
11138 (_IO_new_file_write): Call __write directly.
11139 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
11140 * libio/ftello64.c (__ftello64): Assume EIO is defined.
11141 * libio/genops.c: Assume _LIBC is defined.
11142 (save_for_backup): Remove internal_function.
11143 * libio/getc.c: Assume weak_alias is defined.
11144 * libio/getwc.c: Likewise.
11145 * libio/iofclose.c: Assume _LIBC is defined.
11146 * libio/iofdopen.c: Likewise.
11147 (_IO_fcntl): Remove macro definition.
11148 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
11149 Call __fcntl directly.
11150 * libio/iofflush.c: Assume weak_alias is defined.
11151 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
11153 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
11154 * libio/iofgets.c: Likewise.
11155 * libio/iofopen.c: Assume _LIBC is defined.
11156 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
11157 * libio/iofputs.c: Assume weak_alias is defined.
11158 * libio/iofread.c: Likewise.
11159 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
11160 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11161 * libio/ioftell.c: Assume weak_alias is defined.
11162 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
11163 * libio/iofwide.c: Assume _LIBC is defined.
11164 (_IO_fwide): Drop SHARED conditional because it is implied by
11166 * libio/iofwrite.c: Assume weak_alias is defined.
11167 * libio/iogetdelim.c: Likewise.
11168 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
11169 * libio/iogetwline.c (wmemcpy): Remove macro definition.
11170 (_IO_getwline): Call __wmemcpy directly.
11171 * libio/iopopen.c: Assume _LIBC is defined.
11172 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
11173 (_IO_close): Remove macro definitions.
11174 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
11176 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
11178 * libio/ioputs.c: Assume weak_alias is defined.
11179 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
11180 * libio/iosetbuffer.c: Assume weak_alias is defined.
11181 * libio/iosetvbuf.c: Likewise.
11182 * libio/ioungetc.c: Likewise.
11183 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
11184 libc_hidden_def, libc_hidden_weak, NULL are defined.
11185 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
11186 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
11188 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
11190 (_IO_old_file_init_internal): Drop SHARED conditional because it
11191 is implied by SHLIB_COMPAT.
11192 (_IO_old_file_fopen): Call __open directly.
11193 (_IO_old_file_sync): Assume ESPIPE is defined.
11194 (_IO_old_file_write): Call __write directly.
11195 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
11196 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
11197 Call __fcntl directly.
11198 * libio/oldiofgetpos.c: Assume weak_alias is defined.
11199 (_IO_old_fgetpos): Assume EIO is defined.
11200 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
11201 (_IO_old_fgetpos64): Assume EIO is defined.
11202 * libio/oldiofsetpos.c: Assume weak_alias is defined.
11203 (_IO_old_fsetpos): Assume EIO is defined.
11204 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
11205 (_IO_old_fsetpos64): Assume EIO is defined.
11206 * libio/oldiopopen.c: Assume _LIBC is defined.
11207 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
11208 (_IO_close): Remove macro definitions.
11209 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
11211 (_IO_old_proc_close): Call __close, __waitpid directly.
11212 * libio/put.c: Assume weak_alias is defined.
11213 * libio/stdfiles.c: Assume _LIBC is defined.
11214 * libio/stdio.c: Likewise.
11215 * libio/wfileops.c: Likewise.
11216 (_IO_wfile_sync): Assume ESPIPE is defined.
11217 * libio/wgenops.c: Assume _LIBC is defined.
11218 (save_for_wbackup): Remove internal_function.
11220 2017-08-31 Florian Weimer <fweimer@redhat.com>
11222 * malloc/malloc.c (top_check): Change return type to void. Remove
11224 * malloc/hooks.c (top_check): Likewise.
11225 (malloc_check, realloc_check, memalign_check): Adjust.
11227 2017-08-30 Joseph Myers <joseph@codesourcery.com>
11230 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
11231 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
11232 sigcontext and namespace requirements.
11233 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
11234 * sysdeps/m68k/sys/ucontext.h: Likewise.
11235 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
11236 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
11237 <bits/sigcontext.h>.
11238 (__ctx): Define earlier.
11239 (mcontext_t): Define structure contents rather than using struct
11241 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
11242 __glibc_reserved1 instead of __reserved.
11243 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
11244 <bits/sigcontext.h>.
11245 (__ctx): Define earlier.
11246 (mcontext_t): Define structure contents rather than using struct
11248 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
11249 mcontext_t instead of struct sigcontext.
11250 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
11251 <bits/sigcontext.h>.
11252 (__ctx): Define earlier.
11253 (mcontext_t): Define structure contents rather than using struct
11255 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
11256 <bits/sigcontext.h>.
11257 (__ctx): Define earlier.
11258 (mcontext_t): Define structure contents rather than using struct
11260 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
11261 mcontext_t instead of struct sigcontext.
11262 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
11263 mcontext_t instead of struct sigcontext.
11264 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
11265 <bits/sigcontext.h>.
11266 (__ctx): New macro.
11267 (struct __ia64_fpreg_mcontext): New type.
11268 (mcontext_t): Define structure contents rather than using struct
11270 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
11271 (uc_sigmask): Define using __ctx.
11272 (uc_stack): Likewise.
11273 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
11274 <bits/sigcontext.h>.
11275 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11276 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
11277 <bits/sigcontext.h>.
11278 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
11279 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
11280 <bits/sigcontext.h>.
11281 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
11282 <bits/sigcontext.h>.
11283 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
11284 <bits/sigcontext.h>.
11285 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
11286 <bits/sigcontext.h>.
11287 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
11288 <bits/sigcontext.h>.
11289 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
11290 <bits/sigcontext.h>.
11291 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
11292 <bits/sigcontext.h>.
11293 (__ctx): Define earlier.
11294 (mcontext_t): Define structure contents rather than using struct
11296 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
11297 <bits/sigcontext.h>. Include <bits/types.h>.
11298 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
11299 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
11300 (test-xfail-XPG42/ucontext.h/conform): Likewise.
11301 (test-xfail-UNIX98/signal.h/conform): Likewise.
11302 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11303 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11304 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11305 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11306 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11307 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11308 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11309 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11310 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11312 2017-08-30 Florian Weimer <fweimer@redhat.com>
11314 * malloc/dynarray_emplace_enlarge.c
11315 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
11316 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
11317 * malloc/tst-dynarray.c (test_long_overflow): New function.
11318 (do_test): Call it.
11320 2017-08-30 Florian Weimer <fweimer@redhat.com>
11322 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
11323 (set_arena_corrupt): Remove definitions.
11324 (mtrim): Do not check for corrupt arena.
11325 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
11328 2017-08-30 Florian Weimer <fweimer@redhat.com>
11331 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
11333 (ptmalloc_init): Do not set or use check_action.
11334 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
11335 call to malloc_printerr. Remove return statement.
11336 (free_check): Likewise. Remove arena unlock.
11337 (top_check): Update comment. Adjust call to malloc_printerr.
11338 Remove heap repair code.
11339 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
11340 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
11341 (sysmalloc): Adjust call to malloc_printerr.
11342 (munmap_chunk, __libc_realloc): Likewise. Remove return
11344 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
11345 Remove errout label and corresponding gotos.
11346 (_int_free): Likewise. Remove arena unlock.
11347 (do_set_mallopt_check): Do not set check_action.
11348 (malloc_printerr): Adjust parameter list. Do not mark arena as
11350 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
11352 * manual/probes.texi (Memory Allocation Probes): Remove
11353 memory_mallopt_check_action.
11355 2017-08-30 Steve Ellcey <sellcey@cavium.com>
11357 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
11358 Use pointer to uint64_t instead of long int for sp.
11360 2017-08-30 Florian Weimer <fweimer@redhat.com>
11363 * malloc/malloc.c (malloc_printerr): Always terminate the process,
11364 without printing a backtrace. Do not leak any information in the
11366 * manual/memory.texi (Heap Consistency Checking): Update.
11367 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
11369 2017-08-30 Florian Weimer <fweimer@redhat.com>
11371 Do not scale NPTL tests with available number of CPUs.
11372 * nptl/tst-cond16.c (count): Set to constant value of 8.
11373 * nptl/tst-cond18.c (count): Likewise.
11375 2017-08-29 Joseph Myers <joseph@codesourcery.com>
11378 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
11379 Define to take a second argument that is a macro that
11380 concatentates a suffix, not the suffix itself.
11381 (__CONCAT_d): New macro.
11382 (__CONCAT_f): Likewise.
11383 (__CONCAT_l): Likewise.
11385 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
11387 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
11390 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11391 Aurelien Jarno <aurelien@aurel32.net>
11392 Maciej W. Rozycki <macro@imgtec.com>
11395 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
11396 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
11397 `mips16-syscall6' and `mips16-syscall7'.
11398 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
11399 (CFLAGS-mips16-syscall7.c): Remove.
11400 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
11401 Remove `__mips16_syscall5', `__mips16_syscall6' and
11402 `__mips16_syscall7'.
11403 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
11404 (__mips16_syscall0): Rename `__mips16_syscall_return' to
11405 `__mips_syscall_return'.
11406 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
11407 (__mips16_syscall1): Likewise.
11408 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
11409 (__mips16_syscall2): Likewise.
11410 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
11411 (__mips16_syscall3): Likewise.
11412 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
11413 (__mips16_syscall4): Likewise.
11414 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
11416 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
11418 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
11420 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
11421 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
11422 `__mips16_syscall5'. Remove prototype.
11423 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
11424 `__mips16_syscall6'. Remove prototype.
11425 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
11426 `__mips16_syscall7'. Remove prototype.
11427 (__nomips16, __mips16_syscall_return): Move to...
11428 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
11429 (__nomips16, __mips_syscall_return): ... here.
11430 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
11431 `__mips16_syscall_return' to `__mips_syscall_return'.
11432 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
11433 `internal_syscall##nr'.
11434 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
11435 `internal_syscall##nr'.
11436 (FORCE_FRAME_POINTER): Remove.
11437 (__mips_syscall5): New prototype.
11438 (internal_syscall5): Rewrite to call `__mips_syscall5'.
11439 (__mips_syscall6): New prototype.
11440 (internal_syscall6): Rewrite to call `__mips_syscall6'.
11441 (__mips_syscall7): New prototype.
11442 (internal_syscall7): Rewrite to call `__mips_syscall7'.
11443 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
11444 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
11445 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
11446 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
11447 (sysdep_routines): Add libc-do-syscall.
11448 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
11449 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
11451 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11454 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
11455 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
11456 (advise_stack_range): New function.
11457 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
11458 stack non required to advise_stack_range at allocatestack.c
11460 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
11462 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
11464 2017-08-29 Florian Weimer <fweimer@redhat.com>
11467 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
11468 __end_fct. Mangle __end_fct after setting it to NULL.
11469 * iconv/Makefile (tests): Add tst-gconv-init-failure.
11470 (modules-names, modules-names-tests): Add
11471 tst-gconv-init-failure-mod.
11472 (gconv-modules): New target.
11473 (tst-gconv-init-failure-mod.so): Link against libsupport.
11474 (tst-gconv-init-failure): Depend on gconv-modules,
11475 tst-gconv-init-failure-mod.so.
11476 * iconv/tst-gconv-init-failure-mod.c: New file.
11477 * iconv/tst-gconv-init-failure.c: Likewise.
11478 * iconv/test-gconv-modules: Likewise.
11480 2017-08-29 Florian Weimer <fweimer@redhat.com>
11483 * iconv/gconv_db.c (free_derivation): Remove redundant
11485 (gen_steps): Unconditionally mangle __btowc_fct after
11487 (increment_counter): Likewise. Do not call init_fct for internal
11490 2017-08-29 Joseph Myers <joseph@codesourcery.com>
11493 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
11494 (_MSUF_): Remove macro.
11495 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
11497 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
11498 (__REDIRFROM_X): New macro.
11499 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
11501 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
11502 (__REDIRTO_X): Likewise.
11503 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
11505 (__MATH_REDIRCALL_2): Likewise.
11506 (__MATH_REDIRCALL_INTERNAL): Likewise.
11507 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
11508 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
11509 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
11510 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
11511 * math/test-finite-macros.c: New file.
11512 * math/Makefile (tests): Add test-finite-macros.
11513 (CFLAGS-test-finite-macros.c): New variable.
11515 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
11516 Jeff Law <law@redhat.com>
11519 Mangle NULL pointers in iconv/gconv.
11520 * iconv/gconv_cache.c (find_module): Demangle init_fct before
11521 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
11522 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
11523 is non-NULL before demangling the end_fct. Check for NULL
11524 end_fct after demangling.
11525 (__gconv_release_step): Demangle the end_fct before checking
11526 it for NULL. Remove assert on __shlibc_handle != NULL.
11527 (gen_steps): Don't check btowc_fct for NULL before mangling.
11528 Demangle init_fct before checking for NULL.
11529 (increment_counter): Likewise.
11530 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
11531 end_fct for NULL before mangling.
11532 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
11535 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
11538 * locale/iso-639.def: add Morisyen.
11540 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11543 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
11544 (iszero): New C++ implementation that does not use
11545 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
11546 signaling nans are enabled, since __builtin_types_compatible_p
11547 is a C-only feature.
11548 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
11549 defined, include ieee754_float128.h for access to the union and
11550 member ieee854_float128.ieee.
11551 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
11552 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
11553 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
11554 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
11555 options of test-math-zero on powerpc64le.
11557 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
11559 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
11560 Change double to float.
11562 2017-08-28 Joseph Myers <joseph@codesourcery.com>
11564 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
11566 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
11567 conditional code; define contents only for [LIBM_SVID_COMPAT].
11569 2017-08-28 Florian Weimer <fweimer@redhat.com>
11571 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
11572 (abi-lp64_be-options): Remove.
11573 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
11574 (abi-hard-options): Likewise.
11575 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
11576 (abi-o32_hard-options, abi-o32_soft_2008-options)
11577 (abi-o32_hard_2008-options, abi-n32_soft-options)
11578 (abi-n32_hard-options, abi-n32_soft_2008-options)
11579 (abi-n32_hard_2008-options, abi-n64_soft-options)
11580 (abi-n64_hard-options, abi-n64_soft_2008-options)
11581 (abi-n64_hard_2008-options): Likewise.
11582 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
11583 (abi-64-v1-options, abi-64-v2-options): Likewise.
11584 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
11585 (abi-64-options): Likewise.
11586 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
11587 (abi-64-options): Likewise.
11588 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
11589 (abi-64-options): Likewise.
11590 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
11591 (abi-64-options, abi-x32-options): Likewise.
11593 2017-08-28 Florian Weimer <fweimer@redhat.com>
11595 Store supported list of SYS_* system calls in the source tree.
11596 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11597 (bits/syscall.h): Generate from list file.
11598 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
11599 [$(subdir) = misc] (tests): Add tst-syscall-list.
11600 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
11601 [$(subdir) = misc] (tst-syscall-list-macros.list)
11602 [$(subdir) = misc] (tst-syscall-list-nr.list)
11603 (tst-syscall-list-sys.list): Helper targets for new
11604 tst-syscall-list test.
11605 [$(subdir) = misc] (tst-syscall-list.out): Run test script
11606 tst-syscall-list.sh.
11607 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
11608 target. Do not include bits/syscall.d.
11609 [$(subdir) = misc] (generated): Do not update.
11610 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
11611 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
11612 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
11613 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
11615 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11617 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
11618 (tst-cxa_atexit, tst-on_exit): Likewise.
11619 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
11620 tst-cxa_atexit, and tst-on_exit.
11621 * stdlib/tst-atexit-common.c: New file.
11622 * stdlib/tst-atexit.c: New file.
11623 * stdlib/tst-at_quick_exit.c: New file.
11624 * stdlib/tst-cxa_atexit.c: New file.
11625 * stdlib/tst-on_exit.c: New file.
11627 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11629 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
11630 * mach/stack_chk_fail_local.c: New file.
11631 * hurd/stack_chk_fail_local.c: New file.
11632 * mach/Machrules ($(interface-library)-routines): Add
11633 stack_chk_fail_local.
11634 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
11635 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
11636 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
11637 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
11638 * hurd/Makefile (CFLAGS-hurdstartup.o,
11639 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
11641 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
11643 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
11644 (index_cpu_*, index_arch_*): Removed.
11646 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
11648 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
11649 Use uint64_t instead of unsigned long.
11651 2017-08-25 Joseph Myers <joseph@codesourcery.com>
11653 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
11654 [__HAVE_DISTINCT_FLOAT128].
11656 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
11657 of <bits/math-finite.h>.
11658 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
11659 inclusion of <bits/math-finite.h>.
11660 * math/bits/math-finite.h (__REDIRTO_X): Do not define
11661 conditionally on [__MATH_DECLARING_LDOUBLE && defined
11662 __NO_LONG_DOUBLE_MATH].
11663 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
11664 (__MATH_REDIRCALL_2): Likewise.
11665 (__MATH_REDIRCALL_INTERNAL): Likewise.
11666 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
11667 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
11668 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
11670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11682 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11683 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11684 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11685 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11687 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
11688 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
11689 w_sqrtf_compat-ppc32.
11691 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11693 * math/math.h [defined __cplusplus] (issignaling): In the long
11694 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
11695 is not defined. Call __issignaling, otherwise.
11697 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11699 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
11700 syscall definitions and replace __builtin_expect with __glibc_likely.
11701 * sysdeps/unix/syscall-template.S: Update comment about cancellable
11703 (SYSCALL_CANCELLABLE): Removedefinition
11704 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
11706 (PSEUDO_END): Likewise.
11707 [IS_IN (libpthread)] (CENABLE): Likewise.
11708 [IS_IN (libpthread)] (CDISABLE): Likewise.
11709 [IS_IN (libc)] (CENABLE): Likewise.
11710 [IS_IN (libc)] (CENABLE): Likewise.
11711 [IS_IN (librt)] (CDISABLE): Likewise.
11712 [IS_IN (librt)] (CDISABLE): Likewise.
11713 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11714 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
11716 (PSEUDO_END): Likewise.
11717 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
11718 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
11719 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
11720 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
11721 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
11722 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
11723 (CENABLE): Likewise.
11724 (CDISABLE): Likewise.
11725 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11726 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
11728 (PSEUDO_END): Likewise.
11729 [IS_IN (libpthread)] (CENABLE): Likewise.
11730 [IS_IN (libpthread)] (CDISABLE): Likewise.
11731 [IS_IN (libc)] (CENABLE): Likewise.
11732 [IS_IN (libc)] (CENABLE): Likewise.
11733 [IS_IN (librt)] (CDISABLE): Likewise.
11734 [IS_IN (librt)] (CDISABLE): Likewise.
11735 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11736 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
11738 (PSEUDO_END): Likewise.
11739 [IS_IN (libpthread)] (CENABLE): Likewise.
11740 [IS_IN (libpthread)] (CDISABLE): Likewise.
11741 [IS_IN (libc)] (CENABLE): Likewise.
11742 [IS_IN (libc)] (CENABLE): Likewise.
11743 [IS_IN (librt)] (CDISABLE): Likewise.
11744 [IS_IN (librt)] (CDISABLE): Likewise.
11745 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11746 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
11748 (PSEUDO_END): Likewise.
11749 [IS_IN (libpthread)] (CENABLE): Likewise.
11750 [IS_IN (libpthread)] (CDISABLE): Likewise.
11751 [IS_IN (libc)] (CENABLE): Likewise.
11752 [IS_IN (libc)] (CENABLE): Likewise.
11753 [IS_IN (librt)] (CDISABLE): Likewise.
11754 [IS_IN (librt)] (CDISABLE): Likewise.
11755 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11756 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
11758 (PSEUDO_END): Likewise.
11759 [IS_IN (libpthread)] (CENABLE): Likewise.
11760 [IS_IN (libpthread)] (CDISABLE): Likewise.
11761 [IS_IN (libc)] (CENABLE): Likewise.
11762 [IS_IN (libc)] (CENABLE): Likewise.
11763 [IS_IN (librt)] (CDISABLE): Likewise.
11764 [IS_IN (librt)] (CDISABLE): Likewise.
11765 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11766 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
11768 (PSEUDO_END): Likewise.
11769 [IS_IN (libpthread)] (CENABLE): Likewise.
11770 [IS_IN (libpthread)] (CDISABLE): Likewise.
11771 [IS_IN (libc)] (CENABLE): Likewise.
11772 [IS_IN (libc)] (CENABLE): Likewise.
11773 [IS_IN (librt)] (CDISABLE): Likewise.
11774 [IS_IN (librt)] (CDISABLE): Likewise.
11775 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11776 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
11778 (PSEUDO_END): Likewise.
11779 [IS_IN (libpthread)] (CENABLE): Likewise.
11780 [IS_IN (libpthread)] (CDISABLE): Likewise.
11781 [IS_IN (libc)] (CENABLE): Likewise.
11782 [IS_IN (libc)] (CENABLE): Likewise.
11783 [IS_IN (librt)] (CDISABLE): Likewise.
11784 [IS_IN (librt)] (CDISABLE): Likewise.
11785 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11786 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
11788 (PSEUDO_END): Likewise.
11789 [IS_IN (libpthread)] (CENABLE): Likewise.
11790 [IS_IN (libpthread)] (CDISABLE): Likewise.
11791 [IS_IN (libc)] (CENABLE): Likewise.
11792 [IS_IN (libc)] (CENABLE): Likewise.
11793 [IS_IN (librt)] (CDISABLE): Likewise.
11794 [IS_IN (librt)] (CDISABLE): Likewise.
11795 (SINGLE_THREAD_P): Likewise.
11796 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
11798 (PSEUDO_END): Likewise.
11799 [IS_IN (libpthread)] (CENABLE): Likewise.
11800 [IS_IN (libpthread)] (CDISABLE): Likewise.
11801 [IS_IN (libc)] (CENABLE): Likewise.
11802 [IS_IN (libc)] (CENABLE): Likewise.
11803 [IS_IN (librt)] (CDISABLE): Likewise.
11804 [IS_IN (librt)] (CDISABLE): Likewise.
11805 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11806 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
11808 (PSEUDO_END): Likewise.
11809 [IS_IN (libpthread)] (CENABLE): Likewise.
11810 [IS_IN (libpthread)] (CDISABLE): Likewise.
11811 [IS_IN (libc)] (CENABLE): Likewise.
11812 [IS_IN (libc)] (CENABLE): Likewise.
11813 [IS_IN (librt)] (CDISABLE): Likewise.
11814 [IS_IN (librt)] (CDISABLE): Likewise.
11815 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11816 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
11817 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11818 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
11819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
11821 (PSEUDO_END): Likewise.
11822 [IS_IN (libpthread)] (CENABLE): Likewise.
11823 [IS_IN (libpthread)] (CDISABLE): Likewise.
11824 [IS_IN (libc)] (CENABLE): Likewise.
11825 [IS_IN (libc)] (CENABLE): Likewise.
11826 [IS_IN (librt)] (CDISABLE): Likewise.
11827 [IS_IN (librt)] (CDISABLE): Likewise.
11828 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11829 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
11831 (PSEUDO_END): Likewise.
11832 [IS_IN (libpthread)] (CENABLE): Likewise.
11833 [IS_IN (libpthread)] (CDISABLE): Likewise.
11834 [IS_IN (libc)] (CENABLE): Likewise.
11835 [IS_IN (libc)] (CENABLE): Likewise.
11836 [IS_IN (librt)] (CDISABLE): Likewise.
11837 [IS_IN (librt)] (CDISABLE): Likewise.
11838 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11839 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
11841 (PSEUDO_END): Likewise.
11842 [IS_IN (libpthread)] (CENABLE): Likewise.
11843 [IS_IN (libpthread)] (CDISABLE): Likewise.
11844 [IS_IN (libc)] (CENABLE): Likewise.
11845 [IS_IN (libc)] (CENABLE): Likewise.
11846 [IS_IN (librt)] (CDISABLE): Likewise.
11847 [IS_IN (librt)] (CDISABLE): Likewise.
11848 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
11850 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11851 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
11852 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
11854 (PSEUDO_END): Likewise.
11855 [IS_IN (libpthread)] (CENABLE): Likewise.
11856 [IS_IN (libpthread)] (CDISABLE): Likewise.
11857 [IS_IN (libc)] (CENABLE): Likewise.
11858 [IS_IN (libc)] (CENABLE): Likewise.
11859 [IS_IN (librt)] (CDISABLE): Likewise.
11860 [IS_IN (librt)] (CDISABLE): Likewise.
11861 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11862 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
11864 (PSEUDO_END): Likewise.
11865 [IS_IN (libpthread)] (CENABLE): Likewise.
11866 [IS_IN (libpthread)] (CDISABLE): Likewise.
11867 [IS_IN (libc)] (CENABLE): Likewise.
11868 [IS_IN (libc)] (CENABLE): Likewise.
11869 [IS_IN (librt)] (CDISABLE): Likewise.
11870 [IS_IN (librt)] (CDISABLE): Likewise.
11871 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
11873 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
11875 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
11877 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
11879 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11881 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
11884 * string/stratcliff.c (do_test): Declare size, nchars, inner,
11885 middle and outer with size_t instead of int. Repleace %d and
11886 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
11887 "MAX (outer, nchars - 64)" to support unsigned outer and
11888 nchars. Also exit loop when outer == 0.
11890 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11892 * include/fcntl.h (__fcntl_nocancel): Remove definition.
11893 * include/signal.h (__sigsuspend_nocancel): Likewise.
11894 * include/time.h (__nanosleep_nocancel): Likewise.
11895 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
11896 * login/utmp_file.c: Include non cancellable syscall header.
11897 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
11900 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
11902 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
11903 .byte sequences with AVX512F instructions.
11904 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
11905 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
11906 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
11907 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
11909 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
11912 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
11913 Steve Ellcey <sellcey@cavium.com>
11915 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
11916 Use PTR_REG macro in cmp instruction.
11918 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11920 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
11921 Change the return type of the ifunc resolver to match the return
11922 type of the target function.
11924 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11926 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
11927 (preadv64): Likewise.
11928 (pwrite64(: Likewise.
11929 (pwritev64): Likewise.
11931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11932 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
11933 (LOAD_ARGS_0): Likewise.
11934 (LOAD_ARGS_1): Likewise.
11935 (LOAD_ARGS_2): Likewise.
11936 (LOAD_ARGS_3): Likewise.
11937 (LOAD_ARGS_4): Likewise.
11938 (LOAD_ARGS_5): Likewise.
11939 (LOAD_ARGS_6): Likewise.
11940 (LOAD_REGS_0): Likewise.
11941 (LOAD_REGS_1): Likewise.
11942 (LOAD_REGS_2): Likewise.
11943 (LOAD_REGS_3): Likewise.
11944 (LOAD_REGS_4): Likewise.
11945 (LOAD_REGS_5): Likewise.
11946 (LOAD_REGS_6): Likewise.
11947 (ASM_ARGS_0): Likewise.
11948 (ASM_ARGS_1): Likewise.
11949 (ASM_ARGS_2): Likewise.
11950 (ASM_ARGS_3): Likewise.
11951 (ASM_ARGS_4): Likewise.
11952 (ASM_ARGS_5): Likewise.
11953 (ASM_ARGS_6): Likewise.
11954 (LOAD_ARGS_TYPES_1): Likewise.
11955 (LOAD_ARGS_TYPES_2): Likewise.
11956 (LOAD_ARGS_TYPES_3): Likewise.
11957 (LOAD_ARGS_TYPES_4): Likewise.
11958 (LOAD_ARGS_TYPES_5): Likewise.
11959 (LOAD_ARGS_TYPES_6): Likewise.
11960 (LOAD_REGS_TYPES_1): Likewise.
11961 (LOAD_REGS_TYPES_2): Likewise.
11962 (LOAD_REGS_TYPES_3): Likewise.
11963 (LOAD_REGS_TYPES_4): Likewise.
11964 (LOAD_REGS_TYPES_5): Likewise.
11965 (LOAD_REGS_TYPES_6): Likewise.
11966 (TYPEFY): New define.
11967 (ARGIFY): Likewise.
11968 (internal_syscall0): Likewise.
11969 (internal_syscall1): Likewise.
11970 (internal_syscall2): Likewise.
11971 (internal_syscall3): Likewise.
11972 (internal_syscall4): Likewise.
11973 (internal_syscall5): Likewise.
11974 (internal_syscall6): Likewise.
11975 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
11976 (INTERNAL_SYSCALL_NCS): Remove define.
11977 (internal_syscall1): Add define.
11979 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11981 * math/w_remainder_compat.c: Remove duplicate inclusion of
11982 math-svid-compat.h.
11983 * math/w_remainderf_compat.c: Likewise.
11984 * math/w_remainderl_compat.c: Likewise.
11986 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11990 2017-08-22 Joseph Myers <joseph@codesourcery.com>
11993 * math/tgmath.h (__floating_type): Simplify definitions.
11994 (__real_integer_type): New macro.
11995 (__complex_integer_type): Likewise.
11996 (__expr_is_real): Likewise.
11997 (__tgmath_real_type_sub): Update comment to describe handling of
11999 (__tgmath_complex_type_sub): New macro.
12000 (__tgmath_complex_type): Likewise.
12001 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
12002 (__TGMATH_CF128): Use __expr_is_real.
12003 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
12005 (__TGMATH_BINARY_REAL_IMAG): Likewise.
12006 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
12007 * math/gen-tgmath-tests.py (Type.create_type): Create complex
12010 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12012 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
12014 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
12016 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
12019 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
12020 nanosleep_not_cancel with __nanosleep_nocancel.
12021 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
12022 (__nanosleep_nocancel): New macro.
12023 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
12025 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
12027 (__nanosleep_nocancel): New prototype.
12029 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
12030 pause_not_cancel with __pause_nocancel.
12031 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
12032 (__pause_nocancel): New macro.
12033 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
12035 (__pause_nocancel): New prototype.
12036 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
12038 2017-08-22 Martin Sebor <msebor@redhat.com>
12040 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
12041 to return a pointer to the same type as the target function.
12043 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
12047 * include/printf.h (__printf_fphex): Add attribute_hidden.
12048 (__guess_grouping): New prototype.
12049 * stdio-common/printf_fp.c (__guess_grouping): Removed.
12050 * stdio-common/reg-printf.c (__register_printf_specifier): Add
12051 libc_hidden_proto and libc_hidden_def.
12052 * stdlib/strfmon_l.c (__guess_grouping): Removed.
12053 (__vstrfmon_l): Remove the third argument passed to
12056 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12058 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
12059 definition for issignaling that does not rely on __MATH_TG,
12060 since __MATH_TG uses __builtin_types_compatible_p, which is only
12061 available in C mode.
12062 (CFLAGS-test-math-issignaling.cc): New variable.
12063 * math/Makefile [CXX] (tests): Add test-math-issignaling.
12064 * math/test-math-issignaling.cc: New test for C++ implementation
12065 of type-generic issignaling.
12066 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
12067 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
12068 options of test-math-issignaling on powerpc64le.
12070 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
12072 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
12074 (hidden_proto): Likewise.
12075 (hidden_tls_proto): Likewise.
12076 (__hidden_proto): Likewise.
12078 2017-08-22 Florian Weimer <fweimer@redhat.com>
12080 math: Statically link tests of internal functionality.
12081 * math/Makefile (tests): Remove atest-exp, atest-sincos,
12083 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
12084 (gmp-objs): Remove assignment.
12085 (atest-exp, atest-sincos, atest-exp2): Remove targets.
12087 2017-08-22 Joseph Myers <joseph@codesourcery.com>
12090 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
12092 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
12094 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
12097 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
12098 variable definitions above inclusion of ../Rules.
12100 2017-08-21 Joseph Myers <joseph@codesourcery.com>
12102 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
12103 case calling __builtin_unreachable.
12105 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12107 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
12108 __waitpid_nocancel.
12109 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
12110 (__waitpid_nocancel): New macro.
12111 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
12113 (__waitpid_nocancel): Replace macro with a function.
12114 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
12117 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
12119 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
12120 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
12122 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
12123 __writev_nocancel_nostatus.
12124 (write_call_graph): Likewise.
12125 (write_bb_counts): Likewise.
12126 * resolv/herror.c (herror): Likewise.
12127 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
12129 (__writev_nocancel_nostatus): New macro.
12130 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
12132 (__writev_nocancel_nostatus): New function.
12134 2017-08-21 Joseph Myers <joseph@codesourcery.com>
12137 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12139 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
12141 (hidden_proto): Likewise.
12142 (hidden_tls_proto): Likewise.
12143 (__hidden_proto): Likewise.
12146 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
12147 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
12148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
12150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
12152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
12154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
12156 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
12157 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
12158 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
12159 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
12160 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
12161 GLIBC_2.0 sqrtl symbol.
12163 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
12164 [__USE_MISC] (_LIB_VERSION): Likewise.
12165 [__USE_MISC] (struct exception): Likewise.
12166 [__USE_MISC] (matherr): Likewise.
12167 [__USE_MISC] (DOMAIN): Likewise.
12168 [__USE_MISC] (SING): Likewise.
12169 [__USE_MISC] (OVERFLOW): Likewise.
12170 [__USE_MISC] (UNDERFLOW): Likewise.
12171 [__USE_MISC] (TLOSS): Likewise.
12172 [__USE_MISC] (PLOSS): Likewise.
12173 [__USE_MISC] (HUGE): Likewise.
12174 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
12175 * math/math-svid-compat.h: New file.
12176 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
12178 * include/math.h [!_ISOMAC] (__matherr): Remove.
12179 * manual/arith.texi (FP Exceptions): Do not document matherr.
12180 * math/Makefile (tests): Change test-matherr to test-matherr-3.
12181 (tests-internal): New variable.
12182 (install-lib): Do not add libieee.a.
12183 (non-lib.a): Likewise.
12184 (extra-objs): Do not add libieee.a and ieee-math.o.
12185 (CPPFLAGS-s_lib_version.c): Remove variable.
12186 ($(objpfx)libieee.a): Remove rule.
12187 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
12188 * math/ieee-math.c: Remove.
12189 * math/libm-test-support.c (matherr): Remove.
12190 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
12191 and license notices. Include <math-svid-compat.h> and
12193 (matherr): Undefine as macro. Use compat_symbol_reference.
12194 (_LIB_VERSION): Likewise.
12195 * math/test-matherr-2.c: New file.
12196 * math/test-matherr-3.c: Likewise.
12197 * sysdeps/generic/math_private.h (__kernel_standard): Remove
12199 (__kernel_standard_f): Likewise.
12200 (__kernel_standard_l): Likewise.
12201 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
12202 <math_private.h>. Include <math-svid-compat.h>.
12203 (_LIB_VERSION): Undefine as macro.
12204 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
12205 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
12206 [LIBM_SVID_COMPAT], use compat_symbol.
12207 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
12208 <math_private.h>. Include <math-svid-compat.h>.
12209 (matherr): Undefine as macro.
12210 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
12212 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
12213 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
12214 compat_symbol_reference.
12215 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
12216 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
12217 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
12218 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
12219 (MATHERR_D): Remove declaration.
12220 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
12221 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
12222 [LIBM_BUILD] (pmatherrf): Likewise.
12223 [LIBM_BUILD] (pmatherr): Likewise.
12224 [LIBM_BUILD] (pmatherrl): Likewise.
12225 (DOMAIN): Likewise.
12227 (OVERFLOW): Likewise.
12228 (UNDERFLOW): Likewise.
12231 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
12232 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
12234 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
12235 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
12237 * math/lgamma-compat.h: Include <math-svid-compat.h>.
12238 * math/w_acos_compat.c: Likewise.
12239 * math/w_acosf_compat.c: Likewise.
12240 * math/w_acosh_compat.c: Likewise.
12241 * math/w_acoshf_compat.c: Likewise.
12242 * math/w_acoshl_compat.c: Likewise.
12243 * math/w_acosl_compat.c: Likewise.
12244 * math/w_asin_compat.c: Likewise.
12245 * math/w_asinf_compat.c: Likewise.
12246 * math/w_asinl_compat.c: Likewise.
12247 * math/w_atan2_compat.c: Likewise.
12248 * math/w_atan2f_compat.c: Likewise.
12249 * math/w_atan2l_compat.c: Likewise.
12250 * math/w_atanh_compat.c: Likewise.
12251 * math/w_atanhf_compat.c: Likewise.
12252 * math/w_atanhl_compat.c: Likewise.
12253 * math/w_cosh_compat.c: Likewise.
12254 * math/w_coshf_compat.c: Likewise.
12255 * math/w_coshl_compat.c: Likewise.
12256 * math/w_exp10_compat.c: Likewise.
12257 * math/w_exp10f_compat.c: Likewise.
12258 * math/w_exp10l_compat.c: Likewise.
12259 * math/w_exp2_compat.c: Likewise.
12260 * math/w_exp2f_compat.c: Likewise.
12261 * math/w_exp2l_compat.c: Likewise.
12262 * math/w_fmod_compat.c: Likewise.
12263 * math/w_fmodf_compat.c: Likewise.
12264 * math/w_fmodl_compat.c: Likewise.
12265 * math/w_hypot_compat.c: Likewise.
12266 * math/w_hypotf_compat.c: Likewise.
12267 * math/w_hypotl_compat.c: Likewise.
12268 * math/w_j0_compat.c: Likewise.
12269 * math/w_j0f_compat.c: Likewise.
12270 * math/w_j0l_compat.c: Likewise.
12271 * math/w_j1_compat.c: Likewise.
12272 * math/w_j1f_compat.c: Likewise.
12273 * math/w_j1l_compat.c: Likewise.
12274 * math/w_jn_compat.c: Likewise.
12275 * math/w_jnf_compat.c: Likewise.
12276 * math/w_jnl_compat.c: Likewise.
12277 * math/w_lgamma_main.c: Likewise.
12278 * math/w_lgamma_r_compat.c: Likewise.
12279 * math/w_lgammaf_main.c: Likewise.
12280 * math/w_lgammaf_r_compat.c: Likewise.
12281 * math/w_lgammal_main.c: Likewise.
12282 * math/w_lgammal_r_compat.c: Likewise.
12283 * math/w_log10_compat.c: Likewise.
12284 * math/w_log10f_compat.c: Likewise.
12285 * math/w_log10l_compat.c: Likewise.
12286 * math/w_log2_compat.c: Likewise.
12287 * math/w_log2f_compat.c: Likewise.
12288 * math/w_log2l_compat.c: Likewise.
12289 * math/w_log_compat.c: Likewise.
12290 * math/w_logf_compat.c: Likewise.
12291 * math/w_logl_compat.c: Likewise.
12292 * math/w_pow_compat.c: Likewise.
12293 * math/w_powf_compat.c: Likewise.
12294 * math/w_powl_compat.c: Likewise.
12295 * math/w_remainder_compat.c: Likewise.
12296 * math/w_remainderf_compat.c: Likewise.
12297 * math/w_remainderl_compat.c: Likewise.
12298 * math/w_scalb_compat.c: Likewise.
12299 * math/w_scalbf_compat.c: Likewise.
12300 * math/w_scalbl_compat.c: Likewise.
12301 * math/w_sinh_compat.c: Likewise.
12302 * math/w_sinhf_compat.c: Likewise.
12303 * math/w_sinhl_compat.c: Likewise.
12304 * math/w_sqrt_compat.c: Likewise.
12305 * math/w_sqrtf_compat.c: Likewise.
12306 * math/w_sqrtl_compat.c: Likewise.
12307 * math/w_tgamma_compat.c: Likewise.
12308 * math/w_tgammaf_compat.c: Likewise.
12309 * math/w_tgammal_compat.c: Likewise.
12310 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
12311 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
12312 * sysdeps/ieee754/k_standard.c: Likewise.
12313 * sysdeps/ieee754/k_standardf.c: Likewise.
12314 * sysdeps/ieee754/k_standardl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
12316 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
12317 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
12318 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
12319 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
12320 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
12321 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
12322 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
12323 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
12324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
12326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
12328 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
12329 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
12330 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
12331 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
12333 2017-08-21 Florian Weimer <fweimer@redhat.com>
12336 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
12337 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
12338 Move before inclusion of ../Rules.
12340 2017-08-21 Florian Weimer <fweimer@redhat.com>
12343 * assert/assert.h (assert): Use static_cast (bool) for C++.
12344 Use the ternary operator in the warning branch for GNU C.
12345 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
12346 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
12347 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
12348 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
12349 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
12351 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12354 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12355 (__syscall_clock_gettime): Add attribute_hidden.
12356 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
12357 (__start_context): Likewise.
12359 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12361 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
12363 (hidden_proto): Likewise.
12364 (hidden_tls_proto): Likewise.
12365 (__hidden_proto): Likewise.
12367 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12369 * include/libc-symbols.h (attribute_hidden): Enable hidden
12370 visibility in libc.a compiled with PIE.
12372 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12375 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
12376 Add attribute_hidden.
12378 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12381 * Makerules (all-nonlib): Add $(others-extras).
12382 * catgets/Makefile (others-extras): New.
12383 * elf/Makefile (others-extras): Likewise.
12384 * nss/Makefile (others-extras): Likewise.
12386 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12389 * csu/libc-start.c (__libc_multiple_libcs): Removed.
12390 * elf/dl-open.c: Include <libc-internal.h>.
12391 (__libc_multiple_libcs): Removed.
12392 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
12394 * include/libc-internal.h (__libc_multiple_libcs): New.
12395 * misc/sbrk.c: Include <libc-internal.h>.
12396 (__libc_multiple_libcs): Removed.
12398 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
12401 * grp/initgroups.c (__nss_group_database): Removed.
12402 (__nss_initgroups_database): Likewise.
12403 * nscd/gai.c (__nss_hosts_database): Likewise.
12404 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
12405 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
12406 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
12407 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
12408 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
12409 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
12411 * nss/nsswitch.c (__nss_database_custom): Define only if
12412 USE_NSCD is defined.
12413 (__nss_configure_lookup): Use __nss_database_custom only if
12414 USE_NSCD is defined.
12415 * nss/nsswitch.h (__nss_database_custom): Declare only if
12416 USE_NSCD is defined. Add attribute_hidden.
12417 (__nss_setent): Add attribute_hidden.
12418 (__nss_endent): Likewise.
12419 (__nss_getent_r): Likewise.
12420 (__nss_getent): Likewise.
12421 (DEFINE_DATABASE): Declare __nss_##arg##_database.
12423 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12426 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
12427 libc_hidden_proto and libc_hidden_def.
12429 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12432 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
12433 Add libc_hidden_proto.
12434 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
12435 Add libc_hidden_def.
12437 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12440 * gmon/Makefile (routines): Remove bb_init_func and
12442 (elide-routines.os): Removed.
12443 * gmon/bb_exit_func.c: Likewise.
12444 * gmon/bb_init_func.c: Likewise.
12445 * include/sys/gmon.h (__bb): Likewise.
12446 (__bb_init_func): Likewise.
12447 (__bb_exit_func): Likewise.
12448 * sysdeps/alpha/bb_init_func.S: Likewise.
12450 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
12452 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
12453 * include/setjmp.h (____longjmp_chk): Here. Add
12456 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
12459 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
12461 (__strspn_sse2): Likewise.
12463 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12465 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
12466 (close_not_cancel_no_status): Likewise.
12467 (__close_nocancel): New macro.
12468 (__close_nocancel_nostatus): Likewise.
12469 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
12471 (close_not_cancel): Likewise.
12472 (close_not_cancel_no_status): Likewise.
12473 (__close_nocancel): New prototype.
12474 (__close_nocancel_nostatus): New function.
12475 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
12476 * catgets/open_catalog.c (__open_catalog): Replace
12477 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
12478 * gmon/gmon.c (write_gmon): Likewise.
12479 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12480 * intl/loadmsgcat.c (close): Likewise.
12481 * io/ftw.c (open_dir_stream): Likewise.
12482 (ftw_startup): Likewise.
12483 * libio/fileops.c (_IO_file_open): Likewise.
12484 (_IO_file_close_mmap): Likewise.
12485 (_IO_file_close): Likewise.
12486 * libio/iopopen.c (_IO_dup2): Likewise.
12487 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12488 * locale/loadlocale.c (_nl_load_locale): Likewise.
12489 * login/utmp_file.c (pututline_file): Likewise.
12490 (endutent_file): Likewise.
12491 * misc/daemon.c (daemon): Likewise.
12492 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12493 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12494 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
12495 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12496 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12497 * nscd/nscd_helper.c (open_socket): Likewise.
12498 (__nscd_open_socket): Likewise.
12499 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12500 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
12501 (__nscd_innetgr): Likewise.
12502 * nss/nss_db/db-open.c (internal_setent): Likewise.
12503 * resolv/res-close.c (__res_iclose): Likewise.
12504 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
12505 * sysdeps/posix/closedir.c (__closedir): Likewise.
12506 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
12507 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12508 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
12509 (opendir_tail): Likewise.
12510 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
12511 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
12512 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12513 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12514 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
12515 (gethostid): Likewise.
12516 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
12517 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12519 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12520 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
12521 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
12522 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
12524 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
12525 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
12526 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
12528 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
12529 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12531 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12533 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
12534 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
12535 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
12538 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
12539 (openat_not_cancel_3): Likewise.
12540 (openat64_not_cancel_3): Likewise).
12541 (openat_not_cancel_3): Likewise).
12542 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
12544 (openat_not_cancel_3): Likewise.
12545 (openat64_not_cancel): Likewise.
12546 (openat64_not_cancel_3): Likewise.
12547 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
12548 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
12549 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
12550 __open{64}_nocancel.
12551 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
12552 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12553 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12555 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
12558 * include/argz.h (__argz_create_sep): New function prototype.
12559 (__argz_append): Likewise.
12560 (__argz_add): Likewise.
12561 (__argz_add_sep): Likewise.
12562 (__argz_delete): Likewise.
12563 (__argz_insert): Likewise.
12564 (__argz_replace): Likewise.
12565 * string/argz.h (__argz_create_sep): Removed.
12566 (__argz_append): Likewise.
12567 (__argz_add): Likewise.
12568 (__argz_add_sep): Likewise.
12569 (__argz_delete): Likewise.
12570 (__argz_insert): Likewise.
12571 (__argz_replace): Likewise.
12573 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
12575 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
12576 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
12577 (GNU_PROPERTY_STACK_SIZE): Likewie.
12578 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
12579 (GNU_PROPERTY_LOPROC): Likewise.
12580 (GNU_PROPERTY_HIPROC): Likewise.
12581 (GNU_PROPERTY_LOUSER): Likewise.
12582 (GNU_PROPERTY_HIUSER): Likewise.
12583 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
12584 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
12585 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
12586 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
12587 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
12588 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
12589 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
12590 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
12591 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
12592 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
12593 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
12594 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
12595 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
12596 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
12597 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
12598 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
12599 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
12600 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
12601 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
12602 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
12603 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
12604 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
12605 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
12607 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12609 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
12612 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12615 * math/math.h (isinf): Check if in C or C++ mode before using
12616 __builtin_types_compatible_p, since this is a C mode feature.
12618 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12620 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
12621 (__write_nocancel): New macro.
12622 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
12623 Rewrite as a function prototype.
12624 (write_not_cancel): Remove macro.
12625 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
12626 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
12627 (write_gmon): Likewise.
12628 * libio/fileops.c (_IO_new_file_write): Likewise.
12629 * login/utmp_file.c (pututline_file): Likewise.
12630 (updwtmp_file): Likewise.
12631 * stdio-common/psiginfo.c (psiginfo): Likewise.
12632 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
12633 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
12634 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
12636 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12639 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
12640 (__read_nocancel): New macro.
12641 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
12643 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
12645 (__read_nocancel): New prototype.
12646 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
12647 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
12648 with __read_nocancel.
12649 * intl/loadmsgcat.c (read): Likewise.
12650 * libio/fileops.c (_IO_file_read): Likewise.
12651 * locale/loadlocale.c (_nl_load_locale): Likewise.
12652 * login/utmp_file.c (getutent_r_file): Likewise.
12653 (internal_getut_r): Likewise.
12654 (getutline_r_file): Likewise.
12655 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
12656 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12657 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
12658 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12660 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
12661 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
12662 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
12664 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
12666 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
12668 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12670 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
12672 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
12675 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
12676 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
12679 2017-08-17 DJ Delorie <dj@redhat.com>
12681 * bug17079.c: Update to new test harness.
12682 * test-digits-dots.c: Likewise.
12683 * test-netdb.c: Likewise.
12684 * tst-field.c: Likewise.
12685 * tst-nss-getpwent.c: Likewise.
12686 * tst-nss-static.c: Likewise.
12687 * tst-nss-test1.c: Likewise.
12688 * tst-nss-test2.c: Likewise.
12689 * tst-nss-test3.c: Likewise.
12690 * tst-nss-test4.c: Likewise.
12691 * tst-nss-test5.c: Likewise.
12693 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12695 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
12696 (open_not_cancel_2): Likewise.
12697 (open_nocancel): New macro.
12698 (open64_nocancel): Likewise.
12699 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
12700 (open_not_cancel_2): Likewise.
12701 (__open_nocancel): New prototype.
12702 (__open64_nocancel): Likewise.
12703 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
12705 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
12706 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
12707 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
12708 with __open_nocancel.
12709 * csu/check_fds.c (check_one_fd): Likewise.
12710 * gmon/gmon.c (write_gmon): Likewise.
12711 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
12712 * intl/loadmsgcat.c (open): Likewise.
12713 * libio/fileops.c (_IO_file_open): Likewise.
12714 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12715 * locale/loadlocale.c (_nl_load_locale): Likewise.
12716 * login/utmp_file.c (setutent_file): Likewise.
12717 * misc/daemon.c (daemon): Likewise.
12718 * nss/nss_db/db-open.c (internal_setent): Likewise.
12719 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
12720 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
12721 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
12722 (__opendir): Likewise.
12723 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
12724 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
12725 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
12726 (gethostid): Likewise.
12727 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
12728 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12730 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12731 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
12732 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
12733 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
12735 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
12737 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
12739 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
12741 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12743 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12745 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
12746 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
12748 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
12750 * benchtests/bench-skeleton.c (main): Add support for
12751 latency benchmarking.
12752 * benchtests/scripts/bench.py: Add support for latency benchmarking.
12754 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
12756 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
12757 the startup object.
12759 2017-08-17 Florian Weimer <fweimer@redhat.com>
12761 * include/sys/socket.h (__opensock): Remove internal_function.
12762 * socket/opensock.c (__opensock): Likewise.
12763 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
12765 2017-08-16 Joseph Myers <joseph@codesourcery.com>
12768 * signal/bits/types/__sigval_t.h: New file.
12769 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
12770 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
12771 and define sigval_t using __sigval_t.
12772 * include/bits/types/__sigval_t.h: New file.
12773 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
12774 instead of <bits/types/__sigval_t.h>.
12775 (struct sigevent): Use __sigval_t instead of sigval_t.
12776 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
12777 instead of <bits/types/__sigval_t.h>.
12778 (siginfo_t): Use __sigval_t instead of sigval_t.
12779 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
12780 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
12781 (struct sigevent): Use __sigval_t instead of sigval_t.
12782 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
12783 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
12784 (siginfo_t): Use __sigval_t instead of sigval_t.
12785 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
12787 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
12789 * NEWS: Remove "[Add new features here]" for 2.27.
12791 2017-08-16 Joseph Myers <joseph@codesourcery.com>
12793 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
12796 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
12798 * NEWS: Mention x86-64 FMA optimization.
12800 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
12803 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12805 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
12806 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
12807 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
12809 2017-08-16 Andreas Schwab <schwab@suse.de>
12813 * elf/ldd.bash.in: Never run file directly.
12815 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
12818 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
12819 (L(SP_INF_0)): Likewise.
12821 2017-08-15 Florian Weimer <fweimer@redhat.com>
12823 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
12826 2017-08-15 Florian Weimer <fweimer@redhat.com>
12828 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
12829 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
12830 BROKEN_THREAD_SIGNALS code.
12831 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
12832 request_list): Remove caller_pid member used for
12833 BROKEN_THREAD_SIGNALS.
12834 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
12835 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
12836 Remove BROKEN_THREAD_SIGNALS support.
12837 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12838 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
12840 2017-08-15 Florian Weimer <fweimer@redhat.com>
12842 * gmon/Makefile (tests): Add tst-gmon.
12843 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
12845 (tests-special): Add tst-gmon-prof.out.
12846 (tst-gmon.out): Depend on clean-tst-gmon-data.
12847 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
12848 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
12849 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
12851 * aclocal.m4 (GPROF): Set and substitute.
12852 * config.amke.in (GPROF): Set.
12853 * configure: Regenerate.
12855 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
12857 * elf/elf.h A (NT_PPC_TAR): New macro.
12858 (NT_PPC_PPR): Likewise.
12859 (NT_PPC_DSCR): Likewise.
12860 (NT_PPC_EBB): Likewise.
12861 (NT_PPC_PMU): Likewise.
12862 (NT_PPC_TM_CGPR): Likewise.
12863 (NT_PPC_TM_CFPR): Likewise.
12864 (NT_PPC_TM_CVMX): Likewise.
12865 (NT_PPC_TM_CVSX): Likewise.
12866 (NT_PPC_TM_SPR): Likewise.
12867 (NT_PPC_TM_CTAR): Likewise.
12868 (NT_PPC_TM_CPPR): Likewise.
12869 (NT_PPC_TM_CDSCR): Likewise.
12871 2017-08-15 Florian Weimer <fweimer@redhat.com>
12873 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
12874 regparm (2) instead of internal_function.
12875 (_MCOUNT_DECL): Adjust.
12877 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
12879 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
12880 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
12882 2017-08-14 Joseph Myers <joseph@codesourcery.com>
12884 * conform/data/sys/wait.h-data (si_value): Do not expect for
12887 2017-08-14 Florian Weimer <fweimer@redhat.com>
12890 NSS: Create stubs for accidentally exported lookup functions.
12891 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
12892 Remove declaration.
12893 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
12894 (ether_hostton): Call __nss_ethers_lookup2 instead.
12895 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
12896 (ether_ntohost): Call __nss_ethers_lookup2 instead.
12897 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
12898 (setup): Call __nss_netgroup_lookup2 instead.
12899 * nss/Makefile (routines): Add compat-lookup.
12900 * nss/Versions (GLIBC_2.27): Add symbol version.
12901 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
12902 (DB_COMPAT_FCT): Remove.
12903 * nss/compat-lookup.c: New file.
12904 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
12905 from databases.def.
12906 * nss/service-lookup.c (NO_COMPAT): Remove definition.
12907 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
12908 (netname2user): Call __nss_publickey_lookup2 instead.
12909 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
12910 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
12913 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12914 Sergei Trofimovich <slyfox@inbox.ru>
12917 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
12918 Rename to MMAP2_PAGE_UNIT.
12919 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
12920 __OFF_T_MATCHES_OFF64_T is not defined.
12921 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
12923 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
12924 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
12926 2017-08-14 Florian Weimer <fweimer@redhat.com>
12928 i386: Do not set internal_function.
12929 * config.h.in (USE_REGPARMS, internal_function): Remove.
12930 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
12931 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
12933 2017-08-14 Florian Weimer <fweimer@redhat.com>
12935 * elf/dl-init.c (_dl_init): Remove internal_function.
12936 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
12937 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
12939 2017-08-14 Florian Weimer <fweimer@redhat.com>
12941 * elf/rtld.c (_dl_start): Remove internal_function.
12942 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
12945 2017-08-14 Florian Weimer <fweimer@redhat.com>
12947 * elf/dl-fini.c (_dl_fini): Remove internal_function
12948 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
12950 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
12952 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
12953 (bit_cpu_SHSTK): Likewise.
12954 (index_cpu_IBT): Likewise.
12955 (index_cpu_SHSTK): Likewise.
12956 (reg_IBT): Likewise.
12957 (reg_SHSTK): Likewise.
12958 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12959 Handle index_cpu_IBT and index_cpu_SHSTK.
12961 2017-08-14 Mike FABIAN <mfabian@redhat.com>
12964 * po/fr.po: Fix spelling mistake.
12966 2017-08-13 Florian Weimer <fweimer@redhat.com>
12968 * elf/dl-addr.c (_dl_addr): Remove internal_function.
12969 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
12970 (_dl_catch_error, _dl_receive_error): Likewise.
12971 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
12972 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
12973 (_dl_deallocate_tls): Likewise.
12974 * include/dlfcn.h (_dl_addr): Likewise.
12975 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
12976 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
12977 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
12980 2017-08-13 Florian Weimer <fweimer@redhat.com>
12982 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
12983 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
12985 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
12987 2017-08-13 Florian Weimer <fweimer@redhat.com>
12989 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
12991 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
12992 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
12993 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
12994 internal_function from _dl_make_stack_executable_hook member.
12995 (_dl_make_stack_executable): Remove internal_function.
12996 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
12998 * sysdeps/unix/sysv/linux/dl-execstack.c
12999 (_dl_make_stack_executable): Likewise.
13001 2017-08-13 Florian Weimer <fweimer@redhat.com>
13003 * sysdeps/unix/sysv/linux/netlinkaccess.h
13004 (__netlink_assert_response): Remove internal_function.
13005 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13006 (__netlink_assert_response): Likewise.
13008 2017-08-13 Florian Weimer <fweimer@redhat.com>
13010 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
13012 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
13014 2017-08-13 Florian Weimer <fweimer@redhat.com>
13016 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
13018 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
13019 * inet/netgroup.h (__internal_setnetgrent)
13020 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
13021 * inet/getnetgrent_r.c (__internal_setnetgrent)
13022 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
13023 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
13024 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
13025 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
13026 * nss/nsswitch.h (db_lookup_function): Likewise.
13028 2017-08-13 Florian Weimer <fweimer@redhat.com>
13030 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
13031 Remove internal_function.
13032 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
13033 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
13034 message argument on the stack.
13035 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
13038 2017-08-12 Mike FABIAN <mfabian@redhat.com>
13040 Adapt test case data to the changes in the thousands
13044 * localedata/tst-langinfo.sh: Adapt test case data.
13045 * stdlib/tst-strfmon_l.c: Likewise.
13046 * stdlib/tst-strtod4.c: Likewise.
13047 * stdlib/tst-strtod5i.c: Likewise.
13049 2017-08-11 Florian Weimer <fweimer@redhat.com>
13052 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
13053 Suppress pedantic warning resulting from statement expression.
13054 (__ASSERT_FUNCTION): Add missing __extension__.
13056 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13058 * benchtests/bench-memmove-large.c: Print output in JSON
13060 * benchtests/bench-memmove.c: Likewise.
13062 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
13063 * benchtests/bench-memchr.c (do_one_test): Likewise.
13064 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
13065 * benchtests/bench-memcpy.c (do_one_test): Likewise.
13066 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
13067 * benchtests/bench-memmove.c (do_one_test): Likewise.
13068 * benchtests/bench-memset-large.c (do_one_test): Likewise.
13069 * benchtests/bench-memset.c (do_one_test): Likewise.
13070 * benchtests/bench-string.h (test_init): Remove memsets.
13072 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
13075 (Computing the Width of an Integer Data Type): Rename section to
13076 "Width of an Integer Type". Remove inaccurate statement regarding
13077 lack of C language facilities for determining width of integer
13078 types, and reorder content to improve flow and context of
13081 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
13083 * lang.texi (va_copy): Change standard from ISO to C99.
13084 (__va_copy): Add standard and header annotation.
13085 Update description for clarity of origins and current use.
13087 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13090 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
13091 xssqrtqp requires operands to be in Vector Registers
13092 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
13093 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
13094 (__ieee754_sqrtf128): Likewise.
13096 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13098 * sysdeps/aarch64/memcmp.S (memcmp):
13099 Rewrite of optimized memcmp.
13101 2017-08-10 Florian Weimer <fweimer@redhat.com>
13103 Introduce ld.so exceptions.
13104 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
13105 (_dl_exception_create, _dl_exception_create_format)
13106 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
13107 (_dl_catch_exception): Declare.
13108 (_dl_catch_error): Update comment.
13109 * elf/dl-error-skeleton.c (struct catch): Replace objname,
13110 errstring, malloced members with exception member.
13111 (_dl_out_of_memory): Remove.
13112 (fatal_error): New function, extracted from _dl_signal_error.
13113 (_dl_signal_exception, _dl_signal_cexception): New functions.
13114 (_dl_signal_error): Call _dl_exception_create to allocate an
13116 (_dl_catch_exception): New function, based on _dl_catch_error.
13117 (_dl_catch_error): Implement using _dl_catch_exception.
13118 * elf/dl-exception.c: New file.
13119 * elf/Makefile (dl-routines): Add dl-exception.
13120 (elide-routines.os): Likewise.
13121 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
13122 _dl_exception_create_format, _dl_exception_free.
13123 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
13124 _dl_signal_exception.
13125 * elf/dl-lookup.c (make_string): Remove.
13126 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
13127 _dl_signal_cexception, _dl_exception_free.
13128 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
13129 _dl_signal_exception.
13130 * elf/dl-sym.c (do_sym): Likewise.
13131 * elf/dl-version.c (make_string): Remove.
13132 (match_symbol): Use _dl_exception_create_format,
13133 _dl_signal_cexception, _dl_exception_free.
13134 (_dl_check_map_versions): Likewise.
13135 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
13136 _dl_catch_exception.
13137 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13138 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13139 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13140 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13141 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13142 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13143 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13144 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13146 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13153 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13154 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13155 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13157 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13159 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13161 2017-08-10 Florian Weimer <fweimer@redhat.com>
13163 * inet/net-internal.h (__inet6_scopeid_pton): Remove
13164 attribute_hidden, internal_function.
13165 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
13168 2017-08-10 Florian Weimer <fweimer@redhat.com>
13170 * malloc/malloc.c (get_max_fast): Reimplement as an inline
13171 function which calls __builtin_unreachable.
13173 2017-08-10 Mike FABIAN <mfabian@redhat.com>
13175 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
13176 Indian monetary formatting
13177 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
13180 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
13182 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
13183 Fix typo in comment.
13186 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
13187 PTRACE_SEIZE_DEVEL): Remove.
13188 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
13189 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13190 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13191 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13192 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13194 2017-08-09 Joseph Myers <joseph@codesourcery.com>
13196 * posix/bits/types.h (__qaddr_t): Remove.
13199 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
13200 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13202 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
13203 (ucontext_t): Use __ctx with uc_flags.
13204 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
13205 (__ctxt): Likewise.
13206 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13208 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
13209 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13211 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
13212 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13214 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
13216 (ucontext_t): Use __ctx with uc_flags.
13217 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
13218 (ucontext_t): Use __ctx with uc_flags.
13219 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
13220 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
13221 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
13222 (ucontext_t): Use __ctx with uc_flags.
13223 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
13224 undefine further down.
13225 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
13227 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
13228 undefine further down.
13229 (ucontext_t): Use __ctx with uc_flags.
13230 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
13231 undefine further down.
13232 (ucontext_t): Use __ctx with uc_flags.
13233 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
13234 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
13235 Rename uc_pad to __glibc_reserved1.
13236 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
13237 undefine further down.
13238 (ucontext_t): Use __ctx with uc_flags.
13239 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
13241 (ucontext_t): Use __ctx with uc_flags.
13242 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
13243 __ctx with uc_flags.
13244 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
13245 (ucontext_t): Use __ctx with uc_flags.
13246 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
13247 __ctx with uc_flags.
13249 2017-08-09 Florian Weimer <fweimer@redhat.com>
13252 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
13253 before early return.
13255 2017-08-09 Andreas Schwab <schwab@suse.de>
13258 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
13262 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
13263 tst-compat-forwarder.
13264 (modules-names): Add tst-compat-forwarder-mod.
13265 ($(objpfx)tst-compat-forwarder): Depend on
13266 $(objpfx)tst-compat-forwarder-mod.so.
13267 * nptl/tst-compat-forwarder.c: New file.
13268 * nptl/tst-compat-forwarder-mod.c: New file.
13270 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
13272 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
13275 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
13276 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13278 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
13280 (__libc_ifunc_impl_list): Add __memcpy_falkor.
13281 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
13282 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
13283 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
13285 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
13288 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13291 * manual/setjmp.texi (getcontex): Document uc_stack value
13292 compatibility differences.
13294 2017-08-08 Joseph Myers <joseph@codesourcery.com>
13296 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
13297 (old_malloc_hook): Likewise.
13298 (old_memalign_hook): Likewise.
13299 (old_realloc_hook): Likewise.
13300 (struct hdr): Likewise.
13302 (freehook): Likewise.
13303 (mallochook): Likewise.
13304 (memalignhook): Likewise.
13305 (reallochook): Likewise.
13306 (mprobe): Likewise.
13307 * malloc/mtrace.c (mallwatch): Likewise.
13308 (tr_old_free_hook): Likewise.
13309 (tr_old_malloc_hook): Likewise.
13310 (tr_old_realloc_hook): Likewise.
13311 (tr_old_memalign_hook): Likewise.
13312 (tr_where): Likewise.
13313 (lock_and_info): Likewise.
13314 (tr_freehook): Likewise.
13315 (tr_mallochook): Likewise.
13316 (tr_reallochook): Likewise.
13317 (tr_memalignhook): Likewise.
13318 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
13319 * misc/mmap.c (__mmap): Likewise.
13320 * misc/mmap64.c (__mmap64): Likewise.
13321 * misc/mprotect.c (__mprotect): Likewise.
13322 * misc/msync.c (msync): Likewise.
13323 * misc/munmap.c (__munmap): Likewise.
13324 * posix/posix_madvise.c (posix_madvise): Likewise.
13325 * socket/send.c (__send): Likewise.
13326 * socket/sendto.c (__sendto): Likewise.
13327 * socket/setsockopt.c (__setsockopt): Likewise.
13328 * string/memcmp.c (__ptr_t): Remove macro.
13329 (MEMCMP): Use void * instead of ptr_t.
13330 * string/memrchr.c (__ptr_t): Remove macro.
13331 (__memrchr): Use void * instead of ptr_t.
13332 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
13333 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
13334 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
13335 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
13336 * sysdeps/mach/msync.c (msync): Likewise.
13337 * sysdeps/mach/munmap.c (__munmap): Likewise.
13338 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
13340 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13341 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
13342 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
13343 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
13344 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13345 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13346 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
13347 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
13349 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13350 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
13351 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
13352 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
13353 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
13354 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
13355 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
13356 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
13357 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
13359 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
13360 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
13361 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
13362 (MEMCMP): Use void * instead of ptr_t.
13363 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
13364 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
13366 2017-08-08 Florian Weimer <fweimer@redhat.com>
13368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
13371 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
13374 * csu/libc-tls.c: Include <startup.h> first.
13375 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
13376 * elf/dl-tunables.c: Include <startup.h> first.
13377 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
13378 * sysdeps/generic/startup.h: New file.
13379 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
13380 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
13381 (I386_USE_SYSENTER): New. Defined to 0.
13383 2017-08-08 Andreas Schwab <schwab@suse.de>
13386 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
13387 * nptl/pt-system.c (system): Likewise.
13389 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13392 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
13394 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
13395 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
13396 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
13397 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
13398 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
13399 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
13400 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
13402 2017-08-07 Joseph Myers <joseph@codesourcery.com>
13405 * bits/sigaction.h (struct sigaction): Define sa_handler and
13406 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
13407 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13408 [__USE_XOPEN_EXTENDED].
13409 (SA_RESTART): Likewise.
13410 (SA_NODEFER): Likewise.
13411 (SA_RESETHAND): Likewise.
13412 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
13413 (struct sigaction): Define sa_handler and sa_sigaction using union
13414 also for [__USE_XOPEN_EXTENDED].
13415 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13416 [__USE_XOPEN_EXTENDED].
13417 (SA_RESTART): Likewise.
13418 (SA_NODEFER): Likewise.
13419 (SA_RESETHAND): Likewise.
13420 * sysdeps/unix/sysv/linux/bits/sigaction.h
13421 (struct sigaction): Define sa_handler and sa_sigaction using union
13422 also for [__USE_XOPEN_EXTENDED].
13423 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13424 [__USE_XOPEN_EXTENDED].
13425 (SA_RESTART): Likewise.
13426 (SA_NODEFER): Likewise.
13427 (SA_RESETHAND): Likewise.
13428 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
13429 (struct sigaction): Define sa_handler and sa_sigaction using union
13430 also for [__USE_XOPEN_EXTENDED].
13431 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13432 [__USE_XOPEN_EXTENDED].
13433 (SA_RESTART): Likewise.
13434 (SA_NODEFER): Likewise.
13435 (SA_RESETHAND): Likewise.
13436 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
13437 (struct sigaction): Define sa_handler and sa_sigaction using union
13438 also for [__USE_XOPEN_EXTENDED].
13439 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13440 [__USE_XOPEN_EXTENDED].
13441 (SA_RESTART): Likewise.
13442 (SA_NODEFER): Likewise.
13443 (SA_RESETHAND): Likewise.
13444 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
13445 (struct sigaction): Define sa_handler and sa_sigaction using union
13446 also for [__USE_XOPEN_EXTENDED].
13447 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13448 [__USE_XOPEN_EXTENDED].
13449 (SA_RESTART): Likewise.
13450 (SA_NODEFER): Likewise.
13451 (SA_RESETHAND): Likewise.
13452 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13453 (struct sigaction): Define sa_handler and sa_sigaction using union
13454 also for [__USE_XOPEN_EXTENDED].
13455 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13456 [__USE_XOPEN_EXTENDED].
13457 (SA_RESTART): Likewise.
13458 (SA_NODEFER): Likewise.
13459 (SA_RESETHAND): Likewise.
13460 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13461 (struct sigaction): Define sa_handler and sa_sigaction using union
13462 also for [__USE_XOPEN_EXTENDED].
13463 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13464 [__USE_XOPEN_EXTENDED].
13465 (SA_RESTART): Likewise.
13466 (SA_NODEFER): Likewise. Define directly rather than as alias.
13467 (SA_RESETHAND): Likewise.
13468 (SA_INTERRUPT): Define only for [__USE_MISC].
13469 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
13470 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
13472 (SA_STACK): Define only for [__USE_MISC].
13473 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
13474 (struct sigaction): Define sa_handler and sa_sigaction using union
13475 also for [__USE_XOPEN_EXTENDED].
13476 (SA_ONSTACK): Change [__USE_UNIX98] condition to
13477 [__USE_XOPEN_EXTENDED].
13478 (SA_RESTART): Likewise.
13479 (SA_NODEFER): Likewise.
13480 (SA_RESETHAND): Likewise.
13481 (SA_NOPTRACE): Define only for [__USE_MISC].
13483 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
13484 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
13485 (struct catalog_info): Likewise.
13486 * inet/htontest.c (lo): Likewise.
13488 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13489 * inet/inet_net.c (inet_network): Likewise.
13490 * inet/inet_netof.c (inet_netof): Likewise.
13491 * inet/rcmd.c (__ivaliduser): Likewise.
13492 (iruserok): Likewise.
13493 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
13494 * locale/programs/locale-spec.c (locale_special): Likewise.
13495 * nis/nis_findserv.c (struct findserv_req): Likewise.
13496 (__nis_findfastest_with_timeout): Likewise.
13497 * nss/test-netdb.c (test_network): Likewise.
13498 * resolv/inet_neta.c (inet_neta): Likewise.
13499 * resolv/ns_date.c (ns_datetosecs): Likewise.
13500 (SECS_PER_DAY): Likewise.
13501 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
13503 * resolv/res_comp.c (__putlong): Likewise.
13504 (__putshort): Likewise.
13505 (_getlong): Likewise.
13506 (_getshort): Likewise.
13507 * resolv/res_debug.c (p_time): Likewise.
13508 (precsize_ntoa): Likewise.
13509 (precsize_aton): Likewise.
13510 (latlon2ul): Likewise.
13511 (loc_aton): Likewise.
13512 (loc_ntoa): Likewise.
13513 * resolv/res_hconf.c (struct netaddr): Likewise.
13514 (_res_hconf_reorder_addrs): Likewise.
13515 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13516 (clnttcp_control): Likewise.
13517 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13518 (clntudp_control): Likewise.
13519 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
13520 (clntunix_control): Likewise.
13521 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
13522 * sunrpc/rpc/auth.h (union des_block): Likewise.
13523 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
13524 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
13525 (xdrrec_create): Likewise.
13526 (xdrrec_endofrecord): Likewise.
13527 (flush_out): Likewise.
13528 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
13529 (xdrstdio_putlong): Likewise.
13530 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
13533 * misc/sys/cdefs.h (__long_double_t): Remove.
13534 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
13535 instead of __long_double_t,
13536 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
13538 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13540 * benchtests/scripts/compare_strings.py: Avoid display error when
13541 running on a text terminal.
13543 * benchtests/scripts/compare_strings.py (main): Add an
13544 optional -base option.
13545 (process_results): New argument base_func.
13547 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
13549 * benchtests/bench-memcpy-large.c (test_name): Likewise.
13550 * benchtests/bench-memcpy-random.c (test_name): Likewise.
13552 2017-08-07 Andreas Schwab <schwab@suse.de>
13554 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
13555 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13556 * intl/Makefile ($(objpfx)tst-gettext.out)
13557 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
13558 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
13559 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13560 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13561 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
13562 * posix/Makefile ($(objpfx)globtest.out)
13563 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
13564 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
13565 ($(objpfx)tst-printf.out): Likewise.
13566 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
13567 ($(objpfx)tst-setcontext3.out): Likewise.
13569 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
13571 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13572 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
13573 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
13574 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
13575 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
13577 (CFLAGS-doasin-fma.c): New.
13578 (CFLAGS-dosincos-fma.c): Likewise.
13579 (CFLAGS-e_asin-fma.c): Likewise.
13580 (CFLAGS-e_atan2-fma.c): Likewise.
13581 (CFLAGS-e_exp-fma.c): Likewise.
13582 (CFLAGS-e_log-fma.c): Likewise.
13583 (CFLAGS-e_pow-fma.c): Likewise.
13584 (CFLAGS-halfulp-fma.c): Likewise.
13585 (CFLAGS-mpa-fma.c): Likewise.
13586 (CFLAGS-mpatan-fma.c): Likewise.
13587 (CFLAGS-mpatan2-fma.c): Likewise.
13588 (CFLAGS-mpexp-fma.c): Likewise.
13589 (CFLAGS-mplog-fma.c): Likewise.
13590 (CFLAGS-mpsqrt-fma.c): Likewise.
13591 (CFLAGS-mptan-fma.c): Likewise.
13592 (CFLAGS-s_atan-fma.c): Likewise.
13593 (CFLAGS-sincos32-fma.c): Likewise.
13594 (CFLAGS-slowexp-fma.c): Likewise.
13595 (CFLAGS-slowpow-fma.c): Likewise.
13596 (CFLAGS-s_sin-fma.c): Likewise.
13597 (CFLAGS-s_tan-fma.c): Likewise.
13598 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
13599 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
13600 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
13601 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
13602 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
13603 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
13604 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
13605 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
13606 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
13607 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
13608 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
13609 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
13610 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
13611 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
13612 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
13613 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
13614 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
13615 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
13616 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
13617 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
13618 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
13619 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
13620 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
13621 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
13622 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13623 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13624 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13625 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13626 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13627 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13630 2017-08-04 Joseph Myers <joseph@codesourcery.com>
13632 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
13633 (min_of_type_f): New macro.
13634 (min_of_type_): Likewise.
13635 (min_of_type_l): Likewise.
13636 (min_of_type_f128): Likewise.
13637 (min_of_type): Define using __MATH_TG and taking an expression
13639 (math_check_force_underflow): Pass expression instead of type to
13641 (math_check_force_underflow_nonneg): Likewise.
13643 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13645 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
13646 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
13647 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
13649 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13651 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13652 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
13653 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
13654 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
13655 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
13656 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
13657 memcpy_chk-nonshared, mempcpy_chk-nonshared,
13658 memmove_chk-nonshared and memset_chk-nonshared
13659 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
13660 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
13661 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
13662 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
13663 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
13664 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
13665 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
13666 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
13667 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
13668 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
13669 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
13670 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
13671 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
13672 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
13673 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
13674 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
13675 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
13676 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
13677 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
13678 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
13679 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
13680 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
13681 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
13682 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
13683 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
13684 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
13685 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
13686 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
13687 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
13688 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
13689 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
13690 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
13691 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
13692 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
13693 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
13694 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
13695 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
13696 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
13697 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
13698 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
13699 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
13700 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
13701 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
13702 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
13703 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
13704 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
13705 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
13706 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
13707 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
13708 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
13709 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
13710 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
13711 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
13712 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
13713 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
13714 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
13715 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
13716 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
13717 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
13718 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
13719 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
13720 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
13721 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
13722 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
13723 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
13724 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
13725 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
13726 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
13727 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
13728 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
13729 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
13730 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13731 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13732 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13733 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13734 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13735 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13736 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13737 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13738 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13739 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13740 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13741 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13742 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13743 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13744 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13745 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13746 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13747 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13748 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13749 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13750 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13751 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13752 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13753 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13754 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13755 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13756 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13757 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13758 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13759 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13760 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13761 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13762 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13763 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13764 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13765 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13766 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13768 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
13770 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
13771 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
13772 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
13773 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
13774 svml_d_log2_core-sse2, svml_d_log4_core-sse,
13775 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
13776 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
13777 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
13778 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
13779 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
13780 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
13781 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
13782 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
13783 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
13784 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
13785 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
13786 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
13787 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
13788 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
13789 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
13790 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
13791 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
13792 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
13793 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
13794 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
13795 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
13796 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
13797 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
13798 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
13799 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
13800 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
13801 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
13802 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
13803 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
13804 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
13805 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
13806 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
13807 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
13808 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
13809 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
13810 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
13811 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
13812 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
13813 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
13814 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
13815 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
13816 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
13817 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
13818 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
13819 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
13820 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
13821 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
13822 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
13823 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
13824 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
13825 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
13826 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
13827 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
13828 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
13830 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
13831 Don't include <sysdep.h> nor <init-arch.h>.
13832 (_ZGVbN2v_cos): Removed.
13833 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
13835 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
13836 Don't include <sysdep.h> nor <init-arch.h>.
13837 (_ZGVdN4v_cos): Removed.
13838 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
13840 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
13841 Don't include <sysdep.h> nor <init-arch.h>.
13842 (_ZGVeN8v_cos): Removed.
13843 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
13845 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
13846 Don't include <sysdep.h> nor <init-arch.h>.
13847 (_ZGVbN2v_exp): Removed.
13848 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
13850 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
13851 Don't include <sysdep.h> nor <init-arch.h>.
13852 (_ZGVdN4v_exp): Removed.
13853 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
13855 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
13856 Don't include <sysdep.h> nor <init-arch.h>.
13857 (_ZGVeN8v_exp): Removed.
13858 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
13860 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
13861 Don't include <sysdep.h> nor <init-arch.h>.
13862 (_ZGVbN2v_log): Removed.
13863 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
13865 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
13866 Don't include <sysdep.h> nor <init-arch.h>.
13867 (_ZGVdN4v_log): Removed.
13868 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
13870 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
13871 Don't include <sysdep.h> nor <init-arch.h>.
13872 (_ZGVeN8v_log): Removed.
13873 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
13875 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
13876 Don't include <sysdep.h> nor <init-arch.h>.
13877 (_ZGVbN2vv_pow): Removed.
13878 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
13880 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
13881 Don't include <sysdep.h> nor <init-arch.h>.
13882 (_ZGVdN4vv_pow): Removed.
13883 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
13885 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
13886 Don't include <sysdep.h> nor <init-arch.h>.
13887 (_ZGVeN8vv_pow): Removed.
13888 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
13890 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
13891 Don't include <sysdep.h> nor <init-arch.h>.
13892 (_ZGVbN2v_sin): Removed.
13893 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
13895 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
13896 Don't include <sysdep.h> nor <init-arch.h>.
13897 (_ZGVbN4v_sin): Removed.
13898 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
13900 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
13901 Don't include <sysdep.h> nor <init-arch.h>.
13902 (_ZGVbN8v_sin): Removed.
13903 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
13905 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
13906 Don't include <sysdep.h> nor <init-arch.h>.
13907 (_ZGVbN2vvv_sincos): Removed.
13908 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
13910 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
13911 Don't include <sysdep.h> nor <init-arch.h>.
13912 (_ZGVdN4vvv_sincos): Removed.
13913 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
13915 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
13916 Don't include <sysdep.h> nor <init-arch.h>.
13917 (_ZGVeN8vvv_sincos): Removed.
13918 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
13920 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
13921 Don't include <sysdep.h> nor <init-arch.h>.
13922 (_ZGVeN16v_cosf): Removed.
13923 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
13925 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
13926 Don't include <sysdep.h> nor <init-arch.h>.
13927 (_ZGVbN4v_cosf): Removed.
13928 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
13930 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
13931 Don't include <sysdep.h> nor <init-arch.h>.
13932 (_ZGVdN8v_cosf): Removed.
13933 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
13935 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
13936 Don't include <sysdep.h> nor <init-arch.h>.
13937 (_ZGVeN16v_expf): Removed.
13938 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
13940 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
13941 Don't include <sysdep.h> nor <init-arch.h>.
13942 (_ZGVbN4v_expf): Removed.
13943 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
13945 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
13946 Don't include <sysdep.h> nor <init-arch.h>.
13947 (_ZGVdN8v_expf): Removed.
13948 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
13950 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
13951 Don't include <sysdep.h> nor <init-arch.h>.
13952 (_ZGVeN16v_logf): Removed.
13953 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
13955 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
13956 Don't include <sysdep.h> nor <init-arch.h>.
13957 (_ZGVbN4v_logf): Removed.
13958 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
13960 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
13961 Don't include <sysdep.h> nor <init-arch.h>.
13962 (_ZGVdN8v_logf): Removed.
13963 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
13965 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
13966 Don't include <sysdep.h> nor <init-arch.h>.
13967 (_ZGVeN16vv_powf): Removed.
13968 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
13970 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
13971 Don't include <sysdep.h> nor <init-arch.h>.
13972 (_ZGVbN4vv_powf): Removed.
13973 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
13975 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
13976 Don't include <sysdep.h> nor <init-arch.h>.
13977 (_ZGVdN8vv_powf): Removed.
13978 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
13980 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
13981 Don't include <sysdep.h> nor <init-arch.h>.
13982 (_ZGVeN16vvv_sincosf): Removed.
13983 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
13985 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
13986 Don't include <sysdep.h> nor <init-arch.h>.
13987 (_ZGVbN4vvv_sincosf): Removed.
13988 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
13990 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
13991 Don't include <sysdep.h> nor <init-arch.h>.
13992 (_ZGVdN8vvv_sincosf): Removed.
13993 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
13995 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
13996 Don't include <sysdep.h> nor <init-arch.h>.
13997 (_ZGVeN16v_sinf): Removed.
13998 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
14000 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
14001 Don't include <sysdep.h> nor <init-arch.h>.
14002 (_ZGVbN4v_sinf): Removed.
14003 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
14005 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
14006 Don't include <sysdep.h> nor <init-arch.h>.
14007 (_ZGVdN8v_sinf): Removed.
14009 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14011 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14012 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
14013 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
14014 s_rint-sse4_1 and s_rintf-sse4_1.
14015 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
14016 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
14017 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
14018 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
14019 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
14020 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
14021 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
14022 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
14023 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
14024 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
14025 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
14026 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14028 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
14029 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
14030 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14031 (__ceilf): Removed.
14032 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
14033 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
14034 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14035 (__floor): Removed.
14036 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
14037 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
14038 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14039 (__floorf): Removed.
14040 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
14041 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
14042 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14043 (__nearbyint): Removed.
14044 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
14045 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
14046 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14047 (__nearbyintf): Removed.
14048 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
14049 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
14050 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14052 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
14053 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
14054 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
14055 (__rintf): Removed.
14057 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14059 * sysdeps/i386/start.S (_start): Check Check PIC instead of
14060 SHARED. Avoid dynamic relocation against main in static PIE.
14062 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14065 * elf/Makefile (CFLAGS-tst-prelink.c): New.
14066 (LDFLAGS-tst-prelink): Likewise.
14068 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14070 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
14071 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
14072 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
14073 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14074 (INTERNAL_SYSCALL_NCS): Likewise.
14075 (LOADARGS_1): Likewise.
14076 (LOADARGS_5): Likewise.
14077 (RESTOREARGS_1): Likewise.
14078 (RESTOREARGS_5): Likewise.
14080 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14082 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
14083 (MEMPCPY_SYMBOL): Likewise.
14084 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14085 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
14086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
14088 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14089 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
14091 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
14092 (__hidden_ver1): Don't use in libc.a.
14093 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
14094 (__mempcpy): Don't create a weak alias in libc.a.
14095 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
14097 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
14098 (__hidden_ver1): Don't use in libc.a.
14100 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14102 * config.make.in (have-insert): New.
14103 * configure.ac (libc_cv_insert): New. Set to yes if linker
14104 supports INSERT in linker script.
14105 (AC_SUBST(libc_cv_insert): New.
14106 * configure: Regenerated.
14107 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
14108 if $(have-insert) == yes.
14110 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14112 * elf/Makefile (tests): Add vismain only if
14113 $(have-protected-data) == yes.
14114 (tests-pie): Likewise.
14116 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14119 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14120 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
14122 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
14125 * sysdeps/i386/i586/memset.S
14126 (__memset_zero_constant_len_parameter): Removed.
14127 * sysdeps/i386/i686/memset.S
14128 (__memset_zero_constant_len_parameter): Likewise.
14129 * sysdeps/i386/i686/multiarch/memset_chk.S
14130 (__memset_zero_constant_len_parameter): Likewise.
14131 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
14134 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
14136 * stdlib/getentropy.c (getentropy): Change return type to int.
14138 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
14140 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14142 2017-08-03 Joseph Myers <joseph@codesourcery.com>
14144 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
14146 * math/s_nexttowardf.c (__nexttowardf): Likewise.
14147 * sysdeps/generic/math_private.h (ieee_double_shape_type):
14149 (ieee_float_shape_type): Likewise.
14150 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
14151 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
14152 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14153 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14154 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14155 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
14156 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
14157 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14158 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14160 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14161 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14162 (__ieee754_yn): Likewise.
14163 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14164 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14165 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
14167 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14168 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
14169 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
14170 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
14171 (__erfc): Likewise.
14172 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14173 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
14174 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
14175 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
14176 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
14177 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
14179 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14180 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
14181 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14182 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
14183 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14184 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
14185 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
14186 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
14187 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
14188 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14189 (__issignaling): Likewise.
14190 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
14191 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
14192 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14194 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14195 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
14196 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14197 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
14199 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
14201 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
14202 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
14203 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
14204 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14205 (__erfcf): Likewise.
14206 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14207 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14208 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
14209 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
14211 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
14212 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
14214 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14215 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
14216 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14217 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
14218 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
14219 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14220 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
14221 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
14223 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
14225 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14227 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
14228 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14230 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14232 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14233 (__ieee754_ynl): Likewise.
14234 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14235 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
14237 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
14239 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14240 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
14241 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14243 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14244 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
14245 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
14246 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
14247 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
14248 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14249 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
14250 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
14252 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
14253 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
14254 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
14256 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
14257 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
14258 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14259 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14260 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
14261 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14263 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14265 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14267 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14269 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
14270 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14271 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14272 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
14273 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14274 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
14275 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
14277 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14279 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14280 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14282 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
14283 (__ieee754_remainderl): Likewise.
14284 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14285 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14286 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14287 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14289 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14290 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14292 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14293 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
14294 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14295 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14296 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14297 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14299 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14300 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14301 (__ieee754_y0l): Likewise.
14304 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14305 (__ieee754_y1l): Likewise.
14308 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14309 (__ieee754_ynl): Likewise.
14310 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
14311 (__ieee754_lgammal_r): Likewise.
14312 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
14314 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14315 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
14316 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14317 (__erfcl): Likewise.
14318 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
14319 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
14321 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
14322 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
14323 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14324 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
14325 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
14326 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14327 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14329 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
14330 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14331 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
14332 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
14333 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14335 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
14336 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
14338 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
14339 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
14340 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
14341 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14342 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
14344 2017-08-03 Florian Weimer <fweimer@redhat.com>
14347 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
14348 on memory allocation failure.
14350 2017-08-03 Alan Modra <amodra@gmail.com>
14352 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
14353 tst-tlsopt-powerpc.c with function name change and no test harness.
14354 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
14355 Call tls_get_addr_opt_test.
14356 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
14357 (modules-names): Add mod-tlsopt-powerpc.
14358 (mod-tlsopt-powerpc.so-no-z-defs): Define.
14359 (tst-tlsopt-powerpc): Depend on .so.
14360 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
14361 define. Expand use in TLS_GD and TLS_LD.
14363 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14365 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
14367 * sysdeps/posix/shm_open.c: Include <pthread.h>.
14369 2017-08-02 Joseph Myers <joseph@codesourcery.com>
14372 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
14373 comparing size with that of double.
14374 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
14375 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
14376 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
14377 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
14378 (__TGMATH_BINARY_REAL_IMAG): Likewise.
14379 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
14380 unsigned __int128 types.
14382 2017-08-02 Steve Ellcey <sellcey@cavium.com>
14384 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
14385 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
14386 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
14387 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
14388 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
14390 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
14392 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
14394 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
14396 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
14398 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
14399 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14400 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14401 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14402 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14403 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14404 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14406 2017-08-02 Joseph Myers <joseph@codesourcery.com>
14409 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
14410 bit-field expressions passed to sizeof or typeof.
14411 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14412 (__TGMATH_F128): Likewise.
14413 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14414 (__TGMATH_CF128): Likewise.
14415 (__TGMATH_UNARY_REAL_ONLY): Likewise.
14416 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
14417 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
14418 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
14419 (__TGMATH_BINARY_REAL_ONLY): Likewise.
14420 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
14421 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
14422 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
14423 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
14424 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
14425 (__TGMATH_UNARY_REAL_IMAG): Likewise.
14426 (__TGMATH_UNARY_IMAG): Likewise.
14427 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
14428 (__TGMATH_BINARY_REAL_IMAG): Likewise.
14429 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
14431 (define_vars_for_type): Handle bit_field type specially.
14432 (Tests.__init__): Declare structure with bit-field element.
14434 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
14437 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
14438 (MEMCPY_CHK): Define only if SHARED is defined.
14439 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
14441 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
14444 See ChangeLog.18 for earlier changes.