1 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4 * include/bits/error-ldbl.h: New file.
5 * include/error.h: Include stdarg.h. Declare internal functions
6 __error_internal and __error_at_line_internal.
7 * misc/Makefile (headers): Add bits/error-ldbl.h.
8 * misc/bits/error-ldbl.h: New file.
9 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
10 avoid the inclusion of bits/error.h.
11 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
12 and __nldbl_error_at_line.
13 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
14 (__nldbl_error, __ndlbl_error_at_line): New functions.
15 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
16 Redirect error and error_at_line.
17 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
18 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
26 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33 * include/bits/err-ldbl.h: New file.
34 * include/err.h: Add prototypes for the internal functions:
35 __vwarnx_internal and __vwarn_internal.
36 * misc/Makefile (headers): Add bits/err-ldbl.h.
37 * misc/bits/err-ldbl.h: New file.
38 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
39 defined, i.e.: when -mlong-double-64 is in use.
40 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
41 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
42 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
43 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
45 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
46 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
48 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
49 declare prototypes for the new functions.
50 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
51 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
53 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
55 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
57 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
59 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
60 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
61 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
63 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
65 * sysdeps/ieee754/ldbl-opt/Makefile
66 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
67 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
68 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
70 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
73 * argp/Makefile (headers): Add bits/argp-ldbl.h.
74 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
75 * argp/bits/argp-ldbl.h: New file.
76 * include/argp.h: Include stdarg.h. Add prototypes for internal
77 functions: __argp_error_internal and __argp_failure_internal.
78 * include/bits/argp-ldbl.h: New file.
79 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
80 __nldbl_argp_error and __nldbl_argp_failure.
81 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
82 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
83 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
84 Redirect argp_error and argp_failure calls.
85 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
86 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
88 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
90 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
92 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
94 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
95 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
96 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
98 2019-03-01 Florian Weimer <fweimer@redhat.com>
101 * elf/tst-big-note-lib.S: Create a syntactically valid note.
102 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
103 code, to avoid creating an ABI tag note.
104 (modules-names-nobuild): Add tst-big-note-lib.
106 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
108 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
109 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
111 2019-03-01 Florian Weimer <fweimer@redhat.com>
114 * sysdeps/unix/sysv/linux/netlink_assert_response.c
115 (__netlink_assert_response): Add additional missing newlines.
117 2019-02-28 Joseph Myers <joseph@codesourcery.com>
119 * sysdeps/powerpc/powerpc32/dl-machine.c
120 (__elf_machine_fixup_plt): Use space before '('.
121 (__process_machine_rela): Likewise.
122 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
124 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
126 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
128 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
131 (check_result): Likewise.
132 (check_excepts): Likewise.
133 (check_op): Likewise.
135 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
136 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
138 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
141 (__makecontext): Likewise.
142 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
145 2019-02-28 Florian Weimer <fweimer@redhat.com>
148 elf: Add test with a local IFUNC resolver.
149 * elf/ifuncmain9.c: New file.
150 * elf/ifuncmain9pic.c: Likewise.
151 * elf/ifuncmain9picstatic.c: Likewise.
152 * elf/ifuncmain9pie.c: Likewise.
153 * elf/ifuncmain9static.c: Likewise.
154 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
155 ifuncmain9static, ifuncmain9picstatic.
156 * elf/Makefile [multi-arch && build-shared] (tests-internal):
157 Add ifuncmain9, ifuncmain9pic.
158 * elf/Makefile [multi-arch && build-shared && have-fpie]
159 (ifunc-pie-tests): Add ifuncmain9pie.
160 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
161 (CFLAGS-ifuncmain9picstatic.c): Likewise.
162 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
164 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
166 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
167 * configure: Regenerated.
168 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
170 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
173 symbol as __wcspcy instead of wcscpy.
175 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
177 * include/stdio.h (__renameat2): New hidden prototype.
178 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
179 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
180 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
181 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
183 2019-02-27 Joseph Myers <joseph@codesourcery.com>
185 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
188 * benchtests/bench-strcpy.c (do_test): Use space before '('.
189 * benchtests/bench-string.h (cmdline_process_function): Likewise.
190 * benchtests/bench-strlen.c (do_test): Likewise.
191 (test_main): Likewise.
192 * catgets/gencat.c (read_old): Likewise.
193 * elf/cache.c (load_aux_cache): Likewise.
194 * iconvdata/bug-iconv8.c (do_test): Likewise.
195 * math/test-tgmath-ret.c (do_test): Likewise.
196 * nis/nis_call.c (rec_dirsearch): Likewise.
197 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
198 * nptl/tst-audit-threads.c (do_test): Likewise.
199 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
200 * nss/nss_test1.c (init): Likewise.
201 * nss/test-netdb.c (test_hosts): Likewise.
202 * posix/execvpe.c (maybe_script_execute): Likewise.
203 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
204 * stdio-common/tst-printf.c (do_test): Likewise.
205 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
206 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
207 * stdlib/qsort.c (STACK_SIZE): Likewise.
208 * stdlib/test-canon.c (do_test): Likewise.
209 * stdlib/tst-swapcontext1.c (do_test): Likewise.
210 * string/memcmp.c (OPSIZ): Likewise.
211 * string/test-strcpy.c (do_test): Likewise.
212 (do_random_tests): Likewise.
213 * string/test-strlen.c (do_test): Likewise.
214 (test_main): Likewise.
215 * string/test-strrchr.c (do_test): Likewise.
216 (do_random_tests): Likewise.
217 * string/tester.c (test_memrchr): Likewise.
218 (test_memchr): Likewise.
219 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
220 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
221 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
222 (read_encoded_value_with_base): Likewise.
223 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
224 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
225 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
226 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
227 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
228 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
230 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
232 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
233 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
234 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
236 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
238 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
240 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
242 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
243 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
244 (FP_XSTATE_MAGIC2_SIZE): Likewise.
245 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
246 * time/test_time.c (main): Likewise.
248 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
250 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
252 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
255 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
258 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
260 * include/wchar.h (__wcscpy): New prototype.
261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
262 (__wcscpy): Route internal symbol to generic implementation.
263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
264 Add internal __wcscpy alias.
265 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
266 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
267 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
268 * wcsmbs/wcscpy.c (wcscpy): Add
269 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
270 use generic implementation.
271 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
273 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
276 * sysdeps/m68k/wcpcpy.c: Remove file.
277 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
279 2019-02-26 Joseph Myers <joseph@codesourcery.com>
281 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
282 than after operators.
283 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
284 * sysdeps/mach/hurd/getcwd.c
285 (__hurd_canonicalize_directory_name_internal): Likewise.
286 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
287 (pthread_mutex_consistent): Likewise.
288 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
290 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
291 (__pthread_mutex_transfer_np): Likewise.
292 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
293 (__pthread_mutex_unlock): Likewise.
294 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
295 (mtx_owned_p): Likewise.
296 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
297 (pthread_mutexattr_getrobust): Likewise.
298 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
299 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
301 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
302 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
303 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
304 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
305 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
306 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
307 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
309 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
311 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
312 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
313 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
314 (____longjmp_chk): Likewise.
315 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
317 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
318 (INTERNAL_SYSCALL): Likewise.
319 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
320 (INTERNAL_SYSCALL): Likewise.
321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
322 (__get_clockfreq_via_cpuinfo): Likewise.
324 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
326 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
327 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
328 (WORD_COPY_BWD): Likewise.
329 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
330 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
332 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
333 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
335 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
337 2019-02-25 Joseph Myers <joseph@codesourcery.com>
339 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
340 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
341 rather than after operators.
342 * elf/cache.c (print_cache): Likewise.
343 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
344 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
345 * hurd/hurdinit.c (_hurd_setproc): Likewise.
346 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
347 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
348 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
349 (reauth_proc): Likewise.
350 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
351 (__file_name_split_at): Likewise.
352 (__directory_name_split_at): Likewise.
353 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
354 * hurd/port2fd.c (_hurd_port2fd): Likewise.
355 * iconv/gconv_dl.c (do_print): Likewise.
356 * inet/netinet/in.h (struct sockaddr_in): Likewise.
357 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
358 * locale/setlocale.c (new_composite_name): Likewise.
359 * malloc/memusagestat.c (main): Likewise.
360 * misc/fstab.c (fstab_convert): Likewise.
361 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
363 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
364 (getgrent_next_file): Likewise.
365 (internal_getgrnam_r): Likewise.
366 (internal_getgrgid_r): Likewise.
367 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
369 (internal_getgrent_r): Likewise.
370 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
371 (getpwent_next_nss): Likewise.
372 (getpwent_next_file): Likewise.
373 (internal_getpwnam_r): Likewise.
374 (internal_getpwuid_r): Likewise.
375 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
377 (getspent_next_nss): Likewise.
378 (internal_getspnam_r): Likewise.
379 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
380 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
381 * string/strchr.c (STRCHR): Likewise.
382 * string/strchrnul.c (STRCHRNUL): Likewise.
383 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
384 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
385 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
386 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
387 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
389 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
390 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
391 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
392 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
393 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
394 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
395 (open_file): Likewise.
396 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
397 (pthread_mutexattr_setprotocol): Likewise.
398 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
399 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
400 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
401 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
402 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
404 (elf_machine_rela): Likewise.
405 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
406 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
407 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
408 * sysdeps/posix/rename.c (rename): Likewise.
409 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
410 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
411 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
412 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
413 * sysdeps/unix/grantpt.c (grantpt): Likewise.
414 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
415 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
417 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
419 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
420 * time/tzfile.c (__tzfile_compute): Likewise.
422 2019-02-22 Joseph Myers <joseph@codesourcery.com>
424 * benchtests/bench-memmem.c (simple_memmem): Break lines before
425 rather than after operators.
426 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
427 * crypt/md5.c (md5_finish_ctx): Likewise.
428 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
429 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
430 * elf/cache.c (load_aux_cache): Likewise.
431 * elf/dl-load.c (open_verify): Likewise.
432 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
433 * elf/readelflib.c (process_elf_file): Likewise.
434 * elf/rtld.c (dl_main): Likewise.
435 * elf/sprof.c (generate_call_graph): Likewise.
436 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
437 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
438 * hurd/dtable.c (reauth_dtable): Likewise.
439 * hurd/getdport.c (__getdport): Likewise.
440 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
441 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
442 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
444 * hurd/hurdioctl.c (fioctl): Likewise.
445 * hurd/hurdselect.c (_hurd_select): Likewise.
446 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
447 (STOPSIGS): Likewise.
448 * hurd/hurdstartup.c (_hurd_startup): Likewise.
449 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
450 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
451 * hurd/msgportdemux.c (msgport_server): Likewise.
452 * hurd/setauth.c (_hurd_setauth): Likewise.
453 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
454 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
455 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
456 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
457 * login/tst-utmp.c (do_check): Likewise.
458 (simulate_login): Likewise.
459 * mach/lowlevellock.h (lll_lock): Likewise.
460 (lll_trylock): Likewise.
461 * math/test-fenv.c (ALL_EXC): Likewise.
462 * math/test-fenvinline.c (ALL_EXC): Likewise.
463 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
464 * nis/nis_call.c (__do_niscall3): Likewise.
465 * nis/nis_callback.c (cb_prog_1): Likewise.
466 * nis/nis_defaults.c (searchaccess): Likewise.
467 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
468 * nis/nis_ismember.c (internal_ismember): Likewise.
469 * nis/nis_local_names.c (nis_local_principal): Likewise.
470 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
471 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
473 * nis/ypclnt.c (yp_match): Likewise.
474 (yp_first): Likewise.
476 (yp_master): Likewise.
477 (yp_order): Likewise.
478 * nscd/hstcache.c (cache_addhst): Likewise.
479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
480 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
481 (internal_getpwuid_r): Likewise.
482 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
483 * posix/glob.h (__GLOB_FLAGS): Likewise.
484 * posix/regcomp.c (peek_token): Likewise.
485 (peek_token_bracket): Likewise.
486 (parse_expression): Likewise.
487 * posix/regexec.c (sift_states_iter_mb): Likewise.
488 (check_node_accept_bytes): Likewise.
489 * posix/tst-spawn3.c (do_test): Likewise.
490 * posix/wordexp-test.c (testit): Likewise.
491 * posix/wordexp.c (parse_tilde): Likewise.
492 (exec_comm): Likewise.
493 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
494 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
495 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
496 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
497 * stdio-common/tst-fileno.c (do_test): Likewise.
498 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
499 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
500 * stdlib/strtod_l.c (round_and_return): Likewise.
501 (____STRTOF_INTERNAL): Likewise.
502 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
503 * string/strcspn.c (STRCSPN): Likewise.
504 * string/test-memmem.c (simple_memmem): Likewise.
505 * termios/tcsetattr.c (tcsetattr): Likewise.
506 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
507 * time/asctime.c (asctime_internal): Likewise.
508 * time/strptime_l.c (__strptime_internal): Likewise.
509 * time/sys/time.h (timercmp): Likewise.
510 * time/tzfile.c (__tzfile_compute): Likewise.
512 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
515 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
517 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
519 * argp/argp-help.c (__argp_error_internal): New function,
520 renamed from __argp_error, but that takes a 'mode_flags'
521 parameter to control the format of long double parameters.
522 (__argp_error): Converted into a call __argp_error_internal.
523 (__argp_failure_internal): New function, renamed from
524 __argp_failure, but that takes a 'mode_flags' parameter.
525 (__argp_failure): Converted into a call __argp_failure_internal.
526 * misc/err.c (__vwarnx_internal): New function, renamed from
527 vwarnx, but that takes a 'mode_flags' parameter.
528 (vwarnx): Converted into a call to __vwarnx_internal.
529 (__vwarn_internal): New function, renamed from vwarn, but that
530 takes a 'mode_flags' parameter.
531 (vwarn): Converted into a call to __vwarn_internal.
532 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
533 call to __vfxprintf with 'mode_flags'.
534 (__error_internal): New function, renamed from error, but that
535 takes a 'mode_flags' parameter.
536 (error): Converted into a call to __error_internal.
537 (__error_at_line_internal): New function, renamed from
538 error_at_line, but that takes a 'mode_flags' parameter.
539 (error_at_line): Converted into a call to
540 __error_at_line_internal.
541 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
542 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
545 2019-02-20 Martin Liska <mliska@suse.cz>
547 * math/Makefile: Install math-vector-fortran.h.
548 * bits/math-vector-fortran.h: New file.
549 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
551 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
553 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
554 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
556 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
558 * nptl/pthread_mutex_trylock.c: Fix comment.
560 2019-02-19 Carlos O'Donell <carlos@redhat.com>
562 * nptl/pthread_tryjoin.c: Fix comment.
564 2019-02-18 Joseph Myers <joseph@codesourcery.com>
567 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
568 after R_SPARC_H34 case.
570 2019-02-18 Florian Weimer <fweimer@redhat.com>
572 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
573 (getanswer): Do not call Dprintf.
574 (res_gethostbyname2_context): Likewise.
575 (res_gethostbyaddr_context): Likewise.
577 2019-02-18 Florian Weimer <fweimer@redhat.com>
579 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
581 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
583 * libio/stdfiles.c: Update comment.
584 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
585 set _IO_stdin, _IO_stdout, _IO_stderr.
586 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
587 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
589 (_IO_deallocate_file): New inline function.
590 * libio/iolibio.h (_IO_vprintf): Remove definition.
591 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
592 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
593 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
595 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
596 __builtin_expect. Use _IO_legacy_file.
598 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
600 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
601 Initialize ctid with a known value and remove update of ctid
603 (wait_tid): Adjust arguments and call futex_wait with ctid_val
604 as assumed current value of ctid_ptr.
606 2019-02-15 Florian Weimer <fweimer@redhat.com>
608 Check that non-sysdeps headers have wrapper headers.
609 * scripts/check-wrapper-headers.py: New file.
610 * Makefile (tests-special): Add check-wrapper-headers.out.
611 (check-wrapper-headers.out): New target.
612 * Rules (tests-special): Add check-wrapper-headers.out.
613 (check-wrapper-headers.out): New target.
615 2019-02-15 Florian Weimer <fweimer@redhat.com>
617 Add missing header wrappers under include/.
618 * include/ar.h: New file.
619 * include/bits/mqueue2.h: Likewise.
620 * include/bits/stdio.h: Likewise.
621 * include/bits/stdio2.h: Likewise.
622 * include/fstab.h: Likewise.
623 * include/fts.h: Likewise.
624 * include/lastlog.h: Likewise.
625 * include/netinet/icmp6.h: Likewise.
626 * include/netinet/igmp.h: Likewise.
627 * include/netinet/ip6.h: Likewise.
628 * include/re_comp.h: Likewise.
629 * include/regexp.h: Likewise.
630 * include/rpcsvc/bootparam.h: Likewise.
631 * include/rpcsvc/yp_prot.h: Likewise.
632 * include/sys/random.h: Likewise.
633 * include/sys/stropts.h: Likewise.
634 * include/sys/ttychars.h: Likewise.
635 * include/sys/vfs.h: Likewise.
636 * include/wait.h: Likewise.
638 2019-02-15 Florian Weimer <fweimer@redhat.com>
640 * nptl_db/proc_service.h: Move to ...
641 * sysdeps/nptl/proc_service.h: ... here.
642 * nptl_db/thread_db.h: Move to ...
643 * sysdeps/nptl/thread_db.h: ... here.
644 * nptl/descr.h: Include <thread_db.h>.
646 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
648 * io/Makefile (tests): Add tst-lockf.
649 * io/lockf.c (lockf): Use __fcntl and only define for
650 !__OFF_T_MATCHES_OFF64_T.
651 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
652 __OFF_T_MATCHES_OFF64_T case.
653 * io/tst-lockf.c: New file.
654 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
655 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
656 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
657 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
658 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
660 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
661 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
662 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
664 2019-02-15 Florian Weimer <fweimer@redhat.com>
667 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
668 pd->result after the thread descriptor has been freed.
670 2019-02-15 Joseph Myers <joseph@codesourcery.com>
672 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
673 from function return type.
675 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
677 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
679 * scripts/test_printers_common.py: Set TERM to a known harmless
682 2019-02-14 Joseph Myers <joseph@codesourcery.com>
684 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
685 (xdr_u_int): Likewise.
686 (xdr_enum): Likewise.
687 (xdr_bytes): Reword fall-through comment.
688 (xdr_string): Likewise.
690 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
693 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
694 (tests): Add tst-join8 tst-join9.
695 * nptl/lll_timedwait_tid.c: Remove file.
696 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
697 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
698 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
699 * nptl/pthread_join_common.c (timedwait_tid): New function.
700 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
702 * nptl/tst-join5.c (thread_join): New function.
703 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
705 * nptl/tst-join8.c: New file.
706 * nptl/tst-join9.c: Likewise.
707 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
708 lll_futex_timed_wait_cancel): Add generic macros.
709 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
711 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
712 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
713 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
714 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
716 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
718 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
719 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
720 (lll_futex_timed_wait_cancel): New macro.
722 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
724 * benchtests/Makefile: Add malloc-simple benchmark.
725 * benchtests/bench-malloc-simple.c: New benchmark.
727 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
729 * benchtests/bench-memmove.c (do_one_test): Remove unused
732 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
736 2019-01-13 Jim Wilson <jimw@sifive.com>
739 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
740 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
742 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
744 * nptl/Makefile (tests): Add tst-unwind-thread.
745 (CFLAGS-tst-unwind-thread.c): Define.
746 * nptl/tst-unwind-thread.c: New file.
747 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
750 2019-02-13 Joseph Myers <joseph@codesourcery.com>
752 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
754 * nis/nis_call.c (__do_niscall3): Likewise.
756 * catgets/gencat.c (normalize_line): Use braces around empty
758 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
759 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
760 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
761 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
762 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
763 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
764 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
767 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
770 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
772 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
773 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
774 * benchtests/bench-strchr.c (stupid_strchr): Remove.
775 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
776 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
777 * benchtests/bench-strlen.c (builtin_strlen): Remove.
778 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
779 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
780 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
781 * benchtests/bench-strspn.c (stupid_strspn): Remove.
782 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
783 * benchtests/bench-bcopy.c: Delete file.
784 * benchtests/bench-bzero.c: Likewise.
785 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
786 (simple_memccpy): Remove.
787 (generic_memccpy): Add function.
788 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
789 * benchtests/bench-memmove.c (simple_bcopy): Remove.
790 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
791 (generic_mempcpy): Add new function.
792 * benchtests/bench-memset.c (simple_bzero): Remove.
793 (builtin_bzero): Remove.
794 (builtin_memset): Remove.
795 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
796 (generic_rawmemchr): Add new function.
798 2019-02-12 Florian Weimer <fweimer@redhat.com>
800 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
802 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
805 * elf/Makefile (tests): Add tst-audit13.
806 (modules-names): Add tst-audit13mod1.
807 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
809 * elf/tst-audit13.c: New file.
810 * elf/tst-audit13mod1.c: Likewise.
812 2019-02-12 Florian Weimer <fweimer@redhat.com>
815 * elf/rtld.c (unload_audit_module): New function.
816 (report_audit_module_load_error): Likewise.
817 (load_audit_module): Likewise. Extracted from dl_main. Call
818 _dl_close if the laversion symbol cannot be found. Use early
819 returns for error handling. Add malloc error check. Check for a
820 zero return value from la_version. Remove spurious comment about
821 static TLS initialization. Remove useless casts.
822 (notify_audit_modules_of_loaded_object): New function. Extracted
824 (load_audit_module): Likewise.
825 (dl_main): Call load_audit_modules.
827 2019-02-12 Joseph Myers <joseph@codesourcery.com>
829 * elf/dl-exception.c (_dl_exception_create_format): Add
830 fall-through comments.
831 * elf/ldconfig.c (parse_conf_include): Likewise.
832 * elf/rtld.c (print_statistics): Likewise.
833 * locale/programs/charmap.c (parse_charmap): Likewise.
834 * misc/mntent_r.c (__getmntent_r): Likewise.
835 * posix/wordexp.c (parse_arith): Likewise.
836 (parse_backtick): Likewise.
837 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
838 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
839 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
841 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
843 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
844 Use float instead of double.
846 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
848 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
850 2019-02-08 Joseph Myers <joseph@codesourcery.com>
852 * sysdeps/powerpc/bits/mathinline.h: Remove.
854 2019-02-08 Florian Weimer <fweimer@redhat.com>
856 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
857 * math/bits/math-finite.h: Move to ...
858 * bits/math-finite.h: ... here.
860 2019-02-08 Florian Weimer <fweimer@redhat.com>
862 * sysdeps/generic/bits/unistd_ext.h: Move to ...
863 * bits/unistd_ext.h: here.
865 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
868 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
869 * nss/tst-nss-files-hosts-long.c: New file.
870 * nss/tst-nss-files-hosts-long.root: New directory.
871 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
872 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
874 2019-02-08 Florian Weimer <fweimer@redhat.com>
876 * include/bits/unistd_ext.h: Remove file.
877 * posix/bits/unistd_ext.h: Move to ...
878 * sysdeps/generic/bits/unistd_ext.h: ... here.
880 2019-02-08 Florian Weimer <fweimer@redhat.com>
882 * include/bits/unistd_ext.h: New file.
884 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
886 * time/tst-strftime2.c: Use array_length macros instead of magic
889 2019-02-08 Florian Weimer <fweimer@redhat.com>
892 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
894 * nptl/register-atfork.c (__run_fork_handlers): Only perform
895 locking if the new do_locking argument is true.
896 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
899 2019-02-08 Florian Weimer <fweimer@redhat.com>
902 Linux: Add gettid system call wrapper.
903 * posix/Makefile (headers): Add bits/unistd_ext.h.
904 * posix/bits/unistd_ext.h: New file.
905 * posix/unistd.h: Include it.
906 * manual/process.texi (Process Identification): Document gettid.
907 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
908 tst-gettid, tst-gettid-kill.
909 (tst-gettid): Link with $(shared-thread-library).
910 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
911 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
912 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
913 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
914 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
915 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
917 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
919 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
920 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
922 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
924 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
926 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
928 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
930 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
932 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
934 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
935 (GLIBC_2.30): Likewise.
936 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
937 (GLIBC_2.30): Likewise.
938 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
939 (GLIBC_2.30): Likewise.
940 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
941 (GLIBC_2.30): Likewise.
942 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
945 (GLIBC_2.30): Likewise.
946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
947 (GLIBC_2.30): Likewise.
948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
949 (GLIBC_2.30): Likewise.
950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
951 (GLIBC_2.30): Likewise.
952 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
954 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
956 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
958 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
959 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
961 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
963 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
965 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
967 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
969 2019-02-07 Florian Weimer <fweimer@redhat.com>
971 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
972 compatibility symbols.
974 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
977 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
978 Add compiler barriers and comments.
980 2019-02-07 Florian Weimer <fweimer@redhat.com>
982 * include/array_length.h (array_length): Do not use a statement
983 expression and _Static_assert, so that array_length can be used at
984 file scope and as a constant expression.
986 2019-02-07 Florian Weimer <fweimer@redhat.com>
988 * support/xdlfcn.h (xdlmopen): Declare.
989 * support/xdlmopen.c: New file.
990 * support/Makefile (libsupport-routines): Add xdlmopen.
992 2019-02-06 Joseph Myers <joseph@codesourcery.com>
994 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
995 before return type, without separate inline.
996 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
997 * elf/dl-tunables.h (tunable_is_name): Likewise.
998 * malloc/malloc.c (do_set_trim_threshold): Likewise.
999 (do_set_top_pad): Likewise.
1000 (do_set_mmap_threshold): Likewise.
1001 (do_set_mmaps_max): Likewise.
1002 (do_set_mallopt_check): Likewise.
1003 (do_set_perturb_byte): Likewise.
1004 (do_set_arena_test): Likewise.
1005 (do_set_arena_max): Likewise.
1006 (do_set_tcache_max): Likewise.
1007 (do_set_tcache_count): Likewise.
1008 (do_set_tcache_unsorted_limit): Likewise.
1009 * nis/nis_subr.c (count_dots): Likewise.
1010 * nptl/allocatestack.c (advise_stack_range): Likewise.
1011 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1013 (reduce_sincos): Likewise.
1014 (do_sincos): Likewise.
1015 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1016 (do_set_elision_enable): Likewise.
1017 (TUNABLE_CALLBACK_FNDECL): Likewise.
1019 2019-02-06 Florian Weimer <fweimer@redhat.com>
1021 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1022 (xdlsym): Use dlerror to detect a NULL symbol.
1024 2019-02-06 Florian Weimer <fweimer@redhat.com>
1026 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1028 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1030 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1032 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1034 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1036 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1037 __wmemcmp and weak alias to wmemcmp.
1039 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1042 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1043 TLS_TCB_AT_TP tls variant.
1044 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1045 Add alignment checks.
1046 * support/Makefile (libsupport-routines): Add xposix_memalign and
1048 * support/support.h: Add xposix_memalign.
1049 * support/xthread.h: Add xpthread_attr_setstack.
1050 * support/xposix_memalign.c: New File.
1051 * support/xpthread_attr_setstack.c: Likewise.
1053 2019-02-05 Florian Weimer <fweimer@redhat.com>
1056 arm: Use "nr" constraint for Systemtap probes, to avoid the
1057 compiler using memory operands for constants, due to the "o"
1058 alternative in the default "nor" constraint.
1059 * include/stap-probe.h [USE_STAP_PROBE]: Include
1060 <stap-probe-machine.h>
1061 * sysdeps/generic/stap-probe-machine.h: New file.
1062 * sysdeps/arm/stap-probe-machine.h: Likewise.
1064 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1066 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1067 with 0, not tcache->entries[tc_idx].
1069 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1072 2019-02-04 Andreas Schwab <schwab@suse.de>
1076 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1077 looking up collating elements match against (wide) character
1078 sequence instead of name. Correct alignment adjustment.
1079 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1080 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1081 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1082 (LOCALES): Add cs_CZ.ISO-8859-2.
1083 * posix/tst-fnmatch4.c: New file.
1084 * posix/tst-fnmatch5.c: New file.
1085 * include/wchar.h (__wmemcmp): Declare.
1086 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1087 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1088 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1089 * sysdeps/s390/wmemcmp.c: Likewise.
1091 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1095 * NEWS: Updated for CVE-2019-7309.
1096 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1097 upper 32 bits of RDX register for x32. Use unsigned Jcc
1098 instructions, instead of signed.
1099 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1100 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1102 2019-02-04 Florian Weimer <fweimer@redhat.com>
1104 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1105 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1106 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1108 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1109 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1110 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1111 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1113 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1115 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1117 (posix_spawn_file_actions_addopen): Likewise.
1118 (posix_spawn_file_actions_addclose): Likewise.
1119 (posix_spawn_file_actions_adddup2): Likewise.
1120 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1122 (posix_spawn_file_actions_addfchdir_np): Likewise.
1124 2019-02-04 David Newall <glibc@davidnewall.com>
1126 elf: Implement --preload option for the dynamic linker.
1127 * elf/rtld.c (preloadarg): New variable.
1128 (handle_preload_list): Pass through “where” argument to
1130 (dl_main): Handle "--preload" and add second call to
1131 handle_preload_list.
1132 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1133 (tst-rtld-preload-OBJS): Set variable.
1134 (tst-rtld-preload.out): New target.
1135 * elf/tst-rtld-preload.sh: New file.
1137 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1139 * Makefile (testrun.sh): Exit in case of incorrect argument.
1141 2019-02-04 Florian Weimer <fweimer@redhat.com>
1143 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1146 2019-02-03 Florian Weimer <fweimer@redhat.com>
1148 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1149 implicit overflow checks.
1151 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1153 * stdlib/isomac.c: Include <unistd.h>.
1155 2019-02-03 Florian Weimer <fweimer@redhat.com>
1157 * include/time.h (__tzfile_default): Use int, not long int, for
1159 * time/tzfile.c (struct ttinfo): Change type of the offset member
1161 (__tzfile_read): Remove useless cast.
1162 (__tzfile_default): Adjust prototype.
1163 * time/tzset.c (tz_rule): Change type of the offset member to int.
1164 (parse_offset): Change the type of the sign variable to int.
1166 2019-02-03 Florian Weimer <fweimer@redhat.com>
1169 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1170 * libio/getchar.c (getchar): Likewise.
1171 * libio/getchar_u.c (getchar_unlocked): Likewise.
1172 * libio/getwchar.c (getwchar): Likewise.
1173 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1174 * libio/iogets.c (_IO_gets): Likewise.
1175 * libio/vscanf.c (_IO_vscanf): Likewise.
1176 * libio/vwscanf.c (__vwscanf): Likewise.
1177 * libio/tst-bz24153.c: New file.
1178 * libio/Makefile (tests): Add it.
1180 2019-02-02 Florian Weimer <fweimer@redhat.com>
1183 * manual/resource.texi (Basic Scheduling Functions): Add
1184 portability note. Change process to task throughout the section.
1185 Remove incorrect comment about sched_yield as it affects
1186 tasks/threads, not entire processes.
1187 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1188 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1190 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1192 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1193 * configure: Regenerated.
1194 * manual/install.texi (Tools for Compilation): Update minimum GCC
1196 * INSTALL: Regenerated.
1198 2019-02-01 Florian Weimer <fweimer@redhat.com>
1200 * support/support_test_compare_string.c
1201 (support_test_compare_string): Use "string" in error message.
1202 * support/tst-test_compare_string.c (do_test): Adjust.
1204 2019-02-01 Florian Weimer <fweimer@redhat.com>
1206 * support/support_format_address_family.c
1207 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1209 2019-02-01 Florian Weimer <fweimer@redhat.com>
1211 * manual/socket.texi (Internet Address Formats): Clarify the byte
1212 order of struct sockaddr_in, struct sockaddr_in6. Document
1213 sin6_flowinfo and sin6_scope_id.
1215 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1217 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1218 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1219 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1220 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1221 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1222 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1224 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1226 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1227 [!MEMCHR](MEMCHR): Set to __memchr.
1228 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1229 Add memchr_generic and memchr_nosimd.
1230 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1231 (__libc_ifunc_impl_list): Add memchr ifuncs.
1232 * sysdeps/aarch64/multiarch/memchr.c: New file.
1233 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1234 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1236 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1238 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1240 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1241 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1242 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1243 Add IS_EMAG check for ifunc dispatch.
1244 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1245 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1247 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1249 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1250 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1252 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1255 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1257 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1259 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1261 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1262 syscall-template file.
1264 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1265 Torvald Riegel <triegel@redhat.com>
1266 Rik Prohaska <prohaska7@gmail.com>
1269 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1270 tst-rwlock-trywrlock-stall.
1271 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1272 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1273 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1274 Set __wrphase_fute to 1 only if we started the write phase.
1275 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1276 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1277 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1278 * support/xpthread_rwlock_destroy.c: New file.
1279 * support/xthread.h: Declare xpthread_rwlock_destroy.
1281 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1283 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1286 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1289 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1290 * libio/fileops.c (_IO_new_file_underflow): Likewise
1291 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1292 * libio/putchar.c (putchar): Likewise.
1293 * libio/putchar_u.c (putchar_unlocked): Likewise.
1294 * libio/putwchar.c (putchar): Likewise.
1295 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1296 * libio/tst-bz24051.c: New test.
1297 * libio/Makefile (tests): Add tst-bz24051
1299 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1301 regex: fix read overrun [BZ #24114]
1302 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1303 https://debbugs.gnu.org/34140
1304 * posix/regexec.c (proceed_next_node):
1305 Do not read past end of input buffer.
1307 2019-01-31 Florian Weimer <fweimer@redhat.com>
1310 * nss/nss_files/files-alias.c (get_next_alias): Handle
1311 continuation line without newline at the end.
1312 * nss/tst-nss-files-alias-truncated.c: New file.
1313 * nss/Makefile [$(build-shared)] (tests): Add
1314 tst-nss-files-alias-truncated.
1315 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1316 * support/namespace.h (struct support_chroot_configuration): Add
1318 (struct support_chroot): Add path_aliases member.
1319 * support/support_chroot.c (support_chroot_create): Handle
1321 (support_chroot_free): Free path_aliases.
1323 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1325 * version.h (RELEASE): Set to "development".
1326 (VERSION): Set to "2.29.9000".
1327 * NEWS: Add section for 2.30.
1329 * version.h (RELEASE): Set to "stable".
1330 (VERSION): Set to "2.29".
1331 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1333 * NEWS: Add the list of bugs fixed in 2.29.
1334 * manual/contrib.texi: Update contributors list with some more
1336 * manual/install.texi: Update latest versions of packages
1338 * INSTALL: Regenerated.
1340 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1342 * po/be.po: Update translations.
1343 * po/bg.po: Likewise.
1344 * po/ca.po: Likewise.
1345 * po/cs.po: Likewise.
1346 * po/da.po: Likewise.
1347 * po/de.po: Likewise.
1348 * po/el.po: Likewise.
1349 * po/eo.po: Likewise.
1350 * po/es.po: Likewise.
1351 * po/fi.po: Likewise.
1352 * po/fr.po: Likewise.
1353 * po/gl.po: Likewise.
1354 * po/hr.po: Likewise.
1355 * po/hu.po: Likewise.
1356 * po/ia.po: Likewise.
1357 * po/id.po: Likewise.
1358 * po/it.po: Likewise.
1359 * po/ja.po: Likewise.
1360 * po/ko.po: Likewise.
1361 * po/lt.po: Likewise.
1362 * po/nb.po: Likewise.
1363 * po/nl.po: Likewise.
1364 * po/pl.po: Likewise.
1365 * po/pt_BR.po: Likewise.
1366 * po/ru.po: Likewise.
1367 * po/rw.po: Likewise.
1368 * po/sk.po: Likewise.
1369 * po/sl.po: Likewise.
1370 * po/sv.po: Likewise.
1371 * po/tr.po: Likewise.
1372 * po/uk.po: Likewise.
1373 * po/vi.po: Likewise.
1374 * po/zh_CN.po: Likewise.
1375 * po/zh_TW.po: Likewise.
1377 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1380 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1381 of $f3 register on $y_is_neg path.
1383 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1386 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1387 sigaltstack.ss_flags.
1389 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1392 * manual/time.texi (strftime): Document "%Ey".
1393 * time/strftime_l.c (__strftime_internal): Set the default width
1394 padding with zero of "%Ey" to 2.
1397 * manual/time.texi (strftime): Document "%EC" and "%EY".
1398 * time/Makefile (tests): Add tst-strftime2.
1399 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1400 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1401 override padding for "%Ey".
1402 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1403 "%Ey" in the subformat as if decorated with that flag.
1404 * time/tst-strftime2.c: New file.
1406 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1408 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1412 * elf/Makefile (tests): Add tst-audit13.
1413 (modules-names): Add tst-audit13mod1.
1414 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1416 * elf/rtld.c (dl_main): Handle invalid audit module version.
1417 * elf/tst-audit13.c: New file.
1418 * elf/tst-audit13mod1.c: Likewise.
1420 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1422 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1423 returned by __hurd_at_flags.
1424 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1425 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1426 directly instead of __hurd_file_name_lookup.
1428 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1430 * scripts/build-many-glibcs.py (Context.checkout): Default
1431 binutils version to 2.32 branch.
1433 2019-01-21 Florian Weimer <fweimer@redhat.com>
1437 resolv: Reject trailing characters in host names
1438 * include/arpa/inet.h (__inet_aton_exact): Declare.
1439 (inet_aton): Remove hidden prototype. No longer used internally.
1440 * nscd/gai.c (__inet_aton): Do not define.
1441 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1442 * nss/digits_dots.c (__inet_aton): Likewise.
1443 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1444 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1445 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1446 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1447 (tst-resolv-trailing): Likewise.
1448 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1450 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1451 Make static. Add endp parameter.
1452 (__inet_aton_exact): New function.
1453 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1454 (__inet_addr): Call inet_aton_end.
1455 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1456 not just IPv6. Call __inet_aton_exact.
1457 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1458 (tests): Make const. Add additional test cases with trailing
1460 (do_test): Use array_length.
1461 * resolv/tst-inet_aton_exact.c: New file.
1462 * resolv/tst-resolv-trailing.c: Likewise.
1463 * resolv/tst-resolv-nondecimal.c: Likewise.
1464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1466 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1470 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1471 Clear the upper 32 bits of RSI register.
1472 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1473 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1474 and tst-size_t-wcsnlen.
1475 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1476 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1478 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1482 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1483 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1484 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1485 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1486 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1488 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1492 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1493 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1494 * sysdeps/x86_64/strcmp.S: Likewise.
1495 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1496 tst-size_t-strncmp and tst-size_t-wcsncmp.
1497 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1498 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1499 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1501 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1505 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1506 RDX_LP for length. Clear the upper 32 bits of RDX register.
1507 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1508 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1509 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1510 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1512 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1516 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1517 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1518 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1519 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1521 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1525 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1526 length. Clear the upper 32 bits of RDX register.
1527 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1528 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1530 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1532 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1534 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1536 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1540 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1541 length. Clear the upper 32 bits of RDX register.
1542 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1543 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1544 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1546 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1547 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1549 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1553 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1554 upper 32 bits of RDX register.
1555 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1556 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1558 * sysdeps/x86_64/x32/test-size_t.h: New file.
1559 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1560 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1562 2019-01-18 Florian Weimer <fweimer@redhat.com>
1565 resolv: Do not send queries for non-host-names in nss_dns.
1566 * resolv/nss_dns/dns-host.c (check_name): New function.
1567 (_nss_dns_gethostbyname2_r): Use it.
1568 (_nss_dns_gethostbyname_r): Likewise.
1569 (_nss_dns_gethostbyname4_r): Likewise.
1571 2019-01-21 Florian Weimer <fweimer@redhat.com>
1573 * resolv/inet_addr.c: Reformat to GNU style.
1574 (__inet_addr, __inet_aton): Update comment.
1576 2019-01-18 Florian Weimer <fweimer@redhat.com>
1578 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1579 ("malloc: Use current (C11-style) atomics for fastbin access").
1580 This commit introduces a substantial performance regression on
1582 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1583 (REMOVE_FB): Define.
1584 (_int_malloc): Use it and reindent.
1585 (_int_free): Use CAS loop with
1586 catomic_compare_and_exchange_val_rel.
1587 (malloc_consolidate): Use atomic_exchange_acq.
1590 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1592 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1594 (LDFLAGS-tst-minsigstksz-2): Likewise.
1595 (LDFLAGS-tst-minsigstksz-3): Likewise.
1596 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1597 (LDFLAGS-tst-minsigstksz-4): Likewise.
1599 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1601 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1604 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1606 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1608 2019-01-16 Zack Weinberg <zackw@panix.com>
1610 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1611 (xget_sigstack_location): New test support functions.
1612 * support/xsigstack.c: New file, implementing them.
1613 * support/tst-xsigstack.c: New test for them.
1614 * support/Makefile: Update.
1616 * signal/tst-minsigstksz-1.c
1617 * signal/tst-minsigstksz-2.c
1618 * signal/tst-minsigstksz-3.c
1619 * signal/tst-minsigstksz-3a.c
1620 * signal/tst-minsigstksz-4.c: New tests.
1621 * signal/Makefile: Run them.
1623 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1625 * po/libc.pot: Regenerate.
1627 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1629 * math/libm-test-fma.inc (fma_test_data): Set
1630 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1632 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1634 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1635 (do_test): Changed __vector __int128_t to __vector unsigned int.
1637 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1640 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1641 stpcpy-avx2 and stpncpy-avx2.
1642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1643 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1644 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1646 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1647 ifunc-strcpy.h}: rename header for a more generic name.
1648 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1649 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1650 AVX unaligned load is fast and vzeroupper is preferred.
1651 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1652 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1653 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1654 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1655 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1656 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1658 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1660 * argp/argp-help.c: Fix typo in comment.
1661 * misc/sys/cdefs.h: Likewise.
1662 * posix/regexec.c (sift_states_iter_mb): Likewise.
1663 * socket/sockatmark.c: Likewise.
1664 * socket/sys/socket.h: Likewise.
1665 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1666 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1667 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1668 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1669 * sysdeps/unix/sockatmark.c: Likewise.
1670 * time/strptime_l.c: Likewise.
1672 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1674 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1675 missing space after the cast of "_NL_CURRENT".
1677 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1679 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1680 ifdef to fix read of VSCR.
1681 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1682 tst-ucontext-ppc64-vscr.c to test list.
1683 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1685 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1687 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1690 2019-01-09 Jim Wilson <jimw@sifive.com>
1692 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1694 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1696 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1697 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1698 __memcpy_falkor for ares.
1699 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1701 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1704 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1707 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1708 4_FP_W_TYPEs are used for IEEE quad precision.
1709 * soft-fp/extendhftf2.c: Likewise.
1710 * soft-fp/extendsftf2.c: Likewise.
1711 * soft-fp/extendxftf2.c: Likewise.
1712 * soft-fp/trunctfdf2.c: Likewise.
1713 * soft-fp/trunctfhf2.c: Likewise.
1714 * soft-fp/trunctfsf2.c: Likewise.
1715 * soft-fp/trunctfxf2.c: Likewise.
1716 * sysdeps/alpha/ots_cvttx.c: Likewise.
1717 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1718 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1719 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1720 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1721 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1722 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1723 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1724 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1725 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1726 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1727 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1728 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1729 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1730 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1731 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1732 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1733 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1735 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1738 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1739 code with -fmath-errno.
1740 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1741 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1742 * string/test-strerror-errno.c: New file.
1744 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1747 * localedata/locales/en_US (date_fmt): Add, set to
1748 "%a %d %b %Y %r %Z".
1750 2019-01-07 Florian Weimer <fweimer@redhat.com>
1753 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1754 instead of @var{errno}.
1755 (Parsing of Integers): Likewise.
1756 (Parsing of Floats): Likewise.
1757 * manual/filesys.texi (Working with Directory Trees): Likewise.
1758 (Temporary Files): Likewise.
1759 * manual/job.texi (Terminal Access Functions): Likewise.
1760 * manual/llio.texi (Synchronizing I/O): Likewise.
1761 * manual/math.texi (SVID Random): Likewise.
1762 * manual/message.texi (The catgets Functions): Likewise.
1763 (Translation with gettext): Likewise.
1764 (Locating gettext catalog): Likewise.
1765 (Charset conversion in gettext): Likewise.
1766 * manual/nss.texi (NSS Module Function Internals): Likewise.
1767 * manual/search.texi (Hash Search Function): Likewise.
1768 * manual/setjmp.texi (System V contexts): Likewise.
1769 * manual/time.texi (Sleeping): Likewise.
1770 * manual/users.texi (Lookup User): Likewise.
1771 (Lookup Group): Likewise.
1773 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1775 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1778 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1781 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1782 __builtin_unreachable for default case in switch.
1783 (__ieee754_yn): Likewise.
1784 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1785 (__ieee754_ynl): Likewise.
1786 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1787 (__ieee754_ynl): Likewise.
1788 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1789 (__ieee754_ynl): Likewise.
1791 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1793 * manual/maint.texi: Use @{ and @}.
1795 2019-01-04 Florian Weimer <fweimer@redhat.com>
1797 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1799 (do_in_chroot_1): Call it.
1801 Improve error reporting in case it is not possible to create a
1802 collision for the PTY name required by the test.
1804 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1806 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1807 lll_wait_tid with timeout.
1808 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1809 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1810 futex_reltimed_wait_cancelable for cancelabla mode.
1811 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1812 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1814 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1815 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1816 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1817 SYSCALL_CANCEL_NCS): New macro.
1818 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1819 (lll_timedwait_tid): Remove macro.
1820 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1822 (lll_timedwait_tid): Likewise.
1823 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1825 (lll_timedwait_tid): Likewise.
1826 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1828 (lll_timedwait_tid): Likewise.
1829 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1830 Use INTERNAL_SYSCALL_CANCEL.
1831 * sysdeps/unix/sysv/linux/futex-internal.h
1832 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1833 instead of __pthread_{enable,disable}_asynccancel.
1834 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1835 (lll_futex_wait_cancel): New macro.
1837 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1838 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1840 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1841 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1843 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1844 in backtrace analysis.
1845 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1847 (tf_send): Likewise.
1849 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1850 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1851 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1852 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1853 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1854 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1855 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1856 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1857 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1858 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1859 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1860 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1862 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1863 tst-cancel-wrappers.sh.
1864 (generated): Remove tst-cancel-wrappers.out.
1865 (tst-cancel-wrappers.out): Remove rule.
1866 * nptl/tst-cancel-wrappers.sh: Remove file.
1868 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1870 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1871 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1874 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1877 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1878 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1879 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1880 close-on-exec reset for adddup2 file action.
1881 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1883 2019-01-03 Zack Weinberg <zackw@panix.com>
1885 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1886 parameter. Only use deprecated scanf when __USE_GNU is defined
1887 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1888 than 201103L, whichever is relevant for the language being compiled.
1890 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1891 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1892 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1893 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1894 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1898 * libio/iovswscanf.c
1903 * stdio-common/fscanf.c
1904 * stdio-common/scanf.c
1905 * stdio-common/vfscanf.c
1906 * stdio-common/vfwscanf.c
1907 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1908 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1909 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1910 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1911 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1912 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1913 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1914 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1915 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1916 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1917 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1918 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1919 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1920 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1921 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1923 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1924 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1925 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1927 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1928 with a preprocessor macro.
1930 * stdio-common/bug21.c, stdio-common/scanf14.c:
1931 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1932 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1933 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1934 to xscanf, xfscanf, xsscanf.
1936 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1937 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1938 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1939 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1941 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1942 override feature selection macros or provide definitions of u_char etc.
1943 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1944 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1945 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1948 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1951 bits/termios-misc.h.
1952 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1953 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1954 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1955 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1956 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1957 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1959 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1960 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1961 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1962 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1963 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1964 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1966 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1967 (sysdep_headers): Add termios-misc.h.
1969 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1970 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1971 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1973 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1975 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1976 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1977 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1978 TCSAFLUSH): Move to termios-tcflow.h.
1979 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1980 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1981 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1982 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1986 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1987 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1988 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1989 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1990 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1991 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1992 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1993 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1995 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1996 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1997 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1998 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2000 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2002 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2003 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2004 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2005 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2006 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2008 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2009 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2010 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2011 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2016 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2017 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2018 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2019 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2020 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2021 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2022 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2023 __MAX_BAUD): Move to termios-baud.h.
2024 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2025 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2026 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2027 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2028 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2030 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2032 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2033 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2034 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2035 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2036 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2037 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2039 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2040 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2042 [USE_MISC] (XTABS): Likewise.
2043 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2044 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2045 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2046 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2048 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2050 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2051 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2052 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2053 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2054 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2055 IUTF8): Move to termios-c_iflag.h.
2056 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2057 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2058 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2059 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2061 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2063 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2064 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2065 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2066 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2067 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2068 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2069 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2070 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2071 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2072 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2073 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2074 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2076 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2077 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2078 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2079 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2082 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2084 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2086 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2088 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2090 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2092 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2093 _HAVE_C_OSPEED): Define.
2094 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2095 _HAVE_C_OSPEED): Likewise.
2096 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2097 _HAVE_C_OSPEED): Likewise.
2098 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2099 (cfsetospeed): Check for define value instead of existence.
2100 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2101 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2102 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2103 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2104 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2107 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2109 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2110 (TIOCSER_TEMT): Likewise.
2111 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2112 (TEOCSER_TEMT): Likewise.
2114 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2117 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2119 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2121 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2123 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2125 * sysdeps/htl/pt-barrierattr-setpshared.c
2126 (pthread_barrierattr_setpshared): Add stub warning.
2127 * sysdeps/htl/pt-condattr-setpshared.c
2128 (pthread_condattr_setpshared): Likewise.
2129 * sysdeps/htl/pt-mutexattr-setpshared.c
2130 (pthread_mutexattr_setpshared): Likewise.
2131 * sysdeps/htl/pt-rwlockattr-setpshared.c
2132 (pthread_rwlockattr_setpshared): Likewise.
2133 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2134 (pthread_mutexattr_setpshared): Likewise.
2136 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2138 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2139 constants to match with Linux 4.20.
2141 * sysdeps/mips/mips32/libm-test-ulps: Update.
2142 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2144 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2147 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2148 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2149 than __typeof (...) for the a_ptr variable.
2151 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2153 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2154 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2155 * libio/Makefile (tests): Add tst-sprintf-ub and
2157 (CFLAGS-tst-sprintf-ub.c): New variable.
2158 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2159 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2160 destination buffer and check for overflows in fortified mode.
2161 * libio/libioP.h (PRINTF_CHK): New macro.
2162 * libio/tst-sprintf-chk-ub.c: New file.
2163 * libio/tst-sprintf-ub.c: Likewise.
2165 2019-01-02 Florian Weimer <fweimer@redhat.com>
2168 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2171 2019-01-02 Florian Weimer <fweimer@redhat.com>
2173 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2175 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2177 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2180 * sysdeps/unix/sysv/linux/netpacket/packet.h
2181 (PACKET_IGNORE_OUTGOING): New macro.
2183 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2186 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2188 (riscv_flush_icache): New syscall.
2190 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2191 trailing whitespace removed.
2192 * scripts/config.guess: Update to version 2019-01-01.
2193 * scripts/config.sub: Update to version 2019-01-01.
2194 * scripts/move-if-change: Update from gnulib.
2196 * NEWS: Update copyright dates.
2197 * catgets/gencat.c (print_version): Likewise.
2198 * csu/version.c (banner): Likewise.
2199 * debug/catchsegv.sh: Likewise.
2200 * debug/pcprofiledump.c (print_version): Likewise.
2201 * debug/xtrace.sh (do_version): Likewise.
2202 * elf/ldconfig.c (print_version): Likewise.
2203 * elf/ldd.bash.in: Likewise.
2204 * elf/pldd.c (print_version): Likewise.
2205 * elf/sotruss.sh: Likewise.
2206 * elf/sprof.c (print_version): Likewise.
2207 * iconv/iconv_prog.c (print_version): Likewise.
2208 * iconv/iconvconfig.c (print_version): Likewise.
2209 * locale/programs/locale.c (print_version): Likewise.
2210 * locale/programs/localedef.c (print_version): Likewise.
2211 * login/programs/pt_chown.c (print_version): Likewise.
2212 * malloc/memusage.sh (do_version): Likewise.
2213 * malloc/memusagestat.c (print_version): Likewise.
2214 * malloc/mtrace.pl: Likewise.
2215 * manual/libc.texinfo: Likewise.
2216 * nptl/version.c (banner): Likewise.
2217 * nscd/nscd.c (print_version): Likewise.
2218 * nss/getent.c (print_version): Likewise.
2219 * nss/makedb.c (print_version): Likewise.
2220 * posix/getconf.c (main): Likewise.
2221 * scripts/test-installation.pl: Likewise.
2222 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2224 * All files with FSF copyright notices: Update copyright dates
2225 using scripts/update-copyrights.
2226 * locale/programs/charmap-kw.h: Regenerated.
2227 * locale/programs/locfile-kw.h: Likewise.
2229 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2231 * timezone/zdump.c: Update from tzcode 2018i.
2232 * timezone/zic.c: Likewise.
2234 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2236 regex: improve Gnulib port to AIX
2237 From the glibc point of view, this removes duplicate macro
2238 definitions and is obviously safe.
2239 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2240 * posix/regex_internal.h:
2241 (__attribute__, __attribute_warn_unused_result__):
2242 Remove; already defined elsewhere.
2244 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2247 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2248 copying operation. (ncopies had the wrong type, resulting in an
2249 integer wraparound and too few elements being copied.)
2251 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2254 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2255 <asm/syscalls.h> exists with __has_include__ before including it.
2257 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2259 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2262 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2264 * hurd/lookup-retry: Include <unistd.h>.
2265 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2266 Release it on return. Handle "pid" magical lookup retry.
2268 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2271 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2272 (t_fmt_ampm): Likewise.
2273 * localedata/locales/aa_ER (t_fmt): Likewise.
2274 (t_fmt_ampm): Likewise.
2275 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2276 (t_fmt_ampm): Likewise.
2277 * localedata/locales/aa_ET (t_fmt): Likewise.
2278 (t_fmt_ampm): Likewise.
2279 * localedata/locales/am_ET (t_fmt): Likewise.
2280 (t_fmt_ampm): Likewise.
2281 * localedata/locales/byn_ER (t_fmt): Likewise.
2282 (t_fmt_ampm): Likewise.
2283 * localedata/locales/om_ET (t_fmt): Likewise.
2284 (t_fmt_ampm): Likewise.
2285 * localedata/locales/sid_ET (t_fmt): Likewise.
2286 (t_fmt_ampm): Likewise.
2287 * localedata/locales/so_DJ (t_fmt): Likewise.
2288 (t_fmt_ampm): Likewise.
2289 * localedata/locales/so_ET (t_fmt): Likewise.
2290 (t_fmt_ampm): Likewise.
2291 * localedata/locales/so_SO (t_fmt): Likewise.
2292 (t_fmt_ampm): Likewise.
2293 * localedata/locales/ti_ER (t_fmt): Likewise.
2294 (t_fmt_ampm): Likewise.
2295 * localedata/locales/ti_ET (t_fmt): Likewise.
2296 (t_fmt_ampm): Likewise.
2297 * localedata/locales/tig_ER (t_fmt): Likewise.
2298 (t_fmt_ampm): Likewise.
2299 * localedata/locales/wal_ET (t_fmt): Likewise.
2300 (t_fmt_ampm): Likewise.
2302 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2303 * localedata/locales/ar_IN (t_fmt): Likewise.
2304 * localedata/locales/bhb_IN (t_fmt): Likewise.
2305 * localedata/locales/bho_IN (t_fmt): Likewise.
2306 * localedata/locales/bi_VU (t_fmt): Likewise.
2307 * localedata/locales/bn_BD (t_fmt): Likewise.
2308 * localedata/locales/bn_IN (t_fmt): Likewise.
2309 * localedata/locales/brx_IN (t_fmt): Likewise.
2310 * localedata/locales/doi_IN (t_fmt): Likewise.
2311 * localedata/locales/en_HK (t_fmt): Likewise.
2312 (t_fmt_ampm): Likewise.
2313 * localedata/locales/en_IN (t_fmt): Likewise.
2314 * localedata/locales/en_PH (t_fmt): Likewise.
2315 * localedata/locales/gu_IN (t_fmt): Likewise.
2316 * localedata/locales/hi_IN (t_fmt): Likewise.
2317 * localedata/locales/hif_FJ (t_fmt): Likewise.
2318 * localedata/locales/hne_IN (t_fmt): Likewise.
2319 * localedata/locales/kn_IN (t_fmt): Likewise.
2320 * localedata/locales/kok_IN (t_fmt): Likewise.
2321 * localedata/locales/ks_IN (t_fmt): Likewise.
2322 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2323 * localedata/locales/mag_IN (t_fmt): Likewise.
2324 * localedata/locales/mai_IN (t_fmt): Likewise.
2325 * localedata/locales/mjw_IN (t_fmt): Likewise.
2326 * localedata/locales/ml_IN (t_fmt): Likewise.
2327 * localedata/locales/mni_IN (t_fmt): Likewise.
2328 * localedata/locales/mr_IN (t_fmt): Likewise.
2329 * localedata/locales/ms_MY (t_fmt): Likewise.
2330 * localedata/locales/pa_IN (t_fmt): Likewise.
2331 * localedata/locales/raj_IN (t_fmt): Likewise.
2332 * localedata/locales/sa_IN (t_fmt): Likewise.
2333 * localedata/locales/sat_IN (t_fmt): Likewise.
2334 * localedata/locales/sd_IN (t_fmt): Likewise.
2335 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2336 * localedata/locales/tcy_IN (t_fmt): Likewise.
2337 * localedata/locales/the_NP (t_fmt): Likewise.
2338 * localedata/locales/to_TO (t_fmt): Likewise.
2339 * localedata/locales/ur_IN (t_fmt): Likewise.
2341 * localedata/locales/hif_FJ (d_t_fmt): Set to
2342 "%A %d %b %Y %I:%M:%S %p".
2343 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2345 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2346 * localedata/locales/ar_BH (t_fmt): Likewise.
2347 * localedata/locales/ar_DZ (t_fmt): Likewise.
2348 * localedata/locales/ar_EG (t_fmt): Likewise.
2349 * localedata/locales/ar_IQ (t_fmt): Likewise.
2350 * localedata/locales/ar_JO (t_fmt): Likewise.
2351 * localedata/locales/ar_KW (t_fmt): Likewise.
2352 * localedata/locales/ar_LB (t_fmt): Likewise.
2353 * localedata/locales/ar_LY (t_fmt): Likewise.
2354 * localedata/locales/ar_OM (t_fmt): Likewise.
2355 * localedata/locales/ar_QA (t_fmt): Likewise.
2356 * localedata/locales/ar_SD (t_fmt): Likewise.
2357 * localedata/locales/ar_SS (t_fmt): Likewise.
2358 * localedata/locales/ar_SY (t_fmt): Likewise.
2359 * localedata/locales/ar_TN (t_fmt): Likewise.
2360 * localedata/locales/ar_YE (t_fmt): Likewise.
2362 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2363 (t_fmt_ampm): Likewise.
2364 * localedata/locales/gez_ET (t_fmt): Likewise.
2365 (t_fmt_ampm): Likewise.
2367 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2368 (t_fmt_ampm): Likewise.
2369 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2371 * localedata/locales/zh_HK (t_fmt):
2372 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2374 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2375 because this locale does not use the 12-hour clock.
2376 (t_fmt): Set to "%Z %H:%M:%S".
2377 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2379 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2380 because this locale does not use the 12-hour clock.
2381 (t_fmt): Set to "%H:%M:%S %Z".
2382 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2384 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2385 because this locale does not use the 12-hour clock.
2386 (t_fmt): Set to "%T".
2387 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2388 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2390 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2391 because this locale does not use the 12-hour clock.
2392 (t_fmt): Set to "%H:%M:%S %Z".
2393 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2395 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2396 because this locale does not use the 12-hour clock.
2397 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2398 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2400 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2404 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2405 (t_fmt_ampm): Likewise.
2406 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2407 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2408 (d_fmt): Set to "%-d.%-m.%y".
2410 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2412 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2413 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2414 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2416 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2417 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2418 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2420 * support/blob_repeat.c (check_mul_overflow_size_t,
2421 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2423 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2425 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2427 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2429 regex: simplify Gnulib port
2430 This simplifies the code, by removing stuff intended for porting
2431 to Gnulib but no longer needed there.
2432 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2433 uses of libc_hidden_def, weak_alias.
2434 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2435 _Restrict_ except for public-facing headers.
2436 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2437 Remove; already defined elsewhere.
2438 * posix/regex.c, posix/regex_internal.h:
2439 Use __GNUC_PREREQ instead of rolling our own.
2440 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2442 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2444 * benchtests/bench-strlen.c (generic_strlen): New function.
2445 (memchr_strlen): New function.
2447 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2449 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2450 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2451 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2453 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2455 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2457 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2459 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2460 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2461 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2462 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2463 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2464 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2465 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2467 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2470 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2471 PLT reference in libc.so.
2472 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2473 _Q_lltoq and _Q_qtod PLT references in libc.so.
2475 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2477 * benchtests/bench-memchr.c: Cleanup defines.
2478 * benchtests/bench-memcmp.c: Likewise.
2479 * benchtests/bench-memset.c: Likewise.
2480 * benchtests/bench-memset-large.c: Likewise.
2481 * benchtests/bench-memset-walk.c: Likewise.
2482 * benchtests/bench-stpcpy.c: Likewise.
2483 * benchtests/bench-stpncpy.c: Likewise.
2484 * benchtests/bench-strcat.c: Likewise.
2485 * benchtests/bench-strchr.c: Likewise.
2486 * benchtests/bench-strcmp.c: Likewise.
2487 * benchtests/bench-strcpy.c: Likewise.
2488 * benchtests/bench-strcspn.c: Likewise.
2489 * benchtests/bench-string.h: Likewise.
2490 * benchtests/bench-strlen.c: Likewise.
2491 * benchtests/bench-strncat.c: Likewise.
2492 * benchtests/bench-strncmp.c: Likewise.
2493 * benchtests/bench-strncpy.c: Likewise.
2494 * benchtests/bench-strnlen.c: Likewise.
2495 * benchtests/bench-strpbrk.c: Likewise.
2496 * benchtests/bench-strrchr.c: Likewise.
2497 * benchtests/bench-strspn.c: Likewise.
2499 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2501 * stdlib/longlong.h: Update from GCC.
2504 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2505 * configure: Regenerated.
2506 * manual/install.texi (Tools for Compilation): Update minimum GCC
2508 * INSTALL: Regenerated.
2510 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2512 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2514 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2516 * malloc/malloc.c (mremap_chunk): Additional checks.
2518 2018-12-21 Mao Han <han_mao@c-sky.com>
2520 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2521 * scripts/build-many-glibcs.py: Add C-SKY targets.
2522 * sysdeps/csky/Implies: New file.
2523 * sysdeps/csky/Makefile: Likewise.
2524 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2525 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2526 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2527 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2528 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2529 * sysdeps/csky/abiv2/memmove.S: Likewise.
2530 * sysdeps/csky/abiv2/memset.S: Likewise.
2531 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2532 * sysdeps/csky/abiv2/start.S: Likewise.
2533 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2534 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2535 * sysdeps/csky/abiv2/strlen.S: Likewise.
2536 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2537 * sysdeps/csky/abort-instr.h: Likewise.
2538 * sysdeps/csky/atomic-machine.h: Likewise.
2539 * sysdeps/csky/bits/endian.h: Likewise.
2540 * sysdeps/csky/bits/fenv.h: Likewise.
2541 * sysdeps/csky/bits/link.h: Likewise.
2542 * sysdeps/csky/bits/setjmp.h: Likewise.
2543 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2544 * sysdeps/csky/bsd-setjmp.S: Likewise.
2545 * sysdeps/csky/configure: Likewise.
2546 * sysdeps/csky/configure.ac: Likewise.
2547 * sysdeps/csky/dl-machine.h: Likewise.
2548 * sysdeps/csky/dl-procinfo.c: Likewise.
2549 * sysdeps/csky/dl-procinfo.h: Likewise.
2550 * sysdeps/csky/dl-sysdep.h: Likewise.
2551 * sysdeps/csky/dl-tls.h: Likewise.
2552 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2553 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2554 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2555 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2556 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2557 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2558 * sysdeps/csky/fpu/fegetround.c: Likewise.
2559 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2560 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2561 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2562 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2563 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2564 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2565 * sysdeps/csky/fpu/fesetround.c: Likewise.
2566 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2567 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2568 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2569 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2570 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2571 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2572 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2573 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2574 * sysdeps/csky/fpu_control.h: Likewise.
2575 * sysdeps/csky/gccframe.h: Likewise.
2576 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2577 * sysdeps/csky/ldsodefs.h: Likewise.
2578 * sysdeps/csky/libc-tls.c: Likewise.
2579 * sysdeps/csky/linkmap.h: Likewise.
2580 * sysdeps/csky/machine-gmon.h: Likewise.
2581 * sysdeps/csky/memusage.h: Likewise.
2582 * sysdeps/csky/nofpu/Implies: Likewise.
2583 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2584 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2585 * sysdeps/csky/nptl/Makefile: Likewise.
2586 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2587 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2588 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2589 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2590 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2591 * sysdeps/csky/nptl/tls.h: Likewise.
2592 * sysdeps/csky/preconfigure: Likewise.
2593 * sysdeps/csky/sfp-machine.h: Likewise.
2594 * sysdeps/csky/sotruss-lib.c: Likewise.
2595 * sysdeps/csky/stackinfo.h: Likewise.
2596 * sysdeps/csky/sysdep.h: Likewise.
2597 * sysdeps/csky/tininess.h: Likewise.
2598 * sysdeps/csky/tst-audit.h: Likewise.
2599 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2600 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2601 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2602 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2603 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2604 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2605 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2606 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2607 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2608 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2609 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2610 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2611 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2612 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2613 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2614 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2615 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2616 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2617 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2618 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2619 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2620 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2621 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2622 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2623 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2624 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2625 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2626 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2627 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2628 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2629 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2630 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2631 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2632 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2633 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2634 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2635 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2636 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2637 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2638 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2639 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2640 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2641 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2642 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2644 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2646 * include/time.h (__difftime64): Add.
2647 * time/difftime.c (subtract): convert to 64-bit time.
2648 * time/difftime.c (__difftime64): Add.
2649 * time/difftime.c (__difftime): Wrap around __difftime64.
2651 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2653 * manual/examples/add.c: Remove redundant "if not".
2654 * manual/examples/argp-ex1.c: Likewise.
2655 * manual/examples/argp-ex2.c: Likewise.
2656 * manual/examples/argp-ex3.c: Likewise.
2657 * manual/examples/argp-ex4.c: Likewise.
2658 * manual/examples/atexit.c: Likewise.
2659 * manual/examples/db.c: Likewise.
2660 * manual/examples/dir.c: Likewise.
2661 * manual/examples/dir2.c: Likewise.
2662 * manual/examples/execinfo.c: Likewise.
2663 * manual/examples/filecli.c: Likewise.
2664 * manual/examples/filesrv.c: Likewise.
2665 * manual/examples/fmtmsgexpl.c: Likewise.
2666 * manual/examples/genpass.c: Likewise.
2667 * manual/examples/inetcli.c: Likewise.
2668 * manual/examples/inetsrv.c: Likewise.
2669 * manual/examples/isockad.c: Likewise.
2670 * manual/examples/longopt.c: Likewise.
2671 * manual/examples/memopen.c: Likewise.
2672 * manual/examples/memstrm.c: Likewise.
2673 * manual/examples/mkdirent.c: Likewise.
2674 * manual/examples/mkfsock.c: Likewise.
2675 * manual/examples/mkisock.c: Likewise.
2676 * manual/examples/mygetpass.c: Likewise.
2677 * manual/examples/pipe.c: Likewise.
2678 * manual/examples/popen.c: Likewise.
2679 * manual/examples/rprintf.c: Likewise.
2680 * manual/examples/search.c: Likewise.
2681 * manual/examples/select.c: Likewise.
2682 * manual/examples/setjmp.c: Likewise.
2683 * manual/examples/sigh1.c: Likewise.
2684 * manual/examples/sigusr.c: Likewise.
2685 * manual/examples/stpcpy.c: Likewise.
2686 * manual/examples/strdupa.c: Likewise.
2687 * manual/examples/strftim.c: Likewise.
2688 * manual/examples/subopt.c: Likewise.
2689 * manual/examples/swapcontext.c: Likewise.
2690 * manual/examples/termios.c: Likewise.
2691 * manual/examples/testopt.c: Likewise.
2692 * manual/examples/testpass.c: Likewise.
2693 * manual/examples/timeval_subtract.c: Likewise.
2695 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2697 * sysdeps/x86/fpu/math_private.h: New file.
2698 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2700 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2705 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2707 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2708 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2709 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2710 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2712 (_dl_show_auxv): Give a special treatment to
2713 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2714 and AT_L3_CACHEGEOMETRY.
2715 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2716 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2717 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2718 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2720 2018-12-19 Andreas Schwab <schwab@suse.de>
2722 * nscd/connections.c (check_use): Don't abort on invalid len.
2724 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2726 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2727 values in the 64bit value cases.
2729 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2735 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2741 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2744 (__gmtime64_r): Add.
2746 (__gmtime64_r): Add.
2747 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2753 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2756 (__localtime64_r): Add.
2758 (__localtime64_r): Add.
2759 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2761 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2763 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2764 kernel_sigction definition.
2766 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2768 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2770 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2771 __syscall_rt_sigaction.
2772 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2773 (kernel_sigaction): Use Linux generic defintion.
2775 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2776 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2777 (__syscall_rt_sigaction): Remove implementation.
2778 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2780 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2781 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2782 INTERNAL_SYSCALL): Remove definitions.
2783 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2784 action and signal set size.
2785 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2786 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2788 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2789 James Clarke <jrtc27@jrtc27.com>
2792 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2793 Define if SA_RESTORER is defined.
2794 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2795 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2797 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2798 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2800 (HAS_SA_RESTORER): Define.
2801 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2802 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2803 (HAS_SA_RESTORER): Define.
2804 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2805 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2806 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2807 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2808 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2810 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2812 * sysdeps/unix/sysv/linux/kernel-features.h
2813 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2814 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2815 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2816 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2817 (__ASSUME_ST_INO_64_BIT): Likewise.
2818 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2819 <kernel-features.h>.
2820 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2821 Remove conditional code.
2822 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2823 <kernel-features.h>.
2824 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2825 Remove conditional code.
2826 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2827 <kernel-features.h>.
2828 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2829 Remove conditional code.
2830 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2831 <kernel-features.h>.
2832 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2833 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2835 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2837 * sysdeps/s390/multiarch/ifunc-resolve.h
2838 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2839 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2840 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2841 Delete macro definition.
2842 (s390_libc_ifunc_init): Rename to
2843 s390_libc_ifunc_expr_stfle_init.
2844 * sysdeps/s390/bzero: Use
2845 s390_libc_ifunc_expr_stfle_init instead of
2846 s390_libc_ifunc_init.
2847 * sysdeps/s390/memcmp.c: Likewise.
2848 * sysdeps/s390/memcpy.c: Likewise.
2849 * sysdeps/s390/mempcpy.c: Likewise.
2850 * sysdeps/s390/memset.c: Likewise.
2852 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2854 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2855 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2857 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2859 * sysdeps/s390/multiarch/Makefile
2860 (sysdep_routines): Remove wmemcmp variants.
2861 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2862 * sysdeps/s390/multiarch/ifunc-impl-list.c
2863 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2864 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2865 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2866 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2867 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2868 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2869 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2870 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2872 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2874 * sysdeps/s390/multiarch/Makefile
2875 (sysdep_routines): Remove wmemset variants.
2876 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2877 * sysdeps/s390/multiarch/ifunc-impl-list.c
2878 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2879 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2880 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2881 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2882 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2883 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2884 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2885 * sysdeps/s390/ifunc-wmemset.h: New file.
2887 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2889 * sysdeps/s390/multiarch/Makefile
2890 (sysdep_routines): Remove wmemchr variants.
2891 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2892 * sysdeps/s390/multiarch/ifunc-impl-list.c
2893 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2894 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2895 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2896 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2897 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2898 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2899 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2900 * sysdeps/s390/ifunc-wmemchr.h: New file.
2902 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2904 * sysdeps/s390/multiarch/Makefile
2905 (sysdep_routines): Remove wcscspn variants.
2906 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2907 * sysdeps/s390/multiarch/ifunc-impl-list.c
2908 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2909 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2910 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2911 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2912 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2913 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2914 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2915 * sysdeps/s390/ifunc-wcscspn.h: New file.
2917 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2919 * sysdeps/s390/multiarch/Makefile
2920 (sysdep_routines): Remove wcspbrk variants.
2921 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2922 * sysdeps/s390/multiarch/ifunc-impl-list.c
2923 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2924 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2925 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2926 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2927 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2928 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2929 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2930 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2932 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2934 * sysdeps/s390/multiarch/Makefile
2935 (sysdep_routines): Remove wcsspn variants.
2936 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2937 * sysdeps/s390/multiarch/ifunc-impl-list.c
2938 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2939 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2940 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2941 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2942 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2943 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2944 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2945 * sysdeps/s390/ifunc-wcsspn.h: New file.
2947 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2949 * sysdeps/s390/multiarch/Makefile
2950 (sysdep_routines): Remove wcsrchr variants.
2951 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2952 * sysdeps/s390/multiarch/ifunc-impl-list.c
2953 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2954 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2955 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2956 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2957 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2958 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2959 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2960 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2962 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2964 * sysdeps/s390/multiarch/Makefile
2965 (sysdep_routines): Remove wcschrnul variants.
2966 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2967 * sysdeps/s390/multiarch/ifunc-impl-list.c
2968 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2969 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2970 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2971 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2972 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2973 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2974 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2975 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2977 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2979 * sysdeps/s390/multiarch/Makefile
2980 (sysdep_routines): Remove wcschr variants.
2981 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2982 * sysdeps/s390/multiarch/ifunc-impl-list.c
2983 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2984 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2985 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2986 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2987 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2988 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2989 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2990 * sysdeps/s390/ifunc-wcschr.h: New file.
2992 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2994 * sysdeps/s390/multiarch/Makefile
2995 (sysdep_routines): Remove wcsncmp variants.
2996 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2997 * sysdeps/s390/multiarch/ifunc-impl-list.c
2998 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2999 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3000 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3001 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3002 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3003 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3004 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3005 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3007 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3009 * sysdeps/s390/multiarch/Makefile
3010 (sysdep_routines): Remove wcscmp variants.
3011 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3012 * sysdeps/s390/multiarch/ifunc-impl-list.c
3013 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3014 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3015 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3016 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3017 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3018 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3019 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3020 * sysdeps/s390/ifunc-wcscmp.h: New file.
3022 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3024 * sysdeps/s390/multiarch/Makefile
3025 (sysdep_routines): Remove wcsncat variants.
3026 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3027 * sysdeps/s390/multiarch/ifunc-impl-list.c
3028 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3029 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3030 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3031 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3032 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3033 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3034 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3035 * sysdeps/s390/ifunc-wcsncat.h: New file.
3037 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3039 * sysdeps/s390/multiarch/Makefile
3040 (sysdep_routines): Remove wcscat variants.
3041 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3042 * sysdeps/s390/multiarch/ifunc-impl-list.c
3043 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3044 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3045 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3046 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3047 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3048 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3049 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3050 * sysdeps/s390/ifunc-wcscat.h: New file.
3052 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3054 * sysdeps/s390/multiarch/Makefile
3055 (sysdep_routines): Remove wcpncpy variants.
3056 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3057 * sysdeps/s390/multiarch/ifunc-impl-list.c
3058 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3059 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3060 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3061 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3062 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3063 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3064 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3065 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3067 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3069 * sysdeps/s390/multiarch/Makefile
3070 (sysdep_routines): Remove wcsncpy variants.
3071 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3072 * sysdeps/s390/multiarch/ifunc-impl-list.c
3073 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3074 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3075 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3076 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3077 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3078 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3079 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3080 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3082 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3084 * sysdeps/s390/multiarch/Makefile
3085 (sysdep_routines): Remove wcpcpy variants.
3086 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3087 * sysdeps/s390/multiarch/ifunc-impl-list.c
3088 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3089 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3090 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3091 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3092 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3093 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3094 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3095 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3097 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3099 * sysdeps/s390/multiarch/Makefile
3100 (sysdep_routines): Remove wcscpy variants.
3101 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3102 * sysdeps/s390/multiarch/ifunc-impl-list.c
3103 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3104 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3105 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3106 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3107 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3108 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3109 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3110 * sysdeps/s390/ifunc-wcscpy.h: New file.
3112 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3114 * sysdeps/s390/multiarch/Makefile
3115 (sysdep_routines): Remove wcsnlen variants.
3116 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3117 * sysdeps/s390/multiarch/ifunc-impl-list.c
3118 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3119 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3120 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3121 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3122 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3123 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3124 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3125 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3127 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3129 * sysdeps/s390/multiarch/Makefile
3130 (sysdep_routines): Remove wcslen variants.
3131 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3132 * sysdeps/s390/multiarch/ifunc-impl-list.c
3133 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3134 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3135 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3136 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3137 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3138 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3139 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3140 * sysdeps/s390/ifunc-wcslen.h: New file.
3142 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3144 * sysdeps/s390/multiarch/Makefile
3145 (sysdep_routines): Remove memrchr variants.
3146 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3147 * sysdeps/s390/multiarch/ifunc-impl-list.c
3148 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3149 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3150 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3151 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3152 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3153 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3154 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3155 * sysdeps/s390/ifunc-memrchr.h: New file.
3157 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3159 * sysdeps/s390/multiarch/Makefile
3160 (sysdep_routines): Remove memccpy variants.
3161 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3162 * sysdeps/s390/multiarch/ifunc-impl-list.c
3163 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3164 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3165 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3166 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3167 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3168 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3169 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3170 * sysdeps/s390/ifunc-memccpy.h: New file.
3172 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3174 * sysdeps/s390/multiarch/Makefile
3175 (sysdep_routines): Remove rawmemchr variants.
3176 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3177 * sysdeps/s390/multiarch/ifunc-impl-list.c
3178 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3179 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3180 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3181 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3182 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3183 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3184 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3185 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3187 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3189 * sysdeps/s390/multiarch/Makefile
3190 (sysdep_routines): Remove memchr variants.
3191 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3192 * sysdeps/s390/multiarch/ifunc-impl-list.c
3193 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3194 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3195 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3196 * sysdeps/s390/multiarch/memchr.c: Move to ...
3197 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3198 * sysdeps/s390/ifunc-memchr.h: New file.
3199 * sysdeps/s390/s390-64/memchr.S: Move to ...
3200 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3201 for 31/64bit and ifunc handling.
3202 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3203 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3204 * sysdeps/s390/s390-32/memchr.S: Likewise.
3206 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3208 * sysdeps/s390/multiarch/Makefile
3209 (sysdep_routines): Remove strcspn variants.
3210 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3211 * sysdeps/s390/multiarch/ifunc-impl-list.c
3212 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3213 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3214 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3215 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3216 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3217 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3218 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3219 * sysdeps/s390/ifunc-strcspn.h: New file.
3221 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3223 * sysdeps/s390/multiarch/Makefile
3224 (sysdep_routines): Remove strpbrk variants.
3225 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3226 * sysdeps/s390/multiarch/ifunc-impl-list.c
3227 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3228 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3229 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3230 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3231 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3232 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3233 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3234 * sysdeps/s390/ifunc-strpbrk.h: New file.
3236 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3238 * sysdeps/s390/multiarch/Makefile
3239 (sysdep_routines): Remove strspn variants.
3240 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3241 * sysdeps/s390/multiarch/ifunc-impl-list.c
3242 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3243 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3244 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3245 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3246 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3247 * sysdeps/s390/multiarch/strspn.c: Move to ...
3248 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3249 * sysdeps/s390/ifunc-strspn.h: New file.
3251 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3253 * sysdeps/s390/multiarch/Makefile
3254 (sysdep_routines): Remove strrchr variants.
3255 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3256 * sysdeps/s390/multiarch/ifunc-impl-list.c
3257 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3258 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3259 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3260 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3261 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3262 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3263 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3264 * sysdeps/s390/ifunc-strrchr.h: New file.
3266 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3268 * sysdeps/s390/multiarch/Makefile
3269 (sysdep_routines): Remove strchrnul variants.
3270 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3271 * sysdeps/s390/multiarch/ifunc-impl-list.c
3272 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3273 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3274 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3275 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3276 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3277 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3278 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3279 * sysdeps/s390/ifunc-strchrnul.h: New file.
3281 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3283 * sysdeps/s390/multiarch/Makefile
3284 (sysdep_routines): Remove strchr variants.
3285 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3286 * sysdeps/s390/multiarch/ifunc-impl-list.c
3287 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3288 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3289 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3290 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3291 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3292 * sysdeps/s390/multiarch/strchr.c: Move to ...
3293 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3294 * sysdeps/s390/ifunc-strchr.h: New file.
3296 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3298 * sysdeps/s390/multiarch/Makefile
3299 (sysdep_routines): Remove strncmp variants.
3300 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3301 * sysdeps/s390/multiarch/ifunc-impl-list.c
3302 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3303 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3304 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3305 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3306 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3307 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3308 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3309 * sysdeps/s390/ifunc-strncmp.h: New file.
3311 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3313 * sysdeps/s390/multiarch/Makefile
3314 (sysdep_routines): Remove strcmp variants.
3315 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3316 * sysdeps/s390/multiarch/ifunc-impl-list.c
3317 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3318 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3319 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3320 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3321 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3322 * sysdeps/s390/ifunc-strcmp.h: New file.
3323 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3324 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3325 for 31/64bit and ifunc handling.
3326 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3327 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3328 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3330 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3332 * sysdeps/s390/multiarch/Makefile
3333 (sysdep_routines): Remove strncat variants.
3334 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3335 * sysdeps/s390/multiarch/ifunc-impl-list.c
3336 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3337 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3338 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3339 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3340 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3341 * sysdeps/s390/multiarch/strncat.c: Move to ...
3342 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3343 * sysdeps/s390/ifunc-strncat.h: New file.
3345 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3347 * sysdeps/s390/multiarch/Makefile
3348 (sysdep_routines): Remove strcat variants.
3349 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3350 * sysdeps/s390/multiarch/ifunc-impl-list.c
3351 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3352 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3353 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3354 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3355 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3356 * sysdeps/s390/multiarch/strcat.c: Move to ...
3357 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3358 * sysdeps/s390/ifunc-strcat.h: New file.
3360 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3362 * sysdeps/s390/multiarch/Makefile
3363 (sysdep_routines): Remove stpncpy variants.
3364 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3365 * sysdeps/s390/multiarch/ifunc-impl-list.c
3366 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3367 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3368 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3369 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3370 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3371 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3372 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3373 * sysdeps/s390/ifunc-stpncpy.h: New file.
3375 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3377 * sysdeps/s390/multiarch/Makefile
3378 (sysdep_routines): Remove strncpy variants.
3379 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3380 * sysdeps/s390/multiarch/ifunc-impl-list.c
3381 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3382 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3383 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3384 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3385 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3386 * sysdeps/s390/ifunc-strncpy.h: New file.
3387 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3388 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3389 and adjust ifunc handling.
3390 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3391 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3392 and adjust ifunc handling.
3393 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3394 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3396 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3398 * sysdeps/s390/multiarch/Makefile
3399 (sysdep_routines): Remove stpcpy variants.
3400 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3401 * sysdeps/s390/multiarch/ifunc-impl-list.c
3402 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3403 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3404 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3405 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3406 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3407 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3408 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3409 * sysdeps/s390/ifunc-stpcpy.h: New file.
3411 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3413 * sysdeps/s390/multiarch/Makefile
3414 (sysdep_routines): Remove strcpy variants.
3415 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3416 * sysdeps/s390/multiarch/ifunc-impl-list.c
3417 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3418 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3419 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3420 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3421 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3422 * sysdeps/s390/ifunc-strcpy.h: New file.
3423 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3424 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3425 for 31/64bit and ifunc handling.
3426 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3427 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3428 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3430 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3432 * sysdeps/s390/multiarch/Makefile
3433 (sysdep_routines): Remove strnlen variants.
3434 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3435 * sysdeps/s390/multiarch/ifunc-impl-list.c
3436 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3437 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3438 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3439 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3440 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3441 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3442 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3443 * sysdeps/s390/ifunc-strnlen.h: New file.
3445 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3447 * sysdeps/s390/multiarch/Makefile
3448 (sysdep_routines): Remove strlen variants.
3449 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3450 * sysdeps/s390/multiarch/ifunc-impl-list.c
3451 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3452 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3453 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3454 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3455 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3456 * sysdeps/s390/multiarch/strlen.c: Move to ...
3457 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3458 * sysdeps/s390/ifunc-strlen.h: New file.
3460 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3462 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3463 * sysdeps/s390/multiarch/ifunc-impl-list.c
3464 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3465 * sysdeps/s390/ifunc-memmem.h: New file.
3466 * sysdeps/s390/memmem.c: Likewise.
3467 * sysdeps/s390/memmem-c.c: Likewise.
3468 * sysdeps/s390/memmem-vx.c: Likewise.
3470 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3472 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3473 * sysdeps/s390/multiarch/ifunc-impl-list.c
3474 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3475 * sysdeps/s390/ifunc-strstr.h: New file.
3476 * sysdeps/s390/strstr.c: Likewise.
3477 * sysdeps/s390/strstr-c.c: Likewise.
3478 * sysdeps/s390/strstr-vx.c: Likewise.
3480 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3482 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3483 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3484 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3485 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3487 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3488 * sysdeps/s390/memmove-c.c: New file.
3489 * sysdeps/s390/memmove.c: Likewise.
3490 * sysdeps/s390/multiarch/ifunc-impl-list.c
3491 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3493 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3495 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3496 * sysdeps/s390/configure.ac: Add check for z13 support.
3497 * sysdeps/s390/configure: Regenerated.
3499 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3501 * sysdeps/s390/memcopy.h: New file.
3503 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3505 * sysdeps/s390/s390-32/bcopy.S: Remove.
3506 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3508 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3510 * sysdeps/s390/ifunc-memcpy.h: New File.
3511 * sysdeps/s390/memcpy.S: Move to ...
3512 * sysdeps/s390/memcpy-z900.S ... here.
3513 Move implementations from memcpy-s390x.s to here.
3514 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3515 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3516 Remove memcpy/mempcpy variants.
3517 * sysdeps/s390/Makefile (sysdep_routines):
3518 Add memcpy/mempcpy variants.
3519 * sysdeps/s390/multiarch/ifunc-impl-list.c
3520 (__libc_ifunc_impl_list): Adjust ifunc variants for
3522 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3524 * sysdeps/s390/memcpy.c: ... here.
3525 Adjust ifunc variants for memcpy.
3526 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3527 * sysdeps/s390/mempcpy.c: ... here.
3528 Adjust ifunc variants for mempcpy.
3529 * sysdeps/s390/mempcpy.S: Delete file.
3531 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3533 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3534 * sysdeps/s390/memcpy.S: ... here.
3535 Adjust to be usable for 31/64bit.
3536 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3537 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3538 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3539 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3540 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3541 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3542 Adjust to be usable for 31/64bit.
3543 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3544 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3545 * sysdeps/s390/multiarch/memcpy.c: ... here.
3546 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3548 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3550 * sysdeps/s390/ifunc-memcmp.h: New File.
3551 * sysdeps/s390/memcmp.S: Move to ...
3552 * sysdeps/s390/memcmp-z900.S ... here.
3553 Move implementations from memcmp-s390x.s to here.
3554 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3555 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3556 Remove memcmp variants.
3557 * sysdeps/s390/Makefile (sysdep_routines):
3558 Add memcmp variants.
3559 * sysdeps/s390/multiarch/ifunc-impl-list.c
3560 (__libc_ifunc_impl_list): Adjust ifunc variants for
3562 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3564 * sysdeps/s390/memcmp.c: ... here.
3565 Adjust ifunc variants for memcmp.
3567 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3569 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3570 * sysdeps/s390/memcmp.S: ... here.
3571 Adjust to be usable for 31/64bit.
3572 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3573 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3574 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3576 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3577 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3578 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3579 Adjust to be usable for 31/64bit.
3580 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3581 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3582 * sysdeps/s390/multiarch/memcmp.c: ... here.
3583 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3585 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3587 * sysdeps/s390/s390-32/bzero.S: Delete file.
3588 * sysdeps/s390/s390-64/bzero.S: Likewise.
3589 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3590 * sysdeps/s390/bzero.c: New file.
3591 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3592 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3593 * sysdeps/s390/multiarch/ifunc-impl-list.c
3594 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3596 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3598 * sysdeps/s390/ifunc-memset.h: New File.
3599 * sysdeps/s390/memset.S: Move to ...
3600 * sysdeps/s390/memset-z900.S ... here.
3601 Move implementations from memset-s390x.s to here.
3602 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3603 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3604 Remove memset variants.
3605 * sysdeps/s390/Makefile (sysdep_routines):
3606 Add memset variants.
3607 * sysdeps/s390/multiarch/ifunc-impl-list.c
3608 (__libc_ifunc_impl_list): Adjust ifunc variants for
3610 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3612 * sysdeps/s390/memset.c: ... here.
3613 Adjust ifunc variants for memset.
3615 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3617 * sysdeps/s390/s390-64/memset.S: Move to ...
3618 * sysdeps/s390/memset.S: ... here.
3619 Adjust to be usable for 31/64bit.
3620 * sysdeps/s390/s390-32/memset.S: Delete File.
3621 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3622 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3624 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3625 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3626 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3627 Adjust to be usable for 31/64bit.
3628 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3629 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3630 * sysdeps/s390/multiarch/memset.c: ... here.
3631 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3633 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3635 * sysdeps/s390/multiarch/ifunc-resolve.h
3636 (s390_libc_ifunc_init, s390_libc_ifunc,
3637 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3639 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3641 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3642 * sysdeps/s390/configure.ac: Add check for z10 support.
3643 * sysdeps/s390/configure: Regenerated.
3645 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3647 * sysdeps/i386/atomic-machine.h: Merged with ...
3648 * sysdeps/x86_64/atomic-machine.h: To ...
3649 * sysdeps/x86/atomic-machine.h: This. New file.
3651 2018-12-18 Florian Weimer <fweimer@redhat.com>
3653 Rewrite locale/gen-translit.pl in Python.
3654 * locale/Makefile (generated): Add C-translit.h.
3655 (before-compile): Add $(objpfx)C-translit.h.
3656 (C-translit.h): Move to $(objpfx). Create target directory.
3657 Build using Python script.
3658 * locale/gen-translit.py: New file.
3659 * locale/gen-translit.pl: Remove file.
3660 * locale/C-translit.h.in: Change comment character to '#' for
3661 easier parsing without a C preprocessor.
3662 * locale/C-translit.h: Remove generated file.
3663 * manual/install.texi (Tools for Compilation): Do not mention
3665 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3666 Remove locale/C-translit.h.
3667 * scripts/update-copyrights: Likewise.
3668 * INSTALL: Regenerate.
3670 2018-12-18 Florian Weimer <fweimer@redhat.com>
3673 * localedata/locales/bi_VU: Remove executable bit from file.
3675 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3678 (__localtime64): Add.
3679 * manual/maint.texi: Document Y2038 symbol handling.
3681 (__localtime64): Add.
3682 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3684 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3686 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3689 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3690 to allow extra macros from first or second sources.
3691 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3692 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3693 (tests-special): Add $(objpfx)tst-mman-consts.out.
3694 ($(objpfx)tst-mman-consts.out): New makefile target.
3696 2018-12-17 Mao Han <han_mao@c-sky.com>
3698 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3699 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3700 without stat64 system call support.
3701 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3702 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3703 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3704 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3705 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3706 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3707 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3708 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3709 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3710 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3711 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3713 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3715 regex: fix storage-exhaustion error
3717 * posix/regexec.c (get_subexp):
3718 Do not continue if storage is exhausted.
3720 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3722 regex: fix heap-use-after-free error
3724 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3725 https://debbugs.gnu.org/32592
3726 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3727 call extend_buffers which reallocates the re_string_t internal buffer.
3728 Local variable 'buf' was not updated in such case, resulting in
3730 * posix/regexec.c (get_subexp): Update 'buf' after call to
3733 2018-12-15 Florian Weimer <fweimer@redhat.com>
3735 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3736 (minimum_stride_size): Use it.
3737 (support_blob_repeat_allocate): Likewise.
3739 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3741 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3746 2018-12-14 Florian Weimer <fweimer@redhat.com>
3748 * manual/process.texi (Process Creation Concepts): Remove
3749 documentation of process (ID) lifetime. List more process
3750 creation functions. Reference Process Identification section.
3751 (Process Identification): Add information about process ID
3752 lifetime. Describe Linux thread/task IDs.
3753 * manual/signal.texi (Signaling Another Process): Mention that the
3754 signal is always sent to the process.
3756 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3758 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3759 and tst-ldbl-efgcvt.
3760 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3761 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3762 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3763 (fcvt_tests, output_error, output_r_error, do_test): Use the
3764 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3765 select the type of floating-point variables and arguments; to
3766 produce extra tests for double and conversion specifiers for
3767 printf; and to set the names of called functions.
3768 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3769 in tst-efgcvt-template.c.
3770 * misc/tst-ldbl-efgcvt.c: Likewise.
3772 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3774 * nss/Makefile (tst-nss-test3.out): New rule.
3776 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3778 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3781 2018-12-13 fanjinke <fanjinke@hygon.cn>
3783 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3786 2018-12-13 Andreas Schwab <schwab@suse.de>
3789 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3790 (__pthread_rwlock_rdlock_full): Update expected value for
3791 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3792 * nptl/tst-rwlock-pwn.c: New file.
3793 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3795 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3797 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3800 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3802 * benchtests/scripts/compare_bench.py (do_compare): write to
3803 stderr in casestat is not present.
3804 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3805 stderr in case timings field is not present. Also string showing
3806 the output filename goes into the stderr.
3808 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3810 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3811 and ZeroDivisorError exceptions.
3812 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3813 argument to loop through user provided statistics.
3814 * benchtests/scripts/compare_bench.py (main): Include the --stats
3817 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3819 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3822 2018-12-12 Florian Weimer <fweimer@redhat.com>
3824 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3825 clause to copyright header.
3827 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3830 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3831 registers saved in the stack frame.
3832 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3833 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3835 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3837 * include/bits/monetary-ldbl.h: New file.
3838 * include/bits/printf-ldbl.h: Likewise.
3839 * include/bits/stdio-ldbl.h: Likewise.
3840 * include/bits/stdlib-ldbl.h: Likewise.
3841 * include/bits/syslog-ldbl.h: Likewise.
3842 * include/bits/wchar-ldbl.h: Likewise.
3844 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3846 * libio/libio.h: Remove redirection for _IO_vfprintf.
3848 2018-12-11 Andreas Schwab <schwab@suse.de>
3850 * Makerules: Remove all references to abilist-pattern.
3851 (update-all-abi): Simplify find expression.
3853 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3856 * math/auto-libm-test-in: Add new test case.
3857 * math/auto-libm-test-out-pow: Regenerated.
3858 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3860 2018-12-10 DJ Delorie <dj@redhat.com>
3863 * support/test-container.c: Move postclean step to before we
3866 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3868 * scripts/gen-as-const.py (main): Handle --python option.
3869 * scripts/gen-py-const.awk: Remove.
3870 * Makerules (py-const-script): Use gen-as-const.py.
3871 ($(py-const)): Likewise.
3872 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3873 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3874 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3875 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3876 ~PTHREAD_MUTEX_NO_ELISION_NP.
3877 * manual/README.pretty-printers: Update reference to
3880 * scripts/glibcextract.py: New file.
3881 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3882 or tempfile. Import glibcexctract.
3883 (compute_c_consts): Remove. Moved to glibcextract.py.
3884 (gen_test): Update reference to compute_c_consts.
3886 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3887 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3888 * sysdeps/unix/sysv/linux/Makefile
3889 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3890 Redirect stderr as well as stdout.
3892 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3895 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3896 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3897 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3898 ALWAYS_USE_VSYSCALL.
3899 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3900 ALWAYS_USE_VSYSCALL.
3901 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3902 ALWAYS_USE_VSYSCALL.
3904 2018-12-10 Florian Weimer <fweimer@redhat.com>
3907 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3908 offset instead of count for clarity. Fix typo in comment.
3909 (__old_getdents64): Keep track of previous offset. Use it to call
3911 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3912 that d_off is never zero.
3914 2018-12-10 Andreas Schwab <schwab@suse.de>
3916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3917 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3919 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3920 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3922 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3924 * timezone/private.h: Update from tzcode 2018g.
3925 * timezone/tzfile.h: Likewise.
3926 * timezone/tzselect.ksh: Likewise.
3927 * timezone/zdump.c: Likewise.
3928 * timezone/zic.c: Likewise.
3930 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3933 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3934 (do_test): Adjust buffer size and fix format.
3936 2018-12-07 DJ Delorie <dj@redhat.com>
3939 * malloc/tst-tcfree3.c: New.
3940 * malloc/Makefile: Add it.
3942 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3944 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3946 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3948 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3949 used as a mask for the mode argument of __vfscanf_internal and
3950 __vfwscanf_internal.
3951 * stdio-common/vfscanf-internal.c
3952 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3953 (__strtof128_internal): Define to __wcstof128_internal.
3954 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3955 __strtof128_internal or __wcstof128_internal when the format of
3956 long double is the same as _Float128.
3958 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3960 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3961 * posix/confstr.c (confstr): Rename to __confstr.
3962 (__confstr): Add hidden def.
3963 (confstr): Add weak alias for __confstr.
3964 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3967 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3969 * NEWS: Mention getcpu.
3970 * include/sched.h (__getcpu): New libc_hidden_proto.
3971 * manual/resource.texi: Document getcpu.
3972 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3973 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3974 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3975 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3976 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3977 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3978 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3979 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3980 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3981 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3982 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3983 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3984 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3986 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3987 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3988 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3997 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3998 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3999 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4000 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4001 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4002 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4003 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4004 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4005 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4006 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4007 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4010 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4012 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4014 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4016 2018-12-07 Florian Weimer <fweimer@redhat.com>
4019 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4020 * posix/Versions (GLIBC_2.29): Export
4021 posix_spawn_file_actions_addfchdir_np.
4022 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4023 * posix/spawn_faction_destroy.c
4024 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4025 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4026 and the field action.fchdir_action.
4027 * posix/tst-spawn-chdir.c (add_chdir): New function.
4028 (do_test): Add do_fchdir loop. Call add_chdir.
4029 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4030 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4031 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4032 posix_spawn_file_actions_addfchdir_np.
4033 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4035 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4037 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4038 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4040 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4042 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4044 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4046 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4048 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4050 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4051 (GLIBC_2.29): Likewise.
4052 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4053 (GLIBC_2.29): Likewise.
4054 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4055 (GLIBC_2.29): Likewise.
4056 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4057 (GLIBC_2.29): Likewise.
4058 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4061 (GLIBC_2.29): Likewise.
4062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4063 (GLIBC_2.29): Likewise.
4064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4065 (GLIBC_2.29): Likewise.
4066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4067 (GLIBC_2.29): Likewise.
4068 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4070 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4072 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4074 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4075 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4077 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4079 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4081 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4084 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4086 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4087 trailing whitespace removed.
4088 * scripts/config.guess: Update to version 2018-11-28.
4089 * scripts/config.sub: Update to version 2018-11-28.
4090 * scripts/install-sh: Update to version 2018-03-11.20.
4091 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4092 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4094 2018-12-07 Florian Weimer <fweimer@redhat.com>
4098 * inet/tst-if_index-long.c: New file.
4099 * inet/Makefile (tests): Add tst-if_index-long.
4101 2018-12-07 Florian Weimer <fweimer@redhat.com>
4103 * support/check.h (support_record_failure_is_failed): Declare.
4104 * support/descriptors.h: New file.
4105 * support/support_descriptors.c: Likewise.
4106 * support/tst-support_descriptors.c: Likewise.
4107 * support/support_record_failure.c
4108 (support_record_failure_is_failed): New function.
4109 * support/Makefile (libsupport-routines): Add support_descriptors.
4110 (tests): Add tst-support_descriptors.
4112 2018-12-05 Zack Weinberg <zackw@panix.com>
4113 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4115 * stdio-common/vfprintf-internal.c
4116 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4117 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4118 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4119 and __no_long_double.
4120 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4121 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4122 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4123 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4124 and __nldbl_*syslog* functions.
4125 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4126 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4127 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4128 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4129 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4130 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4131 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4132 (__nldbl_vwprintf, __nldbl_wprintf):
4133 Directly call the appropriate __v*printf_internal routine, passing
4134 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4136 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4137 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4138 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4139 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4140 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4141 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4142 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4143 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4144 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4145 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4146 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4147 (__nldbl_syslog, __nldbl_vsyslog):
4148 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4149 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4151 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4154 2018-12-05 Zack Weinberg <zackw@panix.com>
4155 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4158 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4159 Moved here from debug/vsprintf_chk.c.
4160 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4161 and completion logic for the strfile to match exactly what
4162 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4163 _IO_str_init_static_internal instead of maxlen-1.
4164 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4165 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4166 __vsprintf_internal.
4168 * debug/vsprintf_chk.c (__vsprintf_chk)
4169 * debug/sprintf_chk.c (__sprintf_chk):
4170 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4171 'flags' argument is positive, and slen as maxlen. No need to lock
4172 the FILE and/or construct a temporary FILE. Minimize and normalize
4173 header inclusions and variable names. Do not libc_hidden_def anything.
4175 * debug/asprintf_chk.c (__asprintf_chk)
4176 * debug/dprintf_chk.c (__dprintf_chk)
4177 * debug/fprintf_chk.c (__fprintf_chk)
4178 * debug/fwprintf_chk.c (__fwprintf_chk)
4179 * debug/printf_chk.c (__printf_chk)
4180 * debug/snprintf_chk.c (__snprintf_chk)
4181 * debug/swprintf_chk.c (__swprintf_chk)
4182 * debug/vasprintf_chk.c (__vasprintf_chk)
4183 * debug/vdprintf_chk.c (__vdprintf_chk)
4184 * debug/vfprintf_chk.c (__vfprintf_chk)
4185 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4186 * debug/vprintf_chk.c (__vprintf_chk)
4187 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4188 * debug/vswprintf_chk.c (__vswprintf_chk)
4189 * debug/vwprintf_chk.c (__vwprintf_chk)
4190 * debug/wprintf_chk.c (__wprintf_chk):
4191 Directly call the corresponding vxxprintf_internal function, passing
4192 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4193 the FILE and/or construct a temporary FILE. Minimize and normalize
4194 header inclusions and variable names. Do not libc_hidden_def anything.
4196 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4197 __obstack_vprintf_internal.
4198 (__obstack_vprintf_chk): Convert into a wrapper that calls
4199 __obstack_vprintf_internal (these two functions already had the
4200 same code) and move to new file...
4201 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4203 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4204 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4205 * debug/Makefile (routines): Add vobprintf_chk.
4207 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4208 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4209 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4210 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4211 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4212 (__nldbl___obstack_vfprintf_chk):
4213 Directly call the corresponding vxxprintf_internal function,
4214 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4215 duplicate comparison of slen with 0 or maxlen from the corresponding
4216 non-__nldbl function.
4218 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4219 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4220 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4221 Remove libc_hidden_proto.
4223 * stdio-common/vfprintf-internal.c
4224 (__vfprintf_internal, __vfwprintf_internal):
4225 Do not check _IO_FLAGS2_FORTIFY.
4226 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4227 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4228 a comment explaining why it has the maxlen argument.
4229 (_IO_acquire_lock_clear_flags2_fct): Remove.
4230 (_IO_acquire_lock_clear_flags2): Remove.
4231 (_IO_release_lock): Remove conditional statement which will
4233 (_IO_acquire_lock): Remove variable which is now unused.
4234 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4235 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4237 * stdio-common/Makefile (tests): Add tst-bz11319 and
4238 tst-bz11319-fortify2.
4239 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4240 * stdio-common/tst-bz11319-fortify2.c: New file.
4241 * stdio-common/tst-bz11319.c: Likewise.
4243 2018-12-05 Zack Weinberg <zackw@panix.com>
4244 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4246 * misc/syslog.c: Include libioP.h, not iolibio.h.
4247 (__vsyslog_internal): New function with the former body of
4248 __vsyslog_chk; takes mode_flags argument same as
4249 __v*printf_internal. Call __vfprintf_internal directly.
4251 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4252 Remove libc_hidden_def.
4253 (__syslog, __syslog_chk): Use __vsyslog_internal.
4254 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4256 * include/sys/syslog.h: Add multiple inclusion guard.
4257 Add prototype for __vsyslog_internal.
4258 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4260 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4261 Use __vsyslog_internal.
4263 2018-12-05 Zack Weinberg <zackw@panix.com>
4264 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4266 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4267 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4268 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4270 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4271 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4273 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4274 Include wctype.h here if COMPILE_WPRINTF is defined.
4275 Define __vfprintf_internal or __vfwprintf_internal, depending
4277 Temporarily, on entry to this function, update mode_flags
4278 according to the environmental settings corresponding to
4279 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4280 Throughout, check mode_flags instead of __ldbl_is_dbl and
4281 _IO_FLAGS2_FORTIFY on the destination FILE.
4282 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4283 Include vfprintf-internal.c. Don't include wctype.h.
4284 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4285 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4287 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4288 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4290 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4292 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4293 and add mode_flags argument; use __vfprintf_internal.
4294 (__vdprintf): New function. Alias vdprintf to this.
4295 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4296 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4297 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4298 (__obstack_printf): Use __obstack_printf_internal.
4299 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4300 public aliases __vsnprintf and vsnprintf.
4301 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4303 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4304 public aliases _IO_vsprintf and vsprintf.
4305 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4306 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4307 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4308 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4309 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4311 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4312 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4313 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4314 * stdio-common/printf.c: Use __vfprintf_internal.
4316 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4317 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4318 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4320 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4321 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4322 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4323 __vfwprintf_internal.
4325 * libio/libio.h: Remove libc_hidden_proto and declaration for
4327 Remove declaration of _IO_vfwprintf.
4328 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4330 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4332 * include/stdio.h: Add prototype for __vasprintf.
4333 (__vsnprintf): Remove declaration, because there are no more
4335 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4336 declaration, because there are no more internal calls.
4338 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4339 __vsnprintf_internal, instead of _IO_vsnprintf.
4340 * argp/argp-help.c (__argp_error, __argp_failure): Use
4341 __vasprintf_internal, instead of _IO_vasprintf.
4342 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4343 redefine, because there are no more internal calls.
4345 2018-12-05 Zack Weinberg <zackw@panix.com>
4346 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4348 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4349 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4350 Include libio/strfile.h instead of libioP.h.
4351 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4352 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4353 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4354 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4355 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4356 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4357 necessary. Do not set __no_long_double. Normalize variable names.
4358 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4359 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4360 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4361 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4362 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4363 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4364 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4365 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4366 Do not set __no_long_double. Normalize variable names.
4368 2018-12-05 Zack Weinberg <zackw@panix.com>
4369 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4371 * stdio-common/isoc99_scanf.c
4372 * stdio-common/isoc99_fscanf.c
4373 * stdio-common/isoc99_sscanf.c
4374 * stdio-common/isoc99_vscanf.c
4375 * stdio-common/isoc99_vfscanf.c
4376 * stdio-common/isoc99_vsscanf.c
4377 * wcsmbs/isoc99_wscanf.c
4378 * wcsmbs/isoc99_fwscanf.c
4379 * wcsmbs/isoc99_swscanf.c
4380 * wcsmbs/isoc99_vwscanf.c
4381 * wcsmbs/isoc99_vfwscanf.c
4382 * wcsmbs/isoc99_vswscanf.c:
4383 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4384 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4385 No need to lock and unlock the FILE passed to that function.
4387 * stdio-common/vfscanf-internal.c
4388 (__vfscanf_internal, __vfwscanf_internal):
4389 Don't look at _IO_FLAGS2_SCANF_STD.
4390 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4391 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4392 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4394 2018-12-05 Zack Weinberg <zackw@panix.com>
4395 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4397 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4398 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4399 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4400 * libio/strfile.h: Add multiple inclusion guard.
4401 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4403 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4404 consistency with the other version of this file.
4405 (ldbl_compat_symbol): New macro.
4406 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4409 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4410 Define __vfscanf_internal or __vfwscanf_internal, depending on
4411 COMPILE_WSCANF; don't define any other public symbols.
4412 Remove errval and code to set errp.
4413 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4414 as the mode_flags argument.
4415 (encode_error, conv_error, input_error): Don't set errval.
4416 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4417 Include vfscanf-internal.c.
4418 * stdio-common/vfscanf.c: New file defining the public entry
4419 point vfscanf, which calls __vfscanf_internal.
4420 * stdio-common/vfwscanf.c: New file defining the public entry
4421 point vfwscanf, which calls __vfwscanf_internal.
4423 * stdio-common/iovfscanf.c: New file.
4424 * stdio-common/iovfwscanf.c: Likewise.
4426 * stdio-common/Makefile (routines): Add vfscanf-internal,
4427 vfwscanf-internal, iovfscanf, iovfwscanf.
4428 * stdio-common/Versions: Mention GLIBC_2.29, so that
4429 it can be used in SHLIB_COMPAT expressions.
4430 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4431 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4432 Call __vfscanf_internal, instead of _IO_vfscanf.
4433 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4435 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4438 * libio/iovsscanf.c: Clean up includes, when possible. Use
4439 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4440 __vfscanf_internal or __vfwscanf_internal directly.
4441 * libio/iovswscanf.c: Likewise.
4442 * libio/swscanf.c: Likewise.
4443 * libio/vscanf.c: Likewise.
4444 * libio/vwscanf.c: Likewise.
4445 * libio/wscanf.c: Likewise.
4446 * stdio-common/isoc99_fscanf.c: Likewise.
4447 * stdio-common/isoc99_scanf.c: Likewise.
4448 * stdio-common/isoc99_sscanf.c: Likewise.
4449 * stdio-common/isoc99_vfscanf.c: Likewise.
4450 * stdio-common/isoc99_vscanf.c: Likewise.
4451 * stdio-common/isoc99_vsscanf.c: Likewise.
4452 * stdio-common/scanf.c: Likewise.
4453 * stdio-common/sscanf.c: Likewise.
4454 * wcsmbs/isoc99_fwscanf.c: Likewise.
4455 * wcsmbs/isoc99_swscanf.c: Likewise.
4456 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4457 * wcsmbs/isoc99_vswscanf.c: Likewise.
4458 * wcsmbs/isoc99_vwscanf.c: Likewise.
4459 * wcsmbs/isoc99_wscanf.c: Likewise.
4461 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4464 (__tz_compute): Replace time_t with __time64_t.
4465 (__tz_convert): Replace time_t* with __time64_t.
4466 (__offtime): Replace time_t* with __time64_t.
4468 (__gmtime_r): Adjust call to __tz_convert.
4471 (__localtime_r): Likewise.
4472 (localtime): Likewise.
4473 * time/offtime.c: Replace time_t with __time64_t.
4474 * time/tzset.c: Likewise.
4476 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4478 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4479 dynamic linker unless [$(run-built-tests) = yes].
4481 2018-12-03 DJ Delorie <dj@delorie.com>
4483 * support/test-container.c (check_for_unshare_hints): New.
4484 (main): Call it if unshare fails. Add support for "su" scriptlet
4487 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4489 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4490 'START' to indicate that start text should be output.
4491 (gen_test): Likewise.
4492 (main): Generate 'START' for first symbol or '--' line, or at end
4493 of input if not previously generated.
4495 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4498 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4499 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4500 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4501 ALWAYS_USE_VSYSCALL.
4503 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4506 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4509 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4512 * locale/programs/localedef.c: Declare boolean hard_links default true.
4513 (options): Add --no-hard-links option.
4514 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4515 * locale/programs/localedef.h: Declare prototype for hard_links.
4516 * locale/programs/locfile.c (write_locale_data): Don't use hard
4517 links if hard_links is false.
4519 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4521 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4523 (__cache_sysconf): Likewise.
4524 (init_cacheinfo): Likewise.
4525 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4526 populate COMMON_CPUID_INDEX_80000007 and
4527 COMMON_CPUID_INDEX_80000008.
4528 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4529 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4530 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4531 (init_cpu_features): Use _Static_assert on
4532 index_arch_Fast_Unaligned_Load.
4533 __get_cpuid_registers and __get_arch_feature. Updated for
4534 cpu_features_basic. Set stepping in cpu_features.
4535 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4536 (FEATURE_INDEX_2): New.
4537 (FEATURE_INDEX_MAX): Changed to enum.
4538 (COMMON_CPUID_INDEX_D_ECX_1): New.
4539 (COMMON_CPUID_INDEX_80000007): Likewise.
4540 (COMMON_CPUID_INDEX_80000008): Likewise.
4541 (cpuid_registers): Likewise.
4542 (cpu_features_basic): Likewise.
4543 (CPU_FEATURE_USABLE): Likewise.
4544 (bit_arch_XXX_Usable): Likewise.
4545 (cpu_features): Use cpuid_registers and cpu_features_basic.
4546 (bit_arch_XXX): Reweritten.
4547 (bit_cpu_XXX): Likewise.
4548 (index_cpu_XXX): Likewise.
4549 (reg_XXX): Likewise.
4550 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4552 (CHECK_CPU_FEATURE): New.
4553 (CHECK_CPU_FEATURE_USABLE): Likewise.
4554 (cpu_kinds): Likewise.
4555 (do_test): Print vendor, family, model and stepping. Check
4556 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4557 (TEST_FUNCTION): Removed.
4558 Include <support/test-driver.c> instead of
4559 "../../test-skeleton.c".
4560 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4561 Check POPCNT instead of POPCOUNT.
4562 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4564 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4566 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4567 there is no element in `consts'.
4569 2018-12-01 Florian Weimer <fweimer@redhat.com>
4571 * support/support_capture_subprocess.c
4572 (support_capture_subprocess): Check that pipe descriptors have
4573 expected values. Close original pipe descriptors in subprocess.
4575 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4578 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4579 attr with __pthread_default_barrierattr.
4580 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4581 attr with __pthread_default_condattr.
4582 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4583 attr with __pthread_default_mutexattr.
4584 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4585 attr with __pthread_default_rwlockattr.
4587 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4589 * manual/tunables.texi (POSIX Thread Tunables): New node.
4590 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4591 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4592 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4593 __pthread_tunables_init.
4594 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4595 (max_adaptive_count): Define.
4596 * nptl/pthread_mutex_conf.c: New file.
4597 * nptl/pthread_mutex_conf.h: New file.
4598 * sysdeps/generic/adaptive_spin_count.h: New file.
4599 * sysdeps/nptl/dl-tunables.list: New file.
4600 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4601 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4602 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4605 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4608 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4609 * stdlib/on_exit.c (__on_exit): Likewise.
4610 * stdlib/Makefile (tests): Add tst-bz20544.
4611 * stdlib/tst-bz20544.c: New test.
4613 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4616 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4617 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4620 2018-11-30 Florian Weimer <fweimer@redhat.com>
4622 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4623 Extend error logging.
4624 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4627 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4629 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4630 __sigismember instead of sigismember.
4631 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4632 cancel_handler): New definitions.
4633 (do_system): Use posix_spawn instead of fork and execl and remove
4635 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4636 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4637 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4638 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4639 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4640 * sysdeps/unix/sysv/linux/system.c: Likewise.
4644 * NEWS: Add new semantic for atfork with popen and system.
4645 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4648 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4651 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4652 modification order when accessing reloc_result->addr.
4653 * include/link.h (reloc_result): Add field init.
4654 * nptl/Makefile (tests): Add tst-audit-threads.
4655 (modules-names): Add tst-audit-threads-mod1 and
4656 tst-audit-threads-mod2.
4657 Add rules to build tst-audit-threads.
4658 * nptl/tst-audit-threads-mod1.c: New file.
4659 * nptl/tst-audit-threads-mod2.c: Likewise.
4660 * nptl/tst-audit-threads.c: Likewise.
4661 * nptl/tst-audit-threads.h: Likewise.
4663 2018-11-30 Joseph Myers <joseph@codesourcery.com>
4665 * scripts/gen-as-const.py: New file.
4666 * scripts/gen-as-const.awk: Remove.
4667 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4669 ($(objpfx)test-as-const-%.c): Likewise.
4671 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4673 * elf/dl-exception.c: Include <_itoa.h>.
4675 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4677 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4678 returned by __f_setlk.
4680 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4681 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4683 * elf/Makefile (tests-internal): Add tst-create_format1.
4684 * elf/dl-exception.c (_dl_exception_create_format): Support
4686 * elf/tst-create_format1.c: New file.
4688 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4690 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4691 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4693 * argp/argp-help.c (__argp_failure): Likewise.
4695 2018-11-29 Mao Han <han_mao@c-sky.com>
4697 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4698 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4699 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4700 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4701 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4702 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4703 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4704 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4705 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4706 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4707 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4708 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4709 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4710 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4711 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4712 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4713 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4714 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4715 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4716 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4717 (R_CKCORE_TLS_TPOFF32): New defines.
4719 2018-11-29 Florian Weimer <fweimer@redhat.com>
4721 * posix/Makefile (before-compile): Remove testcases.h and
4723 (generated): Add testcases.h and ptestcases.h.
4724 (testcases.h, ptestcases.h): Move to $(objpfx).
4725 (runtests.o): Add dependency on testcases.h.
4726 (runptests.o): Add dependency on ptestcases.h.
4727 * posix/testcases.h, posix/ptestcases.h: Remove files.
4728 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4729 not touch posix/testcases.h and posix/ptestcases.h.
4731 2018-11-28 Florian Weimer <fweimer@redhat.com>
4733 support: Add signal support to support_capture_subprocess_check.
4734 * support/capture_subprocess.h (support_capture_subprocess_check):
4735 Adjust comment and rename parameter.
4736 * support/support_capture_subprocess_check.c
4737 (print_actual_status): New function.
4738 (support_capture_subprocess_check): Support negative
4739 status_or_signal. Call print_actual_status.
4740 * support/tst-support_capture_subprocess.c (do_test): Call
4741 support_capture_subprocess_check.
4742 * libio/tst-vtables-common.c (termination_status)
4743 (init_termination_status): Remove.
4744 (check_for_termination): Adjust support_capture_subprocess_check
4746 (do_test): Remove call to init_termination_status.
4748 2018-11-28 Joseph Myers <joseph@codesourcery.com>
4750 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4751 source directory instead of a copy.
4752 (CommandList.create_copy_dir): Remove.
4754 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4756 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4758 2018-11-28 Florian Weimer <fweimer@redhat.com>
4760 * support/support.h (support_quote_string): Do not use str
4763 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4765 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4766 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4768 2018-11-27 Florian Weimer <fweimer@redhat.com>
4770 * support/support.h (support_quote_string): Declare.
4771 * support/support_quote_string.c: New file.
4772 * support/tst-support_quote_string.c: Likewise.
4773 * support/Makefile (libsupport-routines): Add
4774 support_quote_string.
4775 (tests): Add tst-support_quote_string.
4777 2018-11-27 Florian Weimer <fweimer@redhat.com>
4781 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4782 descriptor leak in case of ENODEV error.
4784 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4787 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4788 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4789 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4791 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4793 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4794 Error for unknown lines.
4796 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4798 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4799 Touch additional files.
4801 2018-11-26 Florian Weimer <fweimer@redhat.com>
4804 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4807 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4810 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4811 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4812 SHARED. Include sysdep.h.
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4814 ALWAYS_USE_VSYSCALL.
4815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4816 ALWAYS_USE_VSYSCALL.
4818 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4821 * nptl/Makefile (tests-static): Add tst-cond11-static.
4823 * nptl/tst-cond11-static.c: New File.
4824 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4825 tst-affinity-static.
4827 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4829 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4830 (USE_VSYSCALL): Likewise.
4831 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4832 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4834 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4839 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4842 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4843 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4846 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4848 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4849 (tst-cet-legacy-1a-ARGS): New.
4850 ($(objpfx)tst-cet-legacy-1a): New target.
4851 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4853 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4855 * conform/conformtest.py (CompileSubTest.__init__): Set
4856 self.run_early to False.
4857 (ExecuteSubTest.__init__): Likewise.
4858 (HeaderTests.run): Try running all non-optional, non-XFAILed
4859 compilation tests in a single execution of the compiler.
4861 * conform/conformtest.py (CompileSubTest): New class.
4862 (ExecuteSubTest): Likewise.
4863 (ElementTest.run): Rename to gen_subtests. Append tests to
4864 self.subtests instead of running them.
4865 (ConstantTest.run): Likewise.
4866 (SymbolTest.run): Likewise.
4867 (TypeTest.run): Likewise.
4868 (TagTest.run): Likewise.
4869 (FunctionTest.run): Likewise.
4870 (VariableTest.run): Likewise.
4871 (MacroFunctionTest.run): Likewise.
4872 (MacroStrTest.run): Likewise.
4873 (HeaderTests.handle_test_line): Generate subtests for tests.
4874 (HeaderTests.run): Run subtests for tests.
4876 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4878 * math/Versions (GLIBC_2.29): Add pow.
4879 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4881 * math/w_pow.c: New file.
4882 * sysdeps/i386/fpu/w_pow.c: New file.
4883 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4884 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4885 and add necessary aliases.
4886 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4887 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4888 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4889 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4890 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4891 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4892 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4893 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4894 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4895 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4896 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4897 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4898 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4899 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4900 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4905 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4906 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4907 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4908 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4909 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4910 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4911 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4912 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4914 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4915 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4916 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4918 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4920 * math/Versions (GLIBC_2.29): Add log2.
4921 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4923 * math/w_log2.c: New file.
4924 * sysdeps/i386/fpu/w_log2.c: New file.
4925 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4926 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4927 and add necessary aliases.
4928 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4929 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4930 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4931 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4932 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4933 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4934 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4935 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4936 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4937 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4938 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4939 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4940 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4941 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4942 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4947 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4948 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4949 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4950 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4951 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4952 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4953 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4955 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4957 * math/Versions (GLIBC_2.29): Add log.
4958 * math/w_log_compat.c (__log_compat): Change to versioned compat
4960 * math/w_log.c: New file.
4961 * sysdeps/i386/fpu/w_log.c: New file.
4962 * sysdeps/ia64/fpu/e_log.S: Update.
4963 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4964 and add necessary aliases.
4965 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4966 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4967 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4968 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4969 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4970 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4971 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4972 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4973 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4974 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4975 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4976 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4977 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4978 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4979 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4984 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4985 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4986 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4987 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4988 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4989 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4990 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4991 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4993 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4994 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4995 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4996 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4998 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5000 * math/Versions (GLIBC_2.29): Add exp and exp2.
5001 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5002 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5003 * math/w_exp_compat.c (__exp_compat): Likewise.
5004 * math/w_exp.c: New file.
5005 * math/w_exp2.c: New file.
5006 * sysdeps/i386/fpu/w_exp.c: New file.
5007 * sysdeps/i386/fpu/w_exp2.c: New file.
5008 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5009 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5010 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5011 and add necessary aliases.
5012 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5013 and add necessary aliases.
5014 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5015 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5016 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5017 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5018 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5019 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5020 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5021 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5022 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5023 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5024 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5025 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5026 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5027 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5028 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5029 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5030 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5035 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5036 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5037 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5038 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5039 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5040 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5041 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5042 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5043 (__ieee754_exp): Rename to __exp.
5044 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5045 (__ieee754_exp): Rename to __exp.
5046 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5047 (__ieee754_exp): Rename to __exp.
5048 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5050 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5052 2018-11-20 DJ Delorie <dj@redhat.com>
5054 * malloc/malloc.c (tcache_entry): Add key field.
5055 (tcache_put): Set it.
5056 (tcache_get): Likewise.
5057 (_int_free): Check for double free in tcache.
5058 * malloc/tst-tcfree1.c: New.
5059 * malloc/tst-tcfree2.c: New.
5060 * malloc/Makefile: Run the new tests.
5061 * manual/probes.texi: Document memory_tcache_double_free probe.
5063 * dlfcn/dlerror.c (check_free): Prevent double frees.
5065 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5067 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5069 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5071 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5072 in tests. Use names for format arguments.
5073 (ConstantTest.run): Likewise.
5074 (SymbolTest.run): Likewise.
5075 (TypeTest.run): Likewise.
5076 (TagTest.run): Likewise.
5077 (FunctionTest.run): Likewise.
5078 (VariableTest.run): Likewise.
5079 (MacroFunctionTest.run): Likewise.
5080 (MacroStrTest.run): Likewise.
5081 (HeaderTests.__init__): Set self.num_tests.
5082 (HeaderTests.handle_test_line): Set test.num. Increment
5085 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5087 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5088 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5091 2018-11-19 Mao Han <han_mao@c-sky.com>
5093 * scripts/config.guess: Update to version 2018-08-29.
5094 * scripts/config.sub: Update to version 2018-08-29.
5096 2018-11-19 Florian Weimer <fweimer@redhat.com>
5098 support: Print timestamps in timeout handler.
5099 * support/support_test_main.c (print_timestamp): New function.
5100 (signal_handler): Use it to print the termination time and the
5101 time of the last write to standard output.
5103 2018-11-16 Zack Weinberg <zackw@panix.com>
5104 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5106 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5107 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5109 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5110 and add flags argument. Check flags instead of __ldbl_is_dbl when
5111 deciding whether to set is_long_double.
5112 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5113 passing zero for flags argument.
5114 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5116 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5117 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5118 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5119 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5120 variable names. Remove libc_hidden_def/libc_hidden_proto from
5121 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5122 longer called from within the library.
5123 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5124 for __nldbl___vstrfmon_l, declare it explicitly.
5126 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5128 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5130 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5132 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5133 F_SETLK64, F_SETLKW64, respectively.
5134 * sysdeps/mach/hurd/f_setlk.c: New file.
5135 * sysdeps/mach/hurd/f_setlk.h: New file.
5136 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5138 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5139 (__libc_fcntl): Move non-flock operations to...
5140 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5141 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5143 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5145 mktime: DEBUG_MKTIME cleanup
5146 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5147 And it’s no longer needed now that glibc and Gnulib both have
5148 their own testing mechanisms for mktime.
5149 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5151 mktime: fix non-EOVERFLOW errno handling
5153 mktime was not properly reporting failures when the underlying
5154 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5155 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5156 The problem could happen on non-glibc platforms, with Gnulib.
5157 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5158 (tm_diff): ... this simpler function, which does not change errno.
5159 All callers changed to deal with errno themselves.
5160 (ranged_convert, __mktime_internal): Return failure immediately if
5161 the underlying function reports any failure other than EOVERFLOW.
5162 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5165 mktime: fix bug with Y2038 DST transition
5167 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5168 mishandle a DST transition that jumps over the Y2038 boundary.
5169 No such DST transitions are known so this is only a theoretical
5170 bug, but we might as well do things right.
5172 mktime: make more room for overflow
5174 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5175 This is so that we can add tm_diff results to a previous guess,
5176 which will be useful in a later patch.
5178 mktime: simplify offset guess
5180 * time/mktime.c (__mktime_internal): Omit excess precision.
5182 mktime: new test for mktime failure
5184 Based on a test suggested by Albert Aribaud in:
5185 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5186 * time/Makefile (tests): Add bug-mktime4.
5187 * time/bug-mktime4.c: New file.
5189 mktime: fix EOVERFLOW bug
5191 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5192 Include libc-config.h, not config.h, for __set_errno.
5193 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5195 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5197 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5198 __attribute_copy__ to copy attributes from name. Drop static qualifier
5199 to avoid warnings about leaf attribute not having effect on static
5202 2018-11-13 Florian Weimer <fweimer@redhat.com>
5204 * malloc/malloc.c (fastbin_push_entry): New function.
5205 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5206 (REMOVE_FB): Remove macro.
5207 (_int_malloc): Use fastbin_pop_entry and reindent.
5208 (_int_free): Use fastbin_push_entry.
5209 (malloc_consolidate): Use atomic_exchange_acquire.
5211 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5213 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5214 alias attribute, not with strong_alias.
5216 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5217 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5218 with additional parameter thread.
5219 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5220 in terms of __hidden_ver2.
5221 (hidden_tls_def): New macro.
5222 (libc_hidden_tls_def): Likewise.
5223 (rtld_hidden_tls_def): Likewise.
5224 (libm_hidden_tls_def): Likewise.
5225 (libmvec_hidden_tls_def): Likewise.
5226 (libresolv_hidden_tls_def): Likewise.
5227 (librt_hidden_tls_def): Likewise.
5228 (libdl_hidden_tls_def): Likewise.
5229 (libnss_files_hidden_tls_def): Likewise.
5230 (libnsl_hidden_tls_def): Likewise.
5231 (libnss_nisplus_hidden_tls_def): Likewise.
5232 (libutil_hidden_tls_def): Likewise.
5233 (libutil_hidden_tls_def): Likweise.
5234 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5235 libc_hidden_tls_def.
5236 (__sim_disabled_exceptions_thread): Likewise.
5237 (__sim_round_mode_thread): Likewise.
5239 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5240 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5241 copy attributes from name.
5243 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5245 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5246 Use __attribute_copy__ to copy attributes from name.
5248 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5249 with __hidden_ver1 call.
5250 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5251 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5252 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5253 (__cosf): Do not declare here.
5254 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5255 (__sincosf): Do not declare here.
5256 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5257 (__sinf): Do not declare here.
5259 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5260 (__BIG_ENDIAN): Likewise.
5261 (__BYTE_ORDER): Likewise.
5262 (strong_alias): Likewise.
5263 (_strong_alias): Likewise.
5265 2018-11-12 Florian Weimer <fweimer@redhat.com>
5267 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5268 function. Move after the definition of in_smallbin_range. Do not
5269 use __builtin_expect for paths that lead to a noreturn function.
5270 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5271 because it is unclear whether this is in fact an unlikely
5273 (_int_malloc, _int_free): Adjust.
5274 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5276 * malloc/arena.c (heap_trim): Likewise.
5278 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5280 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5281 it, free it if needed.
5282 (reauthenticate): Test and use ccwdir.
5283 (child_init_port): In non-resetids case, test and use ccwdir.
5284 (child_chdir): New nested function to set ccwdir.
5285 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5286 * hurd/hurd/port.h (_hurd_port_move): New function.
5287 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5288 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5289 * hurd/Versions (_hurd_port_move): Export function.
5290 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5292 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5293 of dtablesize for allocating dtable_cloexec.
5295 2018-11-09 Martin Sebor <msebor@redhat.com>
5297 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5298 it's already defined.
5299 (_strong_alias): Use __attribute_copy__.
5300 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5301 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5302 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5303 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5304 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5305 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5306 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5307 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5308 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5309 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5310 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5311 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5312 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5313 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5314 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5315 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5316 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5317 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5318 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5320 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5322 * misc/tst-efgcvt.c: Include support/check.h and
5323 support/test-driver.c. Do not include test-skeleton.c.
5324 (error_count): Remove.
5325 (output_error): Replace increments to error_count with calls to
5326 support_record_failure.
5327 (output_r_error): Likewise.
5328 (special): Likewise.
5329 (do_test): Unconditionally return zero.
5330 (TEST_FUNCTION): Remove.
5332 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5334 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5336 ($(linknamespace-header-tests)): Likewise.
5338 * conform/conformtest.py: New file.
5339 * conform/conformtest.pl: Remove.
5340 * conform/GlibcConform.pm: Likewise.
5341 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5342 (KEYWORDS_C99): Likewise.
5343 (KEYWORDS): Likewise.
5344 * conform/Makefile ($(conformtest-header-tests)): Use
5345 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5346 option. Use --header instead of --headers.
5347 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5349 * conform/data/spawn.h-data: Likewise.
5350 * conform/data/fcntl.h-data (openat): Add space after function
5352 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5353 (wcscasecmp_l): Likewise.
5354 * conform/data/termios.h-data (c_cc): Add space after element
5357 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5359 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5360 instead of manually comparing and reporting mismatching strings.
5361 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5362 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5364 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5366 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5367 __ASSUME_SOCKETCALL.
5368 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5369 (__ASSUME_SOCKETCALL): Remove.
5370 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5371 (__ASSUME_SOCKETCALL): Likewise.
5372 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5373 (__ASSUME_SOCKETCALL): Likewise.
5374 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5375 (__ASSUME_SOCKETCALL): Likewise.
5376 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5377 (__ASSUME_SOCKETCALL): Likewise.
5378 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5379 (__ASSUME_SOCKETCALL): Likewise.
5380 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5381 (__ASSUME_SOCKETCALL): Likewise.
5383 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5386 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5387 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5388 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5389 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5390 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5393 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5396 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5398 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5401 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5402 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5403 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5404 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5406 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5408 * support/support_test_compare_string.c
5409 (support_test_compare_string): Fix printf format.
5411 2018-11-07 Florian Weimer <fweimer@redhat.com>
5413 Implement TEST_COMPARE_STRING.
5414 * support/check.h (TEST_COMPARE_STRING): Define.
5415 (support_test_compare_string): Declare.
5416 * support/Makefile (libsupport-routines): Add
5417 support_test_compare_string.
5418 (tests): Add tst-test_compare_string.
5419 * support/support_test_compare_string.c: New file.
5420 * support/tst-test_compare_string.c: Likewise.
5422 2018-11-07 Andreas Schwab <schwab@suse.de>
5425 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5426 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5429 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5432 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5433 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5434 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5435 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5438 2018-11-06 Florian Weimer <fweimer@redhat.com>
5441 * posix/Makefile (routines): Add spawn_faction_addchdir.
5442 (tests): Add tst-spawn-chdir.
5443 * posix/Versions (GLIBC_2.29): Add
5444 posix_spawn_file_actions_addchdir_np.
5445 * posix/spawn_faction_addchdir.c: New file.
5446 * posix/spawn_faction_destroy.c
5447 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5448 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5449 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5451 * posix/tst-spawn-chdir.c: New file.
5452 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5453 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5454 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5455 posix_spawn_file_actions_addchdir_np.
5456 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5458 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5460 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5461 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5463 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5465 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5467 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5469 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5471 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5473 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5474 (GLIBC_2.29): Likewise.
5475 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5476 (GLIBC_2.29): Likewise.
5477 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5478 (GLIBC_2.29): Likewise.
5479 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5480 (GLIBC_2.29): Likewise.
5481 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5484 (GLIBC_2.29): Likewise.
5485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5486 (GLIBC_2.29): Likewise.
5487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5488 (GLIBC_2.29): Likewise.
5489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5490 (GLIBC_2.29): Likewise.
5491 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5493 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5495 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5497 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5498 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5500 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5502 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5504 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5507 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5509 * misc/Makefile (tests): Add tst-ldbl-error.
5510 * misc/tst-ldbl-error.c: New file.
5512 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5514 * misc/Makefile (tests): Add tst-ldbl-warn.
5515 * misc/tst-ldbl-warn.c: New file.
5517 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5519 * argp/Makefile (tests): Add tst-ldbl-argp.
5520 * argp/tst-ldbl-argp.c: New file.
5522 2018-11-05 Arjun Shankar <arjun@redhat.com>
5524 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5525 __gconv_path_elem and call __gconv_get_path unconditionally.
5527 2018-11-05 Andreas Schwab <schwab@suse.de>
5530 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5531 creating the first helper thread failed.
5533 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5535 * sysdeps/mach/hurd/msync.c: New file.
5537 2018-11-02 Florian Weimer <fweimer@redhat.com>
5539 * support/shell-container.c (copy_func): Call
5540 support_copy_file_range instead of copy_file_range to support
5541 cross-device copies.
5543 2018-11-02 Florian Weimer <fweimer@redhat.com>
5545 * support/test-container.c: Include <libc-pointer-arith.h> for
5548 2018-11-01 Zong Li <zong@andestech.com>
5550 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5551 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5552 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5553 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5555 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5556 variable to avoid overlap arguments.
5558 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5560 * posix/bug-regex22.c (main): Use puts with distinct error
5561 messages for unexpected success of re_compile_pattern, not printf
5562 with NULL argument to %s.
5564 * stdio-common/bug22.c: Include <libc-diag.h>.
5565 (do_test): Disable -Wformat-overflow= warnings around fprintf
5566 calls outputting more than INT_MAX characters.
5567 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5568 around printf call with NULL %s argument.
5571 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5572 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5574 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5575 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5576 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5577 (__ASSUME_SENDTO_SYSCALL): Likewise.
5578 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5579 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5581 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5582 (__ASSUME_CONNECT_SYSCALL): Likewise.
5583 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5584 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5585 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5587 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5589 [__LINUX_KERNEL_VERSION >= 0x040400]
5590 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5591 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5594 (setsockopt): Likewise.
5596 2018-11-01 Fredrik Noring <noring@nocrew.org>
5598 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5599 with the ISA override.
5601 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5603 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5606 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5608 * manual/errno.texi (EIEIO): Document how translators should
5609 translate the error message.
5610 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5611 printing trailing whitespaces refused by git.
5612 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5613 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5614 * hurd/Makefile (user-interfaces): Add pci.
5616 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5618 * conform/linknamespace.py: New file.
5619 * conform/linknamespace.pl: Remove file.
5620 * conform/Makefile ($(linknamespace-header-tests)): Use
5621 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5624 2018-10-30 Florian Weimer <fweimer@redhat.com>
5626 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5629 2018-10-30 Florian Weimer <fweimer@redhat.com>
5631 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5633 2018-10-30 Florian Weimer <fweimer@redhat.com>
5635 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5636 support_blob_repeat.
5638 2018-10-30 Florian Weimer <fweimer@redhat.com>
5640 Avoid spurious test failures in stdlib/test-bz22786.
5641 * support/Makefile (libsupport-routines): Add blob_repeat.
5642 (tests): Add tst-support_blob_repeat.
5643 * support/blob_repeat.h: New file.
5644 * support/blob_repeat.c: Likewise.
5645 * support/tst-support_blob_repeat.c: Likewise.
5646 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5647 support_blob_repeat_allocate.
5649 2018-10-30 Andreas Schwab <schwab@suse.de>
5652 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5653 Don't use tail call.
5654 * elf/tst-unwind-main.c: New file.
5655 * elf/Makefile (tests): Add tst-unwind-main.
5656 (CFLAGS-tst-unwind-main.c): Define.
5658 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5661 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5663 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5665 2018-10-29 Joseph Myers <joseph@codesourcery.com>
5667 * conform/glibcconform.py: Do not import shutil.
5668 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5671 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5672 critic_missing for versions before 3.4.
5673 * configure: Regenerated.
5674 * manual/install.texi (Tools for Compilation): Document
5675 requirement for Python to build glibc.
5676 * INSTALL: Regenerated.
5677 * Rules [PYTHON]: Make code unconditional.
5678 * benchtests/Makefile [PYTHON]: Likewise.
5679 * conform/Makefile [PYTHON]: Likewise.
5680 * manual/Makefile [PYTHON]: Likewise.
5681 * math/Makefile [PYTHON]: Likewise.
5683 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5685 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5686 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5687 answer to interrupt_operation, return EIEIO instead of EINTR.
5688 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5689 _hurd_intr_rpc_msg_about_to global point to start of controlled
5690 assembly snippet. Make it check canceled flag.
5691 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5692 the _hurd_intr_rpc_msg_about_to point.
5693 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5694 issue, remove cancel flag check.
5696 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5698 * scripts/build-many-glibcs.py: Remove compatibility for missing
5699 os.cpu_count and re.fullmatch.
5701 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5704 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5705 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5706 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5708 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5710 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5713 2018-10-25 Florian Weimer <fweimer@redhat.com>
5717 XFAIL siginfo_t si_band conform test on sparc64.
5718 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5719 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5720 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5721 (conformtest-xfail-conds): Add sparc64-linux.
5722 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5724 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5726 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5728 * elf/elf.h (NT_MIPS_DSP): New macro.
5729 (NT_MIPS_FP_MODE): Likewise.
5731 2018-10-25 Zong Li <zong@andestech.com>
5733 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5734 name by adding the file extension (.so).
5736 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5738 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5739 (test-xfail-ISO11/threads.h/linknamespace,
5740 test-xfail-ISO11/threads.h/conform): Add.
5742 2018-10-24 Joseph Myers <joseph@codesourcery.com>
5744 * math/gen-libm-test.py: Import os.
5745 (ALL_FLOATS_MANUAL): New constant.
5746 (ALL_FLOATS_SUFFIX): Likewise.
5747 (Ulps.all_functions): New function.
5748 (real_all_ulps): Likewise.
5749 (generate_err_table_sub): Likewise.
5750 (generate_err_table): Likewise.
5751 (main): Handle -s and -m options.
5752 * manual/libm-err-tab.pl: Remove.
5753 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5754 instead of libm-err-tab.pl.
5755 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5757 * manual/install.texi (Tools for Compilation): Document
5758 requirement for Python to build manual.
5759 * INSTALL: Regenerated.
5761 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5763 * bits/time64.h: New file.
5764 * include/time.h: Replace internal_time_t with __time64_t.
5765 * posix/bits/types (__time64_t): Add.
5766 * stdlib/Makefile: Add bits/time64.h to includes.
5767 * time/tzfile.c: Replace internal_time_t with __time64_t.
5769 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5771 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5772 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5773 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5774 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5775 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5777 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5778 * posix/spawn_faction_addclose.c
5779 (__posix_spawn_file_actions_addclose): Add hidden definition.
5780 * posix/spawn_faction_adddup2.c
5781 (__posix_spawn_file_actions_adddup2): Likewise.
5782 * posix/spawn_faction_destroy.c
5783 (__posix_spawn_file_actions_destroy): Likewise.
5784 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5786 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5787 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5788 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5790 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5791 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5794 2018-10-24 Andreas Schwab <schwab@suse.de>
5797 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5799 * elf/cache.c (print_cache): Likewise.
5801 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5803 * bits/timesize.h: New file.
5804 * stdlib/Makefile (headers): Add bits/timesize.h.
5805 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5806 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5807 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5808 (__SEM_PAD_AFTER_TIME): Likewise.
5809 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5810 (__SHM_PAD_AFTER_TIME): Likewise.
5811 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5812 (__MSQ_PAD_BEFORE_TIME): Likewise.
5813 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5814 (__SEM_PAD_BEFORE_TIME): Likewise.
5815 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5816 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5817 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5818 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5819 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5820 (__MSQ_PAD_BEFORE_TIME): Likewise.
5821 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5822 (__SEM_PAD_BEFORE_TIME): Likewise.
5823 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5824 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5825 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5826 (__MSQ_PAD_BEFORE_TIME): Likewise.
5827 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5828 (__SEM_PAD_BEFORE_TIME): Likewise.
5829 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5830 (__SHM_PAD_BEFORE_TIME): Likewise.
5831 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5832 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5833 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5835 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5837 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5838 USE_RDTSCP is defined.
5839 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5840 USE_RDTSCP is defined.
5842 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5844 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5848 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5849 independently of other flags.
5851 2018-10-23 Florian Weimer <fweimer@redhat.com>
5853 * time/tst-mktime2.c (N_STRINGS): Remove.
5854 (set_timezone): New function.
5855 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5856 (mktime_test1): Report localtime failure and check errno value.
5858 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5859 (do_test): Remove alarm call. Use set_timezone and array_length.
5861 2018-10-23 Andreas Schwab <schwab@suse.de>
5863 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5864 (__start_context): Use END instead of PSEUDO_END.
5866 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5868 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5871 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5875 * wcsmbs/c32rtomb.c: New file.
5876 * wcsmbs/mbrtoc32.c: Likewise.
5877 * wcsmbs/tst-c32-state.c: Likewise.
5878 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5879 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5880 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5881 (tests): Add tst-c32-state.
5882 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5885 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5887 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5888 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5890 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5893 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5894 pair and return 0 in that case, and use saved character to
5895 interpret following character.
5896 * wcsmbs/tst-c16-surrogate.c: New file.
5897 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5898 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5899 Depend on $(gen-locales)
5901 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5904 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5905 (struct siginfo_t): Use correct type for si_band.
5907 2018-10-19 Florian Weimer <fweimer@redhat.com>
5910 * resource/bits/types/struct_rusage.h (struct rusage): Update
5911 comment on struct. Remove extraneous field comment.
5913 2018-10-18 David S. Miller <davem@davemloft.net>
5915 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5916 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5917 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5918 sysdep_routines in subdir elf.
5919 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5920 version for __vdso_clock_gettime.
5921 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5923 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5924 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5926 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5928 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5930 * sysdeps/i386/init-arch.h: Removed.
5931 * sysdeps/i386/i586/init-arch.h: Likewise.
5932 * sysdeps/i386/i686/init-arch.h: Likewise.
5933 * sysdeps/i386/i686/hp-timing.h: Likewise.
5934 * sysdeps/x86_64/hp-timing.h: Likewise.
5935 * sysdeps/i386/isa.h: New file.
5936 * sysdeps/i386/i586/isa.h: Likewise.
5937 * sysdeps/i386/i686/isa.h: Likewise.
5938 * sysdeps/x86_64/isa.h: Likewise.
5939 * sysdeps/x86/hp-timing.h: New file.
5940 * sysdeps/x86/init-arch.h: Include <isa.h>.
5942 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5944 * math/libm-test-pow.inc (pow_test_data): Do not allow
5945 divide-by-zero exception for pow(+/- 0, -Inf).
5947 2018-10-17 Zack Weinberg <zackw@panix.com>
5949 * manual/job.texi (Job Control is Optional): Remove node, as
5950 job control has not been optional in quite some time.
5951 (Job Control): Mention briefly that systems older than
5952 POSIX.1-2001 might not support job control.
5953 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5954 defined on systems conforming to POSIX.1-2001.
5956 2018-10-17 Arjun Shankar <arjun@redhat.com>
5959 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5961 * (__gconv_read_conf): Mark function static.
5962 * (once): New static variable.
5963 * (__gconv_load_conf): New function.
5964 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5965 * iconv/gconv_db.c (once): Remove static variable.
5966 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5968 * (__gconv_find_transform): Likewise.
5969 * iconv/tst-iconv-mt.c: New test.
5970 * iconv/Makefile: Add tst-iconv_mt.
5972 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5976 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5977 (shmatt_t): Define as __syscall_ulong_t.
5978 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5979 and [__SHM_PAD_AFTER_TIME].
5980 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5981 Define shm_segsz and associated padding based on
5982 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5983 Use __syscall_ulong_t instead of unsigned long int.
5984 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5986 [__USE_MISC] (struct shm_info): Likewise.
5987 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5988 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5989 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5990 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5991 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5992 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5993 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5994 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5995 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5996 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5997 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5999 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6001 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6002 (SHMLBA): Remove macro.
6003 (__getpagesize): Remove function declaration.
6004 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6006 (SHMLBA): Remove macro.
6007 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6009 (SHMLBA): Remove macro.
6010 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6012 (SHMLBA): Remove macro.
6013 (__getpagesize): Remove function declaration.
6014 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6016 (SHMLBA): Remove macro.
6017 (__getshmlba): Remove function declaration.
6018 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6019 (SHMLBA): Remove macro.
6020 (__getpagesize): Remove function declaration.
6021 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6022 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6023 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6024 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6025 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6026 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6027 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6028 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6029 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6030 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6032 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6035 * nptl/tst-mutex10.c: New File.
6036 * nptl/Makefile (tests): Add tst-mutex10.
6037 (tst-mutex10-ENV): New variable.
6038 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6039 Ensure that elision path is used if elision is available.
6040 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6042 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6044 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6045 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6046 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6047 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6049 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6050 (__pthread_mutex_cond_lock_adjust): Likewise.
6051 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6053 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6054 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6055 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6056 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6058 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6059 Use atomic_load_relaxed and atomic_store_relaxed.
6060 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6061 Use atomic_store_relaxed.
6063 2018-10-17 Andreas Schwab <schwab@suse.de>
6065 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6066 * crypt/badsalttest.c (TIMEOUT): Likewise.
6067 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6068 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6069 * io/test-lfs.c (TIMEOUT): Likewise.
6070 * libio/tst-atime.c (TIMEOUT): Likewise.
6071 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6072 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6073 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6074 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6075 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6076 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6077 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6078 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6079 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6080 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6081 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6082 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6083 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6084 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6085 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6086 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6087 * nptl/tst-once2.c (TIMEOUT): Likewise.
6088 * nptl/tst-once3.c (TIMEOUT): Likewise.
6089 * nptl/tst-once4.c (TIMEOUT): Likewise.
6090 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6091 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6092 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6093 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6094 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6095 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6096 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6097 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6098 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6099 * posix/tst-chmod.c (TIMEOUT): Likewise.
6100 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6101 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6102 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6103 * posix/tst-regex2.c (TIMEOUT): Likewise.
6104 * posix/tst-waitid.c (TIMEOUT): Likewise.
6105 * rt/tst-aio.c (TIMEOUT): Likewise.
6106 * rt/tst-aio10.c (TIMEOUT): Likewise.
6107 * rt/tst-aio4.c (TIMEOUT): Likewise.
6108 * rt/tst-aio5.c (TIMEOUT): Likewise.
6109 * rt/tst-aio6.c (TIMEOUT): Likewise.
6110 * rt/tst-aio64.c (TIMEOUT): Likewise.
6111 * rt/tst-aio7.c (TIMEOUT): Likewise.
6112 * rt/tst-aio9.c (TIMEOUT): Likewise.
6113 * rt/tst-clock.c (TIMEOUT): Likewise.
6114 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6115 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6116 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6117 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6118 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6119 * rt/tst-timer4.c (TIMEOUT): Likewise.
6120 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6121 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6122 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6123 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6124 * time/tst-ftime.c (TIMEOUT): Likewise.
6125 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6127 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6129 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6130 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6133 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6137 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6138 instead of <bits/wordsize.h>.
6139 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6140 and [__SEM_PAD_AFTER_TIME].
6141 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6142 __syscall_ulong_t instead of unsigned long int.
6143 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6144 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6145 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6146 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6147 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6148 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6149 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6150 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6151 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6152 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6153 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6155 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6157 regex: simplify by using intprops.h
6159 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6160 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6161 intprops.h defines them.
6163 regex: __builtin_expect → __glibc_unlikely
6165 This refactoring was prompted by a problem when the regex code is
6166 used as part of Gnulib and when the builder’s compiler does not grok
6167 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6168 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6169 Although this refactoring does not fix the problem directly,
6170 we might as well have Gawk use the now-preferred glibc style for when
6171 __builtin_expect is unavailable.
6172 * posix/regex_internal.h (BE): Remove.
6173 All uses replaced by __glibc_unlikely or __glibc_likely.
6175 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6179 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6180 instead of <bits/wordsize.h>.
6181 (msgqnum_t): Define as __syscall_ulong_t.
6182 (msglen_t): Likewise.
6183 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6184 and [__MSQ_PAD_AFTER_TIME].
6185 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6186 __syscall_ulong_t instead of unsigned long int.
6187 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6188 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6189 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6190 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6191 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6192 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6193 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6194 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6195 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6196 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6197 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6199 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6201 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6202 (struct shmid_ds): Condition padding after time fields on
6204 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6205 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6206 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6208 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6209 (struct semid_ds): Condition padding after time fields on
6211 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6212 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6213 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6214 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6216 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6217 (struct msqid_ds): Condition padding after time fields on
6219 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6220 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6221 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6222 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6224 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6226 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6228 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6230 * libio/tst-readline.c (TIMEOUT): Define.
6232 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6234 mktime fix for Gnulib + coreutils
6236 This fix affects only Gnulib. Problem discovered when
6237 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6239 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6240 Do not define since it is not used. Defining an unused static
6241 function prompts a warning from GCC when Coreutils is configured
6242 with --enable-gcc-warnings.
6244 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6246 * benchtests/scripts/compare_bench.py (main): set float type on
6249 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6252 * localedata/locales/kl_GL (mon): Update, the relative case.
6253 (alt_mon): Add, fill with month names in the nominative case.
6254 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6255 (d_fmt): Set to "%b %d %Y".
6257 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6259 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6260 <bits/mman-linux.h>.
6261 (PROT_READ): Don't define here.
6262 (PROT_WRITE): Likewise.
6263 (PROT_EXEC): Likewise.
6264 (PROT_NONE): Likewise.
6265 (PROT_GROWSDOWN): Likewise.
6266 (PROT_GROWSUP): Likewise.
6267 (MAP_SHARED): Likewise.
6268 (MAP_PRIVATE): Likewise.
6269 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6270 [__USE_MISC] (MAP_FILE): Likewise.
6271 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6272 [__USE_MISC] (MAP_ANON): Likewise.
6273 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6274 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6275 (MCL_CURRENT): Likewise.
6276 (MCL_FUTURE): Likewise.
6277 (MCL_ONFAULT): Likewise.
6278 [__USE_MISC] (MADV_NORMAL): Likewise.
6279 [__USE_MISC] (MADV_RANDOM): Likewise.
6280 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6281 [__USE_MISC] (MADV_WILLNEED): Likewise.
6282 [__USE_MISC] (MADV_DONTNEED): Likewise.
6283 [__USE_MISC] (MADV_FREE): Likewise.
6284 [__USE_MISC] (MADV_REMOVE): Likewise.
6285 [__USE_MISC] (MADV_DONTFORK): Likewise.
6286 [__USE_MISC] (MADV_DOFORK): Likewise.
6287 [__USE_MISC] (MADV_HWPOISON): Likewise.
6288 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6289 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6290 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6291 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6292 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6293 (__MAP_ANONYMOUS): New macro.
6294 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6295 <bits/mman-linux.h> inclusion.
6296 (MAP_FIXED): Likewise.
6297 (MS_SYNC): Likewise.
6298 (MS_ASYNC): Likewise.
6299 (MS_INVALIDATE): Likewise.
6300 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6301 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6302 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6303 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6304 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6305 [__USE_MISC] (MADV_DODUMP): Likewise.
6306 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6307 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6310 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6312 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6313 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6314 Add test-nldbl-redirect.
6315 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6316 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6317 $(objpfx)libnldbl_nonshared.a.
6319 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6321 * support/support.h (support_objdir_elf_ldso): New variable.
6322 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6323 * support/Makefile (CFLAGS-support_paths.c): Add definition
6324 for OBJDIR_ELF_LDSO_PATH.
6325 * support/test-container.c (main): Search for the ld.so
6326 which is also used by the testsuite.
6328 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6331 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6332 should be "sap" rather than "sab".
6333 (day): Fix spelling of Sunday, should be "sapaat" rather than
6336 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6338 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6340 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6343 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6344 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6345 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6347 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6349 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6351 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6353 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6355 (CFLAGS-elision-unlock.c): Likewise.
6356 (CFLAGS-elision-timed.c): Likewise.
6357 (CFLAGS-elision-trylock.c): Likewise.
6358 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6360 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6363 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6364 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6365 new fd_to_filename interface.
6366 * libio/freopen64.c (freopen64): Likewise.
6367 * libio/tst-memstream.h: New file.
6368 * libio/tst-memstream4.c: Likewise.
6369 * libio/tst-wmemstream4.c: Likewise.
6370 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6371 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6372 and remove internal dynamic allocation.
6374 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6376 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6377 (MREMAP_MAYMOVE): Do not define here.
6378 [__USE_GNU] (MREMAP_FIXED): Likewise.
6379 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6380 (MREMAP_MAYMOVE): Define here instead.
6381 [__USE_GNU] (MREMAP_FIXED): Likewise.
6382 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6383 (MREMAP_MAYMOVE): Remove.
6384 [__USE_GNU] (MREMAP_FIXED): Likewise.
6386 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6388 * math/fromfp.h: Do not include <math_private.h>.
6389 * math/s_cacosh_template.c: Likewise.
6390 * math/s_casin_template.c: Likewise.
6391 * math/s_casinh_template.c: Likewise.
6392 * math/s_ccos_template.c: Likewise.
6393 * math/s_cproj_template.c: Likewise.
6394 * math/s_fdim_template.c: Likewise.
6395 * math/s_fmaxmag_template.c: Likewise.
6396 * math/s_fminmag_template.c: Likewise.
6397 * math/s_iseqsig_template.c: Likewise.
6398 * math/s_ldexp_template.c: Likewise.
6399 * math/s_nextdown_template.c: Likewise.
6400 * math/w_log1p_template.c: Likewise.
6401 * math/w_scalbln_template.c: Likewise.
6402 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6403 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6404 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6405 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6406 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6407 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6408 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6409 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6410 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6411 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6412 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6413 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6414 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6415 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6416 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6417 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6418 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6421 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6422 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6423 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6424 * sysdeps/ieee754/k_standardf.c: Likewise.
6425 * sysdeps/ieee754/k_standardl.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6428 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6434 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6435 * sysdeps/ieee754/s_signgam.c: Likewise.
6436 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6437 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6438 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6439 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6440 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6441 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6442 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6443 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6444 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6445 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6446 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6447 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6448 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6449 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6450 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6451 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6452 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6453 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6454 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6455 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6456 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6457 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6458 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6459 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6460 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6461 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6462 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6463 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6464 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6465 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6466 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6467 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6468 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6469 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6470 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6471 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6472 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6474 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6476 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6479 * sysdeps/i386/dl-cet.c: Removed.
6480 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6482 (_dl_runtime_profile_shstk): Likewise.
6483 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6484 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6486 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6489 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6490 do_test_with_invalid_iov): New tests.
6491 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6492 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6493 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6495 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6496 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6497 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6499 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6501 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6502 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6503 (MATH_REDIRECT_BINARY_ARGS): New macro.
6504 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6505 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6506 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6508 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6510 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6511 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6514 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6521 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6522 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6527 * sysdeps/generic/math_private_calls.h
6528 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6529 Do not declare and define as an inline function.
6530 * math/divtc3.c (__divtc3): Use copysign functions instead of
6531 __copysign variants.
6532 * math/multc3.c (__multc3): Likewise.
6533 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6534 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6535 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6536 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6538 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6539 (__ieee754_yn): Likewise.
6540 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6541 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6542 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6543 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6544 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6546 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6547 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6549 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6551 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6553 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6554 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6556 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6557 (__ieee754_ynf): Likewise.
6558 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6559 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6560 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6561 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6563 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6564 (__ieee754_ynl): Likewise.
6565 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6566 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6567 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6569 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6570 (__ieee754_ynl): Likewise.
6571 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6572 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6573 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6574 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6576 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6578 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6579 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6580 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6581 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6582 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6584 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6585 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6586 using MATH_REDIRECT.
6587 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6589 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6590 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6591 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6592 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6593 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6595 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6600 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6601 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6603 (round): Redirect to __round.
6604 (__roundl): Call round instead of __round.
6605 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6607 [_ARCH_PWR5X] (__roundf): Likewise.
6608 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6609 functions instead of __round variants.
6610 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6611 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6613 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6615 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6617 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6618 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6620 (__ieee754_expl): Call roundl instead of __roundl.
6622 2018-09-27 Andreas Schwab <schwab@suse.de>
6625 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6626 (do_test): Make st1 static.
6628 2018-09-26 Andreas Schwab <schwab@suse.de>
6631 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6632 * elf/Makefile (tests): Add tst-unwind-ctor.
6633 (modules-names): Add tst-unwind-ctor-lib.
6634 ($(objpfx)tst-unwind-ctor): Depend on
6635 $(objpfx)tst-unwind-ctor-lib.so.
6637 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6639 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6640 file. Most contents moved from ....
6641 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6642 and include <bits/mman-map-flags-generic.h>.
6643 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6644 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6645 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6646 <bits/mman-map-flags-generic.h>.
6647 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6648 macros defined in <bits/mman-map-flags-generic.h>.
6649 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6650 <bits/mman-map-flags-generic.h>.
6651 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6652 defined in <bits/mman-map-flags-generic.h>.
6654 2018-09-26 Andreas Schwab <schwab@suse.de>
6656 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6659 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6660 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6661 Fangrui Song <maskray@google.com>
6664 * config.make.in (have-textrel_ifunc): New define.
6665 * configure.ac: Add check if linker supports textrel relocation with
6667 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6669 (CFLAGS-tst-ifunc-textrel.c): New rule.
6670 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6671 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6672 * elf/tst-ifunc-textrel.c: New file.
6674 2018-09-25 Joseph Myers <joseph@codesourcery.com>
6676 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6677 <bits/procfs-prregset.h>.
6678 (prgregset_t): Define using __prgregset_t.
6679 (prfpregset_t): Define using __prfpregset_t.
6680 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6681 (sysdep_headers): Add bits/procfs-prregset.h.
6682 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6683 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6684 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6685 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6687 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6688 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6689 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6691 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6692 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6693 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6694 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6695 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6696 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6697 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6698 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6699 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6700 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6701 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6702 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6703 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6704 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6705 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6706 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6707 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6708 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6709 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6710 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6711 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6712 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6713 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6714 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6716 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6717 AArch64 version. Include <bits/procfs.h>.
6718 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6719 (sysdep_headers): Add bits/procfs.h.
6720 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6721 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6722 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6723 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6724 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6725 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6726 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6727 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6728 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6729 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6730 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6731 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6732 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6733 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6734 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6735 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6736 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6738 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6740 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6743 2018-09-25 Arjun Shankar <arjun@redhat.com>
6745 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6746 (__gconv_max_path_elem_len): Likewise.
6747 (__gconv_nmodules): Likewise.
6748 (__gconv_get_path): Likewise.
6749 (path_elem): Move to ...
6750 * iconv/gconv_conf.c: ... here.
6751 (__gconv_get_path): Mark function static.
6752 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6753 * iconv/gconv_open.c: ... here.
6755 2018-09-24 Andreas Schwab <schwab@suse.de>
6757 * scripts/haveversions.awk: New file.
6758 * Makerules ($(common-objpfx)Versions.def)
6759 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6760 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6762 * Makeconfig ($(common-objpfx)Versions.def)
6763 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6764 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6766 ($(common-objpfx)Versions.mk): New rule. Include it.
6767 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6768 Emit error if build-obsolete-nsl = yes.
6769 * manual/install.texi (Configuring and compiling): Describe
6770 --enable-obsolete-nsl as unavaiable after version 2.28.
6771 * INSTALL: Regenerate.
6773 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6775 * NEWS: Add note about new TLE support on powerpc64le.
6776 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6777 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6779 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6780 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6781 * sysdeps/powerpc/powerpc32/sysdep.h,
6782 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6783 ABORT_TRANSACTION): Remove macros.
6784 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6785 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6786 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6788 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6789 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6791 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6793 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6796 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6797 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6798 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6799 which is the same as in it_IT.
6800 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6801 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6803 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6805 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6806 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6807 using MATH_REDIRECT.
6808 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6810 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6811 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6812 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6813 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6814 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6820 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6821 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6822 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6823 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6824 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6825 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6826 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6828 (ceil): Redirect to __ceil.
6829 (floor): Redirect to __floor.
6830 (trunc): Redirect to __trunc.
6831 (__truncl): Call trunc instead of __trunc.
6832 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6834 [_ARCH_PWR5X] (__truncf): Likewise.
6835 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6836 trunc functions instead of __trunc variants.
6837 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6839 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6841 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6843 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6846 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6847 [__i586__ || __pentium__].
6848 [__i486__]: Handle explicitly.
6849 (HAS_CPUID): Define to 1 if above macros are undefined.
6850 (HAS_I586): Likewise.
6851 (HAS_I686): Likewise.
6853 2018-09-20 Florian Weimer <fweimer@redhat.com>
6855 * misc/tst-gethostid.c: New file.
6856 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6857 (tst-gethostid): Link with -ldl.
6859 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6861 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6862 value from gethostbyname_r.
6864 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6866 * stdlib/tst-setcontext9.c (f1): Rename to...
6868 (f1b): New function implementing lower half of f1 in alternate stack.
6870 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6872 Fix mktime localtime offset confusion
6874 * include/time.h (__mktime_internal): The localtime offset is now
6875 of type long int instead of time_t. This is the longstanding type
6876 in glibc, and it is more than enough to represent difference
6877 between localtime and gmtime even if it is 32 bits and time_t is
6878 64. Changing it now will let us avoid an unnecessary change when
6879 time_t is widened to 64 bits on 32-bit platforms.
6880 * time/mktime-internal.h (mktime_offset_t): Now long int.
6882 Merge mktime, timegm from upstream Gnulib
6883 [BZ #23603][BZ #16346]
6884 This fixes some obscure problems with integer overflow.
6885 Although it looks scary, it is almost all a byte-for-byte copy
6886 from Gnulib, and the Gnulib code has been tested reasonably well.
6887 * include/intprops.h: New file, copied from Gnulib.
6888 * include/verify.h, time/mktime-internal.h:
6889 New tiny files, simplified from Gnulib.
6890 * time/mktime.c: Copy from Gnulib. This has the following changes:
6891 Do not include config.h if DEBUG_MKTIME is nonzero.
6892 Include stdbool.h, intprops.h, verify.h.
6893 Include string.h only if needed.
6894 Include stdlib.h on MS-Windows.
6895 Include mktime-internal.h.
6896 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6897 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6898 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6899 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6900 simplify later conditionals; default the others to zero. Use
6901 these conditionals to express only the code needed on the current
6902 platform. In uses of these conditionals, explicitly spell out how
6903 _LIBC affects things, so it’s easier to review from a glibc
6905 (WRAPV): Remove; no longer needed now that we have
6906 systematic overflow checking.
6907 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6908 compartmentalize tzset issues. Move system-dependent tzsettish
6909 code here from mktime.
6910 (verify): Remove; now done by verify.h. All uses changed.
6911 (long_int): Use a more-conservative definition, to avoid
6913 (SHR): Remove, replacing with ...
6914 (shr): New function, which means we needn’t worry about side
6915 effects in args, and conversion analysis is simpler.
6916 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6917 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6918 (time_t_avg, time_t_add_ok): Remove.
6919 (mktime_min, mktime_max): New constants.
6920 (leapyear, isdst_differ): Use bool for booleans.
6921 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6922 Use long_int, not time_t, for mktime differences.
6923 (long_int_avg): New function, replacing time_t_avg.
6924 INT_ADD_WRAPV replaces time_t_add_ok.
6925 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6927 (convert_time): New function.
6928 (ranged_convert): Use it.
6929 (__mktime_internal): Last arg now points to mktime_offset_t, not
6930 time_t. All uses changed. This is a no-op on glibc, where
6931 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6932 offset guess. Directly check for integer overflow instead of
6933 using a heuristic that works only 99.9...% of the time.
6934 Access *OFFSET only once, to avoid an unlikely race if the
6935 compiler delays a load and if this cascades into a signed integer
6937 (mktime): Move tzsettish code to my_tzset, and move
6938 localtime_offset to within mktime so that it doesn’t
6939 need a separate ifdef.
6940 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6941 instead of localtime.
6942 * time/timegm.c: Copy from Gnulib. This has the following changes:
6943 Include mktime-internal.h.
6944 [!_LIBC]: Include config.h and time.h. Do not include
6945 timegm.h or time_r.h. Make __mktime_internal a macro,
6946 and include mktime-internal.h to get its declaration.
6947 (timegm): Temporary is now mktime_offset_t, not time_t.
6948 This affects only Gnulib.
6950 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6953 * string/test-strstr.c (pr23637): New function.
6954 (test_main): Add tests with longer needles.
6955 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6956 * string/strstr.c (AVAILABLE): Likewise.
6958 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6960 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6962 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6964 * NEWS: Mention pow improvements.
6965 * math/Makefile (type-double-routines): Add e_pow_log_data.
6966 * sysdeps/generic/math_private.h (__exp1): Remove.
6967 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6968 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6969 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6971 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6972 (exp_inline): Remove.
6973 (__ieee754_exp): Only single double input is handled.
6974 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6975 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6976 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6977 (__pow_log_data): Define.
6978 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6979 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6980 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6981 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6983 (CFLAGS-e_pow-fma4.c): Likewise.
6985 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6987 Simplify tzfile fstat failure code
6989 * time/tzfile.c (__tzfile_read): Simplify slightly.
6991 Fix tzfile low-memory assertion failure
6993 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6994 when registering time zone abbreviations.
6996 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6998 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6999 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7000 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7001 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7002 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7003 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7004 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7005 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7006 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7008 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7010 (__ceill): Call ceil instead of __ceil.
7011 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7013 (__floorl): Call floor instead of __floor.
7015 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7017 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7018 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7019 using MATH_REDIRECT.
7020 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7022 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7023 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7025 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7026 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7027 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7028 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7029 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7034 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7035 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7038 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7039 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7040 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7042 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7043 functions instead of __ceil variants.
7044 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7045 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7047 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7049 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7050 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7052 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7053 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7056 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7058 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7059 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7060 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7061 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7062 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7063 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7064 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7065 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7066 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7067 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7068 (ILL_BADIADDR): Remove constant.
7069 (TRAP_BRANCH): Likewise.
7070 (TRAP_HWBKPT): Likewise.
7072 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7075 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7076 Remove [_MIPS_SIM = _ABIN32] conditional case.
7077 (struct elf_prpsinfo): Likewise.
7080 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7081 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7082 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7084 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7085 elf_prpsinfo): Likewise.
7086 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7087 elf_prpsinfo): Likewise.
7088 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7091 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7092 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7093 using MATH_REDIRECT.
7094 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7096 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7097 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7098 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7099 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7100 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7101 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7102 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7103 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7104 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7106 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7107 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7108 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7109 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7110 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7111 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7112 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7113 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7114 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7117 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7119 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7120 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7121 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7122 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7124 * math/e_scalbf.c (invalid_fn): Likewise.
7125 * math/e_scalbl.c (invalid_fn): Likewise.
7126 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7128 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7130 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7131 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7132 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7134 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7136 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7138 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7139 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7141 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7142 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7144 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7145 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7146 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7147 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7148 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7149 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7150 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7151 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7152 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7153 && !NO_MATH_REDIRECT] (floor): Likewise.
7154 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7156 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7157 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7158 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7159 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7160 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7161 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7162 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7163 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7168 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7169 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7170 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7172 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7173 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7174 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7176 [_ARCH_PWR5X] (__floorf): Likewise.
7177 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7179 [__SSE4_1__] (__floorf): Likewise.
7180 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7181 instead of __floor variants.
7182 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7183 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7184 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7185 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7186 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7187 * math/w_tgamma_compat.c (__tgamma): Likewise.
7188 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7189 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7190 * math/w_tgammal_compat.c (__tgammal): Likewise.
7191 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7192 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7194 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7195 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7196 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7197 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7199 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7200 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7202 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7203 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7205 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7206 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7208 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7209 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7210 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7211 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7212 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7213 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7215 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7217 * elf/Makefile (modules-names-tests): New variable.
7219 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7221 * NEWS: Mention log2 improvements.
7222 * math/Makefile (type-double-routines): Add e_log2_data.
7223 * sysdeps/i386/fpu/e_log2_data.c: New file.
7224 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7225 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7226 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7227 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7228 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7229 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7231 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7233 * NEWS: Mention log improvement.
7234 * math/Makefile (type-double-routines): Add e_log_data.
7235 * sysdeps/i386/fpu/e_log_data.c: New file.
7236 * sysdeps/ia64/fpu/e_log_data.c: New file.
7237 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7238 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7239 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7240 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7241 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7242 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7244 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7245 Xuepeng Guo <xuepeng.guo@intel.com>
7248 * sysdeps/i386/start.S: Include <sysdep.h>
7249 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7250 enabled. Add cfi_undefined (eip).
7252 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7254 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7256 (EXTRACT_WORDS64): Likewise.
7257 (INSERT_WORDS64): Likewise.
7258 (GET_FLOAT_WORD): Likewise.
7259 (SET_FLOAT_WORD): Likewise.
7261 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7263 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7264 build, but not for second build if --full-gcc. Use
7265 --enable-languages=all for second build if --full-gcc.
7266 (get_parser): Add --full-gcc option.
7267 (main): Update call to Context.
7269 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7272 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7273 Single Quotation Mark).
7274 (thousands_sep): Likewise.
7275 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7276 * localedata/locales/it_IT (thousands_sep): Use ".".
7277 (grouping): Use "3;3".
7279 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7281 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7282 x86_64 and i686 configs using --enable-obsolete-rpc
7283 --enable-obsolete-nsl.
7285 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7287 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7289 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7291 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7292 Increment size of new_argv by one.
7294 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7297 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7298 * localedata/locales/ar_IN (d_fmt): Likewise.
7299 * localedata/locales/bhb_IN (d_fmt): Likewise.
7300 * localedata/locales/bho_IN (d_fmt): Likewise.
7301 * localedata/locales/bn_BD (d_fmt): Likewise.
7302 * localedata/locales/bn_IN (d_fmt): Likewise.
7303 * localedata/locales/doi_IN (d_fmt): Likewise.
7304 * localedata/locales/gu_IN (d_fmt): Likewise.
7305 * localedata/locales/hi_IN (d_fmt): Likewise.
7306 * localedata/locales/hne_IN (d_fmt): Likewise.
7307 * localedata/locales/kn_IN (d_fmt): Likewise.
7308 * localedata/locales/mag_IN (d_fmt): Likewise.
7309 * localedata/locales/mai_IN (d_fmt): Likewise.
7310 * localedata/locales/mjw_IN (d_fmt): Likewise.
7311 * localedata/locales/ml_IN (d_fmt): Likewise.
7312 * localedata/locales/mni_IN (d_fmt): Likewise.
7313 * localedata/locales/mr_IN (d_fmt): Likewise.
7314 * localedata/locales/pa_IN (d_fmt): Likewise.
7315 * localedata/locales/raj_IN (d_fmt): Likewise.
7316 * localedata/locales/sat_IN (d_fmt): Likewise.
7317 * localedata/locales/sd_IN (d_fmt): Likewise.
7318 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7319 * localedata/locales/ta_IN (d_fmt): Likewise.
7320 * localedata/locales/ta_LK (d_fmt): Likewise.
7321 * localedata/locales/tcy_IN (d_fmt): Likewise.
7322 * localedata/locales/ur_IN (d_fmt): Likewise.
7324 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7325 * localedata/locales/ks_IN (d_fmt): Likewise.
7326 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7328 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7329 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7330 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7331 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7333 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7335 * NEWS: Mention exp and exp2 improvements.
7336 * math/Makefile (libm-support): Remove t_exp.
7337 (type-double-routines): Add math_err and e_exp_data.
7338 * sysdeps/aarch64/libm-test-ulps: Update.
7339 * sysdeps/arm/libm-test-ulps: Update.
7340 * sysdeps/i386/fpu/e_exp_data.c: New file.
7341 * sysdeps/i386/fpu/math_err.c: New file.
7342 * sysdeps/i386/fpu/t_exp.c: Remove.
7343 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7344 * sysdeps/ia64/fpu/math_err.c: New file.
7345 * sysdeps/ia64/fpu/t_exp.c: Remove.
7346 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7347 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7348 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7350 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7351 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7352 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7353 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7354 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7355 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7356 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7357 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7358 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7359 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7363 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7365 * sysdeps/alpha/fpu/math_private.h: Remove.
7367 * sysdeps/generic/math_private.h
7368 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7369 Move this inline function ....
7370 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7371 * include/math.h [!_ISOMAC]: To here....
7373 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7375 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7377 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7378 * include/fenv.h [!_ISOMAC]: ... to here.
7379 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7380 (feraiseexcept): Likewise.
7381 * math/fromfp.h: Do not include <fenv_private.h>.
7382 * math/s_cexp_template.c: Likewise.
7383 * math/s_csin_template.c: Likewise.
7384 * math/s_csinh_template.c: Likewise.
7385 * math/s_ctan_template.c: Likewise.
7386 * math/s_ctanh_template.c: Likewise.
7387 * math/s_iseqsig_template.c: Likewise.
7388 * math/w_acos_compat.c: Likewise.
7389 * math/w_acosf_compat.c: Likewise.
7390 * math/w_acosl_compat.c: Likewise.
7391 * math/w_asin_compat.c: Likewise.
7392 * math/w_asinf_compat.c: Likewise.
7393 * math/w_asinl_compat.c: Likewise.
7394 * math/w_j0_compat.c: Likewise.
7395 * math/w_j0f_compat.c: Likewise.
7396 * math/w_j0l_compat.c: Likewise.
7397 * math/w_j1_compat.c: Likewise.
7398 * math/w_j1f_compat.c: Likewise.
7399 * math/w_j1l_compat.c: Likewise.
7400 * math/w_jn_compat.c: Likewise.
7401 * math/w_jnf_compat.c: Likewise.
7402 * math/w_log10_compat.c: Likewise.
7403 * math/w_log10f_compat.c: Likewise.
7404 * math/w_log10l_compat.c: Likewise.
7405 * math/w_log2_compat.c: Likewise.
7406 * math/w_log2f_compat.c: Likewise.
7407 * math/w_log2l_compat.c: Likewise.
7408 * math/w_log_compat.c: Likewise.
7409 * math/w_logf_compat.c: Likewise.
7410 * math/w_logl_compat.c: Likewise.
7411 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7412 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7413 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7414 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7415 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7416 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7417 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7418 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7419 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7420 * sysdeps/ieee754/k_standardl.c: Likewise.
7421 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7422 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7423 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7427 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7428 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7430 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7433 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7434 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7435 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7436 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7437 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7438 * math/w_ilogb_template.c: Include <fenv.h> instead of
7440 * math/w_llogb_template.c: Likewise.
7441 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7442 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7444 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7446 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7447 * math/fromfp.h: Include <fenv_private.h>.
7448 * math/math-narrow.h: Likewise.
7449 * math/s_cexp_template.c: Likewise.
7450 * math/s_csin_template.c: Likewise.
7451 * math/s_csinh_template.c: Likewise.
7452 * math/s_ctan_template.c: Likewise.
7453 * math/s_ctanh_template.c: Likewise.
7454 * math/s_iseqsig_template.c: Likewise.
7455 * math/w_acos_compat.c: Likewise.
7456 * math/w_acosf_compat.c: Likewise.
7457 * math/w_acosl_compat.c: Likewise.
7458 * math/w_asin_compat.c: Likewise.
7459 * math/w_asinf_compat.c: Likewise.
7460 * math/w_asinl_compat.c: Likewise.
7461 * math/w_ilogb_template.c: Likewise.
7462 * math/w_j0_compat.c: Likewise.
7463 * math/w_j0f_compat.c: Likewise.
7464 * math/w_j0l_compat.c: Likewise.
7465 * math/w_j1_compat.c: Likewise.
7466 * math/w_j1f_compat.c: Likewise.
7467 * math/w_j1l_compat.c: Likewise.
7468 * math/w_jn_compat.c: Likewise.
7469 * math/w_jnf_compat.c: Likewise.
7470 * math/w_llogb_template.c: Likewise.
7471 * math/w_log10_compat.c: Likewise.
7472 * math/w_log10f_compat.c: Likewise.
7473 * math/w_log10l_compat.c: Likewise.
7474 * math/w_log2_compat.c: Likewise.
7475 * math/w_log2f_compat.c: Likewise.
7476 * math/w_log2l_compat.c: Likewise.
7477 * math/w_log_compat.c: Likewise.
7478 * math/w_logf_compat.c: Likewise.
7479 * math/w_logl_compat.c: Likewise.
7480 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7481 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7482 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7483 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7485 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7486 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7487 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7488 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7489 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7490 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7491 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7492 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7493 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7494 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7495 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7496 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7497 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7498 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7499 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7500 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7501 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7502 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7503 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7504 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7505 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7506 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7507 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7508 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7509 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7510 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7511 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7512 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7513 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7514 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7515 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7516 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7517 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7518 * sysdeps/ieee754/k_standardl.c: Likewise.
7519 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7520 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7521 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7522 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7523 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7524 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7525 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7526 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7527 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7528 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7529 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7530 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7531 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7532 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7533 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7534 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7535 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7536 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7537 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7538 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7539 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7540 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7541 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7542 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7543 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7544 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7545 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7546 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7547 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7549 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7550 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7551 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7552 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7555 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7556 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7557 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7558 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7559 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7560 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7561 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7562 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7563 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7564 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7565 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7566 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7567 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7568 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7569 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7570 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7571 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7572 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7573 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7574 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7575 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7576 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7577 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7578 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7579 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7580 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7581 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7582 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7583 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7584 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7585 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7586 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7587 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7588 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7589 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7591 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7594 * include/stdio.h (__libc_fatal): Mention newline in comment.
7595 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7596 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7597 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7598 * nss/nsswitch.c (__nss_next2): Likewise.
7599 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7600 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7601 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7602 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7603 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7604 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7605 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7606 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7607 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7608 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7609 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7610 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7611 (__netlink_assert_response): Likewise.
7613 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7615 * conform/glibcconform.py: New file.
7616 * conform/list-header-symbols.py: Likewise.
7617 * conform/list-header-symbols.pl: Remove.
7618 * conform/Makefile (tests-special): Only add linknamespace tests
7620 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7622 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7625 * support/Makefile (libsupport-routines): Add
7626 support_copy_file_range and xcopy_file_range.
7627 * support/support.h: Include <sys/types.h>.
7628 (support_copy_file_range): New prototype.
7629 * support/support_copy_file_range.c: New file. Copied and
7630 modified from io/copy_file_range-compat.c.
7631 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7632 instead of copy_file_range.
7633 * support/xcopy_file_range.c: New file.
7634 * support/xunistd.h (xcopy_file_range): New prototype.
7636 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7638 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7639 xpthread_create and xpthread_join.
7641 2018-08-30 Florian Weimer <fweimer@redhat.com>
7643 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7645 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7647 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7650 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7652 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7653 and minus_oflow as non-finite.
7655 2018-08-28 Joseph Myers <joseph@codesourcery.com>
7657 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7658 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7659 moved to fenv_private.h except for ...
7660 (TOINT_INTRINSICS): Kept in math_private.h.
7661 (roundtoint): Likewise.
7662 (converttoint): Likewise.
7663 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7664 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7665 * sysdeps/arm/math_private.h: Remove.
7666 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7668 * sysdeps/generic/math_private.h: ... this file. Include
7669 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7670 Include <fenv_private.h>. Remove functions and macros moved to
7672 * sysdeps/i386/fpu/math_private.h: Remove.
7673 * sysdeps/mips/math_private.h: Move to ....
7674 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7675 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7676 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7677 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7678 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7679 * sysdeps/powerpc/fpu/math_private.h: Do not include
7681 * sysdeps/riscv/rvf/math_private.h: Move to ....
7682 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7683 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7685 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7686 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7687 * sysdeps/sparc/fpu/math_private.h: Remove.
7688 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7689 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7690 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7692 * sysdeps/x86_64/fpu/math_private.h: Do not include
7693 <sysdeps/i386/fpu/fenv_private.h>.
7695 2018-08-28 Florian Weimer <fweimer@redhat.com>
7698 * posix/tst-regcomp-truncated.c: New file.
7699 * posix/Makefile (tests): Add it.
7700 (tst-regcomp-truncated.out): Depend on generated locales.
7702 2018-08-28 Florian Weimer <fweimer@redhat.com>
7704 * support/test-container.c (main): Treat unshare failure with
7705 EPERM as an unsupported test.
7707 2018-08-28 Florian Weimer <fweimer@redhat.com>
7710 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7711 * nscd/netgroupcache.c
7712 (addgetnetgrentX): Add tofreep parameter. Do not free
7713 heap-allocated buffer.
7714 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7715 (addgetnetgrentX_ignore): New function.
7716 (addgetnetgrent): Call it.
7717 (readdgetnetgrent): Likewise.
7719 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7721 * string/memmem.c: Use memcmp for first match.
7723 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7726 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7728 2018-08-27 DJ Delorie <dj@redhat.com>
7730 * support/Makefile (others): Don't list programs explicitly as a
7731 dependency of "others".
7733 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7735 * sysdeps/generic/math-tests-trap-force.h: New file.
7736 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7737 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7738 * sysdeps/powerpc/math-tests.h: Remove file.
7739 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7741 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7742 Torvald Riegel <triegel@redhat.com>
7745 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7746 Update r to include the set wake-request flag if waiters are
7747 remaining after spinning.
7749 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7751 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7753 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7756 regex: fix uninitialized memory access
7757 I introduced this bug into gnulib in commit
7758 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7759 eventually it was merged into glibc. The bug was found by
7760 project-repo <bugs@feusi.co> and reported here:
7761 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7762 Diagnosis and draft fix reported by Assaf Gordon here:
7763 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7764 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7765 * posix/regex_internal.c (build_wcs_upper_buffer):
7766 Fix bug when mbrtowc returns 0.
7768 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7770 * po/be.po: Update translation.
7772 2018-08-24 DJ Delorie <dj@delorie.com>
7774 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7777 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7780 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7781 create temporary files in source tree.
7783 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7785 * sysdeps/generic/math-tests-trap.h: New file.
7786 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7787 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7788 * sysdeps/aarch64/math-tests.h: Remove file.
7789 * sysdeps/arm/math-tests.h: Likewise.
7790 * sysdeps/riscv/math-tests.h: Likewise.
7791 * sysdeps/aarch64/math-tests-trap.h: New file.
7792 * sysdeps/arm/math-tests-trap.h: Likewise.
7793 * sysdeps/riscv/math-tests-trap.h: Likewise.
7795 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7797 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7798 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7799 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7800 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7801 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7802 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7803 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7804 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7805 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7806 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7807 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7808 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7809 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7810 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7811 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7812 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7813 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7814 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7816 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7818 * sysdeps/generic/math-tests-exceptions.h: New file.
7819 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7820 (EXCEPTION_TESTS_float): Do not define here.
7821 (EXCEPTION_TESTS_double): Likewise.
7822 (EXCEPTION_TESTS_long_double): Likewise.
7823 (EXCEPTION_TESTS_float128): Likewise.
7824 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7826 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7827 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7828 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7829 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7830 * sysdeps/mips/math-tests.h: Likewise.
7831 * sysdeps/nios2/math-tests.h: Likewise.
7832 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7833 (EXCEPTION_TESTS_float): Do not define here.
7834 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7835 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7836 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7838 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7840 * NEWS: Move optimized sinf entry to 2.29.
7842 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7844 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7846 2018-08-22 DJ Delorie <dj@redhat.com>
7848 * Makefile (testroot.pristine): New rules to initialize the
7849 test-in-container "testroot".
7850 * Makerules (all-testsuite): Add tests-container.
7851 * Rules (tests-expected): Add tests-container.
7852 (binaries-all-tests): Likewise.
7853 (tests-container): New, run these tests in the testroot container.
7854 * support/Makefile (others): Add *-container, support_paths.c,
7855 xmkdirp, and links-dso-program.
7856 * support/links-dso-program-c.c: New.
7857 * support/links-dso-program.cc: New.
7858 * support/test-container.c: New.
7859 * support/shell-container.c: New.
7860 * support/echo-container.c: New.
7861 * support/true-container.c: New.
7862 * support/xmkdirp.c: New.
7863 * support/xsymlink.c: New.
7864 * support/support_paths.c: New.
7865 * support/support.h: Add support paths prototypes.
7866 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7868 * nss/tst-nss-test3.c: Convert to test-in-container.
7869 * nss/tst-nss-test3.root/: New.
7871 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7873 regex: port Gnulib code to z/OS POSIX environment
7874 Problem reported by Arnold Robbins in:
7875 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7876 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7879 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7881 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7882 (ROUNDING_TESTS_double): Remove.
7883 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7884 (ROUNDING_TESTS_double): Remove.
7885 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7886 (ROUNDING_TESTS_double): Remove.
7887 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7888 (ROUNDING_TESTS_float): Remove.
7889 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7890 (ROUNDING_TESTS_float): Remove.
7891 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7892 (ROUNDING_TESTS_float): Remove.
7893 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7895 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7896 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7898 * sysdeps/generic/math-tests-rounding.h: New file.
7899 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7900 (ROUNDING_TESTS_float): Do not define here.
7901 (ROUNDING_TESTS_double): Likewise.
7902 (ROUNDING_TESTS_long_double): Likewise.
7903 (ROUNDING_TESTS_float128): Likewise.
7904 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7905 (ROUNDING_TESTS_double): Undefine before defining.
7906 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7907 (ROUNDING_TESTS_double): Undefine before defining.
7908 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7909 (ROUNDING_TESTS_double): Undefine before defining.
7910 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7911 (ROUNDING_TESTS_float): Undefine before defining.
7912 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7913 (ROUNDING_TESTS_float): Undefine before defining.
7914 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7915 (ROUNDING_TESTS_float): Undefine before defining.
7916 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7917 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7919 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7920 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7921 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7922 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7923 (ROUNDING_TESTS_float): Do not define here.
7924 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7925 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7926 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7927 (ROUNDING_TESTS_float): Likewise.
7928 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7929 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7930 * sysdeps/mips/math-tests.h [__mips_soft_float]
7931 (ROUNDING_TESTS_float): Likewise.
7932 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7933 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7934 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7935 (ROUNDING_TESTS_double): Likewise.
7936 (ROUNDING_TESTS_long_double): Likewise.
7938 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7940 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7941 (PF_XDP): New macro.
7942 (AF_XDP): New macro.
7943 (SOL_XDP): New macro.
7945 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7947 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7948 (TCP_INQ): Likewise.
7949 (TCP_CM_INQ): Likewise.
7950 (TCP_REPAIR_ON): Likewise.
7951 (TCP_REPAIR_OFF): Likewise.
7952 (TCP_REPAIR_OFF_NO_WP): Likewise.
7953 (struct tcp_zerocopy_receive): New type.
7955 2018-08-21 Florian Weimer <fweimer@redhat.com>
7957 * support/support.h (support_descriptor_supports_holes): Declare.
7958 * support/Makefile (libsupport-routines): Add
7959 support_descriptor_supports_holes.
7960 * support/support_descriptor_supports_holes.c: New file.
7961 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7962 and stop testing if holes are not supported.
7963 * io/test-lfs.c (do_prepare): Likewise.
7964 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7966 * timezone/tst-tzset.c (create_tz_file): Likewise.
7967 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7969 (do_prepare): Set it.
7970 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7972 2018-08-21 Florian Weimer <fweimer@redhat.com>
7975 * Makeconfig (+cflags): Do not sort (and deduplicate).
7977 2018-08-21 Florian Weimer <fweimer@redhat.com>
7979 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7980 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7982 2018-08-20 Florian Weimer <fweimer@redhat.com>
7984 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7985 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7987 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7989 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7990 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7991 and ssi_arch members.
7993 * elf/elf.c (NT_VMCOREDD): New macro.
7994 (AT_MINSIGSTKSZ): Likewise.
7996 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7998 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7999 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8000 s_cosf-ppc64 and s_cosf-power8.
8001 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8002 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8003 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8004 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8011 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8012 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8014 2018-08-17 Florian Weimer <fweimer@redhat.com>
8016 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8018 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8020 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8022 2018-08-16 Florian Weimer <fweimer@redhat.com>
8024 * configure.ac: Add --with-nonshared-cflags option.
8025 * config.make.in (extra-nonshared-cflags): Set variable.
8026 * Makeconfig (CFLAGS-.oS): Use it.
8027 * manual/install.texi (Configuring and compiling): Document
8028 --with-nonshared-cflags.
8029 * configure: Regenerate.
8030 * INSTALL: Likewise.
8032 2018-08-16 Florian Weimer <fweimer@redhat.com>
8034 * Makeconfig (ASFLAGS): Always append required assembler flags.
8036 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8038 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8039 (malloc_consolidate): Likewise.
8041 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8043 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8045 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8047 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8050 * benchtests/bench-strlen.c: Print performance numbers in json.
8052 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8054 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8055 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8056 only for little endian.
8057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8058 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8059 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8060 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8061 Add check for little endian.
8062 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8063 (__strcmp_power9): Add check for little endian.
8064 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8065 Add check for little endian.
8066 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8067 (__strncmp_power9): Add check for little endian.
8068 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8069 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8070 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8071 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8072 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8074 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8076 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8077 [!STRLEN](STRLEN): Set to __strlen.
8078 * sysdeps/aarch64/multiarch/strlen.c: New file.
8079 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8080 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8081 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8082 (__libc_ifunc_impl_list): Add strlen.
8083 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8084 strlen_generic and strlen_asimd.
8086 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8088 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8089 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8090 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8092 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8094 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8096 2018-08-14 Florian Weimer <fweimer@redhat.com>
8099 * include/stdio.h (__vfxprintf): Declare.
8100 * stdio-common/fxprintf.c (__vfxprintf): New function.
8101 (__fxprintf): Call it.
8102 * misc/err.c (convert_and_print): Remove function.
8103 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8104 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8105 * misc/Makefile (tests): Add tst-warn-wide.
8106 * misc/tst-warn-wide.c: New file.
8108 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8109 Szabolcs Nagy <szabolcs.nagy@arm.com>
8111 * NEWS: Mention sinf, cosf, sincosf.
8112 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8113 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8114 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8115 constants rather than including generic sincosf.h.
8116 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8117 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8118 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8119 (reduced_cos): Remove.
8120 (sinf_poly): New function.
8121 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8123 2018-08-14 Florian Weimer <fweimer@redhat.com>
8127 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8128 processing, bail out if no room, and close the stream before
8130 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8131 (tst-nss-files-alias-leak): Link with libdl.
8132 (tst-nss-files-alias-leak.out): Depend on nss_files.
8134 * nss/tst-nss-files-alias-leak.c: New file.
8136 2018-08-14 Florian Weimer <fweimer@redhat.com>
8138 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8139 server_user, stat_user.
8141 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8143 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8145 (io_pgetevents): New syscall.
8148 * manual/install.texi (Configuring and compiling): Do not list
8149 tools used for testing pretty printers here.
8150 (Tools for Compilation): List Python, PExpect and GDB here.
8151 Update descriptions of uses of Perl and Python.
8152 * INSTALL: Regenerate.
8154 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8157 2018-08-13 Florian Weimer <fweimer@redhat.com>
8159 * misc/error.c (error): Add missing va_end call.
8160 (error_at_line): Likewise.
8162 2018-08-13 Florian Weimer <fweimer@redhat.com>
8164 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8166 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8168 * benchtests/scripts/benchout.schema.json (properties): Add
8171 * benchtests/bench-skeleton.c (main): Add duration and
8172 iterations attributes.
8174 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8176 regex: Gnulib unibyte RRI uses bytes not chars
8177 Adjust the non-glibc code to agree with what Gawk needs for
8178 rational range interpretation (RRI) for regular expression ranges.
8179 In unibyte locales, Gawk wants ranges to use the underlying byte
8180 rather than the character code point. This change does not affect
8182 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8183 In unibyte locales, use the byte value rather than
8184 running it through btowc.
8186 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8188 * sysdeps/generic/math-tests-snan.h: New file.
8189 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8190 (SNAN_TESTS_float): Do not define here.
8191 (SNAN_TESTS_double): Likewise.
8192 (SNAN_TESTS_long_double): Likewise.
8193 (SNAN_TESTS_float128): Likewise.
8194 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8195 * sysdeps/i386/fpu/math-tests.h: Remove file.
8196 * sysdeps/ia64/math-tests-snan.h: New file.
8197 * sysdeps/ia64/math-tests.h: Remove file.
8198 * sysdeps/x86/math-tests.h: Likewise.
8199 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8201 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8202 Szabolcs Nagy <szabolcs.nagy@arm.com>
8204 * math/Makefile: Add s_sincosf_data.c.
8205 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8206 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8207 (sincosf_poly): Likewise.
8208 (reduce_small): Likewise.
8209 (reduce_large): Likewise.
8210 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8211 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8212 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8213 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8215 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8216 Szabolcs Nagy <szabolcs.nagy@arm.com>
8218 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8219 (converttoint): Use lround.
8220 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8221 document the semantics when TOINT_INTRINSICS is set.
8222 (converttoint): Likewise.
8223 (TOINT_RINT): Remove.
8224 (TOINT_SHIFT): Remove.
8225 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8228 2018-08-10 Florian Weimer <fweimer@redhat.com>
8231 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8233 (__old_getdents64): Use getdents64. Convert entries without
8235 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8236 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8237 tst-readdir64-compat.
8239 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8241 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8244 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8246 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8247 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8248 code to s390x-mcount.h and #include it.
8249 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8250 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8253 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8255 * stdlib/Versions: Remove __fentry__.
8256 * sysdeps/i386/Versions: Add __fentry__.
8257 * sysdeps/x86_64/Versions: Add __fentry__.
8259 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8261 * sysdeps/s390/Makefile: Register the new tests.
8262 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8263 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8264 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8265 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8266 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8267 * sysdeps/s390/tst-dl-runtime.c: New file.
8269 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8271 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8274 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8276 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8279 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8281 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8284 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8286 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8289 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8291 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8292 Use symbolic offsets for stack variables.
8294 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8296 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8297 Use symbolic offsets for stack variables.
8299 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8301 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8302 Use symbolic offsets for stack variables.
8304 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8306 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8307 Use symbolic offsets for stack variables.
8309 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8311 * math/gen-libm-test.py: New file.
8312 * math/gen-libm-test.pl: Remove.
8313 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8314 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8316 ($(libm-test-c-noauto-obj)): Likewise.
8317 ($(libm-test-c-auto-obj)): Likewise.
8318 ($(libm-test-c-narrow-obj)): Likewise.
8319 (regen-ulps): Likewise.
8320 * math/README.libm-test: Update references to gen-libm-test.pl.
8321 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8322 referencing gen-libm-test.pl.
8323 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8324 * math/libm-test-support.c: Likewise.
8325 * math/libm-test-support.h: Likewise.
8326 * sysdeps/generic/libm-test-ulps: Likewise.
8328 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8330 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8333 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8335 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8336 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8338 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8340 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8342 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8343 __pthread_setspecific): Add hidden proto.
8344 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8345 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8347 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8349 * benchtests/bench-string.h (buf1_size, buf2_size): New
8351 (init_sizes): New function.
8352 (test_init): Use it.
8353 (alloc_buf, exit_error): New functions.
8354 (alloc_bufs): Use ALLOC_BUF.
8355 (realloc_bufs): Remove.
8356 * benchtests/bench-memcmp.c (do_test): Adjust.
8357 * benchtests/bench-memset-large.c (do_test): Likewise.
8358 * benchtests/bench-memset-walk.c (do_test): Likewise.
8359 * benchtests/bench-memset.c (do_test): Likewise.
8360 * benchtests/bench-strncmp.c (do_test): Likewise.
8362 2018-08-06 Andreas Schwab <schwab@suse.de>
8364 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8365 of CONST_THREAD_AREA.
8367 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8369 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8370 (STATE_SAVE_MASK): Likewise.
8371 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8372 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8373 (STATE_SAVE_MASK): Likewise.
8374 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8375 instead of <cpu-features.h>.
8377 2018-08-03 DJ Delorie <dj@redhat.com>
8379 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8380 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8382 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8384 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8386 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8388 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8389 * math/libm-test-logb.inc (logb_test_data): Likewise.
8391 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8393 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8394 * string/strstr.c (AVAILABLE): Likewise.
8396 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8398 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8400 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8401 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8402 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8404 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8406 * po/be.po: Update translation.
8408 * po/be.po: Update translation.
8410 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8412 * sysdeps/x86/cpu-features-offsets.sym
8413 (rtld_global_ro_offsetof): Removed.
8414 (CPU_FEATURES_SIZE): Likewise.
8415 (CPUID_OFFSET): Likewise.
8416 (CPUID_SIZE): Likewise.
8417 (CPUID_EAX_OFFSET): Likewise.
8418 (CPUID_EBX_OFFSET): Likewise.
8419 (CPUID_ECX_OFFSET): Likewise.
8420 (CPUID_EDX_OFFSET): Likewise.
8421 (FAMILY_OFFSET): Likewise.
8422 (MODEL_OFFSET): Likewise.
8423 (FEATURE_OFFSET): Likewise.
8424 (FEATURE_SIZ): Likewise.
8425 (COMMON_CPUID_INDEX_1): Likewise.
8426 (COMMON_CPUID_INDEX_7): Likewise.
8427 (FEATURE_INDEX_1): Likewise.
8428 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8430 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8432 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8433 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8434 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8435 (install-locales): Depend on install-locale-archive.
8436 (install-locale-archive): Define.
8437 (install-locale-files): Define.
8438 (build-one-locale): Define macro.
8439 * manual/install.texi (Running make install): Document.
8440 * manual/INSTALL: Regenerate.
8442 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8444 * benchtests/scripts/compare_strings.py: Import traceback.
8445 (parse_file): Pretty-print error.
8447 * NEWS: Mention the change.
8448 * elf/dl-tunables.list: Rename tune namespace to cpu.
8449 * sysdeps/powerpc/dl-tunables.list: Likewise.
8450 * sysdeps/x86/dl-tunables.list: Likewise.
8451 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8453 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8454 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8455 * manual/README.tunables: Likewise.
8456 * manual/tunables.texi: Likewise.
8457 * sysdeps/powerpc/cpu-features.c: Likewise.
8458 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8459 (init_cpu_features): Likewise.
8460 * sysdeps/x86/cpu-features.c: Likewise.
8461 * sysdeps/x86/cpu-features.h: Likewise.
8462 * sysdeps/x86/cpu-tunables.c: Likewise.
8463 * sysdeps/x86_64/Makefile: Likewise.
8464 * sysdeps/x86/dl-cet.c: Likewise.
8466 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8469 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8470 [__mips_hard_float].
8471 (FE_UNDERFLOW): Likewise.
8472 (FE_OVERFLOW): Likewise.
8473 (FE_DIVBYZERO): Likewise.
8474 (FE_INVALID): Likewise.
8475 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8476 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8477 (FE_UPWARD): Likewise.
8478 (FE_DOWNWARD): Likewise.
8479 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8480 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8481 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8482 [__mips_hard_float].
8483 (FP_ROUNDMODE): Likewise.
8484 (FP_RND_NEAREST): Likewise.
8485 (FP_RND_ZERO): Likewise.
8486 (FP_RND_PINF): Likewise.
8487 (FP_RND_MINF): Likewise.
8488 (FP_EX_INVALID): Likewise.
8489 (FP_EX_OVERFLOW): Likewise.
8490 (FP_EX_UNDERFLOW): Likewise.
8491 (FP_EX_DIVZERO): Likewise.
8492 (FP_EX_INEXACT): Likewise.
8493 (FP_INIT_ROUNDMODE): Likewise.
8494 * sysdeps/mips/nofpu/fesetenv.c: New file.
8495 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8497 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8499 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8500 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8501 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8502 conditional on [FE_UPWARD].
8504 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8506 regex: fix memory leak in Gnulib
8507 Problem and fix reported by Assaf Gordon in:
8508 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8509 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8510 range_ends members too, as they are defined in 'struct
8511 re_charset_t' even if not _LIBC. This affects only Gnulib.
8513 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8515 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8517 (get_common_indices): This.
8518 (init_cpu_features): Updated.
8520 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8522 * sysdeps/generic/math-tests-snan-payload.h: New file.
8523 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8524 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8525 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8526 * sysdeps/generic/math-tests.h: Include
8527 <math-tests-snan-payload.h>.
8528 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8529 * sysdeps/hppa/math-tests.h: Remove file.
8530 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8531 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8532 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8535 * sysdeps/generic/math-tests-snan-cast.h: New file.
8536 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8537 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8538 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8539 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8541 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8543 * version.h (RELEASE): Set to "development".
8544 (VERSION): Set to "2.28.9000".
8545 * NEWS (2.29): New section.
8547 * version.h (RELEASE): Set to "stable".
8548 (VERSION): Set to "2.28".
8549 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8550 * NEWS: Add the list of bugs fixed in 2.28.
8552 * po/ca.po: Update to latest version.
8553 * po/cs.po: Likewise
8554 * po/da.po: Likewise
8555 * po/el.po: Likewise
8556 * po/eo.po: Likewise
8557 * po/es.po: Likewise
8558 * po/fi.po: Likewise
8559 * po/fr.po: Likewise
8560 * po/gl.po: Likewise
8561 * po/hu.po: Likewise
8562 * po/ia.po: Likewise
8563 * po/id.po: Likewise
8564 * po/it.po: Likewise
8565 * po/ja.po: Likewise
8566 * po/ko.po: Likewise
8567 * po/lt.po: Likewise
8568 * po/nb.po: Likewise
8569 * po/nl.po: Likewise
8570 * po/pt_BR.po: Likewise
8571 * po/ru.po: Likewise
8572 * po/rw.po: Likewise
8573 * po/sk.po: Likewise
8574 * po/sl.po: Likewise
8575 * po/tr.po: Likewise
8576 * po/zh_CN.po: Likewise
8577 * po/zh_TW.po: Likewise
8579 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8581 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8583 (init): ... before initializing libpthread.
8585 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8586 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8587 (__mach_setup_tls): ... new function.
8588 (mach_setup_tls): New alias.
8589 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8590 __mach_setup_thread.
8591 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8592 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8593 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8594 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8596 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8598 * manual/install.texi: Update versions.
8599 * INSTALL: Regenerate.
8601 * manual/contrib.texi (Contributors): Update contributions.
8603 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8605 * po/be.po: Update translations.
8607 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8609 * sysdeps/sh/libm-test-ulps: Update.
8611 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8613 * po/bg.po: Update translations.
8614 * po/de.po: Likewise.
8615 * po/hr.po: Likewise.
8616 * po/pt_BR.po: Likewise.
8617 * po/sv.po: Likewise.
8618 * po/vi.po: Likewise.
8620 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8623 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8624 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8625 (CFLAGS-tst-cet-property-1.o): New.
8626 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8627 ($(objpfx)tst-cet-property-2): Likewise.
8628 ($(objpfx)tst-cet-property-2.out): Likewise.
8629 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8630 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8631 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8632 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8633 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8635 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8638 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8640 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8642 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8643 __sbrk): Do not set attribute_hidden.
8644 * sysdeps/mach/hurd/not-errno.h: New file.
8645 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8646 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8648 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8650 * po/uk.po: Update translations.
8651 * po/cs.po: Likewise.
8652 * po/pl.po: Likewise.
8654 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8656 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8657 parse beyond the note end.
8659 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8661 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8662 kernel does not support OFD locks.
8663 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8665 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8667 * sysdeps/mach/hurd/Versions (libc): Make __access and
8668 __access_noerrno external so they can override the ld symbols.
8669 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8670 __writev, __open64, __access_noerrno extern so they can be overrided.
8671 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8672 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8674 2018-07-26 Carlos O'Donell <carlos@redhat.com>
8676 * po/libc.pot: Regenerate.
8678 2018-07-26 Joseph Myers <joseph@codesourcery.com>
8680 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8682 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8685 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8687 (init_cpu_features): Call get_extended_indices for both Intel
8689 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8690 Remove "for AMD" comment.
8692 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8695 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8696 COMMON_CPUID_INDEX_80000001.
8698 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8700 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8701 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8703 2018-07-26 Florian Weimer <fweimer@redhat.com>
8705 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8706 aliases for symbols not in the implementation namespace.
8708 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8711 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8712 lowercase in LATIN script.
8713 * localedata/Makefile (test-input): Add en_US.UTF-8.
8714 * localedata/en_US.UTF-8.in: New file.
8715 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8716 and restore old tests.
8717 * posix/tst-regexloc.c (do_test): Add back range expression test.
8719 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8721 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8723 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8725 * nptl/threads.h: Move to ...
8726 * sysdeps/nptl/threads.h: ... here.
8727 * sysdeps/hurd/stdc-predef.h: New file.
8729 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8731 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8732 tst-cet-setcontext-1 if CET is enabled.
8733 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8734 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8736 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8738 * include/threads.h: Move to ...
8739 * sysdeps/nptl/threads.h: ... here.
8740 * sysdeps/htl/threads.h: New file.
8741 * conform/Makefile (linknamespace-libs-ISO11): Use
8742 static-thread-library instead of linking libpthread.
8743 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8745 2018-07-25 Florian Weimer <fweimer@redhat.com>
8747 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8748 nanoseconds into seconds.
8749 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8750 (do_test): Likewise.
8751 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8752 (do_test): Likewise. Avoid nanosecond overflow and spurious
8753 timeouts due to system load.
8754 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8755 (child_wait): Increment it.
8756 (do_test): Wait as long as necessary until all expected threads
8759 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8760 H.J. Lu <hongjiu.lu@intel.com>
8762 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8764 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8765 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8766 (__push___start_context): New.
8767 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8769 (__getcontext): Record the current shadow stack base. Save the
8770 caller's shadow stack pointer and base.
8771 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8772 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8773 (__push___start_context): New prototype.
8774 (__makecontext): Call __push___start_context to allocate a new
8775 shadow stack, push __start_context onto the new stack as well
8776 as the new shadow stack.
8777 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8779 (__setcontext): Restore the target shadow stack.
8780 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8782 (__swapcontext): Record the current shadow stack base. Save
8783 the caller's shadow stack pointer and base. Restore the target
8785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8786 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8787 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8789 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8791 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8792 tst-setcontext8 and tst-setcontext9.
8793 * stdlib/tst-setcontext6.c: New file.
8794 * stdlib/tst-setcontext7.c: Likewise.
8795 * stdlib/tst-setcontext8.c: Likewise.
8796 * stdlib/tst-setcontext9.c: Likewise.
8798 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8800 * stdlib/Makefile ((tests): Add tst-setcontext5.
8801 * stdlib/tst-setcontext5.c: New file.
8803 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8805 * stdlib/Makefile (tests): Add tst-setcontext4.
8806 * stdlib/tst-setcontext4.c: New file.
8808 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8810 * stdlib/Makefile (tests): Add tst-swapcontext1.
8811 * stdlib/tst-swapcontext1.c: New test.
8813 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8815 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8816 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8817 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8818 and tst-cet-legacy-4c.
8819 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8820 and tst-cet-legacy-mod-4.
8821 (CFLAGS-tst-cet-legacy-2.c): New.
8822 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8823 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8824 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8825 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8826 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8827 ($(objpfx)tst-cet-legacy-1): Likewise.
8828 ($(objpfx)tst-cet-legacy-2): Likewise.
8829 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8830 ($(objpfx)tst-cet-legacy-2a): Likewise.
8831 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8832 ($(objpfx)tst-cet-legacy-4): Likewise.
8833 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8834 ($(objpfx)tst-cet-legacy-4a): Likewise.
8835 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8836 (tst-cet-legacy-4a-ENV): Likewise.
8837 ($(objpfx)tst-cet-legacy-4b): Likewise.
8838 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8839 (tst-cet-legacy-4b-ENV): Likewise.
8840 ($(objpfx)tst-cet-legacy-4c): Likewise.
8841 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8842 (tst-cet-legacy-4c-ENV): Likewise.
8843 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8844 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8845 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8846 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8847 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8848 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8849 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8850 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8851 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8852 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8853 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8855 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8857 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8858 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8860 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8861 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8864 2018-07-25 Andreas Schwab <schwab@suse.de>
8867 * locale/weightwc.h (findidx): Handle the case where usrc is a
8868 prefix of cp but one character too short.
8870 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8872 * NEWS: Add ISO C threads addition.
8874 2018-07-24 Florian Weimer <fweimer@redhat.com>
8876 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8877 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8878 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8881 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8883 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8884 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8885 <sys/prctl.h> and <asm/prctl.h>.
8886 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8887 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8889 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8890 ARCH_CET_LEGACY_BITMAP.
8891 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8892 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8893 * sysdeps/x86/libc-start.c: Include <startup.h>.
8895 2018-07-24 Florian Weimer <fweimer@redhat.com>
8897 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8898 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8900 2018-07-24 Rical Jasan <rj@2c3t.io>
8901 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8902 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8905 * manual/debug.texi: Update adjacent chapter name.
8906 * manual/probes.texi: Likewise.
8907 * manual/threads.texi (ISO C Threads): New section.
8908 (POSIX Threads): Convert to a section.
8910 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8911 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8914 * nptl/Makefile (tests): Add new test files.
8915 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8916 * nptl/tst-cnd-basic.c: Likewise.
8917 * nptl/tst-cnd-broadcast.c: Likewise.
8918 * nptl/tst-cnd-timedwait.c: Likewise.
8919 * nptl/tst-mtx-basic.c: Likewise.
8920 * nptl/tst-mtx-recursive.c: Likewise.
8921 * nptl/tst-mtx-timedlock.c: Likewise.
8922 * nptl/tst-mtx-trylock.c: Likewise.
8923 * nptl/tst-thrd-basic.c: Likewise.
8924 * nptl/tst-thrd-detach.c: Likewise.
8925 * nptl/tst-thrd-sleep.c: Likewise.
8926 * nptl/tst-tss-basic.c: Likewise.
8928 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8931 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8932 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8934 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8935 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8936 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8937 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8938 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8939 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8940 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8941 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8942 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8943 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8944 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8945 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8953 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8954 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8955 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8956 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8957 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8958 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8959 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8960 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8961 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8962 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8963 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8964 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8965 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8967 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8968 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8969 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8970 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8971 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8972 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8973 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8974 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8975 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8976 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8977 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8978 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8985 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8986 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8987 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8988 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8989 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8990 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8991 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8992 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8995 * conform/data/threads.h-data (thread_local): New macro.
8996 (TSS_DTOR_ITERATIONS): Likewise.
8998 (tss_dtor_t): Likewise.
8999 (tss_create): New function.
9000 (tss_get): Likewise.
9001 (tss_set): Likewise.
9002 (tss_delete): Likewise.
9003 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9004 tss_get, and tss_set objects.
9005 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9006 * nptl/tss_create.c: New file.
9007 * nptl/tss_delete.c: Likewise.
9008 * nptl/tss_get.c: Likewise.
9009 * nptl/tss_set.c: Likewise.
9010 * sysdeps/nptl/threads.h (thread_local): New define.
9011 (TSS_DTOR_ITERATIONS): Likewise.
9012 (tss_t): New typedef.
9013 (tss_dtor_t): Likewise.
9014 (tss_create): New prototype.
9015 (tss_get): Likewise.
9016 (tss_set): Likewise.
9017 (tss_delete): Likewise.
9020 * conform/data/threads.h-data (cnd_t): New type.
9021 (cnd_init): New function.
9022 (cnd_signal): Likewise.
9023 (cnd_broadcast): Likewise.
9024 (cnd_wait): Likewise.
9025 (cnd_timedwait): Likewise.
9026 (cnd_destroy): Likewise.
9027 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9028 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9030 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9031 * nptl/cnd_broadcast.c: New file.
9032 * nptl/cnd_destroy.c: Likewise.
9033 * nptl/cnd_init.c: Likewise.
9034 * nptl/cnd_signal.c: Likewise.
9035 * nptl/cnd_timedwait.c: Likewise.
9036 * nptl/cnd_wait.c: Likewise.
9037 * sysdeps/nptl/threads.h (cnd_t): New type.
9038 (cnd_init): New prototype.
9039 (cnd_signa): Likewise.
9040 (cnd_broadcast): Likewise.
9041 (cnd_wait): Likewise.
9042 (cnd_timedwait): Likewise.
9043 (cnd_destroy): Likewise.
9046 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9047 (once_flag): New type.
9048 (call_once): New function.
9049 * nptl/Makefile (libpthread-routines): Add call_once object.
9050 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9051 * nptl/call_once.c: New file.
9052 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9053 (once_flag): New type.
9054 (call_once): New prototype.
9057 * conform/data/threads.h-data (mtx_plain): New constant.
9058 (mtx_recursive): Likewise.
9059 (mtx_timed): Likewise.
9061 (mtx_init): New function.
9062 (mtx_lock): Likewise.
9063 (mtx_timedlock): Likewise.
9064 (mtx_trylock): Likewise.
9065 (mtx_unlock): Likewise.
9066 (mtx_destroy): Likewise.
9067 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9068 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9069 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9070 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9071 * nptl/mtx_destroy.c: New file.
9072 * nptl/mtx_init.c: Likewise.
9073 * nptl/mtx_lock.c: Likewise.
9074 * nptl/mtx_timedlock.c: Likewise.
9075 * nptl/mtx_trylock.c: Likewise.
9076 * nptl/mtx_unlock.c: Likewise.
9077 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9078 (mtx_recursive): Likewise.
9079 (mtx_timed): Likewise.
9081 (mtx_init): New prototype.
9082 (mtx_lock): Likewise.
9083 (mtx_timedlock): Likewise.
9084 (mtx_trylock): Likewise.
9085 (mtx_unlock): Likewise.
9086 (mtx_destroy): Likewise.
9089 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9090 (linknamespace-libs-ISO11): Add libpthread.a.
9091 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9093 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9094 * nptl/Makefile (headers): Add threads.h.
9095 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9096 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9098 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9099 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9100 thrd_join, thrd_sleep, and thrd_yield symbols.
9101 * nptl/descr.h (struct pthread): Add c11 field.
9102 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9103 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9104 routine with expected function prototype.
9105 (__pthread_create_2_1): Add C11 threads check based on attribute
9107 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9108 * nptl/thrd_create.c: New file.
9109 * nptl/thrd_current.c: Likewise.
9110 * nptl/thrd_detach.c: Likewise.
9111 * nptl/thrd_equal.c: Likewise.
9112 * nptl/thrd_exit.c: Likewise.
9113 * nptl/thrd_join.c: Likewise.
9114 * nptl/thrd_priv.h: Likewise.
9115 * nptl/thrd_sleep.c: Likewise.
9116 * nptl/thrd_yield.c: Likewise.
9117 * include/threads.h: Likewise.
9119 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9121 * bits/indirect-return.h: New file.
9122 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9123 * sysdeps/x86/bits/indirect-return.h: Likewise.
9124 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9125 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9126 (swapcontext): Add __INDIRECT_RETURN.
9127 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9128 (prepare_test_buffer): Use it.
9130 2018-07-24 Andreas Schwab <schwab@suse.de>
9133 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9134 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9136 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9138 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9139 Redefine if shadow stack is enabled.
9140 (SYSCALL_ERROR_LABEL): Likewise.
9141 (__vfork): Pop shadow stack and jump back to to caller directly
9142 when shadow stack is in use.
9143 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9144 Redefine if shadow stack is enabled.
9145 (SYSCALL_ERROR_LABEL): Likewise.
9146 (__vfork): Pop shadow stack and jump back to to caller directly
9147 when shadow stack is in use.
9149 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9151 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9154 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9157 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9159 * scripts/build-many-glibcs.py (Context.checkout): Default
9160 binutils version to 2.31 branch.
9162 2018-07-20 Zong Li <zong@andestech.com>
9164 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9165 URL of gcc's tarball.
9167 2018-07-20 Florian Weimer <fweimer@redhat.com>
9170 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9171 not compare an extra byte after the end of the weights.
9173 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9175 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9177 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9179 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9180 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9181 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9182 list of libraries whose stack executability is expected.
9183 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9184 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9186 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9187 libc.so libpthread.so.
9189 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9191 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9193 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9195 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9197 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9199 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9201 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9202 library to improve command line parsing.
9203 (__main__): make schema file as optional parameter (--schema),
9204 defaulting to benchtests/scripts/benchout.schema.json.
9205 (main): move out of the parsing stuff to __main_ and leave it
9206 only as caller of main comparison functions.
9208 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9210 * NEWS: Add a note for Intel CET status.
9211 * manual/install.texi: Likewise.
9212 * INSTALL: Regenerated.
9214 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9217 * localedata/locales/oc_FR (mon): Rename to...
9218 (alt_mon): This, then update October (typo fix).
9219 (mon): New content (genitive case, month names preceded by
9223 * localedata/locales/oc_FR (abday): Update all items.
9224 (day): Update Wednesday and Saturday (typo fixes).
9225 (abmon): Update all items, except May.
9226 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9227 (LC_IDENTIFICATION): Bump the revision number and date.
9228 Keep the "category" entries in alphabetic order.
9229 (LC_ADDRESS): Remove no longer needed comment.
9230 (LC_COLLATE): Use “copy "ca_ES"”.
9231 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9234 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9236 * grp/tst_fgetgrent.c: Include <unistd.h>.
9237 (main): Use mkstemp instead of tmpnam.
9238 * io/test-utime.c (main): Likewise.
9239 * posix/annexc.c (macrofile): Change to modifiable array.
9240 (main): Remove macrofile here.
9241 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9243 (check_header): Do not remove macrofile here.
9244 * posix/bug-getopt1.c: Include <stdlib.h>.
9245 (do_test): Use mkstemp instead of tmpnam.
9246 * posix/bug-getopt2.c: Include <stdlib.h>.
9247 (do_test): Use mkstemp instead of tmpnam.
9248 * posix/bug-getopt3.c: Include <stdlib.h>.
9249 (do_test): Use mkstemp instead of tmpnam.
9250 * posix/bug-getopt4.c: Include <stdlib.h>.
9251 (do_test): Use mkstemp instead of tmpnam.
9252 * posix/bug-getopt5.c: Include <stdlib.h>.
9253 (do_test): Use mkstemp instead of tmpnam.
9254 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9255 (main): Use mkstemp instead of tmpnam.
9256 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9257 (main): Use mkstemp instead of tmpnam.
9258 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9259 (main): use mkstemp instead of tmpnam.
9260 * stdlib/isomac.c (macrofile): Change to modifiable array.
9261 (main): Remove macrofile here.
9262 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9264 (check_header): Do not remove macrofile here.
9266 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9268 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9269 glibc.tune.x86_shstk.
9271 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9273 * NEWS: Mention --enable-cet.
9274 * manual/install.texi: Document --enable-cet.
9275 * INSTALL: Regenerated.
9277 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9279 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9280 Add _CET_NOTRACK before indirect jump to jump table.
9282 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9284 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9285 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9288 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9290 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9291 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9294 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9296 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9297 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9300 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9302 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9303 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9306 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9308 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9309 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9311 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9313 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9315 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9316 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9319 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9321 * sysdeps/i386/i686/multiarch/memset-sse2.S
9322 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9325 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9327 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9328 indirect jump to jump table.
9330 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9332 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9333 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9337 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9339 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9340 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9344 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9346 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9347 _CET_NOTRACK before indirect jump to jump table.
9349 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9351 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9352 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9355 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9357 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9358 indirect jump to jump table.
9360 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9363 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9364 (LOCALES): Likewise.
9365 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9366 * localedata/locales/sah_RU: New file.
9367 * localedata/sah_RU.UTF-8.in: New file.
9369 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9371 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9373 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9374 _CET_ENDBR to indirect jump targets and adjust jump destination
9376 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9378 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9379 _CET_ENDBR to indirect jump targets and adjust jump destination
9381 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9383 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9384 _CET_ENDBR to indirect jump targets and adjust jump destination
9387 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9389 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9392 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9394 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9396 (_dl_tlsdesc_undefweak): Likewise.
9397 (_dl_tlsdesc_dynamic): Likewise.
9398 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9399 (_dl_tlsdesc_resolve_rel): Likewise.
9400 (_dl_tlsdesc_resolve_rela): Likewise.
9401 (_dl_tlsdesc_resolve_hold): Likewise.
9402 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9403 (_dl_tlsdesc_undefweak): Likewise.
9404 (_dl_tlsdesc_dynamic): Likewise.
9405 (_dl_tlsdesc_resolve_rela): Likewise.
9406 (_dl_tlsdesc_resolve_hold): Likewise.
9408 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9410 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9412 * sysdeps/x86_64/crti.S (_init): Likewise.
9415 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9418 * localedata/locales/os_RU (mon): Rename to...
9420 (mon): Import from CLDR (genitive case).
9422 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9424 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9425 cet-tunables.h> when CET is enabled.
9427 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9430 * configure.ac: Add --enable-cet.
9431 * configure: Regenerated.
9432 * elf/Makefille (all-built-dso): Add a comment.
9433 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9434 Include <dl-prop.h>.
9435 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9437 * elf/dl-open.c: Include <dl-prop.h>.
9438 (dl_open_worker): Call _dl_open_check.
9439 * elf/rtld.c: Include <dl-prop.h>.
9440 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9442 * sysdeps/generic/dl-prop.h: New file.
9443 * sysdeps/i386/dl-cet.c: Likewise.
9444 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9445 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9446 * sysdeps/x86/cet-tunables.h: Likewise.
9447 * sysdeps/x86/check-cet.awk: Likewise.
9448 * sysdeps/x86/configure: Likewise.
9449 * sysdeps/x86/configure.ac: Likewise.
9450 * sysdeps/x86/dl-cet.c: Likewise.
9451 * sysdeps/x86/dl-procruntime.c: Likewise.
9452 * sysdeps/x86/dl-prop.h: Likewise.
9453 * sysdeps/x86/libc-start.h: Likewise.
9454 * sysdeps/x86/link_map.h: Likewise.
9455 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9457 (_dl_runtime_profile): Likewise.
9458 (_dl_runtime_resolve_shstk): New.
9459 (_dl_runtime_profile_shstk): Likewise.
9460 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9462 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9463 (CFLAGS-.os): Likewise.
9464 (CFLAGS-.op): Likewise.
9465 (CFLAGS-.oS): Likewise.
9466 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9468 (tests-special): Add $(objpfx)check-cet.out.
9469 (cet-built-dso): New.
9470 (+$(cet-built-dso:=.note)): Likewise.
9471 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9472 ($(objpfx)check-cet.out): New.
9473 (generated): Add check-cet.out.
9474 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9476 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9477 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9478 (init_cpu_features): Call get_cet_status to check CET status
9479 and update dl_x86_feature_1 with CET status. Call
9480 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9481 (set_x86_shstk). Disable and lock CET in libc.a.
9482 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9483 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9484 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9485 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9486 (_CET_ENDBR): Define if not defined.
9487 (ENTRY): Add _CET_ENDBR.
9488 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9490 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9492 (_dl_runtime_profile): Likewise.
9494 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9497 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9498 restore r2 on longjmp.
9499 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9501 Added rules to build test tst-setjmp-bug21895-static.
9502 Added module setjmp-bug21895 and rules to build a shared object from it.
9503 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9504 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9506 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9508 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9509 * benchtests/bench-strstr.c: Likewise.
9510 * string/memmem.c (FASTSEARCH): Define.
9511 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9512 Add support for FASTSEARCH.
9513 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9514 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9515 (FASTSEARCH): Define.
9516 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9517 * string/test-strstr.c: Likewise.
9519 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9521 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9522 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9524 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9525 H.J. Lu <hongjiu.lu@intel.com>
9527 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9528 (__longjmp): Restore shadow stack pointer if shadow stack is
9529 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9530 isn't defined for __longjmp_cancel.
9531 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9532 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9533 and SHADOW_STACK_POINTER_OFFSET is defined.
9534 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9535 (setjmp): Save shadow stack pointer if shadow stack is enabled
9536 and SHADOW_STACK_POINTER_OFFSET is defined.
9537 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9538 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9539 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9540 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9542 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9543 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9544 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9545 Remove jmp_buf-ssp.sym.
9546 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9548 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9549 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9550 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9552 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9553 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9554 (__longjmp): Restore shadow stack pointer if shadow stack is
9555 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9556 isn't defined for __longjmp_cancel.
9557 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9558 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9559 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9561 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9564 * nptl/pthread_create.c: Include <tls-setup.h>.
9565 (__pthread_create_2_1): Call tls_setup_tcbhead.
9566 * sysdeps/generic/tls-setup.h: New file.
9567 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9568 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9569 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9571 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9573 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9574 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9575 (X86_FEATURE_1_SHSTK): Likewise.
9576 (CET_ENABLED): Likewise.
9577 (IBT_ENABLED): Likewise.
9578 (SHSTK_ENABLED): Likewise.
9580 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9583 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9584 (LOCALES): Likewise.
9585 * localedata/dsb_DE.UTF-8.in: New file.
9586 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9588 2018-07-12 Florian Weimer <fweimer@redhat.com>
9590 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9591 __mprotect, not mprotect.
9593 2018-07-11 Florian Weimer <fweimer@redhat.com>
9595 * io/Makefile (headers): Add bits/statx.h.
9597 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9599 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9600 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9602 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9603 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9606 2018-07-10 Florian Weimer <fweimer@redhat.com>
9608 * io/Makefile (routines): Add statx.
9609 (tests-internal): Add tst-statx.
9610 * io/Versions (GLIBC_2.28): Export statx.
9611 * io/bits/statx.h: New file.
9612 * io/sys/stat.h [__USE_GNU]: Include it.
9613 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9614 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9616 * io/statx.c: New file.
9617 * io/statx_generic.: Likewise.
9618 * io/tst-statx.: Likewise.
9619 * include/bits/statx.h: Likewise.
9620 * sysdeps/unix/sysv/linux/kernel-features.h
9621 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9622 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9623 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9624 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9626 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9627 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9628 * sysdeps/unix/sysv/linux/statx.c: New file.
9629 * manual/filesys.texi: Note that statx is undocumented.
9630 * sysdeps/**/libc*.abilist: Update.
9632 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9634 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9635 a kernel issue which lead to test failure in some cases.
9637 2018-07-10 Florian Weimer <fweimer@redhat.com>
9640 * posix/regexec.c (check_node_accept_bytes): When comparing
9641 weights, do not compare an extra byte after the end of the
9644 2018-07-10 Florian Weimer <fweimer@redhat.com>
9646 * libio/readline.c: Fix copyright year.
9647 * libio/tst-readline.c Likewise.
9648 * nss/tst-nss-files-hosts-getent.c: Likewise.
9650 2018-07-06 Florian Weimer <fweimer@redhat.com>
9653 * nss/nss_files/files-XXX.c (internal_getent): Use
9654 __libc_readline_unlocked. Seek back to the start of the line if
9655 parsing failes with ERANGE.
9656 (get_contents_ret, get_contents): Remove.
9657 * nss/tst-nss-files-hosts-getent.c: New file.
9658 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9659 (tst-nss-files-hosts-getent): Link with -ldl.
9661 2018-07-06 Florian Weimer <fweimer@redhat.com>
9663 * include/stdio.h (__libc_readline_unlocked): Declare.
9664 (__ftello64, __fseeko64): Declare aliases.
9665 * libio/readline.c: New file.
9666 * libio/tst-readline.c: Likewise.
9667 (routines): Add readline.
9668 (tests-internal): Add tst-readlime.
9669 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9670 __libc_readline_unlocked.
9671 * libio/fseeko.c (__fseeko): Rename from fseeko.
9672 (fseeko): Add alias.
9673 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9674 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9675 (fseeko64): Add alias.
9676 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9677 * libio/ftello64.c (__ftello64): Rename from ftello64.
9678 (ftello64): Add alias.
9680 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9682 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9685 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9687 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9688 Use dl_hwcap without masking.
9689 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9692 2018-07-06 Florian Weimer <fweimer@redhat.com>
9694 * conform/conformtest.pl (checknamespace): Escape literal braces
9695 in regular expressions.
9697 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9699 * sysdeps/x86/cpu-features.c (get_common_indeces):
9700 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9701 * sysdeps/x86/cpu-features.c (init_cpu_features):
9702 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9704 2018-07-05 Florian Weimer <fweimer@redhat.com>
9706 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9708 (CFLAGS-elf-init.oS): Likewise.
9710 2018-07-05 Florian Weimer <fweimer@redhat.com>
9711 Carlos O'Donell <carlos@redhat.com>
9713 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9714 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9715 with stack protector enabled because there is no risk of infinite
9718 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9722 * libc-abis (ABSOLUTE): New ABI.
9723 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9724 * NEWS: Mention the new ABI.
9726 2018-07-05 Florian Weimer <fweimer@redhat.com>
9729 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9730 (RENAME_WHITEOUT): Define.
9731 [__USE_GNU] (renameat2): Declare.
9732 * stdio-common/Makefile (routines): Add renameat2.
9733 (tests): Add tst-renameat2.
9734 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9735 * stdio-common/renameat2.c: New file.
9736 * stdio-common/tst-renameat2.c: Likewise.
9737 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9738 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9740 * sysdeps/unix/sysv/linux/kernel-features.h
9741 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9742 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9743 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9744 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9745 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9746 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9747 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9748 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9749 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9750 * include/stdio.h (__renameat): Add alias for renameat.
9751 * stdio-common/renameat.c (__renameat): Rename from renameat.
9752 Add hidden definition and alias.
9753 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9754 * sysdeps/mach/hurd/renameat.c: Likewise.
9755 * sysdeps/**/libc*.abilist: Add renameat2.
9757 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9759 * posix/bug-regex33.c: Fix build after regex sync.
9761 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9764 * localedata/tst-langinfo-setlocale.c: New file.
9765 * localedata/tst-langinfo-setlocale-static.c: New file.
9766 * localedata/tst-langinfo-newlocale.c: New file.
9767 * localedata/tst-langinfo-newlocale-static.c: New file.
9768 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9769 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9770 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9771 (tests-static): Remove tst-langinfo-static. Add
9772 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9773 (tests-special): Remove $(objpfx)tst-langinfo.out,
9774 $(objpfx)tst-langinfo-static.out. Add
9775 $(objpfx)tst-langinfo-setlocale.out,
9776 $(objpfx)tst-langinfo-newlocale.out,
9777 $(objpfx)tst-langinfo-setlocale-static.out,
9778 $(objpfx)tst-langinfo-newlocale-static.out.
9779 ($(objpfx)tst-langinfo.out): Remove.
9780 ($(objpfx)tst-langinfo-static.out): Remove.
9781 ($(objpfx)tst-langinfo-newlocale.out): New target.
9782 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9783 (test-xfail-tst-langinfo-newlocale-static): Add.
9784 ($(objpfx)tst-langinfo-setlocale.out): New target.
9785 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9786 * localedata/tst-langinfo.c: Call test_locale.
9787 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9790 2018-07-04 Florian Weimer <fweimer@redhat.com>
9792 testrun.sh: Implement --tool=strace, --tool=valgrind
9793 * Makefile (testrun-script): Define variable.
9794 (testrun.sh): Use variable.
9795 * manual/install.texi (Tools for Compilation): make 4.0 or later
9797 * configure.ac: Check for make 4.0 or later.
9798 * INSTALL: Regenerate.
9799 * configure: Likewise.
9801 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9807 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9808 * posix/PCRE.tests: Remove invalid test.
9809 * posix/bug-regex28.c: Fix expected values for used syntax.
9810 * posix/bug-regex37.c: New file.
9811 * posix/bug-regex38.c: Likewise.
9812 * posix/regcomp.c: Sync with gnulib.
9813 * posix/regex.c: Likewise.
9814 * posix/regex.h: Likewise.
9815 * posix/regex_internal.c: Likewise.
9816 * posix/regex_internal.h: Likewise.
9817 * posix/regexec.c: Likewise.
9819 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9822 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9823 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9824 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9825 * localedata/unicode-gen/PropList.txt: likewise.
9826 * localedata/unicode-gen/UnicodeData.txt: likewise.
9827 * localedata/charmaps/UTF-8: Regenerate.
9828 * localedata/locales/i18n_ctype: likewise.
9829 * localedata/locales/tr_TR: likewise.
9830 * localedata/locales/translit_circle: likewise.
9831 * localedata/locales/translit_cjk_compat: likewise.
9832 * localedata/locales/translit_combining: likewise.
9833 * localedata/locales/translit_compat: likewise.
9834 * localedata/locales/translit_font: likewise.
9835 * localedata/locales/translit_fraction: likewise.
9837 2018-07-03 Florian Weimer <fweimer@redhat.com>
9840 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9841 * stdio-common/tst-printf.sh: Adjust expected output.
9844 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9846 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9849 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9851 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9852 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9853 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9854 * stdio-common/tst-printfsz-islongdouble.c: New file.
9855 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9857 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9858 [subdir == stdio-common] (tests-internal): Add
9859 test-printf-size-ieee128, and test-printf-size-ibm128.
9860 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9861 (CFLAGS-test-printf-size-ibm128.c): New variables.
9862 [subdir == stdio-common] (tests-special): Add
9863 $(objpfx)test-printf-size-ieee128.out and
9864 $(objpfx)test-printf-size-ibm128.out.
9865 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9866 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9867 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9868 __printf_sizeieee128.
9869 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9871 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9873 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9876 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9878 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9879 (exp2f_inline): Likewise.
9880 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9881 (__math_uflowf): Likewise.
9882 (__math_may_uflowf): Likewise.
9883 (__math_divzerof): Likewise.
9884 (__math_invalidf): Likewise.
9885 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9886 (__math_oflowf): Likewise.
9887 (__math_uflowf): Likewise.
9888 (__math_may_uflowf): Likewise.
9889 (__math_divzerof): Likewise.
9890 (__math_invalidf): Likewise.
9892 2018-06-29 DJ Delorie <dj@redhat.com>
9893 Carlos O'Donell <carlos@redhat.com>
9896 * include/libc-symbols.h: Comment the freeres framework.
9897 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9898 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9899 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9900 * dlfcn/dlerror.c: Include libc-symbols.h
9901 (__dlerror_main_freeres): New function.
9902 * dlfcn/dlfreeres.c: New file.
9903 * dlfcn/sdlfreeres.c: New file.
9904 * include/dlfcn.h: Declare __dlerror_main_freeres.
9905 * malloc/set-freeres.c: Declare __libdl_freeres, and
9906 __libpthread_freeres.
9907 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9908 the releavant libraries are loaded.
9909 * malloc/thread-freeres.c: Add comments.
9910 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9911 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9912 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9913 (__free_stacks): Rename to...
9914 (free_stacks): ...this. Mark static.
9915 (queue_stack): Call free_stacks.
9916 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9917 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9918 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9919 ptr_freeres element from struct.
9920 (pthread_functions): Remove .ptr_freeres from struct initializer.
9921 [SHARED] (nptl_freeres): Remove.
9922 * nptl/nptlfreeres.c: New file.
9924 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9925 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9927 (__free_stacks): Rename to...
9928 (__nptl_stacks_freeres): ...this.
9929 (__shm_directory_freeres): Declare.
9930 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9931 (__nptl_unwind_freeres): ...this.
9932 * resolv/res-close.c: Add comment.
9933 * resolv/resolv_conf.c: Include libc-symbols.h.
9934 * string/strerror_l.c: Include libc-symbols.h.
9935 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9936 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9937 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9938 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9940 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9942 * stdlib/tst-strfmon_l.c: Add tests for long double.
9944 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9947 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9948 * localedata/locales/dsb_DE: New file.
9950 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9953 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9955 (alt_mon): New entry, import from CLDR (nominative case).
9957 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9960 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9962 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9964 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9965 Use vector registers.
9967 * sysdeps/aarch64/multiarch/memmove_falkor.S
9968 (__memcpy_falkor): Use vector registers.
9970 2018-06-29 Martin Sebor <msebor@redhat.com>
9972 * manual/stdio.texi (Customizing Printf): Mention interaction
9975 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9978 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9979 `st_value' is 0 if `st_shndx' is SHN_ABS.
9980 * elf/tst-absolute-zero.c: New file.
9981 * elf/tst-absolute-zero-lib.c: New file.
9982 * elf/tst-absolute-zero-lib.lds: New file.
9983 * elf/Makefile (tests): Add `tst-absolute-zero'.
9984 (modules-names): Add `tst-absolute-zero-lib'.
9985 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9986 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9987 ($(objpfx)tst-absolute-zero: New dependency.
9989 2018-06-29 Zack Weinberg <zackw@panix.com>
9991 * configure.ac: New command-line option --disable-crypt.
9992 Force --disable-nss-crypt when --disable-crypt is given, with a
9993 warning if it was explicitly enabled.
9994 * configure: Regenerate.
9995 * config.make.in: New boolean substitution variable $(build-crypt).
9996 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9997 when $(build-crypt).
9998 * manual/install.texi: Document --disable-crypt.
9999 * INSTALL: Regenerate.
10001 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10002 which is never set.
10003 * conform/Makefile: Only include libcrypt.a in
10004 linknamespace-libs-xsi and linknamespace-libs-XPG4
10005 when $(build-crypt).
10006 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10007 USE_CRYPT to 1 when $(build-crypt).
10008 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10009 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10010 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10012 2018-06-29 Zack Weinberg <zackw@panix.com>
10014 * crypt/crypt.h, posix/unistd.h: Update comments and
10015 prototypes for crypt and crypt_r.
10017 * manual/crypt.texi (Cryptographic Functions): New initial
10019 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10020 (Unpredictable Bytes): Improve initial exposition. Clarify error
10021 behavior of getentropy and getrandom.
10022 * manual/examples/genpass.c: Generate a salt using getentropy
10023 instead of the current time. Use hash $5$ (SHA-2-256).
10024 * manual/examples/testpass.c: Demonstrate validation against
10025 hashes generated with three different one-way functions.
10027 * manual/intro.texi: crypt.texi does not need an overview
10030 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10031 * manual/terminal.texi: Consistently refer to "passphrases"
10032 * instead of "passwords", and to the "user database" instead
10033 * of the "password database".
10034 * manual/users.texi: Similarly. Add notes about how actual
10035 passphrase hashes are now stored in the shadow database.
10036 Remove 20-year-old junk todo note.
10038 2018-06-29 Zack Weinberg <zackw@panix.com>
10040 * manual/crypt.texi: Use a normal top-level @node declaration.
10041 Move most of the introductory text to the 'crypt' section.
10042 Move the example programs below the @deftypefun for 'crypt_r'.
10043 Move the 'getpass' section...
10044 * manual/terminal.texi: ...here.
10046 2018-06-29 Zack Weinberg <zackw@panix.com>
10047 Florian Weimer <fweimer@redhat.com>
10049 * posix/unistd.h: Do not declare encrypt.
10050 (_XOPEN_CRYPT): Remove macro definition.
10051 (crypt): Declare only for _USE_MISC.
10052 * stdlib/stdlib.h: Do not declare setkey.
10053 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10054 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10056 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10057 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10058 into compat symbols. Don't define initial_perm if it's not
10060 * crypt/cert.c: Link explicitly with the expected versions for
10061 setkey and encrypt. If they are not available at all, mark
10062 the test as unsupported.
10064 * sunrpc/des_crypt.c: Unconditionally block linkage with
10065 cbc_crypt and ecb_crypt for new binaries.
10066 * sunrpc/des_soft.c: Unconditionally block linkage with
10067 des_setparity for new binaries.
10069 * manual/crypt.texi: Remove the entire "DES Encryption"
10070 section. Also remove the paragraph talking about FIPS 140-2
10071 from the introduction.
10072 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10073 of libgcrypt for "real" encryption, not DES.
10074 * manual/conf.texi (Constants for Sysconf): Mention that
10075 _XOPEN_CRYPT is no longer impelemented.
10077 * conform/data/unistd.h-data: Remove crypt function declaration.
10079 2018-06-29 Florian Weimer <fweimer@redhat.com>
10082 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10083 (disallow_malloc_check): Remove variable.
10084 (__malloc_check_init): Adjust.
10085 (malloc_set_state): Update comment.
10086 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10089 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10092 * localedata/locales/ast_ES (mon): Rename to...
10094 (mon): Import from CLDR (genitive case).
10096 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10097 Jakub Sitnicki <jkbs@redhat.com>
10100 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10101 on NLM_F_DUMP_INTR.
10103 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10105 * manual/llio.texi: Remove spurious space.
10107 2018-06-28 Florian Weimer <fweimer@redhat.com>
10110 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10113 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10115 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10116 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10117 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10118 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10119 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10120 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10121 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10123 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10126 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10127 Copy and null-terminate entries that are not terminated, in
10128 addition to empty ones.
10130 2018-06-27 Florian Weimer <fweimer@redhat.com>
10133 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10134 (extend_alloca_account): Remove.
10135 * manual/stdio.texi (Variable Arguments Output): Update comment.
10137 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10139 * nptl/sockperf.c: Remove file.
10141 2018-06-27 Florian Weimer <fweimer@redhat.com>
10144 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10145 scratch_buffer instead of extend_alloca.
10147 2018-06-27 Florian Weimer <fweimer@redhat.com>
10150 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10151 scratch_buffer instead of extend_alloca. Update comments.
10153 2018-06-27 Florian Weimer <fweimer@redhat.com>
10156 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10157 instead of extend_alloca.
10159 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10162 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10163 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10165 * scripts/test-installation.pl: Put temporary files in build
10166 directory, not /tmp.
10167 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10168 (CFLAGS-bug4.c): Likewise.
10169 (CFLAGS-bug5.c): Likewise.
10170 (CFLAGS-test-fseek.c): Likewise.
10171 (CFLAGS-test-popen.c): Likewise.
10172 (CFLAGS-test_rdwr.c): Likewise.
10173 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10175 * stdio-common/bug4.c (main): Likewise.
10176 * stdio-common/bug5.c (main): Likewise.
10177 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10178 * stdio-common/test-popen.c (do_test): Likewise.
10179 * stdio-common/test_rdwr.c (main): Likewise.
10181 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10183 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10184 (sem_open): Set sem.newsem.pad to zero for valgrind.
10186 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10189 * NEWS: Mention fcntl64 addition.
10190 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10191 * login/utmp_file.c: Likewise.
10192 * sysdeps/posix/fdopendir.c: Likewise.
10193 * sysdeps/posix/opendir.c: Likewise.
10194 * sysdeps/unix/pt-fcntl.c: Likewise.
10195 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10196 __fcntl64_nocancel_adjusted): New prototype.
10197 (__fcntl_nocancel_adjusted): Remove prototype.
10198 * io/Makefile (routines): Add fcntl64.
10199 (CFLAGS-fcntl64.c): New rule.
10200 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10201 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10202 * io/fcntl.h (fcntl64): Add prototype and redirect if
10203 __USE_FILE_OFFSET64 is defined.
10204 * io/fcntl64.c: New file.
10205 * manual/llio.text: Add a note for which commands fcntl acts a
10206 cancellation point.
10207 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10208 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10209 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10211 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10212 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10214 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10215 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10216 to __fcntl64_nocancel.
10217 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10218 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10219 to __fcntl64_nocancel.
10220 * sysdeps/generic/not-cancel.h: Likewise.
10221 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10222 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10223 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10224 (fcntl64): New symbol.
10225 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10226 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10227 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10230 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10231 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10232 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10233 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10234 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10235 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10236 fcntl64): Likewise.
10237 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10238 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10239 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10240 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10241 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10242 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10243 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10244 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10245 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10250 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10251 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10252 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10254 2018-06-26 Florian Weimer <fweimer@redhat.com>
10256 Run thread shutdown functions in an explicit order.
10257 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10259 (__libc_thread_freeres): Call thread shutdown functions
10261 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10262 * include/string.h (__strerror_thread_freeres): Declare.
10263 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10264 arena_thread_freeres. No longer static. Remove thread shutdown
10266 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10268 * resolv/res-close.c (__res_thread_freeres): Renamed from
10269 res_thread_freeres. No longer static. Remove thread shutdown
10271 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10272 * resolv/resolv_conf.c (freeres): Remove incorrect section
10273 attribute and use libc_freeres_fn.
10274 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10275 strerror_thread_freeres. No longer static. Remove thread
10276 shutdown hook registration.
10277 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10278 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10279 shutdown hook registration.
10280 * Makerules (shlib.lds): Do not provide section boundary symbols
10281 for __libc_thread_subfreeres.
10282 * manual/memory.texi (Basic Allocation): Update comment.
10284 2018-06-26 Florian Weimer <fweimer@redhat.com>
10286 Remove always-defined _RPC_THREAD_SAFE_ macro.
10287 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10288 Do not define _RPC_THREAD_SAFE_.
10289 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10291 * sunrpc/clnt_perr.c: Likewise.
10292 * sunrpc/clnt_raw.c: Likewise.
10293 * sunrpc/clnt_simp.c: Likewise.
10294 * sunrpc/key_call.c: Likewise.
10295 * sunrpc/rpc_common.c: Likewise.
10296 * sunrpc/rpc_main.c: Likewise.
10297 * sunrpc/rpc_thread.c: Likewise.
10298 * sunrpc/svc.c: Likewise.
10299 * sunrpc/svc_raw.c: Likewise.
10300 * sunrpc/svc_simple.c: Likewise.
10301 * sumrpc/svcauth_des.c: Likewise.
10303 2018-06-26 Florian Weimer <fweimer@redhat.com>
10305 * libio/Makefile (tests-internal): Add tst-vtables,
10306 tst-vtables-interposed.
10307 * libio/tst-vtables.c: New file.
10308 * libio/tst-vtables-common.c: Likewise.
10309 * libio/tst-vtables-interposed.c: Likewise.
10311 2018-06-26 Florian Weimer <fweimer@redhat.com>
10313 * support/support_test_main.c (support_test_main): Only call
10314 setvbuf if not disables.
10315 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10316 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10318 2018-06-26 Florian Weimer <fweimer@redhat.com>
10321 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10323 2018-06-25 Florian Weimer <fweimer@redhat.com>
10326 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10327 Use struct scratch_buffer instead of extend_alloca.
10329 2018-06-25 Florian Weimer <fweimer@redhat.com>
10332 * nss/getent.c (initgroups_keys): Use dynarray instead of
10335 2018-06-25 Florian Weimer <fweimer@redhat.com>
10338 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10339 Use struct scratch_buffer instead of extend_alloca.
10341 2018-06-25 Florian Weimer <fweimer@redhat.com>
10344 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10345 back to malloc directly, without stack allocations.
10347 2018-06-25 Florian Weimer <fweimer@redhat.com>
10350 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10353 2018-06-25 Florian Weimer <fweimer@redhat.com>
10356 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10358 * nscd/hstcache.c (addhstbyX): Likewise.
10359 * nscd/pwdcache.c (addpwbyX): Likewise.
10360 * nscd/servicescache.c (addservbyX): Likewise.
10362 2018-06-25 Florian Weimer <fweimer@redhat.com>
10365 * nscd/connections.c (read_cmdline): New function.
10366 (restart): Use it. Update comment.
10368 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10371 * localedata/locales/csb_PL (mon): Rename to...
10373 (abmon): Rename to...
10374 (ab_alt_mon): This.
10375 (mon): Add with proper genitive forms, copy from Wikipedia.
10378 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10381 * localedata/locales/csb_PL (mon): Fix typos:
10382 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10383 (yesstr): Add, value is "jo".
10384 (nostr): Add, value is "nié".
10386 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10388 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10389 all log1p and significand functions on m680x0.
10390 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10391 of s_significand.c..
10392 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10393 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10394 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10395 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10396 s_log1p.c and include it..
10398 2018-06-21 Vincent Chen <vincentc@andestech.com>
10400 * elf/elf.h (R_NDS32_NONE): New define.
10401 (R_NDS32_32_RELA): Likewise.
10402 (R_NDS32_COPY): Likewise.
10403 (R_NDS32_GLOB_DAT): Likewise.
10404 (R_NDS32_JUMP_SLOT): Likewise.
10405 (R_NDS32_RELATIVE): Likewise.
10406 (R_NDS32_TLS_TPOFF): Likewise.
10407 (R_NDS32_TLS_DESC): Likewise.
10409 2018-06-21 Mark Wielaard <mark@klomp.org>
10411 * elf/elf.h (R_BPF_MAP_FD): Removed.
10412 (R_BPF_64_64, R_BPF_64_32): New.
10414 2018-06-21 Florian Weimer <fweimer@redhat.com>
10417 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10418 Renamed from libc_feholdsetround_ctx.
10419 (default_libc_feresetround_ctx): Renamed from
10420 libc_feresetround_ctx.
10421 (default_libc_feholdsetround_noex_ctx): Renamed from
10422 libc_feholdsetround_noex_ctx.
10423 (default_libc_feresetround_noex_ctx): Renamed from
10424 libc_feresetround_noex_ctx.
10425 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10426 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10427 forwardning to the old implementations under the new names.
10428 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10429 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10430 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10431 (libc_feresetround_ctx): Forward to default implements for i386
10432 and MATH_SET_BOTH_ROUNDING_MODES.
10433 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10434 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10436 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10438 * string/tst-cmp.c: Include <libc-diag.h>.
10439 (strncmp_max): Disable -Wstringop-overflow= around call to
10441 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10444 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10445 (main): Disable -Wunused-value around call to strpbrk.
10446 * string/bug-strspn1.c: Include <libc-diag.h>.
10447 (main): Disable -Wunused-value around call to strspn.
10449 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10450 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10452 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10453 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10455 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10457 * math/Makefile (libm-calls): Move s_significandF to...
10458 (gen-libm-calls): ... here.
10459 * math/s_significand_template.c: New file.
10460 * math/s_significand.c: Removed.
10461 * math/s_significandf.c: Removed.
10462 * math/s_significandl.c: Removed.
10463 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10464 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10466 * math/e_exp2_template.c (declare_mgen_finite_alias,
10467 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10468 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10469 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10471 2018-06-20 Florian Weimer <fweimer@redhat.com>
10473 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10475 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10478 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10479 floating-point number to strtod functions rather than possibly
10480 negating result of those functions.
10481 * stdio-common/tst-scanf-round.c: New file.
10482 * stdio-common/Makefile (tests): Add tst-scanf-round.
10483 ($(objpfx)tst-scanf-round): Depend on $(libm).
10485 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10487 * sysdeps/mach/hurd/localplt.data: Move to...
10488 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10489 R_386_GLOB_DAT like on Linux i386.
10491 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10493 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10494 (SHM_STAT_ANY): New macro.
10495 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10496 (SHM_STAT_ANY): Likewise.
10497 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10498 (SHM_STAT_ANY): Likewise.
10499 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10500 (SHM_STAT_ANY): Likewise.
10501 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10502 (SHM_STAT_ANY): Likewise.
10503 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10504 (SHM_STAT_ANY): Likewise.
10505 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10506 (SHM_STAT_ANY): Likewise.
10507 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10508 (SHM_STAT_ANY): Likewise.
10509 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10510 (SHM_STAT_ANY): Likewise.
10511 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10512 (SHM_STAT_ANY): Likewise.
10513 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10514 (SHM_STAT_ANY): Likewise.
10515 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10516 (SHM_STAT_ANY): Likewise.
10518 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10519 (SEM_STAT_ANY): New macro.
10520 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10521 (SEM_STAT_ANY): Likewise.
10522 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10523 (SEM_STAT_ANY): Likewise.
10524 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10525 (SEM_STAT_ANY): Likewise.
10526 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10527 (SEM_STAT_ANY): Likewise.
10528 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10529 (SEM_STAT_ANY): Likewise.
10530 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10531 (SEM_STAT_ANY): Likewise.
10532 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10533 (SEM_STAT_ANY): Likewise.
10534 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10535 (SEM_STAT_ANY): Likewise.
10536 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10537 (SEM_STAT_ANY): Likewise.
10539 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10540 (MSG_STAT_ANY): New macro.
10541 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10542 (MSG_STAT_ANY): Likewise.
10543 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10544 (MSG_STAT_ANY): Likewise.
10545 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10546 (MSG_STAT_ANY): Likewise.
10547 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10548 (MSG_STAT_ANY): Likewise.
10549 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10550 (MSG_STAT_ANY): Likewise.
10551 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10552 (MSG_STAT_ANY): Likewise.
10553 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10554 (MSG_STAT_ANY): Likewise.
10555 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10556 (MSG_STAT_ANY): Likewise.
10557 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10558 (MSG_STAT_ANY): Likewise.
10560 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10561 (MAP_TYPE): Change value to 0x2b.
10563 2018-06-18 Florian Weimer <fweimer@redhat.com>
10566 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10567 socket with SOCK_CLOEXEC.
10569 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10572 * sysdeps/powerpc/powerpc64/le/Makefile
10573 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10574 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10575 (gnulib-tests): Also add $(f128-loader-link) for
10576 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10578 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10580 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10581 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10583 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10584 (sendfile64): New strong alias.
10585 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10586 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10587 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10588 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10590 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10591 ___pthread_get_cleanup_stack.
10592 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10593 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10594 * mach/shortcut.awk: Make syscall stubs include
10595 <mach-shortcuts-hidden.h> and add hidden definition.
10596 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10597 (__mach_msg): Add hidden prototype.
10598 * mach/msg.c: Include <mach.h>.
10599 (__mach_msg): Add hidden definition.
10600 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10601 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10602 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10603 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10604 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10605 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10606 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10607 prototype and definition.
10608 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10609 hidden target for _hurd_self_sigstate.
10611 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10614 * stdlib/tst-strtod-nan-sign-main.c: New file.
10615 * stdlib/tst-strtod-nan-sign.c: Likewise.
10616 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10617 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10618 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10619 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10620 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10622 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10625 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10628 2018-06-14 Florian Weimer <fweimer@redhat.com>
10631 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10632 that the result stays within the ISO-8859-1 range.
10633 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10634 characters are defined in IBM273.
10636 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10638 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10639 __mach_task_self): Remove attribute_hidden.
10641 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10643 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10644 ignore -Wrestrict for one test.
10646 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10647 Szabolcs Nagy <szabolcs.nagy@arm.com>
10649 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10651 2018-06-14 Florian Weimer <fweimer@redhat.com>
10653 * scripts/update-abilist.sh: Accept empty list of files to patch.
10655 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10657 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10658 test-xfail-check-abi-libmachuser): Add.
10659 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10660 __libc_read and __libc_write to __read and __write.
10661 * sysdeps/hurd/include/hurd/port.h: New file.
10662 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10663 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10664 __thread_switch, __evc_wait): Move declarations to...
10665 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10667 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10668 use PLT to call _hurd_self_sigstate.
10670 2018-06-13 Joseph Myers <joseph@codesourcery.com>
10673 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10674 MAX_EXP as overflowing.
10675 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10677 (round_str): Output also whether result overflows in each rounding
10679 * stdlib/tst-strtod-round-data: Add more tests.
10680 * stdlib/tst-strtod-round-data.h: Regenerated.
10681 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10682 (TEST): Handle extra arguments for overflow flags.
10683 (struct test_overflow): New type.
10684 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10685 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10686 (test_in_one_mode): Take argument with overflow information.
10687 (do_test): Update calls to test_in_one_mode.
10689 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10691 * elf/dl-load (_dl_dst_substitute): Correct comment.
10692 (_dl_dst_count): Likewise.
10694 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10695 lll_futex_timed_wait.
10697 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10700 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10702 * math/test-nan-const.c: New file.
10703 * math/Makefile (tests): Add test-nan-const.
10704 (CFLAGS-test-nan-const.c): New variable.
10706 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10708 * benchtests/scripts/compare_strings.py (process_results): Add
10709 funcs argument. Compare only functions which are selected.
10710 (main): Check if base function is among selected functions.
10711 Pass selected functions to process_results.
10712 (__main__): Add -f/--functions argument.
10714 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10715 Hongbo Zhang <hongbo.zhang@linaro.org>
10717 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10718 __memcpy_falkor for phecda core.
10719 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10720 __memmove_falkor for phecda core.
10721 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10722 __memset_falkor for phecda core.
10723 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10725 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10726 macro to identify phecda core.
10728 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10729 Andreas Schwab <schwab@suse.de>
10730 Dmitry V. Levin <ldv@altlinux.org>
10731 Florian Weimer <fweimer@redhat.com>
10738 * elf/dl-dst.h: Remove DL_DST_COUNT.
10739 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10740 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10741 (is_dst): Comment. Support ELF gABI.
10742 (_dl_dst_count): Comment. Simplify and count DSTs.
10743 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10744 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10747 2018-06-12 Zack Weinberg <zackw@panix.com>
10749 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10750 * sysdeps/unix/sysv/linux/dl-sysdep.c
10751 Include not-cancel.h. Use __close_nocancel instead of __close,
10752 __open64_nocancel instead of __open, __read_nocancel instead of
10753 __libc_read, and __write_nocancel instead of __libc_write.
10755 * csu/check_fds.c (check_one_fd)
10756 * sysdeps/posix/fdopendir.c (__fdopendir)
10757 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10758 instead of __fcntl and/or __libc_fcntl.
10760 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10761 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10762 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10763 Use __open64_nocancel instead of __open_nocancel.
10765 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10766 hidden_proto declarations to the end and issue them if either
10767 IS_IN(libc) or IS_IN(rtld).
10768 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10769 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10770 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10771 read_nocancel, waitpid_nocancel, write_nocancel.
10773 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10774 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10775 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10777 * nptl/pt-fcntl.c: New file.
10778 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10779 (libpthread-routines): Add pt-fcntl.
10780 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10781 (__libc_fcntl): Remove attribute_hidden.
10782 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10783 __fcntl_nocancel_adjusted, not fcntl_common.
10784 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10785 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10786 to fcntl_nocancel.c.
10787 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10790 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10792 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10793 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10794 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10795 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10796 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10797 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10798 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10799 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10800 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10801 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10802 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10803 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10804 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10805 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10806 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10807 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10808 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10809 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10810 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10811 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10813 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10814 libpthread-routines.
10815 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10818 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10819 __libc_read, and __write instead of __libc_write. Define
10820 __open64 in addition to __open.
10822 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10826 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10827 to _private_tm[3] and add __glibc_reserved2.
10828 Add _Static_assert of offset of __private_ss == 0x30.
10829 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10830 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10832 2018-06-12 Florian Weimer <fweimer@redhat.com>
10834 x86: Make strncmp usable from rtld.
10835 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10836 __strncmp_ia32 if in libc (and not in rtld).
10837 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10838 strncmp if not in libc (and not to __strncmp_sse2).
10840 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10843 * localedata/locales/gd_GB (mon): Rename to...
10845 (mon): Import from CLDR (genitive case).
10846 * localedata/locales/hsb_DE (mon): Rename to...
10848 (mon): Import from CLDR (genitive case).
10849 * localedata/locales/wa_BE (mon): Rename to...
10851 (mon): Add, fill with the proper genitive forms, but CLDR data
10852 is incomplete; completed according to the comments in this file.
10853 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10855 * localedata/locales/wa_BE (country_name): Reword
10856 "Beljike" -> "Beldjike".
10858 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10861 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10862 cases of non-finite arguments.
10863 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10865 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10868 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10870 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10873 * include/unistd.h (__execvpex): New prototype.
10874 * posix/Makefile (tests): Add tst-spawn4.
10875 (tests-internal): Add tst-spawn4-compat.
10876 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10877 * posix/tst-spawn4-compat.c: New file.
10878 * posix/tst-spawn4.c: Likewise.
10879 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10880 binaries as shell scripts.
10881 * sysdeps/posix/spawni.c (__spawni): Likewise.
10883 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10886 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10887 ($(all-built-dso:=.dynsym): New target.
10888 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10889 ($(objpfx)check-initfini.out): New target.
10890 (generated): Add check-initfini.out.
10891 * scripts/check-initfini.awk: New file.
10892 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10894 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10896 * sysdeps/arm/crti.S (_init): Mark as hidden.
10898 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10900 * sysdeps/i386/crti.S (_init): Mark as hidden.
10902 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10904 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10906 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10908 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10910 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10912 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10914 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10916 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10918 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10920 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10922 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10924 * sysdeps/sh/crti.S (_init): Mark as hidden.
10926 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10928 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10931 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10933 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10934 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10935 and TF redirection to KFtype and KF only when the default
10936 long double type is not the IEEE 128-bit floating point type.
10938 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10940 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10942 (HWCAP_USCAT): Likewise.
10943 (HWCAP_ILRCPC): Likewise.
10944 (HWCAP_FLAGM): Likewise.
10945 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10947 (_dl_aarch64_cap_flags): Add new flag names.
10949 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10950 (MAP_FIXED_NOREPLACE): New macro.
10951 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10952 (MAP_FIXED_NOREPLACE): Likewise.
10953 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10954 (MAP_FIXED_NOREPLACE): Likewise.
10955 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10956 (MAP_FIXED_NOREPLACE): Likewise.
10957 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10958 (MAP_FIXED_NOREPLACE): Likewise.
10959 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10960 (MAP_FIXED_NOREPLACE): Likewise.
10961 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10962 (MAP_FIXED_NOREPLACE): Likewise.
10963 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10964 (MAP_FIXED_NOREPLACE): Likewise.
10965 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10966 (MAP_FIXED_NOREPLACE): Likewise.
10967 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10968 (MAP_FIXED_NOREPLACE): Likewise.
10969 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10970 (MAP_FIXED_NOREPLACE): Likewise.
10971 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10972 (MAP_FIXED_NOREPLACE): Likewise.
10973 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10974 (MAP_FIXED_NOREPLACE): Likewise.
10975 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10976 (MAP_FIXED_NOREPLACE): Likewise.
10977 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10978 (MAP_FIXED_NOREPLACE): Likewise.
10980 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10983 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10985 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10988 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10990 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10992 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10994 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10996 * benchtests/scripts/compare_string.py: (process_results) Catch
10997 exception in non-existent base_func and catch exception in
10998 non-existent attribute.
10999 (parse_file) Catch exception if input file does not exist.
11001 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11003 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11004 options to avoid diff calculation and omit header, respectively.
11005 (main): process --no-diff and --no-header
11007 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11008 H.J. Lu <hongjiu.lu@intel.com>
11010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11011 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11013 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11014 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11015 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11016 and __wcsncmp_sse2.
11017 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11018 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11019 AVX unaligned load is fast and vzeroupper is preferred.
11020 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11021 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11022 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11023 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11024 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11025 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11026 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11027 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11028 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11029 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11032 2018-06-01 Florian Weimer <fweimer@redhat.com>
11034 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11035 configuring with --disable-multi-arch, building with
11036 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11039 2018-06-01 Florian Weimer <fweimer@redhat.com>
11041 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11042 results from building with “-march=x86-64 -mtune=generic
11043 -mfpmath=sse” and running on a Haswell-era CPU.
11045 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11048 * soft-fp/sqrttf2.c: Remove file.
11049 * soft-fp/sqrtdf2.c: Move to ....
11050 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11052 (__sqrtdf2): Make conditional on
11053 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11055 * soft-fp/sqrtsf2.c: Move to ....
11056 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11058 (__sqrtsf2): Make conditional on
11059 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11061 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11062 (gcc-double-routines): Remove sqrtdf2.
11063 (gcc-quad-routines): Remove sqrttf2.
11064 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11065 Do not filter out sqrtsf2 and sqrtdf2.
11066 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11067 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11069 2018-06-01 Florian Weimer <fweimer@redhat.com>
11071 * sysdeps/generic/libcidn.abilist: Remove file.
11073 2018-06-01 Florian Weimer <fweimer@redhat.com>
11076 * libio/strfile.h (struct _IO_str_fields): Rename members to
11077 discourage their use and add comment.
11078 (_IO_STR_DYNAMIC): Remove unused macro.
11079 * libio/strops.c (_IO_str_init_static_internal): Do not use
11080 callback pointers. Call malloc and free.
11081 (_IO_str_overflow): Do not use callback pointers. Call malloc
11083 (enlarge_userbuf): Likewise.
11084 (_IO_str_finish): Call free.
11085 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11086 _allocate_buffer_unused.
11087 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11089 (enlarge_userbuf): Likewise.
11090 (_IO_wstr_finish): Call free.
11091 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11092 _allocate_buffer_unused, _free_buffer_unused.
11093 * libio/memstream.c (__open_memstream): Likewise.
11094 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11095 * libio/wmemstream.c (open_wmemstream): Likewise.
11097 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11099 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11102 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11104 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11105 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11106 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11108 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11110 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11112 2018-05-29 Florian Weimer <fweimer@redhat.com>
11114 * support/Makefile (libsupport-routines): Add
11115 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11116 xpthread_barrierattr_setpshared.
11117 * support/xpthread_barrierattr_destroy.c: New file.
11118 * support/xpthread_barrierattr_init.c: Likewise.
11119 * support/xpthread_barrierattr_setpshared.c: Likewise.
11121 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11124 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11125 _r_debug and update DT_DEBUG for debugger.
11127 2018-05-29 Florian Weimer <fweimer@redhat.com>
11129 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11130 (tst-strtod5i.out): Likewise.
11132 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11134 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11135 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11136 (sparc64-quad-routines): New variable. Moved from ....
11137 [$(subdir) = soft-fp] (sysdep_routines): Add
11138 $(sparc64-quad-routines). Moved from ....
11139 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11140 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11141 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11143 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11144 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11145 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11146 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11147 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11148 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11149 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11150 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11151 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11152 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11153 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11154 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11155 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11156 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11157 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11158 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11159 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11160 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11161 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11162 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11163 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11164 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11165 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11166 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11167 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11168 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11169 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11170 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11171 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11172 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11173 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11174 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11175 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11176 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11177 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11178 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11179 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11180 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11181 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11182 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11183 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11184 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11185 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11186 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11187 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11188 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11189 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11190 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11191 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11192 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11193 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11194 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11195 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11196 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11197 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11198 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11199 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11200 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11202 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11203 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11204 (sparc32-quad-routines): New variable. Moved from ....
11205 [$(subdir) = soft-fp] (sysdep_routines): Add
11206 $(sparc32-quad-routines). Moved from ....
11207 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11208 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11210 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11211 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11212 * sysdeps/sparc/sparc32/q_add.c: ... here.
11213 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11214 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11215 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11216 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11217 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11218 * sysdeps/sparc/sparc32/q_div.c: ... here.
11219 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11220 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11221 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11222 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11223 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11224 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11225 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11226 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11227 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11228 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11229 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11230 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11231 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11232 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11233 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11234 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11235 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11236 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11237 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11238 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11239 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11240 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11241 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11242 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11243 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11244 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11245 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11246 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11247 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11248 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11249 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11250 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11251 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11252 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11253 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11254 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11255 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11256 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11257 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11258 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11259 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11260 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11261 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11262 * sysdeps/sparc/sparc32/q_util.c: ... here.
11263 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11264 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11265 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11266 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11268 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11269 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11271 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11272 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11273 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11274 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11276 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11282 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11283 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11285 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11288 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11291 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11293 * sysdeps/sh/Implies: Remove sh/soft-fp.
11294 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11295 * sysdeps/sh/sfp-machine.h: ... here.
11297 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11299 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11300 (__mempcpy_erms): Skip zero length.
11301 (__memmove_erms): Likewise.
11302 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11303 (__memset_erms): Likewise.
11305 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11307 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11308 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11309 Add functions moved from ....
11310 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11311 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11312 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11314 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11315 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11316 * sysdeps/alpha/e_sqrtl.c: ... here.
11317 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11318 * sysdeps/alpha/local-soft-fp.h: ... here.
11319 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11320 * sysdeps/alpha/ots_add.c: ... here.
11321 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11322 * sysdeps/alpha/ots_cmp.c: ... here.
11323 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11324 * sysdeps/alpha/ots_cmpe.c: ... here.
11325 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11326 * sysdeps/alpha/ots_cvtqux.c: ... here.
11327 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11328 * sysdeps/alpha/ots_cvtqx.c: ... here.
11329 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11330 * sysdeps/alpha/ots_cvttx.c: ... here.
11331 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11332 * sysdeps/alpha/ots_cvtxq.c: ... here.
11333 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11334 * sysdeps/alpha/ots_cvtxt.c: ... here.
11335 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11336 * sysdeps/alpha/ots_div.c: ... here.
11337 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11338 * sysdeps/alpha/ots_mul.c: ... here.
11339 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11340 * sysdeps/alpha/ots_nintxq.c: ... here.
11341 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11342 * sysdeps/alpha/ots_sub.c: ... here.
11343 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11344 * sysdeps/alpha/sfp-machine.h: ... here.
11346 2018-05-23 Florian Weimer <fweimer@redhat.com>
11354 Switch to extern IDNA implementation (libidn2).
11355 * libidn: Remove subdirectory.
11356 * LICENSES: Do not mention licensing conditions for the removed
11358 * config.h.in (HAVE_LIBIDN): Remove.
11359 * include/dlfcn.h (__libc_dlopen): Update comment.
11360 * include/idna.h: Remove file.
11361 * inet/Makefile (routines): Add idna.
11362 (tests-static, tests-internal): Add tst-idna_name_classify.
11363 (LOCALES): Generate locales for tests.
11364 (tst-idna_name_classify.out): Depend on generated locales.
11365 * inet/idna_name_classify.c: New file.
11366 * inet/tst-idna_name_classify.c: Likewise.
11367 * inet/net-internal.h (__idna_to_dns_encoding)
11368 (__idna_from_dns_encoding): Declare.
11369 * inet/net-internal.h (enum idna_name_classification): Define.
11370 (__idna_name_classify): Declare.
11371 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11372 __idna_from_dns_encoding.
11373 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11374 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11375 name as a fallback in case of encoding errors.
11376 (getnameinfo): Use DEPRECATED_NI_IDN.
11377 * inet/idna.c: New file.
11378 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11379 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11380 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11381 (modules-names): Add tst-no-libidn2.
11382 (extra-test-objs): Add tst-no-libidn2.os.
11383 (LDFLAGS-tst-no-libidn2.so): Set soname.
11384 (LOCALES): Set, and generate locales.
11385 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11386 (tst-resolv-ai_idn-latin1): Likewise.
11387 (tst-resolv-ai_idn-nolibidn2): Likewise.
11388 (tst-resolv-ai_idn.out): Depend on locales.
11389 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11390 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11392 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11393 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11394 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11395 * resolv/tst-resolv-ai_idn.c: New file.
11396 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11397 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11398 * resolv/tst-no-libidn2.c: Likewise.
11399 * support/support_format_addrinfo.c (format_ai_flags): Do not
11400 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11401 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11402 (gaih_inet): Call __idna_to_dns_encoding and
11403 __idna_from_dns_encoding, and use the original (punycode) name if
11404 __idna_from_dns_encoding fails due to an encoding error.
11405 (getaddrinfo): Use DEPRECATED_AI_IDN.
11406 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11407 * sysdeps/unix/inet/configure: Remove file.
11408 * sysdeps/unix/inet/configure.ac: Likewise.
11410 2018-05-23 Florian Weimer <fweimer@redhat.com>
11412 Implement allocate_once.
11413 * include/allocate_once.h: New file.
11414 * misc/allocate_once.c: Likewise.
11415 * misc/tst-allocate_once.c: Likewise.
11416 * misc/Makefile (routines): Add allocate_once.
11417 (tests-internal): Add tst-allocate_once.
11418 (generated): Add tst-allocate_once.mtrace,
11419 tst-allocate_once-mem.out.
11420 (tests-special): Add tst-allocate_once-mem.out.
11421 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11422 (tst-allocate_once-mem.out): Call mtrace.
11423 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11425 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11428 * string/test-memcpy.c (do_test1): New function.
11429 (test_main): Call it.
11431 2018-05-23 Andreas Schwab <schwab@suse.de>
11435 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11436 (L(preloop_large)): Save initial destination pointer in %r11 and
11437 use it instead of %rax after the loop.
11438 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11440 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11442 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11443 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11444 -I../soft-fp. Moved from ....
11445 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11446 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11447 * sysdeps/aarch64/e_sqrtl.c: ... here.
11448 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11449 * sysdeps/aarch64/sfp-machine.h: ... here.
11451 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11452 -Wmaybe-uninitialized around access to fq[0].
11453 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11457 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11458 aliases for non-libc case of versioned symbols.
11459 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11460 (llseek): Define as compat symbol if
11461 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11463 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11464 Make into a compat symbol, disabled for minimum symbol version
11465 GLIBC_2.28 and later.
11466 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11468 2018-05-22 Florian Weimer <fweimer@redhat.com>
11470 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11471 not add -mpreferred-stack-boundary=4.
11472 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11473 (stack-align-test-flags): Likewise.
11474 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11476 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11477 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11478 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11479 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11480 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11481 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11482 (CFLAGS-tst-align2.c): Likewise.
11484 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11486 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11487 (index_arch_Prefer_FSRM): Likewise.
11488 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11489 Also check Prefer_FSRM.
11490 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11491 Also return OPTIMIZE (erms) for Prefer_FSRM.
11493 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11495 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11496 (index_cpu_FSRM): Likewise.
11497 (reg_FSRM): Likewise.
11499 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11501 * math/gen-tgmath-tests.py: Import sys.
11502 (Tests.__init__): Initialize macros_seen.
11503 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11504 if requested to do so for this macro.
11505 (Tests.add_all_tests): Take argument for macro for which to
11507 (Tests.check_macro_list): New function.
11508 (main): Handle check-list argument and argument specifying macro
11509 for which to generate tests.
11510 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11511 [PYTHON] (tgmath3-macro-tests): Likewise.
11512 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11513 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11514 not test-tgmath3.c.
11515 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11516 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11518 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11519 [PYTHON] ($(foreach
11520 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11522 [PYTHON] (tests-special): Add
11523 $(objpfx)test-tgmath3-macro-list.out.
11524 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11526 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11527 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11531 * time/tzset.c (SECSPERDAY): Cast to time_t.
11532 * time/tst-y2039.c: New file.
11533 * time/Makefile (tests): Add tst-y2039.
11535 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11537 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11538 (PREFETCH_ONE_SET): Remove duplicate line.
11540 2018-05-17 Florian Weimer <fweimer@redhat.com>
11542 * sysdeps/generic/math-type-macros-double.h: Include
11543 <math-nan-payload-double.h> after <libm-alias-double.h>.
11544 * sysdeps/generic/math-type-macros-float.h: Include
11545 <math-nan-payload-float.h> after <libm-alias-float.h>.
11546 * sysdeps/generic/math-type-macros-float128.h: Include
11547 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11548 * sysdeps/generic/math-type-macros-ldouble.h: Include
11549 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11551 2018-05-17 Andreas Schwab <schwab@suse.de>
11553 * resolv/res_send.c (__res_context_send): Don't set errno when
11554 returing error after malloc failure.
11556 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11558 * nptl/allocatestack.c (allocate_stack): Remove the
11559 !__ASSUME_PRIVATE_FUTEX paths.
11560 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11561 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11563 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11564 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11565 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11566 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11567 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11568 !__ASSUME_PRIVATE_FUTEX path.
11569 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11570 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11571 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11572 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11573 !__ASSUME_PRIVATE_FUTEX macros.
11574 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11575 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11576 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11577 * sysdeps/unix/sysv/linux/kernel-features.h
11578 (__ASSUME_PRIVATE_FUTEX): Removed.
11580 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11582 * math/Makefile (libm-narrow-fns): Add div.
11583 (libm-test-funcs-narrow): Likewise.
11584 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11585 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11586 * math/gen-auto-libm-tests.c (test_functions): Add div.
11587 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11588 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11589 (NARROW_DIV_TRIVIAL): Likewise.
11590 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11592 (__ddivl): Likewise.
11593 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11595 (CFLAGS-nldbl-ddiv.c): New variable.
11596 (CFLAGS-nldbl-fdiv.c): Likewise.
11597 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11599 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11601 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11602 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11603 * math/auto-libm-test-in: Add tests of div.
11604 * math/auto-libm-test-out-narrow-div: New generated file.
11605 * math/libm-test-narrow-div.inc: New file.
11606 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11607 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11608 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11609 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11610 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11611 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11614 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11615 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11619 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11620 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11621 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11622 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11623 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11625 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11626 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11627 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11628 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11629 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11630 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11631 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11632 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11633 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11634 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11635 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11636 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11637 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11642 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11643 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11644 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11645 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11646 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11647 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11648 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11649 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11651 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11654 * nscd/nscd-client.h (sendfileall): Remove prototype.
11655 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11656 (handle_request): Use writeall instead of sendfileall.
11657 * nscd/aicache.c (addhstaiX): Likewise.
11658 * nscd/grpcache.c (cache_addgr): Likewise.
11659 * nscd/hstcache.c (cache_addhst): Likewise.
11660 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11661 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11662 * nscd/pwdcache.c (cache_addpw): Likewise.
11663 * nscd/servicescache.c (cache_addserv): Likewise.
11664 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11665 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11666 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11669 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11671 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11672 Include <string/strncat.c>.
11673 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11675 (__GI___strncat): New hidden alias.
11677 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11679 * sysdeps/mips/mips32/libm-test-ulps: Update.
11680 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11682 2018-05-16 Florian Weimer <fweimer@redhat.com>
11684 * support/Makefile (libsupport-routines): Add support_quote_blob,
11685 support_test_compare_blob.
11686 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11687 * support/check.h (TEST_COMPARE_BLOB): Define.
11688 (support_test_compare_blob): Declare.
11689 * support/support.h (support_quote_blob): Declare.
11690 * support/support_quote_blob.c: New file.
11691 * support/support_test_compare_blob.c: Likewise.
11692 * support/tst-support_quote_blob.c: Likewise.
11693 * support/tst-test_compare_blob.c: Likewise.
11695 2018-05-16 Florian Weimer <fweimer@redhat.com>
11697 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11698 of <strtod_nan_double.h>.
11699 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11700 instead of SET_MANTISSA.
11701 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11702 of include <strtod_nan_float.h>.
11703 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11704 instead of <strtod_nan_ldouble.h>.
11705 * stdlib/strtod_nan_double.h: Move to ...
11706 * sysdeps/generic/math-nan-payload-double.h: ... here.
11707 (FLOAT): Remove definition.
11708 (SET_MANTISSA): Rename to ...
11709 (SET_NAN_PAYLOAD): ... this.
11710 * stdlib/strtod_nan_float.h: Move to ...
11711 * sysdeps/generic/math-nan-payload-float.h: ... here.
11712 (FLOAT): Remove definition.
11713 (SET_MANTISSA): Rename to ...
11714 (SET_NAN_PAYLOAD): ... this.
11715 * sysdeps/generic/math-type-macros-double.h: Include
11716 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11717 instead of <math-svid-compat.h>.
11718 * sysdeps/generic/math-type-macros-float.h: Include
11719 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11720 instead of <math-svid-compat.h>.
11721 * sysdeps/generic/math-type-macros-float128.h: Include
11722 <math-nan-payload-float128.h>.
11723 * sysdeps/generic/math-type-macros-ldouble.h: Include
11724 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11725 instead of <math-svid-compat.h>.
11726 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11727 check for definition.
11728 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11729 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11730 Include <ieee754_float128.h>.
11731 (FLOAT): Remove definition.
11732 (SET_MANTISSA): Rename to ...
11733 (SET_NAN_PAYLOAD): ... this.
11734 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11735 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11736 Do not include <float128_private.h>.
11737 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11738 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11739 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11740 (FLOAT): Remove definition.
11741 (SET_MANTISSA): Rename to ...
11742 (SET_NAN_PAYLOAD): ... this.
11743 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11744 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11745 (FLOAT): Remove definition.
11746 (SET_MANTISSA): Rename to ...
11747 (SET_NAN_PAYLOAD): ... this.
11748 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11749 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11750 (FLOAT): Remove definition.
11751 (SET_MANTISSA): Rename to ...
11752 (SET_NAN_PAYLOAD): ... this.
11753 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11754 of "../stdlib/strtod_nan_double.h".
11755 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11756 of "../stdlib/strtod_nan_float.h".
11757 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11758 instead of "../stdlib/strtod_nan_ldouble.h".
11759 * manual/arith.texi (Parsing of Floats): Adjust comment.
11761 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11763 * math/Makefile (libm-narrow-fns): Add mul.
11764 (libm-test-funcs-narrow): Likewise.
11765 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11766 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11767 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11768 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11769 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11770 (NARROW_MUL_TRIVIAL): Likewise.
11771 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11772 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11774 (__dmull): Likewise.
11775 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11777 (CFLAGS-nldbl-dmul.c): New variable.
11778 (CFLAGS-nldbl-fmul.c): Likewise.
11779 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11781 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11783 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11784 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11785 * math/auto-libm-test-in: Add tests of mul.
11786 * math/auto-libm-test-out-narrow-mul: New generated file.
11787 * math/libm-test-narrow-mul.inc: New file.
11788 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11789 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11790 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11791 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11792 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11793 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11794 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11795 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11796 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11797 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11798 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11799 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11800 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11801 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11802 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11803 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11804 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11805 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11807 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11808 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11809 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11810 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11811 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11812 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11813 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11814 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11815 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11816 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11817 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11818 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11819 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11824 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11825 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11826 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11827 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11828 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11829 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11830 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11831 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11833 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11835 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11836 with *%eax in call.
11838 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11840 * sysdeps/i386/ldsodefs.h: Removed.
11841 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11842 * sysdeps/x86/ldsodefs.h: This.
11843 (La_i86_regs): New.
11844 (La_i86_retval): Likewise.
11845 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11846 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11848 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11850 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11853 2018-05-13 Alan Modra <amodra@gmail.com>
11855 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11856 R_PARISC_TLS_DTPOFF32 reloc addend.
11858 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11860 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11861 * math/math.h: Restrict the prototype definition for the functions
11862 issignaling(_Float128) and iszero(_Float128); and template
11863 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11864 __HAVE_FLOAT128_UNLIKE_LDBL.
11865 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11866 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11867 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11868 __f128() constants; define the type _Float128 as long double;
11869 and reuse long double in __CFLOAT128.
11871 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11873 * sysdeps/generic/math_private.h: Do not include
11875 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11877 * math/fromfp.h: Include <math-barriers.h>.
11878 * math/math-narrow.h: Likewise.
11879 * math/s_nextafter.c: Likewise.
11880 * math/s_nexttowardf.c: Likewise.
11881 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11882 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11883 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11884 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11885 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11886 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11887 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11889 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11890 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11891 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11892 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11893 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11894 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11895 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11896 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11897 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11898 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11899 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11900 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11901 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11902 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11903 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11904 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11905 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11906 * sysdeps/ieee754/k_standardl.c: Likewise.
11907 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11908 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11909 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11910 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11911 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11912 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11913 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11914 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11915 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11916 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11917 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11918 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11919 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11920 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11921 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11922 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11923 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11924 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11925 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11926 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11927 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11928 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11930 2018-05-11 Florian Weimer <fweimer@redhat.com>
11932 Use 64-bit epoch values in the time zone file parser.
11933 * include/time.h (internal_time_t): Define.
11934 (__tzfile_compute): Use it.
11935 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11937 (transitions): Switch to internal_time_t.
11938 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11940 (__tzfile_compute): Use internal_time_t for timer argument. Check
11941 for truncation before calling __offtime.
11943 2018-05-11 Florian Weimer <fweimer@redhat.com>
11946 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11947 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11949 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11950 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11951 export without --enable-obsolete-rpc.
11952 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11953 symbol. This should not have been exported, ever.
11955 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11958 * localedata/locales/gd_GB (abmon): Fix typo in May:
11959 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11961 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11963 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11964 Use multiple registers to copy data in loop tail.
11966 * sysdeps/aarch64/multiarch/memmove_falkor.S
11967 (__memmove_falkor): Use multiple registers to move data in
11970 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11972 * math/math-underflow.h: New file.
11973 * sysdeps/generic/math_private.h: Do not include <float.h>.
11974 (fabs_tg): Remove macro. Moved to math-underflow.h.
11975 (min_of_type_f): Likewise.
11976 (min_of_type_): Likewise.
11977 (min_of_type_l): Likewise.
11978 (min_of_type_f128): Likewise.
11979 (min_of_type): Likewise.
11980 (math_check_force_underflow): Likewise.
11981 (math_check_force_underflow_nonneg): Likewise.
11982 (math_check_force_underflow_complex): Likewise.
11983 * math/e_exp2_template.c: Include <math-underflow.h>.
11984 * math/k_casinh_template.c: Likewise.
11985 * math/s_catan_template.c: Likewise.
11986 * math/s_catanh_template.c: Likewise.
11987 * math/s_ccosh_template.c: Likewise.
11988 * math/s_cexp_template.c: Likewise.
11989 * math/s_clog10_template.c: Likewise.
11990 * math/s_clog_template.c: Likewise.
11991 * math/s_csin_template.c: Likewise.
11992 * math/s_csinh_template.c: Likewise.
11993 * math/s_csqrt_template.c: Likewise.
11994 * math/s_ctan_template.c: Likewise.
11995 * math/s_ctanh_template.c: Likewise.
11996 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11997 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11998 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11999 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12000 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12001 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12002 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12003 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12004 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12005 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12006 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12007 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12008 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12009 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12010 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12011 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12012 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12013 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12014 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12015 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12016 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12017 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12018 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12019 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12020 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12021 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12022 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12023 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12024 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12025 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12026 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12027 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12028 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12029 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12030 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12031 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12032 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12033 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12034 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12035 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12036 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12037 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12038 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12039 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12040 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12041 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12042 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12043 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12044 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12045 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12046 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12047 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12048 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12049 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12050 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12051 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12052 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12053 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12054 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12055 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12056 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12057 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12058 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12059 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12060 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12061 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12062 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12063 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12064 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12065 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12066 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12067 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12068 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12069 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12070 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12071 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12072 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12073 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12074 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12075 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12076 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12077 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12078 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12079 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12081 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12083 * sysdeps/generic/math-barriers.h: New file.
12084 * sysdeps/generic/math_private.h [!math_opt_barrier]
12085 (math_opt_barrier): Move to math-barriers.h.
12086 [!math_opt_barrier] (math_force_eval): Likewise.
12087 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12088 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12090 (math_force_eval): Likewise.
12091 * sysdeps/alpha/fpu/math-barriers.h: New file.
12092 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12094 (math_force_eval): Likewise.
12095 * sysdeps/x86/fpu/math-barriers.h: New file.
12096 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12098 (math_force_eval): Likewise.
12099 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12100 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12101 multiple-include guard for rename.
12102 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12103 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12105 (math_force_eval): Likewise.
12107 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12111 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12113 * stdlib/Makefile (test-bz22786): New test.
12114 * stdlib/test-bz22786.c: New test.
12116 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12118 * include/math-narrow-eval.h: New file. Contents moved from ....
12119 * sysdeps/generic/math_private.h: ... here.
12120 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12121 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12122 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12123 * stdlib/strtod_l.c: Likewise.
12124 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12125 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12126 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12127 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12128 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12129 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12130 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12131 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12132 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12133 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12134 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12135 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12136 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12137 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12138 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12139 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12140 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12141 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12142 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12143 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12144 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12145 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12146 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12147 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12148 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12149 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12150 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12151 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12152 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12154 2018-05-08 Andreas Schwab <schwab@suse.de>
12156 * sysdeps/nptl/internaltypes.h: Fix comment.
12158 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12160 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12161 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12164 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12166 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12167 of I into loop header.
12168 * benchtests/bench-memmove-walk.c
12169 (test_main): Likewise.
12171 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12174 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12175 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12177 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12180 * elf/dl-load.c (open_verify): Fix stack overflow.
12181 * elf/Makefile (tst-big-note): New test.
12182 * elf/tst-big-note-lib.S: New.
12183 * elf/tst-big-note.c: New.
12185 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12187 * scripts/abilist.awk: Ignore absolute symbols.
12188 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12189 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12190 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12191 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12192 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12193 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12194 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12195 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12196 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12197 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12198 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12199 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12200 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12201 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12202 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12203 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12204 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12205 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12206 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12207 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12208 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12209 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12210 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12211 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12212 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12213 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12214 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12215 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12216 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12217 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12218 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12219 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12220 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12221 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12222 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12223 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12224 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12225 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12226 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12227 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12228 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12229 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12230 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12231 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12232 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12233 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12234 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12235 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12236 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12237 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12238 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12239 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12240 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12241 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12242 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12243 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12244 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12245 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12246 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12247 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12248 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12249 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12250 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12251 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12252 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12253 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12254 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12255 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12256 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12257 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12258 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12259 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12260 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12261 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12262 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12263 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12264 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12265 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12266 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12267 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12268 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12269 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12270 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12271 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12272 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12273 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12274 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12275 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12276 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12277 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12278 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12279 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12281 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12282 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12283 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12284 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12285 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12286 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12287 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12288 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12289 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12290 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12291 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12292 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12293 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12295 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12296 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12297 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12298 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12299 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12300 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12301 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12302 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12303 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12304 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12305 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12306 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12307 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12308 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12309 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12310 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12311 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12312 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12313 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12314 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12315 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12316 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12317 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12318 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12319 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12320 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12321 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12323 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12324 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12325 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12326 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12328 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12329 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12330 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12331 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12333 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12334 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12335 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12336 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12337 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12338 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12339 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12340 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12341 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12344 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12345 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12346 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12347 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12349 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12351 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12352 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12353 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12354 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12355 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12356 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12357 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12358 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12359 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12360 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12361 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12362 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12363 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12364 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12365 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12366 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12367 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12368 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12369 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12370 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12371 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12431 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12432 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12434 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12435 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12436 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12437 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12438 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12439 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12440 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12441 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12442 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12443 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12444 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12445 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12446 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12447 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12449 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12450 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12451 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12452 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12453 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12454 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12455 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12456 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12457 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12458 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12459 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12460 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12462 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12463 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12464 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12465 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12466 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12467 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12468 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12469 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12470 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12471 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12472 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12473 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12474 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12475 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12476 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12477 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12478 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12479 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12480 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12481 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12482 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12483 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12484 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12485 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12486 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12488 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12489 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12490 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12491 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12492 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12493 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12494 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12495 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12496 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12497 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12498 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12499 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12500 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12502 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12503 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12504 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12505 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12506 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12507 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12508 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12509 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12510 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12511 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12512 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12513 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12514 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12516 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12517 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12518 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12519 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12520 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12521 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12522 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12523 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12524 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12525 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12526 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12527 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12528 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12529 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12530 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12531 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12532 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12533 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12534 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12535 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12536 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12537 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12538 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12539 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12541 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12544 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12545 Use atomic_load_acquire to load __tid.
12547 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12549 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12550 Restore the pointer into %rdx, after syscall and use %rdx,
12551 instead of %rsi, to restore context.
12553 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12555 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12556 Pop the pointer into %rdx after syscall and use %rdx, instead
12557 of %rsi, to restore context.
12559 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12561 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12562 handlers after setjmp.
12563 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12565 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12566 <libc-pointer-arith.h>.
12567 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12568 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12569 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12570 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12571 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12572 * sysdeps/x86/__longjmp_cancel.S: New file.
12573 * sysdeps/x86/longjmp.c: Likewise.
12574 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12576 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12578 * NEWS: Add ustat.h deprecation entry.
12579 * bits/ustat.h: Remove file.
12580 * misc/sys/ustat.h: Likewise.
12581 * misc/ustat.h: Likewise.
12582 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12583 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12584 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12585 compatibility mode.
12586 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12587 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12588 generic Linux implementation.
12590 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12592 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12593 * math/w_expl_compat.c: Likewise.
12594 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12596 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12598 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12600 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12602 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12603 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12604 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12606 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12608 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12609 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12610 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12613 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12615 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12617 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12618 * math/w_asin_template.c: Likewise.
12619 * math/w_atanh_template.c: Likewise.
12621 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12623 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12624 to powerpc/powerpc64/be for big-endian.
12625 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12628 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12629 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12630 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12631 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12632 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12633 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12634 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12635 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12636 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12637 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12638 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12639 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12640 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12641 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12642 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12643 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12644 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12645 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12646 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12647 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12648 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12649 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12650 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12651 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12652 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12653 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12654 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12655 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12656 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12657 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12658 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12659 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12661 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12662 adjusted to imply powerpc64 and older processors on powerpc64/be.
12663 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12664 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12665 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12666 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12667 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12668 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12669 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12670 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12671 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12672 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12673 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12674 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12675 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12676 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12677 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12678 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12679 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12680 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12681 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12682 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12683 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12684 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12685 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12686 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12687 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12688 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12689 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12690 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12691 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12692 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12693 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12695 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12696 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12697 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12698 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12700 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12701 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12702 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12703 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12705 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12706 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12707 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12708 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12709 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12710 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12711 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12712 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12713 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12714 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12715 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12717 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12718 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12719 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12720 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12721 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12722 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12723 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12724 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12725 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12726 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12727 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12729 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12730 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12731 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12732 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12733 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12734 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12735 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12736 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12737 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12738 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12739 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12740 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12742 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12743 and adjusted to imply olders processors.
12744 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12745 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12746 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12747 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12748 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12749 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12750 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12751 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12752 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12753 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12754 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12756 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12758 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12773 powerpc64 and adjusted.
12774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12779 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12781 * sysdeps/tile: Remove.
12782 * sysdeps/unix/sysv/linux/tile: Likewise.
12783 * README (tilegx-*-linux-gnu): Remove from list of supported
12785 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12786 contribution of support for generic Linux kernel syscall
12788 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12789 tilegx configurations.
12790 (Config.install_linux_headers): Do not handle tile.
12791 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12793 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12794 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12795 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12796 conditional undefine and redefine.
12797 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12799 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12800 conditional undefine and redefine.
12802 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12804 * signal/tst-sigaction.c: New file to test BZ #23069.
12805 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12807 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12810 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12811 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12812 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12813 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12815 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12817 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12818 _DIRENT_MATCHES_DIRENT64 is not defined.
12819 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12820 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12822 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12823 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12825 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12827 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12828 version to GCC 8 branch.
12830 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12832 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12833 (check_no_hidden): Use type of original function when declaring
12836 * sysdeps/unix/sysv/linux/sys/ptrace.h
12837 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12838 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12839 (struct __ptrace_seccomp_metadata): New type.
12840 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12841 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12842 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12843 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12844 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12845 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12846 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12847 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12848 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12849 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12850 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12851 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12852 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12853 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12854 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12855 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12857 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12859 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12861 * dirent/versionsort.c (versionsort): Likewise.
12862 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12863 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12864 * dirent/versionsort64.c (versionsort64): Likewise.
12865 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12866 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12867 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12868 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12869 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12870 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12871 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12872 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12873 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12874 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12877 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12878 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12880 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12882 * elf/elf.h (NT_PPC_PKEY): New macro.
12884 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12887 * localedata/locales/hr_HR: fix thousands_sep and
12890 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12892 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12893 (XTABS): Define to TAB3.
12895 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12897 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12899 * dirent/scandir-tail-common.c: New file.
12900 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12901 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12902 * dirent/scandir.c: Use scandir-tail-common.c.
12903 * dirent/scandirat.c: Likewise.
12904 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12905 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12906 if _DIRENT_MATCHES_DIRENT64 is defined.
12907 * dirent/scandirat64.c (scandirat64): Likewise.
12908 * include/dirent.h (__scandir_tail): Only define iff
12909 _DIRENT_MATCHES_DIRENT64 is not defined.
12910 (__scandir64_tail): Define regardless.
12911 (__scandirat, scandirat64): Remove libc_hidden_proto.
12912 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12913 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12915 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12916 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12917 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12918 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12920 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12922 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12924 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12926 (_dl_aarch64_cap_flags): Add asimdfhm.
12928 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12930 * sysdeps/nios2/libm-test-ulps: Update.
12932 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12934 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12935 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12937 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12939 (_DIRENT_MATCHES_DIRENT64): Undef
12940 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12941 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12942 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12943 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12944 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12945 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12946 use getdents64 syscalls as base.
12947 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12948 symbol if required.
12949 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12950 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12951 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12952 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12953 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12954 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12955 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12956 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12957 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12958 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12959 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12961 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12963 * scripts/test_printers_common.py (init_test): Disable lock elision.
12965 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12967 * math/test-tgmath.c (count_double, count_float,
12968 count_ldouble, count_cdouble, count_cfloat,
12969 count_cldouble): Use volatile int.
12971 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12973 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12974 (conformtest-xfail-conds): Add i386-gnu.
12975 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12977 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12978 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12979 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12980 msqid_ds.msg_lrpid): Likewise.
12981 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12983 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12984 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12985 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12986 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12988 (struct statvfs64): Likewise.
12989 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12991 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12992 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12993 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12994 instead of wait_queue.
12995 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12996 instead of vm_area_struct.
12997 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12998 struct sched_param definition to it.
12999 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13000 * bits/types/struct_sched_param.h: New file.
13001 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13002 <bits/types/struct_sched_param.h> instead of <sched.h>.
13003 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13004 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13005 generic version but include <bits/pthreadtypes.h> to make struct
13006 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13007 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13009 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13010 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13011 [__USE_XOPEN] (OFDEL): New macro.
13012 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13013 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13014 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13016 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13017 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13018 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13020 * sysdeps/i386/sys/ucontext.h: Likewise.
13021 * sysdeps/m68k/sys/ucontext.h: Likewise.
13022 * sysdeps/mips/sys/ucontext.h: Likewise.
13023 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13024 * sysdeps/mach/hurd/i386/Makefile
13025 (test-xfail-POSIX/fcntl.h/conform): Add.
13026 (test-xfail-POSIX/signal.h/conform): Add.
13027 (test-xfail-POSIX/semaphore.h/conform): Add.
13028 (test-xfail-POSIX/regex.h/conform): Add.
13029 (test-xfail-POSIX/aio.h/conform): Add.
13030 (test-xfail-POSIX/mqueue.h/conform): Add.
13031 (test-xfail-POSIX/sys/types.h/conform): Add.
13032 (test-xfail-UNIX98/fcntl.h/conform): Add.
13033 (test-xfail-UNIX98/netdb.h/conform): Add.
13034 (test-xfail-UNIX98/signal.h/conform): Add.
13035 (test-xfail-UNIX98/semaphore.h/conform): Add.
13036 (test-xfail-UNIX98/regex.h/conform): Add.
13037 (test-xfail-UNIX98/aio.h/conform): Add.
13038 (test-xfail-UNIX98/ftw.h/conform): Add.
13039 (test-xfail-UNIX98/mqueue.h/conform): Add.
13040 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13041 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13042 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13043 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13044 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13045 (test-xfail-UNIX98/sys/types.h/conform): Add.
13046 (test-xfail-UNIX98/stdlib.h/conform): Add.
13047 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13048 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13049 (test-xfail-POSIX2008/netdb.h/conform): Add.
13050 (test-xfail-POSIX2008/signal.h/conform): Add.
13051 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13052 (test-xfail-POSIX2008/regex.h/conform): Add.
13053 (test-xfail-POSIX2008/aio.h/conform): Add.
13054 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13055 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13056 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13057 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13058 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13059 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13060 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13061 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13062 (test-xfail-XOPEN2K/signal.h/conform): Add.
13063 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13064 (test-xfail-XOPEN2K/regex.h/conform): Add.
13065 (test-xfail-XOPEN2K/aio.h/conform): Add.
13066 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13067 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13068 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13069 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13070 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13071 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13072 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13073 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13074 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13075 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13076 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13077 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13078 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13079 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13080 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13081 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13082 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13083 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13084 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13085 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13086 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13087 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13088 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13089 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13090 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13091 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13092 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13094 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13095 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13097 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13099 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13100 --enable-obsolete for powerpc-linux-gnuspe.
13102 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13104 * conform/data/sys/un.h-data: Allow sun_ prefix.
13105 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13107 * sysdeps/mach/include/mach.h: Likewise.
13108 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13109 * sysdeps/mach/include/mach_error.h: Likewise.
13111 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13113 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13114 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13115 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13116 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13118 2018-04-16 Andreas Schwab <schwab@suse.de>
13121 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13123 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13125 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13126 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13128 2018-04-12 DJ Delorie <dj@redhat.com>
13130 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13133 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13135 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13136 (struct kernel_sigaction): Use the same definition on 31bit as is used
13139 2018-04-09 Florian Weimer <fweimer@redhat.com>
13142 * resolv/res_send.c (send_dg): Use designated initializers instead
13143 of assignment to zero-initialize other fields of struct mmsghdr.
13145 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13147 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13148 __READDIR_ALIAS): Undefine after usage.
13149 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13150 __READDIR_R_ALIAS): Likewise.
13151 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13152 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13153 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13154 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13155 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13156 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13157 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13158 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13159 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13160 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13161 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13162 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13163 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13164 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13165 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13166 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13167 * sysdeps/unix/sysv/linux/readdir.c: New file.
13168 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13169 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13170 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13172 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13174 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13176 * manual/charset.texi (Converting a Character): Fix typo.
13178 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13182 * sysdeps/arm/libm-test-ulps: Update.
13184 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13185 as base implementation.
13186 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13187 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13188 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13189 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13190 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13191 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13192 remove unrequired definitions and update comments.
13193 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13194 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13195 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13196 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13197 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13198 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13199 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13200 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13201 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13202 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13203 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13204 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13205 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13206 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13207 and RESET_SA_RESTORER hooks.
13209 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13211 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13213 2018-04-05 Florian Weimer <fweimer@redhat.com>
13215 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13216 integer overflow, memory leak on error, and indeterminate errno
13217 value. Add a null wide character to terminate the result string.
13218 * manual/charset.texi (Converting a Character): Mention embedded
13219 null bytes in the mbrtowc input string. Explain what happens in
13220 the -2 result case. Do not claim that mbrtowc is simple or
13221 obvious to use. Adjust the description of the code example. Use
13222 @code, not @var, for concrete variables.
13224 2018-04-05 Florian Weimer <fweimer@redhat.com>
13226 * manual/examples/mbstouwcs.c: New file.
13227 * manual/charset.texi (Converting a Character): Include it.
13229 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13231 * include/dirent.h (dirfd): Add hidden proto.
13232 * dirent/dirfd.c (dirfd): Add hidden def.
13233 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13234 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13236 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13238 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13239 sin, cos and sincos to 1 ULP.
13241 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13244 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13246 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13247 * elf/tst-absolute-sym.c: New file.
13248 * elf/tst-absolute-sym-lib.c: New file.
13249 * elf/tst-absolute-sym-lib.lds: New file.
13250 * elf/Makefile (tests): Add `tst-absolute-sym'.
13251 (modules-names): Add `tst-absolute-sym-lib'.
13252 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13253 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13254 ($(objpfx)tst-absolute-sym): New dependency.
13257 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13259 (SYMBOL_ADDRESS): New macro.
13260 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13261 SYMBOL_ADDRESS for symbol address calculation.
13262 * elf/dl-runtime.c (_dl_fixup): Likewise.
13263 (_dl_profile_fixup): Likewise.
13264 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13265 * elf/rtld.c (dl_main): Likewise.
13266 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13267 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13268 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13269 (elf_machine_rela): Likewise.
13270 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13271 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13272 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13273 (elf_machine_rela): Likewise.
13274 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13275 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13276 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13277 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13279 (elf_machine_reloc): Likewise.
13280 (elf_machine_got_rel): Likewise.
13281 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13282 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13283 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13285 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13287 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13288 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13290 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13292 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13293 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13295 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13297 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13298 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13300 2018-04-04 Zack Weinberg <zackw@panix.com>
13302 * sysdeps/generic/internal-signals.h: Include signal.h,
13303 sigsetops.h, and stdbool.h.
13304 (__libc_signal_block_all): Actually block all signals.
13305 (__libc_signal_block_app): Likewise.
13306 (__libc_signal_restore_set): Actually restore the signal mask.
13308 2018-04-04 Florian Weimer <fweimer@redhat.com>
13310 inet: Actually build and run tst-deadline.
13311 * inet/Makefile (tests-internal): Add tst-deadline and do not
13312 overwrite the variable.
13313 (tests-static-internal): Remove variable.
13315 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13318 * bits/uio-ext.h (RWF_APPEND): New.
13319 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13320 * manual/llio.texi: Document RWF_APPEND.
13321 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13322 (RWF_SUPPORTED): Add RWF_APPEND.
13324 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13327 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13328 check for internal nptl signals.
13329 * nptl/sigaction.c (__sigaction): Likewise.
13330 * signal/sigaddset.c (sigaddset): Likewise.
13331 * signal/sigdelset.c (sigdelset): Likewise.
13332 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13333 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13335 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13336 to filter out internal nptl signals.
13337 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13338 also check realtime signals using standard macros.
13339 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13340 __is_internal_signal, __libc_signal_block_all,
13341 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13342 * sysdeps/nptl/sigfillset.c: Remove file.
13343 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13344 Change return to bool.
13345 (__clear_internal_signals): Remove SIGTIMER clean since it is
13346 equal to SIGCANEL on Linux.
13347 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13348 signal set was constructed using standard functions.
13350 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13352 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13353 ifname is too long.
13354 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13355 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13356 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13358 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13359 * signal/sigaddset.c: Include <sigsetopts.h>.
13360 * signal/sigdelset.c: Likewise.
13362 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13364 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13366 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13367 logic as sin and cos.
13369 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13371 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13372 inputs. Return correct sign.
13373 (do_sincos): Remove small input check before do_sin, let do_sin set
13378 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13380 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13381 (do_cos_slow): Likewise.
13382 (do_sin_slow): Likewise.
13383 (reduce_and_compute): Likewise.
13388 (sloww1): Likewise.
13389 (sloww2): Likewise.
13391 (bslow1): Likewise.
13392 (bslow2): Likewise.
13393 (cslow2): Likewise.
13395 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13397 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13398 (do_cos): Remove corp parameter and calculations.
13399 (do_sin): Likewise.
13400 (do_sincos): Remove cor variable.
13401 (__sin): Use do_sincos for huge inputs.
13403 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13404 (reduce_and_compute_sincos): Remove unused function.
13406 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13408 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13409 reduce_sincos, improve accuracy to 136 bits.
13410 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13411 (__sin): Use improved reduction and simplified do_sincos calculation.
13413 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13415 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13417 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13418 (do_sincos_2): Likewise.
13419 (__sin): Remove middle range reduction case.
13421 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13424 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13426 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13427 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13430 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13432 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13434 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13437 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13439 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13440 Remove definitions.
13441 (opendir_oflags): Use O_DIRECTORY regardless.
13442 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13443 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13445 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13447 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13448 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13450 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13451 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13452 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13453 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13454 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13455 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13457 * htl/Makefile: Bump licence to LGPL 2.1+.
13458 * htl/alloca_cutoff.c: Likewise.
13459 * htl/cthreads-compat.c: Likewise.
13460 * htl/lockfile.c: Likewise.
13461 * htl/pt-alloc.c: Likewise.
13462 * htl/pt-cancel.c: Likewise.
13463 * htl/pt-cleanup.c: Likewise.
13464 * htl/pt-create.c: Likewise.
13465 * htl/pt-dealloc.c: Likewise.
13466 * htl/pt-detach.c: Likewise.
13467 * htl/pt-exit.c: Likewise.
13468 * htl/pt-getattr.c: Likewise.
13469 * htl/pt-initialize.c: Likewise.
13470 * htl/pt-internal.h: Likewise.
13471 * htl/pt-join.c: Likewise.
13472 * htl/pt-self.c: Likewise.
13473 * htl/pt-setcancelstate.c: Likewise.
13474 * htl/pt-setcanceltype.c: Likewise.
13475 * htl/pt-sigmask.c: Likewise.
13476 * htl/pt-spin-inlines.c: Likewise.
13477 * htl/pt-testcancel.c: Likewise.
13478 * htl/pt-yield.c: Likewise.
13479 * htl/tests/test-1.c: Likewise.
13480 * htl/tests/test-10.c: Likewise.
13481 * htl/tests/test-11.c: Likewise.
13482 * htl/tests/test-12.c: Likewise.
13483 * htl/tests/test-13.c: Likewise.
13484 * htl/tests/test-14.c: Likewise.
13485 * htl/tests/test-15.c: Likewise.
13486 * htl/tests/test-16.c: Likewise.
13487 * htl/tests/test-17.c: Likewise.
13488 * htl/tests/test-2.c: Likewise.
13489 * htl/tests/test-3.c: Likewise.
13490 * htl/tests/test-4.c: Likewise.
13491 * htl/tests/test-5.c: Likewise.
13492 * htl/tests/test-6.c: Likewise.
13493 * htl/tests/test-7.c: Likewise.
13494 * htl/tests/test-8.c: Likewise.
13495 * htl/tests/test-9.c: Likewise.
13496 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13497 * sysdeps/htl/bits/cancelation.h: Likewise.
13498 * sysdeps/htl/bits/pthread-np.h: Likewise.
13499 * sysdeps/htl/bits/pthread.h: Likewise.
13500 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13501 * sysdeps/htl/bits/semaphore.h: Likewise.
13502 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13503 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13504 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13505 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13506 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13507 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13508 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13509 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13510 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13511 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13512 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13513 * sysdeps/htl/old_pt-atfork.c: Likewise.
13514 * sysdeps/htl/pt-atfork.c: Likewise.
13515 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13516 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13517 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13518 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13519 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13520 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13521 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13522 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13523 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13524 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13525 * sysdeps/htl/pt-attr-init.c: Likewise.
13526 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13527 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13528 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13529 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13530 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13531 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13532 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13533 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13534 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13535 * sysdeps/htl/pt-attr.c: Likewise.
13536 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13537 * sysdeps/htl/pt-barrier-init.c: Likewise.
13538 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13539 * sysdeps/htl/pt-barrier.c: Likewise.
13540 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13541 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13542 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13543 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13544 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13545 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13546 * sysdeps/htl/pt-cond-init.c: Likewise.
13547 * sysdeps/htl/pt-cond-signal.c: Likewise.
13548 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13549 * sysdeps/htl/pt-cond-wait.c: Likewise.
13550 * sysdeps/htl/pt-cond.c: Likewise.
13551 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13552 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13553 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13554 * sysdeps/htl/pt-condattr-init.c: Likewise.
13555 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13556 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13557 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13558 * sysdeps/htl/pt-equal.c: Likewise.
13559 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13560 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13561 * sysdeps/htl/pt-getschedparam.c: Likewise.
13562 * sysdeps/htl/pt-getspecific.c: Likewise.
13563 * sysdeps/htl/pt-init-specific.c: Likewise.
13564 * sysdeps/htl/pt-key-create.c: Likewise.
13565 * sysdeps/htl/pt-key-delete.c: Likewise.
13566 * sysdeps/htl/pt-key.h: Likewise.
13567 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13568 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13569 * sysdeps/htl/pt-mutex-init.c: Likewise.
13570 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13571 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13572 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13573 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13574 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13575 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13576 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13577 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13578 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13579 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13580 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13581 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13582 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13583 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13584 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13585 * sysdeps/htl/pt-mutexattr.c: Likewise.
13586 * sysdeps/htl/pt-once.c: Likewise.
13587 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13588 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13589 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13590 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13591 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13592 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13593 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13594 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13595 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13596 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13597 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13598 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13599 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13600 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13601 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13602 * sysdeps/htl/pt-setschedparam.c: Likewise.
13603 * sysdeps/htl/pt-setschedprio.c: Likewise.
13604 * sysdeps/htl/pt-setspecific.c: Likewise.
13605 * sysdeps/htl/pt-spin.c: Likewise.
13606 * sysdeps/htl/pt-startup.c: Likewise.
13607 * sysdeps/htl/pthread.h: Likewise.
13608 * sysdeps/htl/sem-close.c: Likewise.
13609 * sysdeps/htl/sem-destroy.c: Likewise.
13610 * sysdeps/htl/sem-getvalue.c: Likewise.
13611 * sysdeps/htl/sem-init.c: Likewise.
13612 * sysdeps/htl/sem-open.c: Likewise.
13613 * sysdeps/htl/sem-post.c: Likewise.
13614 * sysdeps/htl/sem-timedwait.c: Likewise.
13615 * sysdeps/htl/sem-trywait.c: Likewise.
13616 * sysdeps/htl/sem-unlink.c: Likewise.
13617 * sysdeps/htl/sem-wait.c: Likewise.
13618 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13619 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13620 * sysdeps/mach/htl/pt-block.c: Likewise.
13621 * sysdeps/mach/htl/pt-spin.c: Likewise.
13622 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13623 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13624 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13625 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13626 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13627 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13628 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13629 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13630 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13631 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13632 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13633 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13634 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13635 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13636 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13637 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13638 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13639 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13640 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13641 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13642 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13643 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13644 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13645 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13646 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13647 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13648 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13649 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13650 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13651 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13652 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13653 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13654 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13655 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13656 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13657 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13658 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13659 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13660 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13661 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13662 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13663 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13664 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13666 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13667 * README: Remove the mention of out-of-tree patches needed for
13670 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13671 (UTIME_NOW, UTIME_OMIT): Define macros.
13673 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13674 instead of pthread_detach.
13675 (__cthread_fork): Call __pthread_create instead of pthread_create.
13676 (__cthread_keycreate): Call __pthread_key_create instead of
13677 pthread_key_create.
13678 (__cthread_getspecific): Call __pthread_getspecific instead of
13679 pthread_getspecific.
13680 (__cthread_setspecific): Call __pthread_setspecific instead of
13681 pthread_setspecific.
13682 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13683 __pthread_mutex_unlock instead of pthread_mutex_lock and
13684 pthread_mutex_unlock.
13685 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13686 ___pthread_get_cleanup_stack.
13687 (__pthread_get_cleanup_stack): New strong alias.
13688 * htl/pt-create.c: Include <pthreadP.h>.
13689 (entry_point): Call __pthread_exit instead of pthread_exit.
13690 (pthread_create): Rename to __pthread_create.
13691 (pthread_create): New strong alias.
13692 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13693 (pthread_detach): New strong alias.
13694 (__pthread_detach): Call __pthread_cond_broadcast instead of
13695 pthread_cond_broadcast.
13696 * htl/pt-exit.c: Include <pthreadP.h>.
13697 (__pthread_exit): Call __pthread_setcancelstate and
13698 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13699 __pthread_get_cleanup_stack.
13700 * htl/pt-testcancel.c: Include <pthreadP.h>.
13701 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13702 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13703 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13704 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13705 pthread_attr_getstacksize.
13706 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13707 Rename to __pthread_attr_getstackaddr.
13708 (pthread_attr_getstackaddr): New strong alias.
13709 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13710 Rename to __pthread_attr_getstacksize.
13711 (pthread_attr_getstacksize): New strong alias.
13712 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13713 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13714 (pthread_attr_setstack): New strong alias.
13715 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13716 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13717 pthread_attr_getstacksize, pthread_attr_setstacksize and
13718 pthread_attr_setstackaddr.
13719 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13720 Rename to __pthread_attr_setstackaddr.
13721 (pthread_attr_setstackaddr): New strong alias.
13722 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13723 Rename to __pthread_attr_setstacksize.
13724 (pthread_attr_setstacksize): New strong alias.
13725 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13726 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13728 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13729 (__pthread_key_create): New hidden def.
13730 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13731 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13732 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13733 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13734 __pthread_setspecific, __pthread_setcancelstate,
13735 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13736 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13737 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13739 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13740 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13741 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13742 (pthread_attr_setstackaddr): New strong alias.
13743 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13744 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13745 (pthread_attr_setstacksize): New strong alias.
13746 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13747 (call_exit): Call __pthread_exit instead of pthread_exit.
13748 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13749 (_pthread_mutex_init): New hidden definition.
13750 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13751 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13752 instead of pthread_attr_init and pthread_attr_setstack.
13754 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13755 __vm_deallocate instead of vm_allocate and vm_deallocate.
13756 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13758 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13760 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13762 * hurd/siginfo.c: Include <libioP.h>.
13763 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13764 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13766 * mach/devstream.c: Include <libioP.h>.
13767 (dealloc_ref): Call __mach_port_deallocate instead of
13768 mach_port_deallocate.
13769 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13770 Call __mach_port_deallocate instead of mach_port_deallocate.
13771 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13773 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13775 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13776 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13777 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13779 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13781 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13782 instead of sysconf.
13783 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13784 __clock_gettime instead of clock_gettime.
13785 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13786 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13787 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13788 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13789 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13791 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13792 __clock_gettime and __nanosleep instead of clock_gettime and
13794 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13795 __hurd_catch_signal.
13796 (hurd_catch_signal): New strong alias.
13797 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13798 __hurd_catch_signal instead of hurd_catch_signal.
13799 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13800 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13801 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13802 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13803 (_hurd_thread_sigstate): Add hidden def.
13804 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13806 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13807 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13808 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13809 __hurd_file_name_path_lookup.
13810 (hurd_file_name_path_lookup): New strong alias.
13811 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13812 hurd_file_name_path_lookup.
13813 * mach/errstring.c (mach_error_type): Add hidden def.
13814 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13815 * mach/mutex-init.c (__mutex_init): Add hidden def.
13816 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13817 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13818 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13819 * sysdeps/mach/hurd/getcwd.c
13820 (_hurd_canonicalize_directory_name_internal): Rename to
13821 __hurd_canonicalize_directory_name_internal.
13822 (_hurd_canonicalize_directory_name_internal): New strong alias.
13823 (__canonicalize_directory_name_internal, __getcwd): Call
13824 __hurd_canonicalize_directory_name_internal instead of
13825 _hurd_canonicalize_directory_name_internal.
13826 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13827 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13829 * sysdeps/hurd/include/hurd.h: New file.
13830 * sysdeps/hurd/include/hurd/fd.h: New file.
13831 * sysdeps/hurd/include/hurd/signal.h: New file.
13832 * sysdeps/mach/include/lock-intern.h: New file.
13833 * sysdeps/mach/include/mach.h: New file.
13834 * sysdeps/mach/include/mach/mig_support.h: New file.
13835 * sysdeps/mach/include/mach_error.h: New file.
13836 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13838 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13839 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13840 _HEADER_H_HIDDEN_DEF macro.
13841 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13842 _hurd_fd_error_signal): Add hidden prototype.
13843 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13845 * libio/iolibio.h (_IO_puts): New hidden prototype.
13846 * libio/ioputs.c (_IO_puts): New hidden def.
13847 * sysdeps/mach/hurd/localplt.data: New file.
13849 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13850 Amos Jeffries <squid3@treenet.co.nz>
13851 David Michael <fedora.dm0@gmail.com>
13852 Marco Gerards <marco@gnu.org>
13853 Marcus Brinkmann <marcus@gnu.org>
13854 Neal H. Walfield <neal@gnu.org>
13855 Pino Toscano <toscano.pino@tiscali.it>
13856 Richard Braun <rbraun@sceen.net>
13857 Roland McGrath <roland@gnu.org>
13858 Samuel Thibault <samuel.thibault@ens-lyon.org>
13859 Thomas DiModica <ricinwich@yahoo.com>
13860 Thomas Schwinge <tschwinge@gnu.org>
13862 * htl: New directory.
13863 * sysdeps/htl: New directory.
13864 * sysdeps/hurd/htl: New directory.
13865 * sysdeps/i386/htl: New directory.
13866 * sysdeps/mach/htl: New directory.
13867 * sysdeps/mach/hurd/htl: New directory.
13868 * sysdeps/mach/hurd/i386/htl: New directory.
13869 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13870 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13871 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13873 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13875 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13876 signals in thread created for runing timers.
13878 2018-04-01 Florian Weimer <fweimer@redhat.com>
13880 * support/support_format_addrinfo.c (support_format_addrinfo):
13881 Include unknown error number in formatted result.
13883 2018-03-29 Florian Weimer <fweimer@redhat.com>
13885 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13888 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13890 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13891 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13892 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13893 (__ASSUME_CLONE_BACKWARDS): Define.
13895 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13898 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13899 early when linux sentinel value is set.
13901 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13903 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13905 2018-03-27 Andreas Schwab <schwab@suse.de>
13908 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13909 allocation of private copy of nsaddr_list fails.
13911 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13914 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13915 * sysdeps/unix/sysv/linux/umount.c: ... here.
13916 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13917 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13918 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13919 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13921 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13922 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13924 2018-03-26 Andreas Schwab <schwab@suse.de>
13926 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13927 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13928 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13929 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13930 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13931 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13932 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13933 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13934 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13935 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13936 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13937 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13938 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13939 (R_RISCV_NUM): Define.
13941 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13943 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13944 TLS declaration of errno.
13945 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13947 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13948 (ARCH_SETUP_TLS): Likewise.
13949 * sysdeps/mach/hurd/libc-start.h: New file copied from
13950 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13951 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13952 instead of __libc_setup_tls.
13953 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13954 __libc_setup_tls before initializing libpthread and running _hurd_init
13955 which starts the signal thread.
13956 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13958 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13960 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13963 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13964 after it is defined.
13966 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13967 Max Horn <max@quendi.de>
13971 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13973 * string/test-memmove.c (do_test2): New testcase.
13975 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13977 * sysdeps/generic/frame.h: Remove file.
13978 * sysdeps/arm/frame.h: Likewise.
13979 * sysdeps/hppa/frame.h: Likewise.
13980 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13982 (GET_FRAME): Likewise.
13983 (GET_STACK): Likewise.
13984 (CALL_SIGHANDLER): Likewise.
13985 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13987 (GET_FRAME): Likewise.
13988 (GET_STACK): Likewise.
13989 (CALL_SIGHANDLER): Likewise.
13990 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13991 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13992 (GET_FRAME): Likewise.
13993 (GET_STACK): Likewise.
13994 (CALL_SIGHANDLER): Likewise.
13995 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13996 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13997 (GET_FRAME): Likewise.
13998 (GET_STACK): Likewise.
13999 (ADVANCE_STACK_FRAME): Likewise.
14000 (CALL_SIGHANDLER): Likewise.
14001 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14002 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14003 (GET_FRAME): Likewise.
14004 (GET_STACK): Likewise.
14005 (CALL_SIGHANDLER): Likewise.
14006 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14007 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14008 (GET_FRAME): Likewise.
14009 (GET_STACK): Likewise.
14010 (CALL_SIGHANDLER): Likewise.
14011 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14012 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14013 (GET_FRAME): Likewise.
14014 (GET_STACK): Likewise.
14015 (CALL_SIGHANDLER): Likewise.
14016 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14017 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14018 (GET_FRAME): Likewise.
14019 (GET_STACK): Likewise.
14020 (CALL_SIGHANDLER): Likewise.
14021 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14022 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14023 (GET_FRAME): Likewise.
14024 (GET_STACK): Likewise.
14025 (CALL_SIGHANDLER): Likewise.
14026 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14027 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14028 (GET_FRAME): Likewise.
14029 (GET_STACK): Likewise.
14030 (CALL_SIGHANDLER): Likewise.
14031 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14032 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14033 (GET_FRAME): Likewise.
14034 (GET_STACK): Likewise.
14035 (CALL_SIGHANDLER): Likewise.
14036 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14037 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14038 (GET_FRAME): Likewise.
14039 (GET_STACK): Likewise.
14040 (CALL_SIGHANDLER): Likewise.
14041 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14042 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14043 (GET_FRAME): Likewise.
14044 (GET_STACK): Likewise.
14045 (CALL_SIGHANDLER): Likewise.
14046 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14047 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14048 (FIRST_FRAME_POINTER): Likewise.
14049 (ADVANCE_STACK_FRAME): Likewise.
14050 (GET_STACK): Likewise.
14051 (GET_FRAME): Likewise.
14052 (CALL_SIGHANDLER): Likewise.
14053 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14054 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14055 (ADVANCE_STACK_FRAME): Likewise.
14056 (GET_STACK): Likewise.
14057 (GET_FRAME): Likewise.
14058 (CALL_SIGHANDLER): Likewise.
14059 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14060 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14061 (GET_FRAME): Likewise.
14062 (GET_STACK): Likewise.
14063 (CALL_SIGHANDLER): Likewise.
14064 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14065 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14066 (GET_FRAME): Likewise.
14067 (GET_STACK): Likewise.
14068 (CALL_SIGHANDLER): Likewise.
14070 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14072 * sysdeps/x86_64/backtrace.c: Move to ....
14073 * debug/backtrace.c: ... here.
14074 * sysdeps/aarch64/backtrace.c: Remove file.
14075 * sysdeps/alpha/backtrace.c: Likewise.
14076 * sysdeps/hppa/backtrace.c: Likewise.
14077 * sysdeps/ia64/backtrace.c: Likewise.
14078 * sysdeps/mips/backtrace.c: Likewise.
14079 * sysdeps/nios2/backtrace.c: Likewise.
14080 * sysdeps/riscv/backtrace.c: Likewise.
14081 * sysdeps/sh/backtrace.c: Likewise.
14082 * sysdeps/tile/backtrace.c: Likewise.
14084 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14087 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14090 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14093 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14094 possibly overflowing computations.
14096 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14098 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14099 values from Linux-specific section now that it is in the GNU section.
14100 * sysdeps/gnu/errlist.c: Regenerate.
14102 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14104 * math/Makefile (libm-narrow-fns): Add sub.
14105 (libm-test-funcs-narrow): Likewise.
14106 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14107 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14108 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14109 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14110 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14111 (NARROW_SUB_TRIVIAL): Likewise.
14112 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14114 (__dsubl): Likewise.
14115 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14117 (CFLAGS-nldbl-dsub.c): New variable.
14118 (CFLAGS-nldbl-fsub.c): Likewise.
14119 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14121 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14123 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14124 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14125 * math/auto-libm-test-in: Add tests of sub.
14126 * math/auto-libm-test-out-narrow-sub: New generated file.
14127 * math/libm-test-narrow-sub.inc: New file.
14128 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14129 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14130 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14131 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14132 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14133 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14134 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14135 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14136 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14137 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14138 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14139 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14140 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14141 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14142 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14143 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14144 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14145 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14147 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14148 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14149 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14150 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14151 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14152 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14153 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14154 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14155 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14156 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14157 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14158 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14159 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14164 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14165 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14166 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14167 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14168 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14169 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14170 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14171 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14172 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14173 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14175 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14178 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14180 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14182 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14184 2018-03-18 Richard Braun <rbraun@sceen.net>
14186 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14189 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14191 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14192 (__libc_cleanup_fct): Define function.
14193 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14194 __libc_cleanup_end): Rewrite implementation using
14195 __attribute__ ((__cleanup__)).
14196 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14197 * hurd/Makefile (routines): Add hurdlock.
14198 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14200 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14201 * hurd/hurdpid.c: Include <lowlevellock.h>
14202 (_S_msg_proc_newids): Use lll_wait to synchronize.
14203 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14204 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14205 * mach/Makefile (lock-headers): Remove machine-lock.h.
14206 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14208 (__spin_lock_t): New type.
14209 (__SPIN_LOCK_INITIALIZER): New macro.
14210 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14211 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14212 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14213 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14214 (__mutex_init): Initialize with lll.
14215 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14216 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14218 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14219 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14220 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14221 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14222 (__setpgid): Use lll for synchronization.
14223 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14224 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14225 instead of <cthreads.h>.
14226 (_IO_lock_inexpensive): New macro
14227 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14228 (__libc_lock_self0): New declaration.
14229 (__libc_lock_owner_self): New macro.
14230 (__libc_key_t): Remove type.
14231 (_LIBC_LOCK_INITIALIZER): New macro.
14232 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14233 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14234 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14235 __libc_lock_define_initialized_recursive,
14236 __rtld_lock_define_initialized_recursive,
14237 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14238 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14239 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14240 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14241 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14242 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14243 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14245 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14246 * hurd/hurdlock.c: New file.
14247 * hurd/hurdlock.h: New file.
14248 * mach/lowlevellock.h: New file
14250 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14252 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14253 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14254 when opening a symlink with O_NOFOLLOW.
14255 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14256 path when flags contains O_NOFOLLOW.
14257 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14258 if flags contains O_DIRECTORY and the result is a directory.
14259 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14260 oneself when the pointer given in D is nul (as set by ext2fs).
14261 * sysdeps/mach/hurd/mlockall.c: New file.
14262 * sysdeps/mach/hurd/munlockall.c: New file.
14264 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14266 * hurd/hurdsig.c: Include <pthread.h>.
14267 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14268 get the signal thread stack layout.
14269 * hurd/Makefile (headers): Remove threadvar.h.
14270 (inline-headers): Remove threadvar.h.
14271 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14272 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14273 __hurd_threadvar_max, __hurd_errno_location.
14274 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14275 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14276 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14277 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14278 unless TLS is not initialized yet, in which case we do not need a
14279 critical section yet anyway.
14280 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14282 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14284 (__hurd_threadvar_index): Remove enum.
14285 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14286 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14288 (__hurd_reply_port0): New variable declaration.
14289 (__hurd_local_reply_port): New macro.
14290 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14291 (interrupted_reply_port_location): Add thread_t parameter. Use it
14292 with THREAD_TCB to access thread-local variables.
14293 (_hurdsig_abort_rpcs): Pass ss->thread to
14294 interrupted_reply_port_location.
14295 (_hurd_internal_post_signal): Likewise.
14296 (_hurdsig_init): Use presence of cthread_fork instead of
14297 __hurd_threadvar_stack_mask to start signal thread by hand.
14298 Remove signal thread threadvar initialization.
14299 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14300 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14301 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14303 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14305 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14306 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14307 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14308 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14309 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14310 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14311 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14313 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14314 <hurd/threadvar.h>.
14315 [IS_IN(rtld)] (rtld_errno): New variable.
14316 [IS_IN(rtld)] (__errno_location): New weak function.
14317 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14318 * sysdeps/mach/hurd/errno.c: Remove file.
14319 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14320 (__fork): Remove THREADVAR_SPACE macro and its use.
14321 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14323 (init): Do not initialize threadvar.
14324 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14326 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14327 __hurd_local_reply_port instead of threadvar.
14328 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14329 _hurd_sigstate fields.
14330 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14331 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14332 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14333 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14334 instead of threadvar.
14335 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14336 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14337 (use_threadvar, global_reply_port): Remove variables.
14338 (__hurd_reply_port0): New variable.
14339 (__mig_get_reply_port): Use __hurd_local_reply_port and
14340 __hurd_reply_port0 instead of threadvar.
14341 (__mig_dealloc_reply_port): Likewise.
14342 (__mig_init): Do not initialize threadvar.
14343 * sysdeps/mach/hurd/profil.c: Fix comment.
14344 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14345 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14346 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14347 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14348 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14349 __cthread_setspecific.
14350 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14351 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14352 __cthread_t instead of cthread_fork, cthread_detach,
14353 pthread_getattr_np, pthread_attr_getstack.
14354 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14355 __cthread_keycreate.
14356 (cthread_getspecific): Rename to __cthread_getspecific.
14357 (cthread_setspecific): Rename to __cthread_setspecific.
14358 (__libc_getspecific): Use __cthread_getspecific instead of
14359 cthread_getspecific.
14360 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14361 __cthread_keycreate instead of cthread_keycreate.
14362 (__libc_setspecific): Use __cthread_setspecific instead of
14363 cthread_setspecific.
14364 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14366 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14367 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14368 testing whether it is defined.
14370 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14372 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14374 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14375 * sysdeps/mach/i386/thread_state.h
14376 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14378 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14380 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14382 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14383 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14385 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14387 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14388 descriptor instead of creating a new one.
14389 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14391 * mach/setup-thread.c: Include <ldsodefs.h>.
14392 (__mach_setup_thread): Call _dl_allocate_tls, pass
14393 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14394 MACHINE_THREAD_STATE_FLAVOR, before getting
14395 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14396 MACHINE_THREAD_STATE_FLAVOR with the result.
14397 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14398 MACHINE_THREAD_STATE_FIX_NEW.
14399 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14400 too. Add original thread parameter.
14402 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14404 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14405 Remove inline function.
14407 * sysdeps/i386/fpu/libm-test-ulps: Update.
14408 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14410 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14412 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14415 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14417 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14418 (__sincos_code): Remove define and undefine.
14419 [__FAST_MATH__] (__sincos): Remove inline function.
14420 [__FAST_MATH__] (__sincosf): Remove inline function.
14421 [__FAST_MATH__] (__sincosl): Remove inline function.
14422 (__atan2l): Remove inline functions.
14423 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14424 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14426 (floor): Remove inline function.
14428 [__FAST_MATH__] (__ldexp_code): Remove macro.
14429 [__FAST_MATH__] (ldexp): Remove inline function.
14430 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14431 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14432 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14433 [__USE_ISOC99] (__lrint_code): Remove macro.
14434 [__USE_ISOC99] (__llrint_code): Likewise.
14435 [__USE_ISOC99] (lrintf): Remove inline function.
14436 [__USE_ISOC99] (lrint): Likewise.
14437 [__USE_ISOC99] (lrintl): Likewise.
14438 [__USE_ISOC99] (llrint): Likewise.
14439 [__USE_ISOC99] (llrintf): Likewise.
14440 [__USE_ISOC99] (llrintl): Likewise.
14442 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14444 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14445 (__ieee754_sqrtf): Remove.
14446 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14447 (__ieee754_sqrtf): Remove.
14448 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14449 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14450 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14451 (__ieee754_sqrtf): Remove.
14452 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14453 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14456 (__ieee754_sqrt): Remove.
14457 (__ieee754_sqrtf): Remove.
14458 (__ieee754_sqrtl): Remove.
14459 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14460 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14461 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14462 (__ieee754_sqrtf): Remove.
14463 (__ieee754_sqrtl): Remove.
14465 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14467 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14468 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14469 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14470 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14471 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14472 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14473 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14474 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14476 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14477 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14478 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14479 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14480 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14481 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14482 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14483 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14484 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14485 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14486 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14487 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14488 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14489 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14490 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14491 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14492 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14493 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14494 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14495 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14496 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14497 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14498 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14499 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14500 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14501 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14502 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14503 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14504 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14505 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14506 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14507 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14508 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14509 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14510 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14511 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14512 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14513 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14514 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14515 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14517 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14519 * include/math.h (sqrt): Declare with asm redirect.
14522 (sqrtf128): Likewise.
14523 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14524 nonlib and libnldbl with -fmath-errno.
14525 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14526 * math/w_sqrt_template.c: Likewise.
14527 * math/w_sqrtf_compat.c: Likewise.
14528 * math/w_sqrtl_compat.c: Likewise.
14529 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14530 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14531 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14534 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14536 * benchtests/Makefile: Define _ISOMAC.
14537 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14538 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14539 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14540 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14541 * benchtests/bench-timing.h: Define attribute_hidden.
14543 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14545 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14548 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14551 * localedata/locales/cs_CZ (mon): Rename to...
14553 (mon): Import from CLDR (genitive case).
14555 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14558 * localedata/locales/el_CY (abmon): Rename to...
14559 (ab_alt_mon): This.
14560 (abmon): Import from CLDR (abbreviated genitive case).
14561 * localedata/locales/el_GR (abmon): Rename to...
14562 (ab_alt_mon): This.
14563 (abmon): Import from CLDR (abbreviated genitive case).
14565 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14568 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14570 2018-03-15 Robert Buj <robert.buj@gmail.com>
14573 * localedata/locales/ca_ES (abmon): Rename to...
14574 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14575 (mon): Rename to...
14577 (abmon): Import from CLDR (genitive case, month names preceded by
14580 (abday): Synchronize with CLDR.
14581 (d_t_fmt): Likewise.
14585 (LC_TIME): Improve indentation.
14586 (LC_TELEPHONE): Likewise.
14587 (LC_NAME): Likewise.
14588 (LC_ADDRESS): Likewise.
14590 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14592 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14593 (lrintf): Remove definitions used only with old GCC.
14594 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14595 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14596 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14597 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14598 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14599 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14600 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14601 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14602 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14603 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14604 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14605 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14606 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14607 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14608 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14609 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14610 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14611 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14612 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14613 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14614 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14615 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14616 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14617 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14618 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14619 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14620 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14621 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14623 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14625 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14626 instruction to unbreak builds with binutils 2.26 and older.
14628 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14630 * sysdeps/aarch64/strncmp.S (count): New macro.
14631 (strncmp): Store misaligned length in SRC1 in COUNT.
14632 (mutual_align): Adjust.
14633 (misaligned8): Load dword at a time when it is safe.
14635 2018-03-12 Zack Weinberg <zackw@panix.com>
14639 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14640 if the _IO_EOF_SEEN bit is already set; update commentary.
14641 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14642 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14644 * support/support_openpty.c, support/tty.h: New files.
14645 * support/Makefile (libsupport-routines): Add support_openpty.
14647 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14649 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14650 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14652 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14654 * po/pt_BR.po: Update translations.
14656 2018-03-12 David Michael <fedora.dm0@gmail.com>
14658 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14659 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14660 get a port to the startup server.
14662 2018-03-11 Zack Weinberg <zackw@panix.com>
14664 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14665 before nldbl-compat.h.
14667 2018-03-10 Zack Weinberg <zackw@panix.com>
14669 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14670 math.h or math_private.h.
14672 * sysdeps/alpha/fpu/s_isnan.c
14673 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14674 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14675 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14676 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14677 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14678 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14679 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14680 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14681 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14684 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14685 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14686 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14687 Include math_private.h.
14689 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14690 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14691 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14692 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14693 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14694 * sysdeps/powerpc/power7/fpu/s_logb.c:
14695 Include math.h and math_private.h.
14697 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14698 uses of $at in .set noat / .set at.
14700 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14702 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14703 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14704 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14705 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14708 2018-03-09 Florian Weimer <fweimer@redhat.com>
14710 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14713 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14716 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14717 Add nop before __startcontext, add explaining comments.
14719 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14722 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14724 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14725 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14726 Do not build hardware transactional code for __SPE__.
14727 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14728 (__lll_trylock_elision): Likewise.
14729 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14730 (__lll_unlock_elision): Likewise.
14732 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14733 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14734 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14735 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14736 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14737 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14738 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14739 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14740 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14741 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14742 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14743 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14744 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14745 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14746 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14747 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14748 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14749 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14750 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14751 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14752 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14753 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14754 (__ASSUME_CLONE_BACKWARDS): Define.
14755 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14756 __clone2 if __NR_clone2 is defined.
14757 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14758 (__ASSUME_CLONE_BACKWARDS): Likewise.
14759 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14760 (__ASSUME_CLONE_BACKWARDS): Likewise.
14761 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14762 (__ASSUME_CLONE2): Likewise.
14763 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14764 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14765 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14766 variants and the define architecture can use.
14767 (__ASSUME_CLONE_DEFAULT): Define as default.
14768 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14769 (__ASSUME_CLONE_BACKWARDS): Likewise.
14770 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14771 (__ASSUME_CLONE_BACKWARDS): Likewise.
14772 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14773 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14775 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14777 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14779 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14782 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14783 (do_test_limit): Likewise.
14785 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14786 for every implementation.
14787 (do_test): Likewise.
14789 * benchtests/bench-strncmp.c: Convert output to json.
14791 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14793 * io/futimens.c: Add missing start-of-file descriptive comment.
14794 * io/utime.c: Likewise.
14795 * misc/futimesat.c: Likewise.
14796 * misc/utimes.c: Likewise.
14797 * sysdeps/mach/hurd/futimesat.c: Likewise.
14798 * sysdeps/mach/hurd/utimes.c: Likewise.
14799 * sysdeps/posix/utime.c: Likewise.
14800 * sysdeps/posix/utimes.c: Likewise.
14801 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14802 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14803 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14804 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14806 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14808 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14810 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14811 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14812 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14813 (__futimens): Move implementation to...
14814 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14815 utime_tvalue_from_tspec): ... new helper functions.
14816 (hurd_futimens): New function.
14817 * sysdeps/mach/hurd/futimesat.c: New file.
14818 * sysdeps/mach/hurd/utimensat.c: New file.
14820 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14822 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14823 UTIME_OMIT): New macros.
14824 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14825 before reverting to converting time spec to time value and calling
14827 * sysdeps/mach/hurd/utime-helper.c: New file.
14828 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14829 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14830 reverting to utime_tvalue_from_tval and __file_utimes.
14831 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14832 (__lutimes): Just call hurd_futimens after lookup.
14833 * sysdeps/mach/hurd/utimes.c: Likewise.
14835 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14837 * bits/sigaction.h: Add include guard.
14838 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14839 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14840 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14841 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14842 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14843 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14844 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14845 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14846 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14848 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14850 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14851 -Wmaybe-uninitialized for -Os.
14852 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14855 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14857 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14858 __INO_T_MATCHES_INO64_T is defined.
14859 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14860 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14862 * dirent/alphasort64.c: Likewise.
14863 * dirent/scandir.c: Likewise.
14864 * dirent/scandir64-tail.c: Likewise.
14865 * dirent/scandir64.c: Likewise.
14866 * dirent/scandirat.c: Likewise.
14867 * dirent/scandirat64.c: Likewise.
14868 * dirent/versionsort.c: Likewise.
14869 * dirent/versionsort64.c: Likewise.
14870 * include/dirent.h: Likewise.
14872 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14873 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14874 for socketpair endpoint.
14875 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14876 WRITE_BUFFER_SIZE as buffer size for sending socket.
14877 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14878 issue on system where send is implemented with sendto syscall.
14879 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14880 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14881 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14882 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14885 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14886 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14887 sa_restorer for vDSO case.
14888 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14890 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14892 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14893 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14894 * hurd/hurd/ioctl.h: Include <mach/port.h>
14895 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14896 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14897 <mach/mach_types.h> and <mach/message.h>.
14898 (headers): Move mach/param.h to bits/mach/param.h.
14899 * sysdeps/mach/i386/mach/param.h: Move file to ...
14900 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14901 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14903 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14904 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14905 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14906 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14907 trivial, for C++ conformity.
14908 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14909 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14910 Process mig output through $(migheadersed).
14911 * hurd/Makefile (migheadersed): Define variable.
14912 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14913 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14915 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14916 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14917 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14918 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14919 <bits/types/sigset_t.h>.
14920 [!defined __USE_GNU]: Do not #error out.
14921 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14922 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14923 Include <stddef.h> and <bits/types/sigset_t.h>
14924 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14925 instead of sighandler_t.
14926 * stdlib/errno.h (error_t): Move definition to...
14927 * bits/types/error_t.h: ... new header.
14928 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14929 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14930 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14931 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14932 * hurd/hurd.h: Include <bits/types/error_t.h>
14933 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14934 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14935 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14936 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14937 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14938 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14939 * sysdeps/mach/hurd/futimens.c: New file.
14941 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14944 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14945 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14946 * nscd/gai.c (__nss_hosts_database): Readd definition.
14947 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14948 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14949 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14951 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14953 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14954 (ifunc_one): Likewise.
14956 2018-03-01 DJ Delorie <dj@delorie.com>
14959 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14962 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14964 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14965 `match_pid' parameter.
14966 (td_ta_thr_iter): Update accordingly.
14968 2018-03-01 Florian Weimer <fweimer@redhat.com>
14970 * nptl/Makefile (install-lib-ldscripts): Remove.
14971 (install): Remove rule.
14972 ($(inst_libdir)/libpthread.so): Likewise.
14974 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14977 * localedata/locales/an_ES: update month and day names,
14978 improve d_fmt, improve postal_fmt, add country_post,
14981 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14983 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14984 Ukrainian instead of Bulgarian.
14986 2018-03-01 Florian Weimer <fweimer@redhat.com>
14988 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14991 2018-03-01 Florian Weimer <fweimer@redhat.com>
14993 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14994 * nptl/Makefile (routines): Add pthread_atfork.
14995 (static-only-routines): Set to pthread_atfork.
14996 (libpthread-routines): Remove pthread_atfork.
14997 (libpthread-static-only-routines): Remove.
14998 (install): Update comment.
14999 (libpthread.so): Do not install libpthread_nonshared.a.
15000 (tests): Do not link with libpthread_nonshared.a.
15001 (generated): Remove libpthread_nonshared.a.
15002 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15003 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15004 with libpthread_nonshared.a.
15006 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15009 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15010 (libc_feholdexcept_setroundf128): New macro.
15011 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15014 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15016 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15017 * include/inttypes.h: New file.
15019 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15021 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15022 -Os in two more places.
15024 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15026 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15027 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15028 be sorted correctly at the moment because of a bug.
15030 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15032 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15033 treat ñ as a primary different character, sync the collation
15034 for Spanish with CLDR.
15035 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15036 * localedata/Makefile: Add new test files.
15037 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15038 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15040 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15041 * localedata/am_ET.UTF-8.in: New test file.
15042 * localedata/az_AZ.UTF-8.in: Likewise.
15043 * localedata/be_BY.UTF-8.in: Likewise.
15044 * localedata/ber_DZ.UTF-8.in: Likewise.
15045 * localedata/ber_MA.UTF-8.in: Likewise.
15046 * localedata/bg_BG.UTF-8.in: Likewise.
15047 * localedata/br_FR.UTF-8.in: Likewise.
15048 * localedata/cmn_TW.UTF-8.in: Likewise.
15049 * localedata/crh_UA.UTF-8.in: Likewise.
15050 * localedata/csb_PL.UTF-8.in: Likewise.
15051 * localedata/cv_RU.UTF-8.in: Likewise.
15052 * localedata/cy_GB.UTF-8.in: Likewise.
15053 * localedata/dz_BT.UTF-8.in: Likewise.
15054 * localedata/eo.UTF-8.in: Likewise.
15055 * localedata/es_ES.UTF-8.in: Likewise.
15056 * localedata/fa_IR.UTF-8.in: Likewise.
15057 * localedata/fi_FI.UTF-8.in: Likewise.
15058 * localedata/fil_PH.UTF-8.in: Likewise.
15059 * localedata/fur_IT.UTF-8.in: Likewise.
15060 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15061 * localedata/ha_NG.UTF-8.in: Likewise.
15062 * localedata/ig_NG.UTF-8.in: Likewise.
15063 * localedata/ik_CA.UTF-8.in: Likewise.
15064 * localedata/kk_KZ.UTF-8.in: Likewise.
15065 * localedata/ku_TR.UTF-8.in: Likewise.
15066 * localedata/ky_KG.UTF-8.in: Likewise.
15067 * localedata/ln_CD.UTF-8.in: Likewise.
15068 * localedata/mi_NZ.UTF-8.in: Likewise.
15069 * localedata/ml_IN.UTF-8.in: Likewise.
15070 * localedata/mn_MN.UTF-8.in: Likewise.
15071 * localedata/mr_IN.UTF-8.in: Likewise.
15072 * localedata/mt_MT.UTF-8.in: Likewise.
15073 * localedata/nb_NO.UTF-8.in: Likewise.
15074 * localedata/om_KE.UTF-8.in: Likewise.
15075 * localedata/os_RU.UTF-8.in: Likewise.
15076 * localedata/ps_AF.UTF-8.in: Likewise.
15077 * localedata/ro_RO.UTF-8.in: Likewise.
15078 * localedata/ru_RU.UTF-8.in: Likewise.
15079 * localedata/sc_IT.UTF-8.in: Likewise.
15080 * localedata/se_NO.UTF-8.in: Likewise.
15081 * localedata/sq_AL.UTF-8.in: Likewise.
15082 * localedata/sv_SE.UTF-8.in: Likewise.
15083 * localedata/szl_PL.UTF-8.in: Likewise.
15084 * localedata/tg_TJ.UTF-8.in: Likewise.
15085 * localedata/tk_TM.UTF-8.in: Likewise.
15086 * localedata/tt_RU.UTF-8.in: Likewise.
15087 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15088 * localedata/ug_CN.UTF-8.in: Likewise.
15089 * localedata/uz_UZ.UTF-8.in: Likewise.
15090 * localedata/vi_VN.UTF-8.in: Likewise.
15091 * localedata/yi_US.UTF-8.in: Likewise.
15092 * localedata/yo_NG.UTF-8.in: Likewise.
15093 * localedata/zh_CN.UTF-8.in: Likewise.
15094 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15095 file and fix bugs in the collation.
15096 * localedata/locales/az_AZ: Likewise.
15097 * localedata/locales/be_BY: Likewise.
15098 * localedata/locales/ber_DZ: Likewise.
15099 * localedata/locales/ber_MA: Likewise.
15100 * localedata/locales/bg_BG: Likewise.
15101 * localedata/locales/br_FR: Likewise.
15102 * localedata/locales/br_FR@euro: Likewise.
15103 * localedata/locales/ca_ES: Likewise.
15104 * localedata/locales/cns11643_stroke: Likewise.
15105 * localedata/locales/crh_UA: Likewise.
15106 * localedata/locales/cs_CZ: Likewise.
15107 * localedata/locales/csb_PL: Likewise.
15108 * localedata/locales/cv_RU: Likewise.
15109 * localedata/locales/cy_GB: Likewise.
15110 * localedata/locales/da_DK: Likewise.
15111 * localedata/locales/dz_BT: Likewise.
15112 * localedata/locales/en_CA: Likewise.
15113 * localedata/locales/eo: Likewise.
15114 * localedata/locales/es_CU: Likewise.
15115 * localedata/locales/es_EC: Likewise.
15116 * localedata/locales/es_ES: Likewise.
15117 * localedata/locales/es_US: Likewise.
15118 * localedata/locales/et_EE: Likewise.
15119 * localedata/locales/fa_IR: Likewise.
15120 * localedata/locales/fi_FI: Likewise.
15121 * localedata/locales/fil_PH: Likewise.
15122 * localedata/locales/fur_IT: Likewise.
15123 * localedata/locales/gez_ER@abegede: Likewise.
15124 * localedata/locales/ha_NG: Likewise.
15125 * localedata/locales/hr_HR: Likewise.
15126 * localedata/locales/hsb_DE: Likewise.
15127 * localedata/locales/hu_HU: Likewise.
15128 * localedata/locales/ig_NG: Likewise.
15129 * localedata/locales/ik_CA: Likewise.
15130 * localedata/locales/is_IS: Likewise.
15131 * localedata/locales/iso14651_t1_pinyin: Likewise.
15132 * localedata/locales/kk_KZ: Likewise.
15133 * localedata/locales/ku_TR: Likewise.
15134 * localedata/locales/ky_KG: Likewise.
15135 * localedata/locales/ln_CD: Likewise.
15136 * localedata/locales/lt_LT: Likewise.
15137 * localedata/locales/lv_LV: Likewise.
15138 * localedata/locales/mi_NZ: Likewise.
15139 * localedata/locales/ml_IN: Likewise.
15140 * localedata/locales/mn_MN: Likewise.
15141 * localedata/locales/mr_IN: Likewise.
15142 * localedata/locales/mt_MT: Likewise.
15143 * localedata/locales/nb_NO: Likewise.
15144 * localedata/locales/om_KE: Likewise.
15145 * localedata/locales/os_RU: Likewise.
15146 * localedata/locales/pl_PL: Likewise.
15147 * localedata/locales/ps_AF: Likewise.
15148 * localedata/locales/ro_RO: Likewise.
15149 * localedata/locales/ru_RU: Likewise.
15150 * localedata/locales/ru_UA: Likewise.
15151 * localedata/locales/sc_IT: Likewise.
15152 * localedata/locales/se_NO: Likewise.
15153 * localedata/locales/si_LK: Likewise.
15154 * localedata/locales/sq_AL: Likewise.
15155 * localedata/locales/sv_FI: Likewise.
15156 * localedata/locales/sv_FI@euro: Likewise.
15157 * localedata/locales/sv_SE: Likewise.
15158 * localedata/locales/szl_PL: Likewise.
15159 * localedata/locales/tg_TJ: Likewise.
15160 * localedata/locales/ti_ER: Likewise.
15161 * localedata/locales/tk_TM: Likewise.
15162 * localedata/locales/tl_PH: Likewise.
15163 * localedata/locales/tr_TR: Likewise.
15164 * localedata/locales/tt_RU: Likewise.
15165 * localedata/locales/tt_RU@iqtelif: Likewise.
15166 * localedata/locales/ug_CN: Likewise.
15167 * localedata/locales/uk_UA: Likewise.
15168 * localedata/locales/uz_UZ: Likewise.
15169 * localedata/locales/uz_UZ@cyrillic: Likewise.
15170 * localedata/locales/vi_VN: Likewise.
15171 * localedata/locales/yi_US: Likewise.
15172 * localedata/locales/yo_NG: Likewise.
15174 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15176 * gen-locales.mk: Make test files which contain @ modifiers in their
15178 * localedata/gen-locale.sh: Likewise.
15180 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15182 * posix/tst-fnmatch.input: Fix results for range expressions
15184 * posix/tst-regexloc.c: Do not use a range expression for
15185 de_DE.ISO-8859-1 locale.
15187 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15189 * posix/bug-regex5.c: Fix test case because with the new
15190 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15191 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15194 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15196 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15197 downloaded from ISO, the collation order of @-. and space has changed.
15198 Therefore, this test file needed to be adapted.
15199 * localedata/fr_CA.UTF-8.in: Likewise.
15200 * localedata/fr_FR.UTF-8.in: Likewise.
15201 * localedata/uk_UA.UTF-8.in: Likewise.
15203 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15205 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15206 order of ȥ in the new iso14651_t1_common file.
15207 * localedata/pl_PL.UTF-8.in: Likewise.
15209 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15211 * localedata/locales/iso14651_t1_common: Add sections for various
15212 scripts to the iso14651_t1_common file.
15214 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15216 * localedata/locales/iso14651_t1_common: Use the code point of a
15217 character in the fourth collation level instead of IGNORE for all
15218 entries which have IGNORE on all 4 levels.
15220 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15222 * localedata/locales/iso14651_t1_common: Add some convenient collation
15223 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15224 rules similar to those in CLDR.
15226 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15228 * localedata/locales/iso14651_t1_common: The new version of this
15229 file downloaded from ISO contained several syntax errors which
15230 are fixed by this patch.
15232 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15234 * localedata/locales/iso14651_t1_common: replace all <U.....>
15235 with <U000.....> because glibc understands only 4 digit or 8 digit
15237 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15239 * localedata/locales/iso14651_t1_common: Necessary changes
15240 to make the file downloaded from ISO usable by glibc.
15242 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15245 * localedata/locales/iso14651_t1_common: Update file to
15246 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15248 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15250 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15251 of <nptl/pthreadP.h>
15252 (thread_attr_compare): Move function to...
15253 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15254 * sysdeps/nptl/timer_routines.h: ... new header.
15255 * sysdeps/mach/hurd/gai_misc.h: New file.
15257 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15259 * string/strcoll_l.c: Include <libc-diag.h>.
15260 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15261 declarations of seq1 and seq2.
15264 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15265 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15267 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15271 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15272 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15273 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15274 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15275 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15276 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15278 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15280 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15281 macros used in __ptrace_request.
15283 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15286 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15288 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15289 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15290 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15293 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15296 * ctype/ctype.c (tolower): Use libc_hidden_def.
15297 (toupper): Likewise.
15298 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15299 [!_ISOMAC] (toupper): Likewise.
15301 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15303 * localedata/Makefile: Remove --quiet argument when
15306 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15309 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15311 * localedata/locales/pt_PT (LC_TIME): likewise
15313 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15316 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15317 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15318 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15320 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15324 * nptl/Makefile (routines): Remove unregister-atfork.
15325 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15326 (fork_handler_alloc): Remove function.
15327 (fork_handlers, fork_handler_init): New variables.
15328 (__fork_lock): Rename to atfork_lock.
15329 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15330 to use a dynamic array to add/remove atfork handlers.
15331 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15332 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15333 Remove declaration.
15334 (fork_handler): Remove next, refcntr, and need_signal member.
15335 (__run_fork_handler_type): New enum.
15336 (__run_fork_handlers): New prototype.
15337 * nptl/register-atfork.c: Remove file.
15338 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15340 * sysdeps/nptl/nptl-signals.h: Move to ...
15341 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15343 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15344 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15345 unnecessary check for SIGTIMER.
15346 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15347 remove unnecessary removal of SIGTIMER.
15348 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15349 include-signals.h rename.
15350 * nptl/pthreadP.h: Likewise.
15351 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15352 __is_internal_signal instead of __nptl_is_internal_signal.
15354 2018-02-22 Andrew Waterman <andrew@sifive.com>
15357 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15358 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15359 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15360 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15362 2018-02-22 DJ Delorie <dj@delorie.com>
15364 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15366 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15368 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15369 do_misaligned, not misaligned8.
15371 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15373 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15374 Add memcpy_thunderx2.
15375 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15377 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15378 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15379 and IS_THUNDERX2PA checks.
15380 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15381 Use macro to set name appropriately.
15382 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15383 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15384 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15386 (IS_THUNDERX2): New macro.
15388 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15390 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15392 2018-02-21 Zack Weinberg <zackw@panix.com>
15394 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15395 Define here, unconditionally.
15396 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15397 * libio/libioP.h: Remove #if 0 blocks.
15398 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15399 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15400 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15402 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15403 Assume weak_alias is always defined.
15405 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15406 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15407 Remove #if 0 and #ifdef TODO blocks.
15408 Assume text_set_element is always defined.
15410 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15411 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15412 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15414 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15415 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15416 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15417 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15418 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15419 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15420 Reformat bit flags for _flags field to make occupancy clearer.
15422 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15423 Keep definitions consistent with those in libio/libio.h.
15425 * libio/libio.h (_IO_file_flags): Remove macro.
15426 All uses changed to _flags.
15428 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15429 (__HAVE_COLUMN, _IO_BE): Don't define.
15430 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15431 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15432 * libio/libioP.h (EOF): Don't define.
15433 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15434 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15435 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15436 testing _IO_UNIFIED_JUMPTABLES.
15438 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15439 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15440 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15441 (_IO_size_t): Delete; all uses changed to size_t.
15442 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15443 (_IO_off_t): Delete; all uses changed to off_t.
15444 (_IO_off64_t): Delete; all uses changed to off64_t.
15445 (_IO_pid_t): Delete; all uses changed to pid_t.
15446 (_IO_uid_t): Delete; all uses changed to uid_t.
15447 (_IO_wint_t): Delete; all uses changed to wint_t.
15448 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15449 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15450 (_IO_cookie_io_functions_t): Delete; all uses changed to
15451 cookie_io_functions_t.
15452 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15453 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15454 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15455 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15457 * libio/iofopncook.c: Remove unnecessary forward declarations.
15458 * libio/iolibio.h: Correct outdated commentary.
15459 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15460 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15461 Remove unnecessary casts.
15462 * stdio-common/getline.c: Use _IO_getdelim directly.
15463 Don't redefine ssize_t.
15464 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15465 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15466 Remove outdated comments.
15467 * stdio-common/vfscanf.c: Don't redefine va_list.
15469 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15470 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15471 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15472 which are always true, and __cplusplus, which is always false.
15474 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15478 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15479 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15480 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15481 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15483 [!_ISOMAC] (putc_unlocked): Likewise.
15484 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15485 define inline if [__USE_EXTERN_INLINES].
15486 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15491 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15492 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15493 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15494 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15495 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15497 * time/tzfile.c (__tzfile_read): Likewise.
15499 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15502 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15504 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15506 * io/fcntl.h: Fix a typo in a comment.
15508 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15511 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15512 define _DEFAULT_SOURCE.
15513 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15515 2018-02-21 Florian Weimer <fweimer@redhat.com>
15518 * elf/cache.c (save_cache): Call fsync on temporary file before
15520 (save_aux_cache): Call fdatasync on temporary file before renaming
15523 2018-02-21 Florian Weimer <fweimer@redhat.com>
15526 * include/caller.h: Remove file.
15527 * elf/dl-caller.c: Likewise.
15528 * elf/Makefile (dl-routines): Remove dl-caller.
15529 (shared-only-routines): Do not add dl-caller.
15530 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15532 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15534 (dl_open_worker): Do not call __check_caller.
15535 (_dl_open): Do not set caller_dl_open member.
15536 * elf/rtld.c (_rtld_global_ro): Do not initialize
15537 _dl_check_caller member.
15538 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15539 _dl_check_caller member.
15540 (_dl_check_caller): Remove declaration.
15541 * sysdeps/unix/sysv/linux/dl-execstack.c
15542 (_dl_make_stack_executable): Do not call __check_caller.
15544 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15546 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15547 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15549 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15551 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15554 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15557 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15558 of 199606L, 200112L, and 200809L.
15559 (_XOPEN_SOURCE): Document special values of 600 and 700.
15560 (_ISOC11_SOURCE): Document macro.
15561 (_ATFILE_SOURCE): Likewise.
15562 (_FORTIFY_SOURCE): Likewise.
15564 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15568 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15569 and define as weak alias of __ferror_unlocked. Use
15571 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15573 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15574 function if [__USE_EXTERN_INLINES].
15575 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15578 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15581 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15583 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15586 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15587 the GLIBC_2.1 version.
15589 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15592 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15593 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15594 intl/tst-gettext-de.po from po/de.po by removing the
15595 POT-Creation-Date line.
15596 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15598 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15601 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15603 * mach/Makefile (headers): Add mach/param.h.
15604 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15605 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15606 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15607 (__ptsname_r): Move implementation to...
15608 (__ptsname_internal): ... new function. Add filling the STP
15611 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15613 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15616 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15618 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15621 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15623 * nptl/Makefile (tst-mutex8-ENV): Delete.
15624 * nptl/tst-mutex8.c (check_type):
15625 Add runtime check if mutex will be elided.
15627 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15631 * manual/install.texi (Configuring and compiling): Describe
15632 passing CC and CFLAGS on configure command line, not as
15633 environment variables. Use @code markup on those variables.
15634 Specify what options go in CC and what go in CFLAGS. Note the
15635 requirement to compile with optimization.
15636 * INSTALL: Regenerated.
15639 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15640 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15641 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15642 __sigprocmask instead of sigprocmask.
15643 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15645 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15646 __sigsetjmp and sigprocmask.
15649 * include/argz.h (argz_next): Use libc_hidden_proto.
15650 (__argz_next): Likewise.
15651 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15652 (argz_next): Use libc_hidden_weak.
15655 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15657 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15661 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15663 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15667 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15668 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15669 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15670 (__feof_unlocked): New declaration, and inline function if
15671 [__USE_EXTERN_INLINES].
15672 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15673 instead of feof_unlocked.
15674 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15675 * nss/nsswitch.c (nss_parse_file): Likewise.
15676 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15678 * time/getdate.c (__getdate_r): Likewise.
15679 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15680 Define as macro to call __feof_unlocked.
15682 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15684 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15686 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15688 * math/Makefile: Remove mpexp.c and mplog.c
15689 * sysdeps/i386/fpu/mpexp.c: Delete file.
15690 * sysdeps/i386/fpu/mplog.c: Likewise.
15691 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15692 * sysdeps/ia64/fpu/mplog.c: Likewise.
15693 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15694 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15695 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15696 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15697 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15698 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15699 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15700 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15701 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15702 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15703 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15704 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15705 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15706 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15707 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15708 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15710 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15712 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15714 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15716 * sysdeps/sh/libm-test-ulps: Update.
15718 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15720 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15723 2018-02-12 Zack Weinberg <zackw@panix.com>
15726 * posix/sys/types.h: Don't include sys/sysmacros.h.
15727 * misc/sys/sysmacros.h: Remove the conditional deprecation
15728 warnings for the macros defined by this header.
15730 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15732 * manual/probes.texi: Remove slowexp probes.
15733 * math/Makefile: Remove slowexp.
15734 * sysdeps/generic/math_private.h (__slowexp): Remove.
15735 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15736 document error bounds.
15737 * sysdeps/i386/fpu/slowexp.c: Remove.
15738 * sysdeps/ia64/fpu/slowexp.c: Remove.
15739 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15740 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15741 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15742 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15743 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15744 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15745 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15746 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15747 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15748 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15749 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15751 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15754 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15755 * benchtests/pow-inputs: Update comment for slow path cases.
15756 * manual/probes.texi (slowpow_p10): Delete removed probe.
15757 (slowpow_p10): Likewise.
15758 * math/Makefile: Remove halfulp.c and slowpow.c.
15759 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15760 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15761 (__halfulp): Remove.
15762 (__slowpow): Remove.
15763 * sysdeps/i386/fpu/halfulp.c: Delete file.
15764 * sysdeps/i386/fpu/slowpow.c: Likewise.
15765 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15766 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15767 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15768 improve comments and add error analysis.
15769 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15770 (power1): Remove function:
15771 (log1): Remove error argument, add error analysis.
15772 (my_log2): Remove function.
15773 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15774 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15775 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15776 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15777 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15778 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15779 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15780 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15781 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15782 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15783 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15784 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15785 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15786 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15788 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15790 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15791 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15793 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15796 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15797 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15798 and PTRACE_SETHBPREGS.
15800 2018-02-10 Zack Weinberg <zackw@panix.com>
15803 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15805 * malloc/tst-malloc-stats-cancellation.c: New test case.
15806 * malloc/Makefile: Add new test case.
15808 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15810 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15812 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15814 * math/Makefile (libm-narrow-fns): Add add.
15815 (libm-test-funcs-narrow): Likewise.
15816 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15817 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15818 * math/gen-auto-libm-tests.c (test_functions): Add add.
15819 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15820 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15821 (NARROW_ADD_TRIVIAL): Likewise.
15822 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15824 (__daddl): Likewise.
15825 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15827 (CFLAGS-nldbl-dadd.c): New variable.
15828 (CFLAGS-nldbl-fadd.c): Likewise.
15829 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15831 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15833 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15834 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15835 * math/auto-libm-test-in: Add tests of add.
15836 * math/auto-libm-test-out-narrow-add: New generated file.
15837 * math/libm-test-narrow-add.inc: New file.
15838 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15839 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15840 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15841 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15842 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15843 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15844 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15845 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15846 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15847 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15848 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15849 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15850 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15851 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15852 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15853 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15854 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15855 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15857 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15858 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15859 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15860 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15861 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15862 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15863 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15864 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15865 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15866 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15867 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15868 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15869 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15874 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15875 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15876 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15877 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15878 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15879 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15880 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15881 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15882 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15883 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15885 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15886 (f128-pairs): New variable.
15887 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15888 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15890 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15891 Also make tests add $(f128-loader-link) to gnulib-tests.
15893 2018-02-09 DJ Delorie <dj@redhat.com>
15896 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15897 64-bit ELF type for 64-bit ELF objects.
15899 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15901 * math/libm-test-driver.c (snan_tests_arg): New variable.
15902 * math/libm-test-support.h (snan_tests_arg): New declaration.
15903 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15905 * math/Makefile (test-type-pairs): New variable.
15906 (test-type-pairs-f64xf128-yes): Likewise.
15907 (tests): Add test-narrow-macros.
15908 (libm-test-funcs-narrow): New variable.
15909 (libm-test-c-narrow): Likewise.
15910 (generated): Add $(libm-test-c-narrow).
15911 (libm-tests-base-narrow): New variable.
15912 (libm-tests-narrow): Likewise.
15913 (libm-tests): Add $(libm-tests-narrow).
15914 (libm-tests-for-type): Handle $(libm-tests-narrow).
15915 (libm-test-c-narrow-obj): New variable.
15916 ($(libm-test-c-narrow-obj)): New rule.
15917 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15918 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15919 $(o-iterator) to set dependencies and CFLAGS.
15920 * math/gen-auto-libm-tests.c: Document use for narrowing
15922 (output_for_one_input_case): Take argument NARROW.
15923 (generate_output): Likewise. Update call to
15924 output_for_one_input_case.
15925 (main): Take --narrow option. Update call to generate_output.
15926 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15927 (apply_lit): Update call to _apply_lit.
15928 (apply_arglit): New function.
15929 (parse_args): Handle "a" arguments.
15930 (parse_auto_input): Handle format names using ":".
15931 * math/README.libm-test: Document "a" parameter type.
15932 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15933 (ARG_TYPE_TRUE_MIN): Likewise.
15934 (ARG_TYPE_MAX): Likwise.
15935 (ARG_MIN_EXP): Likewise.
15936 (ARG_MAX_EXP): Likewise.
15937 (ARG_MANT_DIG): Likewise.
15938 (TEST_COND_arg_ibm128): Likewise.
15939 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15940 (TEST_COND_arg_fmt): New macro.
15941 (init_max_error): Update prototype.
15942 * math/libm-test-support.c (test_ibm128): New variable.
15943 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15944 instead of using [TEST_COND_ibm128] conditional.
15945 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15946 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15947 [TEST_NARROW] (TEST_MSG): New definition.
15948 (arg_plus_zero): New macro.
15949 (arg_minus_zero): Likewise.
15950 (arg_plus_infty): Likewise.
15951 (arg_minus_infty): Likewise.
15952 (arg_qnan_value_pl): Likewise.
15953 (arg_qnan_value): Likewise.
15954 (arg_snan_value_pl): Likewise.
15955 (arg_snan_value): Likewise.
15956 (arg_max_value): Likewise.
15957 (arg_min_value): Likewise.
15958 (arg_min_subnorm_value): Likewise.
15959 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15960 (RUN_TEST_LOOP_aa_f): New macro.
15961 (TEST_SUFF): New macro.
15962 (TEST_SUFF_STR): Likewise.
15963 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15964 (TEST_COND_any_ibm128): New macro.
15965 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15966 this_func. Update call to init_max_error.
15967 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15968 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15969 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15970 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15971 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15972 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15973 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15974 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15975 * math/test-math-vector.h (TEST_NARROW): Likewise.
15976 * math/test-arg-double.h: New file.
15977 * math/test-arg-float128.h: Likewise.
15978 * math/test-arg-float32x.h: Likewise.
15979 * math/test-arg-float64.h: Likewise.
15980 * math/test-arg-float64x.h: Likewise.
15981 * math/test-arg-ldouble.h: Likewise.
15982 * math/test-math-narrow.h: Likewise.
15983 * math/test-narrow-macros.c: Likewise.
15984 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15985 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15986 test-narrow-macros-ldbl-64.
15987 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15989 * math/bits/mathcalls-narrow.h: New file.
15990 * include/bits/mathcalls-narrow.h: Likewise.
15991 * math/math-narrow.h: Likewise.
15992 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15993 (__MATHCALL_NARROW_ARGS_2): Likewise.
15994 (__MATHCALL_NARROW_ARGS_3): Likewise.
15995 (__MATHCALL_NARROW_NORMAL): Likewise.
15996 (__MATHCALL_NARROW_REDIR): Likewise.
15997 (__MATHCALL_NARROW): Likewise.
15998 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15999 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16001 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16002 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16003 (libm-narrow-fns): New variable.
16004 (libm-narrow-types-basic): Likewise.
16005 (libm-narrow-types-ldouble-yes): Likewise.
16006 (libm-narrow-types-float128-yes): Likewise.
16007 (libm-narrow-types-float128-alias-yes): Likewise.
16008 (libm-narrow-types): Likewise.
16009 (libm-routines): Add narrowing functions.
16010 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16011 (libc_feholdexcept_setroundf128): New macro.
16012 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16013 * sysdeps/ieee754/float128/float128_private.h: Include
16014 <math/math-narrow.h>.
16015 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16016 Undefine and redefine.
16017 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16018 (libm_alias_float_ldouble): Undefine and redefine.
16019 (libm_alias_double_ldouble): Likewise.
16021 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16023 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16025 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16028 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16030 * manual/creature.texi: Convert references to gcc.info to gcc.
16031 * manual/stdio.texi: Likewise.
16032 * manual/string.texi: Likewise.
16034 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16037 * posix/bits/types.h (__int_least8_t): New typedef.
16038 (__uint_least8_t): Likewise.
16039 (__int_least16_t): Likewise.
16040 (__uint_least16_t): Likewise.
16041 (__int_least32_t): Likewise.
16042 (__uint_least32_t): Likewise.
16043 (__int_least64_t): Likewise.
16044 (__uint_least64_t): Likewise.
16045 * sysdeps/generic/stdint.h (int_least8_t): Define using
16047 (int_least16_t): Define using __int_least16_t.
16048 (int_least32_t): Define using __int_least32_t.
16049 (int_least64_t): Define using __int_least64_t.
16050 (uint_least8_t): Define using __uint_least8_t.
16051 (uint_least16_t): Define using __uint_least16_t.
16052 (uint_least32_t): Define using __uint_least32_t.
16053 (uint_least64_t): Define using __uint_least64_t.
16054 * wcsmbs/uchar.h: Include <bits/types.h>.
16055 (char16_t): Define using __uint_least16_t conditional only on
16057 (char32_t): Define using __uint_least32_t conditional only on
16059 * wcsmbs/test-char-types.c: New file.
16060 * wcsmbs/Makefile (tests): Add test-char-types.
16062 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16065 2018-02-07 Zack Weinberg <zackw@panix.com>
16067 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16068 Delete all contents except for definitions of _G_HAVE_MMAP and
16069 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16070 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16071 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16074 * libio/libio.h: Don't include bits/_G_config.h here.
16075 Include stddef.h with __need_wchar_t defined. Include
16076 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16077 Define _IO_iconv_t here, directly.
16078 Don't define _IO_HAVE_ST_BLKSIZE.
16079 * libio/libioP.h: Include _G_config.h here. Move include of
16080 shlib-compat.h up with rest of includes. Simplify conditionals
16081 controlling definition of _IO_JUMPS_OFFSET.
16083 * csu/init.c: Remove always-true #if around entire file.
16084 Don't include stdio.h. Set _IO_stdin_used to hardwired
16085 constant 0x20001, and update commentary.
16086 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16087 Replace all uses of _G_va_list with __gnuc_va_list.
16088 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16089 instead of #if _IO_HAVE_ST_BLKSIZE.
16090 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16091 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16094 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16095 multiple-include guard to match.
16096 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16098 Remove preprocessor conditionals that are always true and/or
16099 redundant to other preprocessor conditionals in the same nest.
16100 Include shlib-compat.h unconditionally.
16101 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16102 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16103 defined after including stdio.h.
16104 Use __BEGIN_DECLS/__END_DECLS.
16106 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16107 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16108 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16110 2018-02-07 Zack Weinberg <zackw@panix.com>
16112 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16113 New single-type headers split from _G_config.h.
16114 * libio/bits/types/cookie_io_functions_t.h
16115 * libio/bits/types/struct_FILE.h
16116 New single-type headers split from libio.h.
16118 * libio/Makefile: Install the above new headers. Don't install
16119 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16121 * libio/_G_config.h, libio/libio.h: Delete file.
16123 * libio/bits/libio.h: Remove improper-inclusion guard.
16124 Include stdio.h and don't repeat anything that it does.
16125 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16126 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16127 __io_read_fn as cookie_read_function_t,
16128 __io_write_fn as cookie_write_function_t,
16129 __io_seek_fn as cookie_seek_function_t,
16130 __io_close_fn as cookie_close_function_t,
16131 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16132 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16133 here, in the "compatibility defines" section. Remove an #if 0
16134 block. Use the "body" macros from bits/types/struct_FILE.h to
16135 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16136 and _IO_ferror_unlocked.
16137 Move prototypes of __uflow and __overflow...
16139 * libio/stdio.h: ...here. Don't include bits/libio.h.
16140 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16141 directly from stdarg.h. Include bits/types/__fpos_t.h,
16142 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16143 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16144 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16145 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16146 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16147 __ssize_t, not _IO_ssize_t. Unconditionally define
16148 BUFSIZ as 8192 and EOF as (-1).
16150 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16151 macros from bits/types/struct_FILE.h instead of _IO_* macros
16152 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16153 instead of _IO_ssize_t.
16154 * libio/bits/stdio2.h: Similarly.
16156 * libio/iolibio.h: Add multiple-include guard.
16157 Include bits/libio.h after stdio.h.
16158 * libio/libioP.h: Add multiple-include guard.
16159 Include stdio.h and bits/libio.h before iolibio.h.
16161 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16162 * include/bits/types/cookie_io_functions_t.h
16163 * include/bits/types/struct_FILE.h: New wrappers.
16165 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16166 Get definitions of _G_fpos_t and _G_fpos64_t from
16167 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16168 respectively. Remove improper-inclusion guards.
16170 * conform/data/stdio.h-data: Update expectations of va_list.
16171 * scripts/check-installed-headers.sh: Remove special case for
16172 libio.h and _G_config.h.
16174 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16178 * include/sys/sysmacros.h [!_ISOMAC]
16179 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16180 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16181 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16182 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16184 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16185 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16187 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16188 Undefine and redefine to add use __gnu_dev_ prefix.
16189 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16191 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16192 and define as hidden inline function.
16193 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16195 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16197 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16198 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16199 (gnu_dev_minor): Likewise.
16200 (gnu_dev_makedev): Likewise.
16201 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16203 * posix/wordexp.c (exec_comm_child): Likewise.
16204 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16205 instead of minor and __gnu_dev_major instead of major.
16206 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16207 __gnu_dev_major instead of major.
16208 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16209 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16210 instead of gnu_dev_minor.
16211 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16212 (SLAVE_P): Likewise.
16213 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16214 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16218 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16220 * locale/weightwc.h (findidx): Likewise.
16222 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16224 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16225 (slowlog_inexact): Likewise
16226 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16227 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16229 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16232 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16233 missing second underscore to parameter name.
16235 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16241 * bits/byteswap.h: Update file comment. Do not include
16242 <bits/byteswap-16.h>.
16243 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16245 (__bswap_16): Define as inline function.
16246 (__bswap_constant_32): Reformat definition.
16247 (__bswap_32): Always define as inline function, not macro, using
16248 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16249 otherwise __bswap_constant_32.
16250 (__bswap_constant_64): Reformat definition. Do not use
16251 __extension__ here.
16252 (__bswap_64): Always define as inline function, not macro. Use
16253 __extension__ on function definition. Use __builtin_bswap64 if
16254 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16255 * string/test-endian-file-scope.c: New file.
16256 * string/test-endian-sign-conversion.c: Likewise.
16257 * string/Makefile (headers): Remove bits/byteswap-16.h.
16258 (tests): Add test-endian-file-scope and
16259 test-endian-sign-conversion.
16260 (CFLAGS-test-endian-sign-conversion.c): New variable.
16261 * bits/byteswap-16.h: Remove file.
16262 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16263 * sysdeps/ia64/bits/byteswap.h: Likewise.
16264 * sysdeps/m68k/bits/byteswap.h: Likewise.
16265 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16266 * sysdeps/s390/bits/byteswap.h: Likewise.
16267 * sysdeps/tile/bits/byteswap.h: Likewise.
16268 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16269 * sysdeps/x86/bits/byteswap.h: Likewise.
16272 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16273 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16274 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16275 199901L] (__restrict): Define to restrict.
16278 * string/testcopy.c: Include <support/support.h>. Do not include
16279 <malloc.h>. Use <support/test-driver.c>.
16280 (main): Rename to do_test. Make static. Use xmalloc instead of
16284 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16285 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16286 (SSIZE_MAX): Define to INT_MAX.
16287 * posix/test-ssize-max.c: New file.
16288 * posix/Makefile (tests): Add test-ssize-max.
16291 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16292 <support/support.h>. Do not include <malloc.h>.
16293 (query_auxv): Use xmalloc instead of malloc.
16296 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16297 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16300 2018-02-06 Florian Weimer <fweimer@redhat.com>
16303 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16304 Use scratch_buffer instead of extend_alloca.
16306 2018-02-06 Zack Weinberg <zackw@panix.com>
16308 * libio/stdio.h: Don't define getc or putc as macros.
16309 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16310 not _IO_getc and _IO_putc.
16312 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16313 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16315 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16317 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16318 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16320 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16323 * elf/elf.h (NT_PRFPREG): New macro.
16324 (NT_S390_VXRS_LOW): Likewise.
16325 (NT_S390_VXRS_HIGH): Likewise.
16326 (NT_S390_GS_CB): Likewise.
16327 (NT_S390_GS_BC): Likewise.
16328 (NT_S390_RI_CB): Likewise.
16330 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16331 (MAP_SYNC): New macro.
16332 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16334 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16335 (MAP_SYNC): Likewise.
16336 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16337 (MAP_SYNC): Likewise.
16338 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16339 (MAP_SYNC): Likewise.
16340 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16341 (MAP_SYNC): Likewise.
16342 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16343 (MAP_SYNC): Likewise.
16344 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16345 (MAP_SYNC): Likewise.
16346 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16348 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16351 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16352 (MAP_SHARED_VALIDATE): New macro.
16353 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16354 (MAP_SHARED_VALIDATE): Likewise.
16356 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16358 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16359 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16360 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16362 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16364 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16365 (DT_NUM): Updated to 35.
16367 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16369 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16370 __builtin_expect with __glibc_likely and __glibc_unlikely.
16371 (elf_machine_rela): Likewise.
16372 (elf_machine_lazy_rel): Likewise.
16374 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16376 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16377 __builtin_expect with __glibc_likely and __glibc_unlikely.
16378 (elf_machine_lazy_rel): Likewise.
16380 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16383 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16385 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16387 2018-02-05 Andreas Schwab <schwab@suse.de>
16390 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16393 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16395 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16396 not check against PTHREAD_STACK_MIN.
16398 2018-02-02 Sean McKean <smckean83@gmail.com>
16401 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16403 2018-02-02 Florian Weimer <fweimer@redhat.com>
16406 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16407 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16408 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16409 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16410 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16411 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16412 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16413 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16414 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16415 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16416 * misc/tst-preadvwritev2.c (do_test): Call it.
16417 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16419 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16421 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16423 * benchtests/bench-memcmp.c: Print json instead of plain text.
16425 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16428 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16430 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16432 (s390_sthyi): New syscall.
16434 * sysdeps/generic/ldbl-classify-compat.h: New file.
16435 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16436 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16437 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16438 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16439 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16440 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16441 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16442 <ldbl-classify-compat.h>.
16443 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16444 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16445 <ldbl-classify-compat.h>.
16446 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16447 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16448 <ldbl-classify-compat.h>.
16449 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16450 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16451 <ldbl-classify-compat.h>.
16452 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16453 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16454 <ldbl-classify-compat.h>.
16455 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16457 <ldbl-classify-compat.h>.
16458 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16459 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16460 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16461 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16462 * sysdeps/microblaze/math_private.h: Likewise.
16463 * sysdeps/nios2/math_private.h: Likewise.
16464 * sysdeps/sh/math_private.h: Likewise.
16466 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16467 * sysdeps/m68k/coldfire/math_private.h: ... here.
16468 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16469 * sysdeps/tile/math_private.h: Likewise.
16470 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16472 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16475 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16477 (libc_fetestexcept): Likewise.
16478 (libc_feupdateenv_test): Likewise.
16479 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16480 (libc_fetestexcept): Likewise.
16481 (libc_feupdateenv_test): Likewise.
16482 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16483 (libc_fetestexcept): Likewise.
16484 (libc_feupdateenv_test): Likewise.
16485 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16486 (libc_fetestexcept): Likewise.
16487 (libc_feupdateenv_test): Likewise.
16489 * sysdeps/generic/math_private.h
16490 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16491 New inline function.
16492 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16495 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16496 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16497 * sysdeps/generic/math_private.h
16498 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16500 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16502 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16504 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16506 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16508 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16510 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16511 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16512 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16513 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16514 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16515 (__fegetenv): Likewise.
16516 (fesetenv): Likewise.
16517 (__fesetenv): Likewise.
16518 (feupdateenv): Likewise.
16519 (__feupdateenv): Likewise.
16520 (fegetround): Likewise.
16521 (__fegetround): Likewise.
16522 (fesetround): Likewise.
16523 (__fesetround): Likewise.
16525 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16526 (feraiseexcept): New macro.
16527 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16528 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16530 (__feraiseexcept): Likewise.
16531 (feclearexcept): Likewise.
16532 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16533 (__feraiseexcept): Likewise.
16534 (feclearexcept): Likewise.
16535 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16536 (__feraiseexcept): Likewise.
16537 (feclearexcept): Likewise.
16538 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16539 (__feraiseexcept): Likewise.
16540 (feclearexcept): Likewise.
16541 (fetestexcept): Likewise.
16543 * sysdeps/m68k/coldfire/math-tests.h: New file.
16545 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16546 * sysdeps/m68k/bits/fenv.h: ... here.
16547 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16549 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16551 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16553 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16555 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16557 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16559 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16560 (__FE_UNDEFINED): New enum constant.
16561 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16563 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16565 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16567 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16568 to match generic bits/fenv.h.
16569 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16572 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16574 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16575 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16576 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16577 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16579 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16580 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16581 Joseph Myers <joseph@codesourcery.com>
16584 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16585 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16586 computation using c.
16587 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16588 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16589 computation using c.
16591 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16593 * version.h (RELEASE): Set to "development".
16594 (VERSION): Set to "2.27.9000".
16595 * NEWS (2.28): New section.
16597 * version.h (RELEASE): Set to "stable".
16598 (VERSION): Set to "2.27".
16599 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16601 * NEWS: Add the list of bugs fixed in 2.27.
16603 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16605 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16606 against PTHREAD_STACK_MIN.
16608 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16610 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16612 (Rafal Luzynski, Andreas Schwab): Update.
16614 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16617 * NEWS: List the languages which actually use the alternative
16618 months feature in this release. Also explain that "alt_mon" and
16619 "ab_alt_mon" are optional.
16621 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16624 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16626 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16628 * manual/install.texi (Tools for Compilation): Update the newest
16629 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16630 * INSTALL: Regenerated.
16632 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16634 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16635 instead of __builtin_expect.
16637 2018-01-30 Florian Weimer <fweimer@redhat.com>
16639 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16641 * nss/tst-nss-getpwent.c (do_test): Likewise.
16643 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16646 * localedata/locales/hr_HR (mon): Rename to...
16648 (mon): Import from CLDR (genitive case).
16649 (d_t_fmt): Update the comment.
16651 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16653 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16654 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16655 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16657 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16659 * mach/Versions: Fix version when __mach_host_self_ was added.
16660 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16661 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16662 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16663 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16664 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16665 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16666 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16667 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16668 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16669 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16670 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16671 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
16672 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16673 || to respect codestyle.
16674 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16675 (do_test_bz20181): Rename accordingly.
16676 * malloc/malloc.c: Include <assert.h>.
16677 (assert): Do not define.
16678 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
16679 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16680 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16681 * sysdeps/mach/hurd/hp-timing.h: New file.
16682 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16684 2018-01-29 Darius Rad <darius@bluespec.com>
16686 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16688 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16690 * sysdeps/init_array/crti.S (.section .init_array): Add
16691 PREINIT_FUNCTION when defined.
16692 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16693 * config.h.in: Regenerate.
16694 * manual/platform.texi: Add RISC-V documenation for
16695 __riscv_flush_icache.
16696 * sysdeps/riscv/__longjmp.S: New file.
16697 * sysdeps/riscv/backtrace.c: Likewise.
16698 * sysdeps/riscv/bits/endian.h: Likewise.
16699 * sysdeps/riscv/bits/setjmp.h: Likewise.
16700 * sysdeps/riscv/bits/wordsize.h: Likewise.
16701 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16702 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16703 * sysdeps/riscv/dl-trampoline.S: Likewise.
16704 * sysdeps/riscv/gccframe.h: Likewise.
16705 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16706 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16707 * sysdeps/riscv/machine-gmon.h: Likewise.
16708 * sysdeps/riscv/memusage.h: Likewise.
16709 * sysdeps/riscv/setjmp.S: Likewise.
16710 * sysdeps/riscv/sys/asm.h: Likewise.
16711 * sysdeps/riscv/tls-macros.h: Likewise.
16712 * sysdeps/riscv/dl-tls.h: New file.
16713 * sysdeps/riscv/libc-tls.c: Likewise.
16714 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16715 * sysdeps/riscv/nptl/tls.h: Likewise.
16716 * sysdeps/riscv/stackinfo.h: Likewise.
16717 * sysdeps/riscv/bits/fenv.h: New file.
16718 * sysdeps/riscv/e_sqrtl.c: Likewise.
16719 * sysdeps/riscv/fpu_control.h: Likewise.
16720 * sysdeps/riscv/math-tests.h: Likewise.
16721 * sysdeps/riscv/nofpu/Implies: Likewise.
16722 * sysdeps/riscv/sfp-machine.h: Likewise.
16723 * sysdeps/riscv/tininess.h: Likewise.
16724 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16725 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16726 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16727 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16728 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16729 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16730 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16731 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16732 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16733 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16734 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16735 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16736 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16737 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16738 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16739 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16740 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16741 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16742 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16743 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16744 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16745 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16746 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16747 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16748 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16749 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16750 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16751 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16752 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16753 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16754 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16755 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16756 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16757 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16758 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16759 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16760 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16761 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16762 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16763 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16764 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16765 * sysdeps/riscv/rvf/math_private.h: Likewise.
16766 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16767 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16768 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16769 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16770 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16771 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16772 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16773 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16774 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16775 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16776 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16777 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16778 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16779 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16780 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16781 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16782 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16783 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16784 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16785 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16786 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16787 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16788 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16789 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16790 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16791 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16792 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16793 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16794 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16795 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16796 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16797 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16798 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16799 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16800 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16801 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16802 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16803 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16804 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16805 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16806 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16807 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16808 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16809 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16810 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16811 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16812 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16813 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16814 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16815 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16816 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16817 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16818 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16819 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16820 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16821 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16822 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16823 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16824 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16825 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16826 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16827 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16828 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16829 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16830 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16831 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16832 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16833 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16834 * sysdeps/riscv/Implies: New file.
16835 * sysdeps/riscv/Makefile: Likewise.
16836 * sysdeps/riscv/configure: Likewise.
16837 * sysdeps/riscv/configure.ac: Likewise.
16838 * sysdeps/riscv/nptl/Makefile: Likewise.
16839 * sysdeps/riscv/preconfigure: Likewise.
16840 * sysdeps/riscv/rv64/Implies-after: Likewise.
16841 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16842 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16843 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16844 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16845 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16846 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16847 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16848 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16849 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16850 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16851 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16852 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16853 (Config): Likewise.
16855 2018-01-29 Florian Weimer <fweimer@redhat.com>
16858 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16859 libnsl_hidden_proto.
16860 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16861 libnsl_hidden_proto.
16862 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16863 * nis/Makefile (libnsl-routines): Add nss-default only for
16864 build-obsolete-nsl.
16865 * nis/nis_defaults.c (__nis_default_ttl): Add
16866 libnsl_hidden_nolink_def.
16867 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16869 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16870 * nis/ypclnt.c (yp_maplist): Likewise.
16872 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16874 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16875 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16877 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16879 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16880 clean -dxfq for git updates when replacing sources.
16882 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16883 --disable-libcilkrts unconditionally, not just for the final GCC
16886 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16889 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16892 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16895 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16898 * localedata/locales/be_BY (mon): Rename to...
16899 (alt_mon): This, then synchronize with CLDR (nominative case).
16900 (abmon): Rename to...
16901 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16902 (mon): Import from CLDR (genitive case).
16904 * localedata/locales/be_BY@latin (mon): Rename to...
16906 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16908 * localedata/locales/be_BY@latin (lang_name): Reworded to
16909 "biełaruskaja mova".
16911 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16914 * localedata/locales/el_CY (mon): Renamed to...
16916 (mon): Import from CLDR (genitive case).
16917 * localedata/locales/el_GR: Likewise.
16919 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16922 * localedata/locales/ru_RU (mon): Rename to...
16924 (abmon): Rename to...
16925 (ab_alt_mon): This.
16926 (mon): Import from CLDR (genitive case).
16927 (abmon): Copy from the old content except the 5th month which is
16928 now in the genitive case, even when abbreviated.
16929 * localedata/locales/ru_UA: Likewise.
16930 * time/tst-strptime.c (day_tests): Add an actual example of
16931 a difference between %b and %Ob in Russian.
16933 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16935 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16936 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16938 * resolv/res-close.c: Include <stdlib.h>.
16939 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16940 <sys/wait.h>, <time.h>, <sys/uio.h>.
16941 (NOT_CANCEL_H): Add inclusion guard.
16942 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16943 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16944 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16946 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16947 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16948 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16950 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16951 timer_ptr2id to cast struct timer_node * to void *.
16952 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16953 --disable-libcilkrts to gcc configure.
16954 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16955 and make them the default for now.
16956 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16957 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16958 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16959 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16960 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16962 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16963 __task_terminate would ever return successfully.
16964 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16966 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16967 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16968 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16969 critical section to make code simpler and avoid warning.
16970 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16971 critical section to make code simpler and avoid warning.
16972 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16973 const char * instead of char *.
16974 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16975 __hurd_file_name_split, hurd_file_name_split,
16976 __hurd_directory_name_split, hurd_directory_name_split,
16977 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16978 hurd_file_name_path_lookup): Make lookup function parameter take a
16979 const char *name instead of char *name.
16980 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16981 __hurd_directory_name_split): Likewise.
16982 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16983 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16984 * sysdeps/mach/hurd/check_native.c: New file.
16985 * sysdeps/mach/hurd/check_pf.c: New file.
16986 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16987 (__freeifaddrs): Define macro to freeifaddrs.
16988 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16989 * sysdeps/mach/libmachuser.abilist: New file.
16990 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16991 (do_test_bz20181): Rename accordingly.
16992 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16993 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16995 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16996 version only if __USE_EXTERN_INLINES is defined.
16997 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16998 __hurd_sockfail): Likewise.
16999 (_hurd_fd_get): Always declare functions, and provide inline versions
17000 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17001 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17002 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17003 _hurd_port_set): Always declare functions, and provide inline versions
17004 only if __USE_EXTERN_INLINES and _LIBC are defined and
17006 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17007 _hurd_critical_section_unlock): Likewise.
17008 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17009 * __hurd_threadvar_location): Likewise.
17010 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17011 _hurd_userlink_clear): Likewise.
17012 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17013 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17014 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17015 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17016 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17017 __spin_lock_locked): Likewise.
17018 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17019 __spin_lock_locked): Likewise.
17020 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17021 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17022 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17023 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17024 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17025 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17026 _POSIX_NO_TRUNC): Define to 0.
17027 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17028 check size against PTHREAD_STACK_MIN.
17029 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17030 IS_IN(libpthread)]: Include <sigsetops.h>.
17031 * mach/Makefile (user-interfaces): Add mach/gnumach.
17032 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17033 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17034 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17035 instead of invalid -1.
17036 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17037 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17038 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17041 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17043 * hurd/fcntl-internal.h: New file.
17045 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17047 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17049 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17051 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17054 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17055 Build only shared objects.
17057 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17059 * README: Update for hppa.
17061 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17063 * sysdeps/sparc/fpu/libm-test-ulps: Update
17064 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17066 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17070 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17073 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17074 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17075 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17076 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17079 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17082 * bits/types/__cancel_jmp_buf_tag.h: New file.
17083 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17084 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17085 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17086 * nptl/Makefile (headers): Add
17087 bits/types/__cancel_jmp_buf_tag.h.
17088 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17089 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17090 * sysdeps/nptl/pthread.h: Include
17091 <bits/types/__cancel_jmp_buf_tag.h>.
17092 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17094 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17096 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17099 * localedata/locales/uk_UA (mon): Renamed to...
17101 (alt_digits): "0" removed and then renamed to...
17103 (date_fmt): Definition changed not to use the alternative
17106 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17108 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17109 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17110 * elf/elf.h (EF_RISCV_RVC): New define.
17111 (EF_RISCV_FLOAT_ABI): Likewise.
17112 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17113 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17114 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17115 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17116 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17118 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17120 2018-01-25 Andreas Schwab <schwab@suse.de>
17122 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17124 * sysdeps/gnu/configure: Regenerate.
17125 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17126 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17128 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17129 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17130 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17131 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17132 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17134 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17136 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17137 URL, and run autoconf, make it the default for now.
17139 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17141 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17142 soft-float ColdFire configuration.
17144 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17145 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17146 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17148 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17151 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17153 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17155 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17158 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17159 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17160 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17163 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17166 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17167 Rename to __reserved and add comment.
17168 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17169 Rename to __reserved.
17171 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17173 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17174 i686-gnu configurations.
17175 (Context.run_builds): Include mig, gnumach and hurd in components
17177 (Context.checkout): Add mig, gnumach and hurd to components.
17178 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17180 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17181 (Config.build): Install gnumach headers, build mig and install
17182 hurd headers for 'gnu' OS.
17183 (Config.install_gnumach_headers): New function.
17184 (Config.install_hurd_headers): Likewise.
17185 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17186 when building for 'gnu' OS.
17188 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17190 * manual/tunables.texi (Hardware Capability Tunables): Fix
17193 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17195 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17196 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17197 (ALTMON_11, ALTMON_12): Improve documentation.
17198 * manual/time.texi (strftime): Likewise.
17200 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17203 * localedata/locales/pl_PL: Alternative month names added,
17204 primary month names are genitive now.
17205 * time/tst-strptime.c (day_tests): Actually use a genitive case
17206 of a month name in Polish language.
17208 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17211 * manual/locale.texi: Document ALTMON_1..12 constants for
17212 nl_langinfo. Specify when to use ALTMON instead of MON.
17213 * manual/time.texi (strftime, strptime): Document GNU extension
17214 permitting O modifier with %B and %b. Specify when to use
17217 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17220 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17221 names, define them as the same as abbreviated month names explicitly.
17222 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17223 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17224 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17225 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17226 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17227 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17228 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17229 _NL_WABALTMON_12): New enum constants.
17230 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17231 wab_alt_mon, and ab_alt_mon_defined members.
17232 (time_output): Output ab_alt_mon and wab_alt_mon members.
17233 (time_read): Read them, initialize them as copies of abmon and wabmon
17234 respectively if they are missing, initialize ab_alt_mon_defined.
17235 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17236 * locale/programs/locfile-kw.h: Regenerate.
17237 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17238 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17240 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17241 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17242 (__strftime_internal): Handle %Ob and %Oh formats.
17243 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17244 (__strptime_internal): Handle %Ob and %Oh formats.
17245 * time/tst-strptime.c (day_tests): Add more tests to parse different
17246 forms of month names including the new %Ob format specifier.
17248 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17251 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17252 define them as the same as primary full month names explicitly.
17253 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17254 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17255 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17256 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17257 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17258 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17259 _NL_WALTMON_12): New enum constants.
17260 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17261 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17263 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17264 walt_mon, and alt_mon_defined members.
17265 (time_output): Output alt_mon and walt_mon members.
17266 (time_read): Read them, initialize them as copies of mon and wmon
17267 respectively if they are missing, initialize alt_mon_defined.
17268 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17269 * locale/programs/locfile-kw.h: Regenerate.
17270 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17271 * localedata/tst-langinfo.c (map): Add tests for the new constants
17272 ALTMON_1 .. ALTMON_12.
17273 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17275 * time/strftime_l.c (f_altmonth): New macro.
17276 (__strftime_internal): Handle %OB format.
17277 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17278 (__strptime_internal): Handle %OB format.
17279 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17280 of month names including the new %OB format specifier.
17282 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17285 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17286 from ABORT_TRANSACTION.
17287 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17288 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17289 ABORT_TRANSACTION_IMPL): Likewise.
17290 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17291 Linux code, but remove the code that aborts transactions.
17293 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17295 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17297 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17299 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17300 in date: "2004-14-09" should be "2004-09-14".
17301 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17302 "2003-15-09" should be "2003-09-15".
17304 2018-01-18 Arjun Shankar <arjun@redhat.com>
17310 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17312 (_int_memalign): check for integer overflow before calling
17314 * malloc/tst-malloc-too-large.c: New test.
17315 * malloc/Makefile: Add tst-malloc-too-large.
17317 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17319 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17320 in date: "2017-24-07" should be "2017-07-24".
17321 * localedata/locales/mai_IN: Likewise.
17322 * localedata/locales/mai_NP: Likewise.
17324 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17326 * po/ru.po: Update translations.
17328 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17331 * sysdeps/hppa/backtrace.c: New file.
17333 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17336 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17337 align La_x86_64_retval to VEC_SIZE.
17339 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17341 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17342 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17344 2018-01-16 Florian Weimer <fweimer@redhat.com>
17346 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17347 Move tst-thread-exit-clobber ...
17348 [$(CXX)] (tests-unsupported): ... to here.
17350 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17352 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17353 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17354 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17355 (_dl_aarch64_cap_flags): Update.
17356 (_DL_HWCAP_COUNT): Update.
17358 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17360 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17361 (_DL_HWCAP_LAST): Remove.
17362 (_DL_HWCAP_COUNT): Move to ...
17363 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17364 (_DL_HWCAP_COUNT): ... here.
17366 2018-01-16 Florian Weimer <fweimer@redhat.com>
17368 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17369 mode with GNU extensions.
17371 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17373 * elf/elf.h (NT_ARM_SVE): Define.
17375 2018-01-15 Florian Weimer <fweimer@redhat.com>
17378 * nptl/tst-minstack-throw.cc: New file.
17379 * nptl/Makefile (tests): Add tst-minstack-throw.
17380 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17381 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17383 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17385 * scripts/build-many-glibcs.py (Context.checkout): Default
17386 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17389 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17392 * elf/elf.h (DF_1_STUB): Define.
17393 (DF_1_PIE): Define.
17395 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17398 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17399 Do not add 0.5 to integer or out-of-range arguments.
17401 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17403 * po/bg.po: Update translations.
17404 * po/cs.po: Likewise.
17405 * po/de.po: Likewise.
17406 * po/ko.po: Likewise.
17407 * po/pl.po: Likewise.
17408 * po/sv.po: Likewise.
17409 * po/uk.po: Likewise.
17410 * po/vi.po: Likewise.
17412 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17414 * aarch64/start.S (_start): Use __wrap_main.
17415 (__wrap_main): New local symbol.
17417 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17421 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17422 generic_getcwd if the path returned by getcwd syscall is not absolute.
17423 * io/tst-getcwd-abspath.c: New test.
17424 * io/Makefile (tests): Add tst-getcwd-abspath.
17426 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17428 * malloc/malloc.c (malloc_consolidate): Add size check.
17430 2018-01-12 Florian Weimer <fweimer@redhat.com>
17432 * support/write_message.c (write_message): Preserve errno.
17433 * support/check.c (print_failure): Likewise.
17434 * support/support_test_verify_impl.c (support_test_verify_impl):
17436 * support/support_test_compare_failure.c
17437 (support_test_compare_failure): Likewise.
17439 2018-01-12 Florian Weimer <fweimer@redhat.com>
17442 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17443 Prevent installation of libnsl.so.
17444 (libnsl-inhibit-o): Do not build (or install) static libraries.
17446 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17449 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17450 before the day number which may produce a double space.
17451 (date_fmt): Likewise.
17453 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17455 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17456 instead of fegetenv.
17458 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17461 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17462 comment to say exceptions are discarded.
17463 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17465 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17468 2018-01-11 Florian Weimer <fweimer@redhat.com>
17470 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17473 2018-01-11 Florian Weimer <fweimer@redhat.com>
17476 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17477 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17479 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17482 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17483 negative arguments in test for NaN or infinity argument.
17485 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17487 * po/libc.pot: Regenerate.
17489 2018-01-10 Florian Weimer <fweimer@redhat.com>
17492 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17493 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17495 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17497 * hurd/hurd/fd.h: Include <fcntl.h>
17498 (__hurd_at_flags): New function.
17499 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17500 with call to __hurd_at_flags.
17501 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17502 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17504 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17505 (__access_noerrno): Use __faccessat_common instead of access_common.
17506 (__access): Likewise.
17507 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17508 with a call to __faccessat.
17509 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17510 (__faccessat_common): ... this. Move implementation of __access into it when
17511 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17512 reauthenticate_cwdir_at helper to implement AT mechanism.
17513 (__faccessat_noerrno): New function, just calls __faccessat_common.
17514 (__faccessat): New function, just calls __faccessat_common.
17515 (faccessat): Define weak alias.
17517 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17520 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17521 (CFLAGS-s_fmaxmagl.c): New variable.
17522 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17526 long int for arguments of possibly overflowing addition or
17528 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17530 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17533 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17534 (CFLAGS-e_remainderl.c): New variable.
17537 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17539 (CFLAGS-s_cacoshl.c): Likewise.
17540 (CFLAGS-s_casinhl.c): Likewise.
17541 (CFLAGS-s_catanl.c): Likewise.
17542 (CFLAGS-s_catanhl.c): Likewise.
17543 (CFLAGS-s_cexpl.c): Likewise.
17544 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17545 (CFLAGS-s_csinhl.c): Likewise.
17546 (CFLAGS-s_clogl.c): Likewise.
17547 (CFLAGS-s_clog10l.c): Likewise.
17548 (CFLAGS-s_csinl.c): Likewise.
17549 (CFLAGS-s_csqrtl.c): Likewise.
17551 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17552 2017-01-09 Svante Signell <svante.signell@gmail.com>
17554 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17555 (_hurd_exec_paths): New function.
17556 * hurd/hurd.h (_hurd_exec): Deprecate function.
17557 (_hurd_exec_paths): Declare function.
17558 * hurd/Versions: Export _hurd_exec_paths.
17559 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17560 (__execve): Use __getcwd to build absolute path, and use
17561 _hurd_exec_paths instead of _hurd_exec.
17562 * sysdeps/mach/hurd/spawni.c: Likewise.
17563 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17566 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17568 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17569 test instead of failing in case of ENOENT returned by posix_openpt.
17571 2018-01-08 Florian Weimer <fweimer@redhat.com>
17573 resolv: Support binary labels in test framework.
17574 * support/resolv_test.c (struct to_be_freed): Remove.
17575 (struct compressed_name): New.
17576 (allocate_compressed_name, ascii_tolower)
17577 (compare_compressed_name): New functions.
17578 (struct resolv_response_builder): Update type of
17579 compression_offsets for use with tsearch. Rempve to_be_freed.
17580 (response_push_pointer_to_free): Remove function.
17581 (resolv_response_add_name): Rewrite using struct compressed_name
17582 and tsearch instead of hsearch_r.
17583 (response_builder_allocate): Remove initialization of
17584 compression_offsets.
17585 (response_builder_free): Update for removal of to_be_freed. Use
17586 tdestroy instead of hdestroy_r.
17587 * resolv/Makefile (tests): Add tst-resolv-binary.
17588 (tst-resolv-binary): Link with -lresolv -lpthread.
17590 2018-01-08 Florian Weimer <fweimer@redhat.com>
17592 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17593 time. Pass positive flag instead of negative flag to
17594 support_test_compare_failure.
17595 (support_test_compare_failure): Change negative parameter to
17597 * support/support_test_compare_failure.c (report)
17598 (support_test_compare_failure): Likewise.
17599 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17600 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17602 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17605 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17606 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17607 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17609 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17611 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17613 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17614 Add s_sincosf-sse2 and s_sincosf-fma.
17615 (CFLAGS-s_sincosf-fma.c): New.
17616 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17617 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17618 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17619 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17620 __sincosf is defined.
17622 2018-01-08 Florian Weimer <fweimer@redhat.com>
17624 * nptl/tst-thread-exit-clobber.cc: New file.
17625 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17627 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17628 (tests): Add tst-thread-exit-clobber.
17629 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17631 2018-01-08 Florian Weimer <fweimer@redhat.com>
17633 * support/check.h (support_static_assert): Define.
17634 (TEST_COMPARE): Use it.
17636 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17638 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17639 [!__RLIM_T_MATCHES_RLIM64_T]
17640 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17641 __getrlimit64. Add libc_hidden_weak.
17643 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17645 * elf/elf.h (R_RISCV_NONE): New define.
17646 (R_RISCV_32): Likewise.
17647 (R_RISCV_64): Likewise.
17648 (R_RISCV_RELATIVE): Likewise.
17649 (R_RISCV_COPY): Likewise.
17650 (R_RISCV_JUMP_SLOT): Likewise.
17651 (R_RISCV_TLS_DTPMOD32): Likewise.
17652 (R_RISCV_TLS_DTPMOD64): Likewise.
17653 (R_RISCV_TLS_DTPREL32): Likewise.
17654 (R_RISCV_TLS_DTPREL64): Likewise.
17655 (R_RISCV_TLS_TPREL32): Likewise.
17656 (R_RISCV_TLS_TPREL64): Likewise.
17657 * Makerules (make-link-multidir): Make directories before linking into
17659 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17661 (VDSO_HASH_LINUX_4_15): Likewise.
17662 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17663 in subdirectories of lib.
17664 * nptl/Makefile (/librt.so): Always depend on
17665 "$(shared-thread-library)".
17667 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17669 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
17670 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17671 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17673 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
17674 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17676 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
17677 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17678 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17679 * sysdeps/gnu/glob-lstat-compat.c: New file.
17680 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17681 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17683 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17685 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17686 Reserve 16 chars to reloc_addr before calling _itoa_word.
17688 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17691 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17692 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17694 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17695 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17697 * resource/tst-getrlimit.c: Add copyright header.
17699 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17700 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17702 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17703 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17704 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17705 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17707 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17708 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17709 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17710 RLIM64_INFINITY): Fix values to match the kernel ones.
17711 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17712 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17713 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17714 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17715 getrlimit64@@GLIBC_2_27.
17716 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17718 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17719 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17720 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17721 setrlimit, getrlimit64 and setrlimit64.
17723 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17726 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17727 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17729 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17731 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17732 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17733 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17735 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17739 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17740 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17744 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17745 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17746 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17747 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17749 2018-01-04 Florian Weimer <fweimer@redhat.com>
17752 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17753 Align the stack before calling exit.
17754 * stdlib/tst-makecontext-align.c: New file.
17755 * stdlib/Makefile (tests): Add tst-makecontext-align.
17757 2018-01-04 Florian Weimer <fweimer@redhat.com>
17759 Add support for calling dlvsym from libc.so.
17760 * include/dlfcn.h (__libc_dlvsym): Declare.
17761 * elf/Makefile (tests-static-internal): Add
17762 tst-libc_dlvsym-static.
17763 (tests-internal): Add tst-libc_dlvsym.
17764 (modules-names): Add tst-libc_dlvsym-dso.
17765 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17766 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17767 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17768 object tst-libc_dlvsym-dso.so needs to be built before running
17770 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17771 * elf/Versions: Export __libc_dlvsym.
17772 * elf/dl-libc.c (struct do_dlvsym_args): New.
17773 (do_dlvsym, __libc_dlvsym): New functions.
17774 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17775 (_dl_open_hook2): New variable.
17776 (__libc_register_dl_open_hook): Set it.
17777 * elf/tst-libc_dlvsym-dso.c: New file.
17778 * elf/tst-libc_dlvsym-static.c: Likewise.
17779 * elf/tst-libc_dlvsym.c: Likewise.
17780 * elf/tst-libc_dlvsym.h: Likewise.
17782 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17784 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17785 include <sys/mount.h>.
17787 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17789 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17790 Add __NO_MATH_ERRNO__ check.
17792 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17794 * sysdeps/mips/mips32/libm-test-ulps: Update.
17795 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17797 2018-01-02 Florian Weimer <fweimer@redhat.com>
17799 * misc/tst-pselect.c: Add copyright header.
17801 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17803 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17805 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17807 (settrlimit): Rename into setrlimit.
17808 (__sttrlimit): Rename into __setrlimit.
17810 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17811 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17812 never defined in that case.
17814 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17816 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17818 * sysdeps/arm/libm-test-ulps: Update.
17820 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17821 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17823 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17825 * NEWS: Add cosf and sincosf to list of optimized functions.
17827 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17830 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17831 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17832 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17833 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17835 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17838 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17840 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17841 making a copy of it.
17843 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17845 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17846 trailing whitespace removed.
17847 * scripts/config.guess: Update to version 2018-01-01.
17848 * scripts/config.sub: Update to version 2018-01-01.
17849 * scripts/move-if-change: Update from gnulib.
17851 * NEWS: Update copyright dates.
17852 * catgets/gencat.c (print_version): Likewise.
17853 * csu/version.c (banner): Likewise.
17854 * debug/catchsegv.sh: Likewise.
17855 * debug/pcprofiledump.c (print_version): Likewise.
17856 * debug/xtrace.sh (do_version): Likewise.
17857 * elf/ldconfig.c (print_version): Likewise.
17858 * elf/ldd.bash.in: Likewise.
17859 * elf/pldd.c (print_version): Likewise.
17860 * elf/sotruss.sh: Likewise.
17861 * elf/sprof.c (print_version): Likewise.
17862 * iconv/iconv_prog.c (print_version): Likewise.
17863 * iconv/iconvconfig.c (print_version): Likewise.
17864 * locale/programs/locale.c (print_version): Likewise.
17865 * locale/programs/localedef.c (print_version): Likewise.
17866 * login/programs/pt_chown.c (print_version): Likewise.
17867 * malloc/memusage.sh (do_version): Likewise.
17868 * malloc/memusagestat.c (print_version): Likewise.
17869 * malloc/mtrace.pl: Likewise.
17870 * manual/libc.texinfo: Likewise.
17871 * nptl/version.c (banner): Likewise.
17872 * nscd/nscd.c (print_version): Likewise.
17873 * nss/getent.c (print_version): Likewise.
17874 * nss/makedb.c (print_version): Likewise.
17875 * posix/getconf.c (main): Likewise.
17876 * scripts/test-installation.pl: Likewise.
17877 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17879 * All files with FSF copyright notices: Update copyright dates
17880 using scripts/update-copyrights.
17881 * locale/programs/charmap-kw.h: Regenerated.
17882 * locale/programs/locfile-kw.h: Likewise.
17884 2017-12-31 Zack Weinberg <zackw@panix.com>
17886 * libio/bits/libio-ldbl.h: Correct check for improper
17887 inclusion. Add own multiple include guard.
17889 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17890 Dmitry V. Levin <ldv@altlinux.org>
17894 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17895 string token expansion. Check for NULL pointer or empty string possibly
17896 returned by expand_dynamic_string_token.
17897 (decompose_rpath): Check for empty path after dynamic string
17900 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17903 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17905 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17906 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17907 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17908 and PTRACE_SYSCALL.
17909 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17910 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17911 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17912 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17913 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17914 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17916 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17917 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17918 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17919 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17921 bits/ptrace-shared.h.
17922 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17923 <bits/ptrace-shared.h>.
17924 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17925 __ptrace_peeksiginfo_flags, ptrace): Remove.
17926 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17927 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17928 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17929 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17930 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17932 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17935 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17936 end of the loop. Improve comments.
17938 2017-12-29 Zack Weinberg <zackw@panix.com>
17941 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17942 might be set on success.
17944 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17947 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17948 is unchanged on success.
17950 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17952 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17954 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17955 expand_dynamic_string_token): Likewise.
17956 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17959 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17962 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17963 is set and name contains ':', and all code depending on these checks.
17965 2017-12-24 Zack Weinberg <zackw@panix.com>
17967 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17968 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17970 * libio/libio.h: Rename the original version of this file to
17971 libio/bits/libio.h. Error out if not included by stdio.h or the
17973 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17974 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17975 if not included by bits/libio.h or the stub _G_config.h.
17976 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17977 sysdeps/unix/sysv/linux/bits. Error out if not included by
17978 bits/libio.h or the stub _G_config.h.
17979 * libio/stdio.h: Include bits/libio.h, not libio.h.
17980 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17981 well as libio.h and _G_config.h.
17983 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17984 * libio/strfile.h, stdio-common/vfscanf.c
17985 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17986 Include stdio.h, not _G_config.h nor libio.h.
17987 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17988 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17990 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17992 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17995 * stdlib/getrandom.c (getrandom): Fix comment.
17996 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17998 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18001 * manual/arith.texi (strtoul): Fix a typo.
18004 * manual/arith.texi (finite): Fix the description of the return
18007 2017-12-22 Eric Blake <ebb9@byu.net>
18009 Avoid gcc warnings on cygwin
18010 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18011 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18012 Avoid unused variable.
18014 2017-12-22 Florian Weimer <fweimer@redhat.com>
18016 * io/Makefile (routines): Add copy_file_range.
18017 (tests): Add tst-copy_file_range.
18018 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18019 * io/Versions (GLIBC_2.27): Export copy_file_range.
18020 * io/copy_file_range-compat.c: New file.
18021 * io/copy_file_range.c: Likewise.
18022 * io/tst-copy_file_range-compat.c: Likewise.
18023 * io/tst-copy_file_range.c: Likewise.
18024 * manual/llio.texi (Copying File Data): New section.
18025 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18026 * support/Makefile (libsupport-routines): Add support-xfstat,
18027 xftruncate, xlseek.
18028 * support/support-xfstat.c: New file.
18029 * support/xftruncate.c: Likewise.
18030 * support/xlseek.c: Likewise.
18031 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18032 * sysdeps/unix/sysv/linux/**.abilist: Update.
18033 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18035 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18037 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18038 disable-multi-arch variant to aarch64-linux-gnu.
18040 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18042 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18043 trailing whitespace removed.
18044 * scripts/config.guess: Update to version 2017-12-17.
18045 * scripts/config.sub: Update to version 2017-11-23.
18046 * scripts/install-sh: Update to version 2017-09-23.17.
18047 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18049 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18051 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18052 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18053 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18054 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18055 * sysdeps/tile/crtn.S: Likewise.
18056 * sysdeps/tile/dl-start.S (_start): Likewise.
18057 * sysdeps/tile/dl-trampoline.S: Likewise.
18058 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18059 * sysdeps/tile/start.S (_start): Likewise.
18060 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18061 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18062 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18063 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18064 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18065 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18066 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18068 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18070 * sysdeps/tile/preconfigure: Remove tilegx folder.
18071 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18072 * sysdeps/tile/Implies: ... here.
18073 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18074 * sysdeps/tile/Makefile: ... here.
18075 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18076 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18077 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18078 * sysdeps/tile/bits/wordsize.h: ... here.
18079 * sysdeps/tile/tilegx/*: Move to ...
18080 * sysdeps/tile/*: ... here.
18081 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18082 * sysdeps/tile/tilegx32/Implies: ... here.
18083 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18084 * sysdeps/tile/tilegx64/Implies: ... here.
18085 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18087 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18088 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18089 * sysdeps/unix/sysv/linux/tile/*: ... here.
18090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18091 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18093 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18095 * README: Remove tilepro-*-linux-gnu from supported architecture.
18096 * scripts/build-many-glibcs.py: Likewise.
18097 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18098 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18099 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18100 elf_machine_matches_host, elf_machine_dynamic,
18101 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18102 howto, elf_machine_rela): Likewise.
18103 * sysdeps/tile/dl-start.S (_start): Likewise.
18104 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18105 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18106 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18107 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18108 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18109 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18111 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18112 * sysdeps/tile/preconfigure: Likewise.
18113 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18114 POINTER_CHK_GUARD): Likewise.
18115 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18116 * sysdeps/tile/start.S (_start): Likewise.
18117 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18119 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18120 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18122 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18123 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18124 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18126 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18127 * sysdeps/tile/tilepro/Implies: Remove file.
18128 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18129 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18130 * sysdeps/tile/tilepro/memchr.c: Likewise.
18131 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18132 * sysdeps/tile/tilepro/memset.c: Likewise.
18133 * sysdeps/tile/tilepro/memusage.h: Likewise.
18134 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18135 * sysdeps/tile/tilepro/strchr.c: Likewise.
18136 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18137 * sysdeps/tile/tilepro/strlen.c: Likewise.
18138 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18139 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18140 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18141 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18142 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18143 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18144 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18146 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18147 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18148 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18149 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18150 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18154 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18155 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18156 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18157 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18158 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18159 tilepro mention in comment.
18161 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18162 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18163 * nptl/pthread_join_common.c: New file: common function used on
18164 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18165 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18166 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18167 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18168 (cleanup): Move definition to pthread_join_common.c.
18169 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18170 Remove superflous checks.
18171 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18174 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18176 * sysdeps/aarch64/libm-test-ulps: Update.
18178 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18180 * sysdeps/aarch64/memset.S (MEMSET): Define.
18182 2017-12-20 Florian Weimer <fweimer@redhat.com>
18185 nptl: Provide full implementation of pthread_self in libc.so.
18186 * nptl/Makefile (routines): Add pthread_self.
18187 (libpthread-routines): Replace pthread_self with
18188 compat-pthread_self.
18189 * nptl/forward.c (pthread_self): Remove.
18190 * nptl/nptl-init.c (pthread_functions): Do not initialize
18192 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18193 * nptl/compat-pthread_self.c: New file.
18194 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18195 Remove ptr_pthread_self.
18197 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18199 * posix/regcomp.c: Fix spelling in comments.
18200 * posix/regex.h: Likewise.
18201 * posix/regex_internal.c: Likewise.
18202 * posix/regexec.c: Likewise.
18204 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18207 * math/Makefile [C++] (tests): Add test for iseqsig.
18208 * math/math.h [C++] (iseqsig): New implementation, which does
18209 not rely on __MATH_TG/__builtin_types_compatible_p.
18210 * math/test-math-iseqsig.cc: New file.
18211 * sysdeps/powerpc/powerpc64le/Makefile
18212 (CFLAGS-test-math-iseqsig.cc): New variable.
18214 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18216 * elf/dl-load.c (is_trusted_path): Remove.
18217 (fillin_rpath): Remove check_trusted argument and its use,
18218 all callers changed.
18220 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18223 * Makeconfig (link-pie-before-libc): Replace -pie with
18224 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18225 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18226 (tst-dlopen-aout-no-pie): New.
18227 (LDFLAGS-tst-prelink): Removed.
18228 (tst-prelink-no-pie): New.
18229 (LDFLAGS-tst-main1): Removed.
18230 (tst-main1-no-pie): New.
18231 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18232 (tst-gmon-no-pie): New.
18234 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18236 * manual/install.texi: Document that --enable-static-pie
18238 * INSTALL: Regenerated.
18240 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18243 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18246 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18250 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18254 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18256 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18257 <errno.h>. Include "eexp.tbl".
18258 (half): New constant.
18260 (__ieee754_exp): Rewrite.
18261 (__slowexp): Remove prototype.
18262 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18263 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18264 * sysdeps/i386/fpu/slowexp.c: Likewise.
18265 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18266 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18267 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18268 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18269 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18270 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18271 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18273 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18274 (CPPFLAGS-slowexp.c): Remove variable.
18275 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18276 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18277 (CFLAGS-slowexp-fma.c): Remove variable.
18278 (CFLAGS-slowexp-fma4.c): Likewise.
18279 (CFLAGS-slowexp-avx.c): Likewise.
18280 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18282 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18283 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18284 * math/Makefile (type-double-routines): Remove slowexp.
18285 * manual/probes.texi (slowexp_p6): Remove.
18286 (slowexp_p32): Likewise.
18288 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18290 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18293 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18295 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18299 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18301 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18302 <errno.h>. Include "eexp.tbl".
18303 (half): New constant.
18305 (__ieee754_exp): Rewrite.
18306 (__slowexp): Remove prototype.
18307 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18308 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18309 * sysdeps/i386/fpu/slowexp.c: Likewise.
18310 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18311 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18312 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18313 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18314 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18315 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18316 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18318 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18319 (CPPFLAGS-slowexp.c): Remove variable.
18320 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18321 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18322 (CFLAGS-slowexp-fma.c): Remove variable.
18323 (CFLAGS-slowexp-fma4.c): Likewise.
18324 (CFLAGS-slowexp-avx.c): Likewise.
18325 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18327 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18328 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18329 * math/Makefile (type-double-routines): Remove slowexp.
18330 * manual/probes.texi (slowexp_p6): Remove.
18331 (slowexp_p32): Likewise.
18333 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18334 James Clarke <jrtc27@jrtc27.com>
18337 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18340 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18343 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18346 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18349 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18350 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18351 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18352 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18355 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18358 * bits/types/__cancel_jmp_buf_tag.h: New file.
18359 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18360 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18361 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18362 * nptl/Makefile (headers): Add
18363 bits/types/__cancel_jmp_buf_tag.h.
18364 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18365 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18366 * sysdeps/nptl/pthread.h: Include
18367 <bits/types/__cancel_jmp_buf_tag.h>.
18368 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18370 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18372 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18374 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18375 --enable-static-pie variants to x86_64, x32 and i686.
18377 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18380 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18381 argument for attrubutes. All callers changed.
18382 (__inline_mathop1): Likewise. All callers changed.
18383 (__inline_mathop): Likewise. All callers changed.
18384 [__USE_MISC] (scalbn): Use __inline_forward instead of
18385 __inline_forward_c.
18386 [__USE_ISOC99] (scalbln): Likewise.
18387 [__USE_ISOC99] (nearbyint): Likewise.
18388 [__USE_ISOC99] (lrint): Likewise.
18389 [__USE_MISC] (scalbnf): Likewise.
18390 [__USE_ISOC99] (scalblnf): Likewise.
18391 [__USE_ISOC99] (nearbyintf): Likewise.
18392 [__USE_ISOC99] (lrintf): Likewise.
18393 [__USE_MISC] (scalbnl): Likewise.
18394 [__USE_ISOC99] (scalblnl): Likewise.
18395 [__USE_ISOC99] (nearbyintl): Likewise.
18396 [__USE_ISOC99] (lrintl): Likewise.
18397 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18398 __inline_mathop and __m81_defun changed.
18400 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18401 CPU or FPU for ARM hard-float configurations.
18403 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18405 * nptl/tst-attr3.c: Include <libc-diag.h>.
18406 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18408 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18410 * string/tester.c (test_strncat): Also disable -Warray-bounds
18411 warnings for two tests.
18413 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18416 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18417 $(cc-pie-default) == yes.
18418 * config.make.in (cc-pie-default): New.
18419 * configure.ac (libc_cv_pie_default): Renamed to ...
18420 (libc_cv_cc_pie_default): This.
18421 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18422 * configure: Regenerated.
18424 2017-12-18 Florian Weimer <fweimer@redhat.com>
18427 ld.so: Harden dl-libc/libdl hooks.
18428 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18429 (rtld_active): New function.
18430 * dlfcn/dladdr.c (__dladdr): Call it.
18431 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18432 * dlfcn/dlclose.c (__dlcose): Likewise.
18433 * dlfcn/dlerror.c (__dlerror): Likewise.
18434 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18435 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18436 * dlfcn/dlopen.c (__dlopen): Likewise.
18437 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18438 * dlfcn/dlsym.c (__dlsym): Likewise.
18439 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18440 * libio/vtables.c (_IO_vtable_check): Likewise.
18441 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18442 (__libc_dlclose): Likewise.
18443 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18446 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18449 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18450 buffers for readlink input and output.
18452 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18455 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18456 inhibit_stack_protector.
18459 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18460 inhibit_stack_protector.
18462 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18465 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18466 code and invocation.
18468 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18470 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18472 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18475 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18477 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18479 * sysdeps/s390/fpu/libm-test-ulps: Update.
18481 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18485 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18487 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18488 constants to s_sincosf.h file.
18489 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18490 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18492 * sysdeps/ieee754/flt-32/s_sincosf.h:
18495 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18498 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18501 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18504 * INSTALL: Regenerated.
18505 * Makeconfig (real-static-start-installed-name): New.
18506 (pic-default): Updated for --enable-static-pie.
18507 (pie-default): New for --enable-static-pie.
18508 (default-pie-ldflag): Likewise.
18509 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18510 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18511 Replace $(static-start-installed-name) with
18512 $(real-static-start-installed-name).
18513 (+prectorT): Updated for --enable-static-pie.
18514 (+postctorT): Likewise.
18515 (CFLAGS-.o): Add $(pie-default).
18516 (CFLAGS-.op): Likewise.
18517 * NEWS: Mention --enable-static-pie.
18518 * config.h.in (ENABLE_STATIC_PIE): New.
18519 * configure.ac (--enable-static-pie): New configure option.
18520 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18521 (have-static-pie): Likewise.
18522 Enable static PIE if linker supports --no-dynamic-linker.
18523 (ENABLE_STATIC_PIE): New AC_DEFINE.
18524 (enable-static-pie): New LIBC_CONFIG_VAR.
18525 * configure: Regenerated.
18526 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18527 gr$(start-installed-name) for --enable-static-pie.
18528 (extra-objs): Likewise.
18529 (install-lib): Likewise.
18530 (extra-objs): Add static-reloc.o and static-reloc.os
18531 ($(objpfx)$(start-installed-name)): Also depend on
18532 $(objpfx)static-reloc.o.
18533 ($(objpfx)r$(start-installed-name)): New.
18534 ($(objpfx)g$(start-installed-name)): Also depend on
18535 $(objpfx)static-reloc.os.
18536 ($(objpfx)gr$(start-installed-name)): New.
18537 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18539 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18541 * csu/static-reloc.c: New file.
18542 * elf/Makefile (routines): Add dl-reloc-static-pie.
18543 (elide-routines.os): Likewise.
18544 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18545 (tst-tls1-static-non-pie-no-pie): New.
18546 * elf/dl-reloc-static-pie.c: New file.
18547 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18548 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18549 STATIC_PIE_BOOTSTRAP.
18550 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18551 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18552 (tests-static): Likewise.
18553 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18554 (tst-gmon-static-no-pie): New.
18555 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18556 (CRT-tst-gmon-static-pie): Likewise.
18557 (tst-gmon-static-pie-ENV): Likewise.
18558 (tests-special): Likewise.
18559 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18560 (clean-tst-gmon-static-pie-data): Likewise.
18561 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18562 * gmon/tst-gmon-static-pie.c: New file.
18563 * manual/install.texi: Document --enable-static-pie.
18564 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18565 (_dl_get_dl_main_map): Likewise.
18566 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18567 * sysdeps/x86_64/configure.ac: Likewise.
18568 * sysdeps/i386/configure: Regenerated.
18569 * sysdeps/x86_64/configure: Likewise.
18570 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18571 (ASFLAGS-.op): Likewise.
18573 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18575 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18576 * posix/tst-mmap-offset.c (fname): Use /tmp.
18577 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18579 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18581 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18583 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18585 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18588 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18590 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18591 --with-float=hard for arm-linux-gnueabihf configurations.
18594 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18595 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18596 ($(mo-installed)): Use $(objpfx)%.mo.
18597 (realclean): Remove rule.
18599 * po/Makefile (linguas): Remove rule and dependencies.
18600 (linguas.mo): Likewise.
18601 (.PHONY): Do not depend on linguas and linguas.mo.
18602 (podir): Remove variable.
18603 (pofiles): Likewise.
18604 [$(pofiles)] (%.po): Remove rule.
18606 * sysdeps/sparc/sparc32/Makefile
18607 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18608 start-of-line whitespace in argument of echo.
18609 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18610 with whitespace. Generate __wrap_.udiv alias.
18611 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18612 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18613 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18614 * sysdeps/sparc/sparc32/urem.S: Likewise.
18616 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18618 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18619 for aligned inputs.
18621 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18623 * benchtests/bench-strcmp.c: Print output in JSON format.
18625 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18627 2017-12-14 Florian Weimer <fweimer@redhat.com>
18631 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18632 the expanded path string.
18634 2017-12-14 Florian Weimer <fweimer@redhat.com>
18638 * elf/dl-load.c (system_dirs): Update comment.
18639 (nsystem_dirs_len): Use array_length.
18640 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18642 2017-12-14 Florian Weimer <fweimer@redhat.com>
18644 Simplify compiling most of support/ outside of glibc.
18645 * support/check_addrinfo.c: Include <string.h>.
18646 * support/check_dns_packet.c: Likewise.
18647 * support/check_hostent.c: Likewise.
18648 * support/support_can_chroot.c: Include <support/xunistd.h>.
18649 * support/support_format_addrinfo.c: Include <stdlib.h>
18650 * support/support_format_dns_packet.c: Include <stdbool.h>.
18651 * support/support_format_hostent.c: Include <stdlib.h>.
18652 * support/support_format_netent.c: Likewise.
18653 * support/support_write_string.c: Include <support/xunistd.h>.
18654 * support/xdlfcn.c: Include <stddef.h>.
18656 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18658 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18660 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18661 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18663 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18664 (sysdeps_routines): Add memset-niagara7.
18665 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18667 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18669 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18670 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18671 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18672 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18673 Add niagara7 option.
18674 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18677 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18678 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18679 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18681 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18683 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18684 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18685 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18686 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18687 and __memmove_niagara7.
18688 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18689 Add niagara7 option.
18690 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18691 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18692 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18693 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18694 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18696 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18698 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18699 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18700 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18701 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18703 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18704 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18705 _dl_sparc_cap_flags array.
18706 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18708 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18710 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18711 time whenever possible.
18713 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18715 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18716 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18718 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18720 * soft-fp/fmadf4.c: Move to ....
18721 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18722 * soft-fp/fmasf4.c: Move to ....
18723 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18724 * soft-fp/fmatf4.c: Move to ....
18725 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18726 * sysdeps/ieee754/soft-fp/Makefile: New file.
18727 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18728 * sysdeps/arm/preconfigure: Regenerated.
18729 * sysdeps/arm/nofpu/Implies: New file.
18730 * sysdeps/arm/s_fma.c: Remove file.
18731 * sysdeps/arm/s_fmaf.c: Likewise.
18732 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18733 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18734 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18735 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18736 * sysdeps/microblaze/s_fma.c: Remove file.
18737 * sysdeps/microblaze/s_fmaf.c: Likewise.
18738 * sysdeps/mips/mips32/nofpu/Implies: New file.
18739 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18740 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18741 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18742 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18743 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18744 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18745 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18747 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18748 * sysdeps/nios2/s_fma.c: Remove file.
18749 * sysdeps/nios2/s_fmaf.c: Likewise.
18750 * sysdeps/sh/nofpu/Implies: New file.
18751 * sysdeps/sh/s_fma.c: Remove file.
18752 * sysdeps/sh/s_fmaf.c: Likewise.
18753 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18754 * sysdeps/tile/s_fma.c: Remove file.
18755 * sysdeps/tile/s_fmaf.c: Likewise.
18757 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18759 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18760 Add s_cosf-sse2 and s_cosf-fma.
18761 (CFLAGS-s_cosf-fma.c): New.
18762 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18763 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18764 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18766 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18768 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18770 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18772 * libio/Makefile (tests): Add tst-bz22415.
18773 (tst-bz22415-ENV): New rule.
18774 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18775 (tests-special): Add tst-bz22415-mem.out.
18776 ($(objpfx)tst-bz22415-mem.out): New rule.
18777 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18778 in case of a successful seek operation.
18779 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18780 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18781 buffer is required.
18782 * libio/tst-bz22415.c: New test.
18784 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18786 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18788 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18789 __IPC_64 to 0 to avoid IPC_64 being set.
18791 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18794 * math/bits/mathcalls.h (nextafter): Remove const.
18795 (nexttoward): Likewise.
18797 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18799 * configure.ac (--with-fp): Remove configure option.
18800 (with_fp_cond): New variable.
18801 (libc_cv_with_fp): New configure test. Use this variable instead
18803 * configure: Regenerated.
18804 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18805 * manual/install.texi (Configuring and compiling): Remove
18807 * INSTALL: Regenerated.
18808 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18809 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18810 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18811 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18812 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18813 use --without-fp to configure glibc.
18815 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18817 * manual/locale.texi (nl_langinfo): Fix a typo.
18819 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18822 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18824 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18826 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18827 (CFLAGS-argp-parse.c): Likewise.
18828 (CFLAGS-argp-fmtstream.c): Likewise.
18829 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18830 (CPPFLAGS-sha512-crypt.c): Likewise.
18831 (CPPFLAGS-md5-crypt.c): Likewise.
18832 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18833 (CFLAGS-stack_chk_fail_local.c): Likewise.
18834 (CFLAGS-backtrace.c): Likewise.
18835 (CFLAGS-sprintf_chk.c): Likewise.
18836 (CFLAGS-snprintf_chk.c): Likewise.
18837 (CFLAGS-vsprintf_chk.c): Likewise.
18838 (CFLAGS-vsnprintf_chk.c): Likewise.
18839 (CFLAGS-asprintf_chk.c): Likewise.
18840 (CFLAGS-vasprintf_chk.c): Likewise.
18841 (CFLAGS-obprintf_chk.c): Likewise.
18842 (CFLAGS-dprintf_chk.c): Likewise.
18843 (CFLAGS-vdprintf_chk.c): Likewise.
18844 (CFLAGS-printf_chk.c): Likewise.
18845 (CFLAGS-fprintf_chk.c): Likewise.
18846 (CFLAGS-vprintf_chk.c): Likewise.
18847 (CFLAGS-vfprintf_chk.c): Likewise.
18848 (CFLAGS-gets_chk.c): Likewise.
18849 (CFLAGS-fgets_chk.c): Likewise.
18850 (CFLAGS-fgets_u_chk.c): Likewise.
18851 (CFLAGS-fread_chk.c): Likewise.
18852 (CFLAGS-fread_u_chk.c): Likewise.
18853 (CFLAGS-swprintf_chk.c): Likewise.
18854 (CFLAGS-vswprintf_chk.c): Likewise.
18855 (CFLAGS-wprintf_chk.c): Likewise.
18856 (CFLAGS-fwprintf_chk.c): Likewise.
18857 (CFLAGS-vwprintf_chk.c): Likewise.
18858 (CFLAGS-vfwprintf_chk.c): Likewise.
18859 (CFLAGS-fgetws_chk.c): Likewise.
18860 (CFLAGS-fgetws_u_chk.c): Likewise.
18861 (CFLAGS-read_chk.c): Likewise.
18862 (CFLAGS-pread_chk.c): Likewise.
18863 (CFLAGS-pread64_chk.c): Likewise.
18864 (CFLAGS-recv_chk.c): Likewise.
18865 (CFLAGS-recvfrom_chk.c): Likewise.
18866 (CFLAGS-tst-longjmp_chk.c): Likewise.
18867 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18868 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18869 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18870 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18871 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18872 (CFLAGS-tst-chk1.c): Likewise.
18873 (CFLAGS-tst-chk2.c): Likewise.
18874 (CFLAGS-tst-chk3.c): Likewise.
18875 (CFLAGS-tst-chk4.cc): Likewise.
18876 (CFLAGS-tst-chk5.cc): Likewise.
18877 (CFLAGS-tst-chk6.cc): Likewise.
18878 (CFLAGS-tst-lfschk1.c): Likewise.
18879 (CFLAGS-tst-lfschk2.c): Likewise.
18880 (CFLAGS-tst-lfschk3.c): Likewise.
18881 (CFLAGS-tst-lfschk4.cc): Likewise.
18882 (CFLAGS-tst-lfschk5.cc): Likewise.
18883 (CFLAGS-tst-lfschk6.cc): Likewise.
18884 (CFLAGS-tst-ssp-1.c): Likewise.
18885 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18886 (CFLAGS-scandir64.c): Likewise.
18887 (CFLAGS-scandir-tail.c): Likewise.
18888 (CFLAGS-scandir64-tail.c): Likewise.
18889 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18890 (CFLAGS-dl-tunables.c): Likewise.
18891 (CFLAGS-dl-runtime.c): Likewise.
18892 (CFLAGS-dl-lookup.c): Likewise.
18893 (CFLAGS-dl-iterate-phdr.c): Likewise.
18894 (CFLAGS-vismain.c): Likewise.
18895 (CFLAGS-tst-linkall-static.c): Likewise.
18896 (CFLAGS-tst-linkall-static.c): Likewise.
18897 (CPPFLAGS-dl-load.c): Likewise.
18898 (CFLAGS-ldconfig.c): Likewise.
18899 (CFLAGS-dl-cache.c): Likewise.
18900 (CFLAGS-cache.c): Likewise.
18901 (CFLAGS-rtld.c): Likewise.
18902 (CFLAGS-multiload.c): Likewise.
18903 (CFLAGS-filtmod1.c): Likewise.
18904 (CFLAGS-tst-align.c): Likewise.
18905 (CFLAGS-tst-align2.c): Likewise.
18906 (CFLAGS-tst-alignmod.c): Likewise.
18907 (CFLAGS-tst-alignmod2.c): Likewise.
18908 (CPPFLAGS-tst-execstack.c): Likewise.
18909 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18910 (CFLAGS-tst-latepthreadmod.c): Likewise.
18911 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18912 (CFLAGS-getgrnam_r.c): Likewise.
18913 (CFLAGS-getgrent_r.c): Likewise.
18914 (CFLAGS-getgrent.c): Likewise.
18915 (CFLAGS-fgetgrent.c): Likewise.
18916 (CFLAGS-fgetgrent_r.c): Likewise.
18917 (CFLAGS-putgrent.c): Likewise.
18918 (CFLAGS-initgroups.c): Likewise.
18919 (CFLAGS-getgrgid.c): Likewise.
18920 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18921 (CFLAGS-getsgent.c): Likewise.
18922 (CFLAGS-fgetsgent.c): Likewise.
18923 (CFLAGS-fgetsgent_r.c): Likewise.
18924 (CFLAGS-putsgent.c): Likewise.
18925 (CFLAGS-getsgnam.c): Likewise.
18926 (CFLAGS-getsgnam_r.c): Likewise.
18927 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18928 (CFLAGS-iconv_charmap.c): Likewise.
18929 (CFLAGS-dummy-repertoire.c): Likewise.
18930 (CFLAGS-charmap.c): Likewise.
18931 (CFLAGS-linereader.c): Likewise.
18932 (CFLAGS-simple-hash.c): Likewise.
18933 (CFLAGS-gconv_conf.c): Likewise.
18934 (CFLAGS-iconvconfig.c): Likewise.
18935 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18936 (CFLAGS-gethstbyad.c): Likewise.
18937 (CFLAGS-gethstbynm_r.c): Likewise.
18938 (CFLAGS-gethstbynm.c): Likewise.
18939 (CFLAGS-gethstbynm2_r.c): Likewise.
18940 (CFLAGS-gethstbynm2.c): Likewise.
18941 (CFLAGS-gethstent_r.c): Likewise.
18942 (CFLAGS-gethstent.c): Likewise.
18943 (CFLAGS-rcmd.c): Likewise.
18944 (CFLAGS-getnetbynm_r.c): Likewise.
18945 (CFLAGS-getnetbynm.c): Likewise.
18946 (CFLAGS-getnetbyad_r.c): Likewise.
18947 (CFLAGS-getnetbyad.c): Likewise.
18948 (CFLAGS-getnetent_r.c): Likewise.
18949 (CFLAGS-getnetent.c): Likewise.
18950 (CFLAGS-getaliasent_r.c): Likewise.
18951 (CFLAGS-getaliasent.c): Likewise.
18952 (CFLAGS-getrpcent_r.c): Likewise.
18953 (CFLAGS-getrpcent.c): Likewise.
18954 (CFLAGS-getservent_r.c): Likewise.
18955 (CFLAGS-getservent.c): Likewise.
18956 (CFLAGS-getprtent_r.c): Likewise.
18957 (CFLAGS-getprtent.c): Likewise.
18958 (CFLAGS-either_ntoh.c): Likewise.
18959 (CFLAGS-either_hton.c): Likewise.
18960 (CFLAGS-getnetgrent.c): Likewise.
18961 (CFLAGS-getnetgrent_r.c): Likewise.
18962 (CFLAGS-tst-checks-posix.c): Likewise.
18963 (CFLAGS-tst-sockaddr.c): Likewise.
18964 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18965 (CFLAGS-tst-translit.c): Likewise.
18966 (CFLAGS-tst-gettext2.c): Likewise.
18967 (CFLAGS-tst-codeset.c): Likewise.
18968 (CFLAGS-tst-gettext3.c): Likewise.
18969 (CFLAGS-tst-gettext4.c): Likewise.
18970 (CFLAGS-tst-gettext5.c): Likewise.
18971 (CFLAGS-tst-gettext6.c): Likewise.
18972 * io/Makefile (CFLAGS-open.c): Likewise.
18973 (CFLAGS-open64.c): Likewise.
18974 (CFLAGS-creat.c): Likewise.
18975 (CFLAGS-creat64.c): Likewise.
18976 (CFLAGS-fcntl.c): Likewise.
18977 (CFLAGS-poll.c): Likewise.
18978 (CFLAGS-ppoll.c): Likewise.
18979 (CFLAGS-lockf.c): Likewise.
18980 (CFLAGS-statfs.c): Likewise.
18981 (CFLAGS-fstatfs.c): Likewise.
18982 (CFLAGS-statvfs.c): Likewise.
18983 (CFLAGS-fstatvfs.c): Likewise.
18984 (CFLAGS-fts.c): Likewise.
18985 (CFLAGS-fts64.c): Likewise.
18986 (CFLAGS-ftw.c): Likewise.
18987 (CFLAGS-ftw64.c): Likewise.
18988 (CFLAGS-lockf.c): Likewise.
18989 (CFLAGS-posix_fallocate.c): Likewise.
18990 (CFLAGS-posix_fallocate64.c): Likewise.
18991 (CFLAGS-fallocate.c): Likewise.
18992 (CFLAGS-fallocate64.c): Likewise.
18993 (CFLAGS-read.c): Likewise.
18994 (CFLAGS-write.c): Likewise.
18995 (CFLAGS-test-stat.c): Likewise.
18996 (CFLAGS-test-lfs.c): Likewise.
18997 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18998 (CFLAGS-fputc.c): Likewise.
18999 (CFLAGS-fputwc.c): Likewise.
19000 (CFLAGS-freopen64.c): Likewise.
19001 (CFLAGS-freopen.c): Likewise.
19002 (CFLAGS-fseek.c): Likewise.
19003 (CFLAGS-fseeko64.c): Likewise.
19004 (CFLAGS-fseeko.c): Likewise.
19005 (CFLAGS-ftello64.c): Likewise.
19006 (CFLAGS-ftello.c): Likewise.
19007 (CFLAGS-fwide.c): Likewise.
19008 (CFLAGS-genops.c): Likewise.
19009 (CFLAGS-getc.c): Likewise.
19010 (CFLAGS-getchar.c): Likewise.
19011 (CFLAGS-getwc.c): Likewise.
19012 (CFLAGS-getwchar.c): Likewise.
19013 (CFLAGS-iofclose.c): Likewise.
19014 (CFLAGS-iofflush.c): Likewise.
19015 (CFLAGS-iofgetpos64.c): Likewise.
19016 (CFLAGS-iofgetpos.c): Likewise.
19017 (CFLAGS-iofgets.c): Likewise.
19018 (CFLAGS-iofgetws.c): Likewise.
19019 (CFLAGS-iofputs.c): Likewise.
19020 (CFLAGS-iofputws.c): Likewise.
19021 (CFLAGS-iofread.c): Likewise.
19022 (CFLAGS-iofsetpos64.c): Likewise.
19023 (CFLAGS-iofsetpos.c): Likewise.
19024 (CFLAGS-ioftell.c): Likewise.
19025 (CFLAGS-iofwrite.c): Likewise.
19026 (CFLAGS-iogetdelim.c): Likewise.
19027 (CFLAGS-iogetline.c): Likewise.
19028 (CFLAGS-iogets.c): Likewise.
19029 (CFLAGS-iogetwline.c): Likewise.
19030 (CFLAGS-ioputs.c): Likewise.
19031 (CFLAGS-ioseekoff.c): Likewise.
19032 (CFLAGS-ioseekpos.c): Likewise.
19033 (CFLAGS-iosetbuffer.c): Likewise.
19034 (CFLAGS-iosetvbuf.c): Likewise.
19035 (CFLAGS-ioungetc.c): Likewise.
19036 (CFLAGS-ioungetwc.c): Likewise.
19037 (CFLAGS-oldfileops.c): Likewise.
19038 (CFLAGS-oldiofclose.c): Likewise.
19039 (CFLAGS-oldiofgetpos64.c): Likewise.
19040 (CFLAGS-oldiofgetpos.c): Likewise.
19041 (CFLAGS-oldiofsetpos64.c): Likewise.
19042 (CFLAGS-oldiofsetpos.c): Likewise.
19043 (CFLAGS-peekc.c): Likewise.
19044 (CFLAGS-putc.c): Likewise.
19045 (CFLAGS-putchar.c): Likewise.
19046 (CFLAGS-putwc.c): Likewise.
19047 (CFLAGS-putwchar.c): Likewise.
19048 (CFLAGS-rewind.c): Likewise.
19049 (CFLAGS-wfileops.c): Likewise.
19050 (CFLAGS-wgenops.c): Likewise.
19051 (CFLAGS-oldiofopen.c): Likewise.
19052 (CFLAGS-iofopen.c): Likewise.
19053 (CFLAGS-iofopen64.c): Likewise.
19054 (CFLAGS-oldtmpfile.c): Likewise.
19055 (CFLAGS-tst_putwc.c): Likewise.
19056 * locale/Makefile (CFLAGS-md5.c): Likewise.
19057 (CFLAGS-charmap.c): Likewise.
19058 (CFLAGS-locfile.c): Likewise.
19059 (CFLAGS-charmap-dir.c): Likewise.
19060 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19061 (CFLAGS-getpt.c): Likewise.
19062 (CFLAGS-pt_chown.c): Likewise.
19063 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19064 (CFLAGS-obstack.c): Likewise.
19065 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19066 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19067 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19068 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19069 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19070 (CFLAGS-test-tgmath.c): Likewise.
19071 (CFLAGS-test-tgmath2.c): Likewise.
19072 (CFLAGS-test-tgmath-ret.c): Likewise.
19073 (CFLAGS-test-powl.c): Likewise.
19074 (CFLAGS-test-snan.c): Likewise.
19075 (CFLAGS-test-signgam-finite.c): Likewise.
19076 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19077 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19078 (CFLAGS-test-signgam-uchar.c): Likewise.
19079 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19080 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19081 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19082 (CFLAGS-test-signgam-uint.c): Likewise.
19083 (CFLAGS-test-signgam-uint-init.c): Likewise.
19084 (CFLAGS-test-signgam-uint-static.c): Likewise.
19085 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19086 (CFLAGS-test-signgam-ullong.c): Likewise.
19087 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19088 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19089 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19090 (CFLAGS-test-math-cxx11.cc): Likewise.
19091 (CFLAGS-test-math-isinff.cc): Likewise.
19092 (CFLAGS-test-math-iszero.cc): Likewise.
19093 (CFLAGS-test-math-issignaling.cc): Likewise.
19094 (CFLAGS-test-math-iscanonical.cc): Likewise.
19095 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19096 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19097 (CFLAGS-test-flt-eval-method.c): Likewise.
19098 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19099 (CFLAGS-test-finite-macros.c): Likewise.
19100 * misc/Makefile (CFLAGS-select.c): Likewise.
19101 (CFLAGS-tsearch.c): Likewise.
19102 (CFLAGS-lsearch.c): Likewise.
19103 (CFLAGS-pselect.c): Likewise.
19104 (CFLAGS-readv.c): Likewise.
19105 (CFLAGS-writev.c): Likewise.
19106 (CFLAGS-preadv.c): Likewise.
19107 (CFLAGS-preadv64.c): Likewise.
19108 (CFLAGS-pwritev.c): Likewise.
19109 (CFLAGS-pwritev64.c): Likewise.
19110 (CFLAGS-preadv2.c): Likewise.
19111 (CFLAGS-preadv64v2.c): Likewise.
19112 (CFLAGS-pwritev2.c): Likewise.
19113 (CFLAGS-pwritev64v2.c): Likewise.
19114 (CFLAGS-usleep.c): Likewise.
19115 (CFLAGS-syslog.c): Likewise.
19116 (CFLAGS-error.c): Likewise.
19117 (CFLAGS-getpass.c): Likewise.
19118 (CFLAGS-mkstemp.c): Likewise.
19119 (CFLAGS-mkstemp64.c): Likewise.
19120 (CFLAGS-getsysstats.c): Likewise.
19121 (CFLAGS-getusershell.c): Likewise.
19122 (CFLAGS-err.c): Likewise.
19123 (CFLAGS-tst-tsearch.c): Likewise.
19124 (CFLAGS-msync.c): Likewise.
19125 (CFLAGS-fdatasync.c): Likewise.
19126 (CFLAGS-fsync.c): Likewise.
19127 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19128 (CFLAGS-unwind.c): Likewise.
19129 (CFLAGS-unwind-forcedunwind.c): Likewise.
19130 (CFLAGS-pthread_cancel.c): Likewise.
19131 (CFLAGS-pthread_setcancelstate.c): Likewise.
19132 (CFLAGS-pthread_setcanceltype.c): Likewise.
19133 (CFLAGS-cancellation.c): Likewise.
19134 (CFLAGS-libc-cancellation.c): Likewise.
19135 (CFLAGS-pthread_exit.c): Likewise.
19136 (CFLAGS-forward.c): Likewise.
19137 (CFLAGS-pthread_testcancel.c): Likewise.
19138 (CFLAGS-pthread_join.c): Likewise.
19139 (CFLAGS-pthread_timedjoin.c): Likewise.
19140 (CFLAGS-pthread_once.c): Likewise.
19141 (CFLAGS-pthread_cond_wait.c): Likewise.
19142 (CFLAGS-sem_wait.c): Likewise.
19143 (CFLAGS-sem_timedwait.c): Likewise.
19144 (CFLAGS-fcntl.c): Likewise.
19145 (CFLAGS-lockf.c): Likewise.
19146 (CFLAGS-pread.c): Likewise.
19147 (CFLAGS-pread64.c): Likewise.
19148 (CFLAGS-pwrite.c): Likewise.
19149 (CFLAGS-pwrite64.c): Likewise.
19150 (CFLAGS-wait.c): Likewise.
19151 (CFLAGS-waitpid.c): Likewise.
19152 (CFLAGS-sigwait.c): Likewise.
19153 (CFLAGS-msgrcv.c): Likewise.
19154 (CFLAGS-msgsnd.c): Likewise.
19155 (CFLAGS-tcdrain.c): Likewise.
19156 (CFLAGS-open.c): Likewise.
19157 (CFLAGS-open64.c): Likewise.
19158 (CFLAGS-pause.c): Likewise.
19159 (CFLAGS-recv.c): Likewise.
19160 (CFLAGS-send.c): Likewise.
19161 (CFLAGS-accept.c): Likewise.
19162 (CFLAGS-sendto.c): Likewise.
19163 (CFLAGS-connect.c): Likewise.
19164 (CFLAGS-recvfrom.c): Likewise.
19165 (CFLAGS-recvmsg.c): Likewise.
19166 (CFLAGS-sendmsg.c): Likewise.
19167 (CFLAGS-close.c): Likewise.
19168 (CFLAGS-read.c): Likewise.
19169 (CFLAGS-write.c): Likewise.
19170 (CFLAGS-nanosleep.c): Likewise.
19171 (CFLAGS-sigsuspend.c): Likewise.
19172 (CFLAGS-msync.c): Likewise.
19173 (CFLAGS-fdatasync.c): Likewise.
19174 (CFLAGS-fsync.c): Likewise.
19175 (CFLAGS-pt-system.c): Likewise.
19176 (CFLAGS-tst-cleanup2.c): Likewise.
19177 (CFLAGS-tst-cleanupx2.c): Likewise.
19178 (CFLAGS-flockfile.c): Likewise.
19179 (CFLAGS-ftrylockfile.c): Likewise.
19180 (CFLAGS-funlockfile.c): Likewise.
19181 (CFLAGS-tst-initializers1.c): Likewise.
19182 (CFLAGS-tst-initializers1-c89.c): Likewise.
19183 (CFLAGS-tst-initializers1-c99.c): Likewise.
19184 (CFLAGS-tst-initializers1-c11.c): Likewise.
19185 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19186 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19187 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19188 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19189 (CFLAGS-nscd_getgr_r.c): Likewise.
19190 (CFLAGS-nscd_gethst_r.c): Likewise.
19191 (CFLAGS-nscd_getai.c): Likewise.
19192 (CFLAGS-nscd_initgroups.c): Likewise.
19193 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19194 (CFLAGS-pause.c): Likewise.
19195 (CFLAGS-pread.c): Likewise.
19196 (CFLAGS-pread64.c): Likewise.
19197 (CFLAGS-pwrite.c): Likewise.
19198 (CFLAGS-pwrite64.c): Likewise.
19199 (CFLAGS-sleep.c): Likewise.
19200 (CFLAGS-wait.c): Likewise.
19201 (CFLAGS-waitid.c): Likewise.
19202 (CFLAGS-waitpid.c): Likewise.
19203 (CFLAGS-getopt.c): Likewise.
19204 (CFLAGS-wordexp.c): Likewise.
19205 (CFLAGS-sysconf.c): Likewise.
19206 (CFLAGS-pathconf.c): Likewise.
19207 (CFLAGS-fpathconf.c): Likewise.
19208 (CFLAGS-spawn.c): Likewise.
19209 (CFLAGS-spawnp.c): Likewise.
19210 (CFLAGS-spawni.c): Likewise.
19211 (CFLAGS-glob.c): Likewise.
19212 (CFLAGS-glob64.c): Likewise.
19213 (CFLAGS-getconf.c): Likewise.
19214 (CFLAGS-nanosleep.c): Likewise.
19215 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19216 (CFLAGS-getpwent.c): Likewise.
19217 (CFLAGS-getpw.c): Likewise.
19218 (CFLAGS-fgetpwent_r.c): Likewise.
19219 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19220 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19221 (CFLAGS-mq_timedreceive.c): Likewise.
19222 (CFLAGS-mq_timedsend.c): Likewise.
19223 (CFLAGS-clock_nanosleep.c): Likewise.
19224 (CFLAGS-librt-cancellation.c): Likewise.
19225 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19226 (CFLAGS-getspent.c): Likewise.
19227 (CFLAGS-fgetspent.c): Likewise.
19228 (CFLAGS-fgetspent_r.c): Likewise.
19229 (CFLAGS-putspent.c): Likewise.
19230 (CFLAGS-getspnam.c): Likewise.
19231 (CFLAGS-getspnam_r.c): Likewise.
19232 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19233 (CFLAGS-sigsuspend.c): Likewise.
19234 (CFLAGS-sigtimedwait.c): Likewise.
19235 (CFLAGS-sigwait.c): Likewise.
19236 (CFLAGS-sigwaitinfo.c): Likewise.
19237 (CFLAGS-sigreturn.c): Likewise.
19238 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19239 (CFLAGS-vfwprintf.c): Likewise.
19240 (CFLAGS-tmpfile.c): Likewise.
19241 (CFLAGS-tmpfile64.c): Likewise.
19242 (CFLAGS-tempname.c): Likewise.
19243 (CFLAGS-psignal.c): Likewise.
19244 (CFLAGS-vprintf.c): Likewise.
19245 (CFLAGS-cuserid.c): Likewise.
19246 (CFLAGS-errlist.c): Likewise.
19247 (CFLAGS-siglist.c): Likewise.
19248 (CFLAGS-scanf15.c): Likewise.
19249 (CFLAGS-scanf17.c): Likewise.
19250 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19251 (CFLAGS-msort.c): Likewise.
19252 (CFLAGS-qsort.c): Likewise.
19253 (CFLAGS-system.c): Likewise.
19254 (CFLAGS-fmtmsg.c): Likewise.
19255 (CFLAGS-strfmon.c): Likewise.
19256 (CFLAGS-strfmon_l.c): Likewise.
19257 (CFLAGS-strfromd.c): Likewise.
19258 (CFLAGS-strfromf.c): Likewise.
19259 (CFLAGS-strfroml.c): Likewise.
19260 (CFLAGS-tst-bsearch.c): Likewise.
19261 (CFLAGS-tst-qsort.c): Likewise.
19262 (CFLAGS-tst-makecontext2.c): Likewise.
19263 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19264 (CFLAGS-xnlm_prot.c): Likewise.
19265 (CFLAGS-xrstat.c): Likewise.
19266 (CFLAGS-xyppasswd.c): Likewise.
19267 (CFLAGS-xklm_prot.c): Likewise.
19268 (CFLAGS-xrex.c): Likewise.
19269 (CFLAGS-xsm_inter.c): Likewise.
19270 (CFLAGS-xmount.c): Likewise.
19271 (CFLAGS-xrusers.c): Likewise.
19272 (CFLAGS-xspray.c): Likewise.
19273 (CFLAGS-xnfs_prot.c): Likewise.
19274 (CFLAGS-xrquota.c): Likewise.
19275 (CFLAGS-xkey_prot.c): Likewise.
19276 (CFLAGS-auth_unix.c): Likewise.
19277 (CFLAGS-key_call.c): Likewise.
19278 (CFLAGS-pmap_rmt.c): Likewise.
19279 (CFLAGS-clnt_perr.c): Likewise.
19280 (CFLAGS-openchild.c): Likewise.
19281 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19282 (CFLAGS-msgsnd.c): Likewise.
19283 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19284 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19285 (CFLAGS-tzset.c): Likewise.
19286 (CFLAGS-getdate.c): Likewise.
19287 (CFLAGS-test_time.c): Likewise.
19288 (CPPFLAGS-tst-tzname.c): Likewise.
19289 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19290 (CFLAGS-zic.c): Likewise.
19291 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19292 (CFLAGS-wcswidth.c): Likewise.
19293 (CFLAGS-wcstol.c): Likewise.
19294 (CFLAGS-wcstoul.c): Likewise.
19295 (CFLAGS-wcstoll.c): Likewise.
19296 (CFLAGS-wcstoull.c): Likewise.
19297 (CFLAGS-wcstod.c): Likewise.
19298 (CFLAGS-wcstold.c): Likewise.
19299 (CFLAGS-wcstof128.c): Likewise.
19300 (CFLAGS-wcstof.c): Likewise.
19301 (CFLAGS-wcstol_l.c): Likewise.
19302 (CFLAGS-wcstoul_l.c): Likewise.
19303 (CFLAGS-wcstoll_l.c): Likewise.
19304 (CFLAGS-wcstoull_l.c): Likewise.
19305 (CFLAGS-wcstod_l.c): Likewise.
19306 (CFLAGS-wcstold_l.c): Likewise.
19307 (CFLAGS-wcstof128_l.c): Likewise.
19308 (CFLAGS-wcstof_l.c): Likewise.
19309 (CPPFLAGS-tst-wchar-h.c): Likewise.
19310 (CPPFLAGS-wcstold_l.c): Likewise.
19312 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19314 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19316 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19317 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19319 * manual/tunables.texi (Hardware Capability Tunables): Document
19320 glibc.tune.cached_memopt.
19321 * sysdeps/powerpc/cpu-features.c: New file.
19322 * sysdeps/powerpc/cpu-features.h: New file.
19323 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19324 _dl_powerpc_cpu_features.
19325 * sysdeps/powerpc/dl-tunables.list: New file.
19326 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19327 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19328 (INIT_ARCH): Initialize use_aligned_memopt.
19329 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19330 IS_IN(rtld))]: Restrict dl_platform_init availability and
19331 initialize CPU features used by tunables.
19332 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19333 Add memcpy-power8-cached.
19334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19335 __memcpy_power8_cached.
19336 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19337 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19340 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19342 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19343 (CFLAGS-noinl-tester.c): Likewise.
19344 (CFLAGS-tst-strlen.c): Likewise.
19345 (CFLAGS-stratcliff.c): Likewise.
19346 (CFLAGS-test-ffs.c): Likewise.
19347 (CFLAGS-tst-inlcall.c): Likewise.
19348 (CFLAGS-tst-xbzero-opt.c): Likewise.
19349 (CFLAGS-memcpy.c): Likewise.
19350 (CFLAGS-wordcopy.c): Likewise.
19352 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19354 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19355 Store r15 on stack and add cfi rule.
19356 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19359 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19362 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19365 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19367 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19368 Add s_sinf-sse2 and s_sinf-fma.
19369 (CFLAGS-s_sinf-fma.c): New.
19370 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19371 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19372 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19374 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19376 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19378 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19381 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19382 part of result to imaginary part of argument if it is zero and the
19383 real part of the argument is not finite.
19384 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19385 of result to real part of argument if it is zero and the imaginary
19386 part of the argument is not finite.
19388 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19391 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19392 and to the list of locales to be built for testing.
19393 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19394 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19395 and build the collation rules upon that.
19397 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19399 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19400 * manual/math.texi (Mathematics): Document support for _Float32.
19401 * math/Makefile (test-types): Add float32.
19402 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19403 * stdlib/Versions (GLIBC_2.27): Likewise.
19404 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19405 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19406 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19407 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19408 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19409 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19410 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19411 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19412 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19413 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19414 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19415 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19416 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19417 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19418 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19419 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19420 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19421 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19422 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19423 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19424 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19425 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19427 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19428 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19429 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19430 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19431 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19449 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19450 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19451 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19452 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19453 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19454 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19455 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19456 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19457 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19458 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19467 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19468 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19469 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19470 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19471 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19472 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19473 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19474 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19476 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19478 * stdlib/strtof.c: Include <bits/floatn.h>
19479 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19480 and later undefine as macro. Define as weak alias if
19482 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19483 and later undefine as macro. Define as weak alias if
19485 * stdlib/strtof_l.c: Include <bits/floatn.h>
19486 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19487 and later undefine as macro. Define as weak alias if
19489 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19490 and later undefine as macro. Define as weak alias if
19493 * stdlib/strfromf.c: Include <bits/floatn.h>.
19494 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19495 and later undefine as macro and define as weak alias.
19497 * math/test-float32.h: New file.
19499 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19500 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19501 (libm_alias_float_other_r): Create f32 alias.
19502 (libm_alias_float_r): Use semicolon before call to
19503 libm_alias_float_other_r.
19505 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19506 second argument to libm_alias_float_other.
19507 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19508 second argument to libm_alias_float_other.
19509 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19510 argument to libm_alias_float_other.
19513 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19514 real part of result for argument 0 + i * NaN.
19515 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19516 results for tests of 0 + i * NaN.
19518 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19520 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19522 2017-12-06 David S. Miller <davem@davemloft.net>
19524 * sysdeps/sparc/fpu/libm-test-ulps: Update
19525 exp_{downward,towardzero,upward} ulps.
19527 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19529 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19532 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19534 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19536 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19538 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19541 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19544 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19545 and to the list of locales to be built for testing.
19546 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19547 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19548 and build the collation rules upon that.
19550 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19552 * NEWS: Add sinf to list of optimized functions.
19554 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19556 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19557 (__HAVE_FLOAT32X): Likewise.
19558 * manual/math.texi (Mathematics): Document support for _Float64
19560 * math/Makefile (test-types): Add float64 and float32x.
19561 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19563 * stdlib/Versions (GLIBC_2.27): Likewise.
19564 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19565 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19566 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19567 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19568 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19569 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19570 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19571 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19572 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19573 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19574 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19575 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19576 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19577 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19578 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19579 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19580 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19581 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19582 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19583 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19584 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19585 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19587 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19588 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19589 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19590 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19591 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19608 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19609 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19610 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19611 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19612 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19613 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19614 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19615 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19616 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19617 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19626 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19627 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19628 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19629 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19630 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19631 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19632 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19633 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19635 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19637 * bits/floatn-common.h: Include <bits/long-double.h>.
19638 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19639 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19640 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19641 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19642 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19643 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19644 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19645 (__builtin_huge_valf64): Use __builtin_huge_vall.
19646 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19647 (__builtin_inff64): Use __builtin_infl.
19648 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19649 (__builtin_nanf64): Use __builtin_nanl.
19650 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19651 (__builtin_nansf64): Use __builtin_nansl.
19653 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19654 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19655 Carlos O'Donnell <carlos@redhat.com>
19657 * elf/dl-tunables.list: Add elision parameters.
19658 * manual/tunables.texi: Add entries about elision tunable.
19659 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19660 Add callback functions to dynamically enable/disable elision.
19661 Add multiple callbacks functions to set elision parameters.
19662 Deleted __libc_enable_secure check.
19663 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19664 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19665 * configure: Regenerated.
19666 * configure.ac: Option enable_lock_elision was deleted.
19667 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19668 * config.make.in: Remove references to enable_lock_elision.
19669 * manual/install.texi: Elision configure option was removed.
19670 * INSTALL: Regenerated to remove enable_lock_elision.
19672 Disable elision so it can verify error case for destroying a mutex.
19673 * sysdeps/powerpc/nptl/elide.h:
19674 Cleanup ENABLE_LOCK_ELISION check.
19675 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19676 * sysdeps/s390/configure: Regenerated.
19677 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19678 * nptl/tst-mutex8.c:
19679 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19680 * sysdeps/powerpc/powerpc32/sysdep.h:
19681 Deleted all ENABLE_LOCK_ELISION checks.
19682 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19683 * sysdeps/powerpc/sysdep.h: Likewise.
19684 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19685 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19686 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19687 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19688 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19689 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19690 enable-lock-elision.
19692 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19694 * stdlib/strtod.c: Include <bits/floatn.h>.
19695 (BUILD_DOUBLE): New macro.
19696 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19697 (strtof64): Define and later undefine as macro. Define as weak
19698 alias if [!USE_WIDE_CHAR].
19699 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19700 (wcstof64): Define and later undefine as macro. Define as weak
19701 alias if [USE_WIDE_CHAR].
19702 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19703 (strtof32x): Define and later undefine as macro. Define as weak
19704 alias if [!USE_WIDE_CHAR].
19705 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19706 (wcstof32x): Define and later undefine as macro. Define as weak
19707 alias if [USE_WIDE_CHAR].
19708 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19709 (BUILD_DOUBLE): New macro.
19710 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19711 (strtof64_l): Define and later undefine as macro. Define as weak
19712 alias if [!USE_WIDE_CHAR].
19713 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19714 (wcstof64_l): Define and later undefine as macro. Define as weak
19715 alias if [USE_WIDE_CHAR].
19716 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19717 (strtof32x_l): Define and later undefine as macro. Define as weak
19718 alias if [!USE_WIDE_CHAR].
19719 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19720 (wcstof32x_l): Define and later undefine as macro. Define as weak
19721 alias if [USE_WIDE_CHAR].
19723 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19725 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19726 (reduced): Use ones as double instead of integer.
19728 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19730 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19732 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19734 * stdlib/strfromd.c: Include <bits/floatn.h>.
19735 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19736 and later undefine as macro and define as weak alias.
19737 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19740 * math/test-float32x.h: New file.
19741 * math/test-float64.h: Likewise.
19743 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19744 (libm_alias_double_other_r_f64): New macro.
19745 (libm_alias_double_other_r_f32x): Likewise.
19746 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19747 libm_alias_double_other_r_f32x.
19748 (libm_alias_double_r): Use semicolon before call to
19749 libm_alias_double_other_r.
19750 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19752 (libm_alias_double_other_r_f64): New macro.
19753 (libm_alias_double_other_r_f32x): Likewise.
19754 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19755 libm_alias_double_other_r_f32x.
19757 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19759 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19761 (SINF_FUNC): Likewise. Replace floor with simple casts.
19763 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19766 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19767 and to the list of locales to be built for testing.
19768 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19769 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19770 and build the collation rules upon that.
19772 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19774 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19775 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19776 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19777 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19778 instead of __insn__xxx.
19779 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19780 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19781 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19782 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19783 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19784 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19786 2017-12-05 Florian Weimer <fweimer@redhat.com>
19788 Linux: Implement interfaces for memory protection keys
19789 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19791 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19792 * support/xunistd.h (xsysconf): Declare.
19793 * support/xraise.c: New file.
19794 * support/xsigaction.c: Likewise.
19795 * support/xsignal.c: Likewise.
19796 * support/xsysconf.c: Likewise.
19797 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19798 pkey_set, pkey_get, pkey_mprotect.
19799 [misc] (tests): Add tst-pkey.
19800 (tst-pkey): Link with -lpthread.
19801 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19802 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19803 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19804 (PKEY_DISABLE_WRITE): Define.
19805 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19807 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19808 (SEGV_PKUERR): Add.
19809 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19810 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19811 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19812 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19814 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19815 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19816 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19817 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19818 * sysdeps/unix/sysv/linux/**.abilist: Update.
19820 2017-12-05 Florian Weimer <fweimer@redhat.com>
19822 * support/tst-test_compare.c (subprocess): Use long long instead
19823 of long argument for consistent type width across 32-bit and
19824 64-bit architectures.
19825 (do_test): Adjust expected output.
19827 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19829 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19830 (cosf): Define using libm_alias_float.
19831 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19832 (fabsf): Define using libm_alias_float.
19833 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19834 (fmaf): Define using libm_alias_float.
19835 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19836 (rintf): Define using libm_alias_float.
19837 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19838 (sinf): Define using libm_alias_float.
19839 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19840 <libm-alias-float.h>.
19841 (modff): Define using libm_alias_float.
19842 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19843 <libm-alias-float.h>.
19844 (logbf): Define using libm_alias_float.
19845 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19846 <libm-alias-float.h>.
19847 (ceilf): Define using libm_alias_float.
19848 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19849 <libm-alias-float.h>.
19850 (copysignf): Define using libm_alias_float.
19851 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19852 <libm-alias-float.h>.
19853 (floorf): Define using libm_alias_float.
19854 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19855 <libm-alias-float.h>.
19856 (llrintf): Define using libm_alias_float.
19857 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19858 <libm-alias-float.h>.
19859 (llroundf): Define using libm_alias_float.
19860 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19861 <libm-alias-float.h>.
19862 (lrintf): Define using libm_alias_float.
19863 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19864 <libm-alias-float.h>.
19865 (lroundf): Define using libm_alias_float.
19866 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19867 <libm-alias-float.h>.
19868 (nearbyintf): Define using libm_alias_float.
19869 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19870 <libm-alias-float.h>.
19871 (rintf): Define using libm_alias_float.
19872 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19873 <libm-alias-float.h>.
19874 (roundf): Define using libm_alias_float.
19875 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19876 <libm-alias-float.h>.
19877 (truncf): Define using libm_alias_float.
19878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19879 Include <libm-alias-float.h>.
19880 (ceilf): Define using libm_alias_float.
19881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19882 Include <libm-alias-float.h>.
19883 (copysignf): Define using libm_alias_float.
19884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19885 Include <libm-alias-float.h>.
19886 (floorf): Define using libm_alias_float.
19887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19888 Include <libm-alias-float.h>.
19889 (llrintf): Define using libm_alias_float.
19890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19891 Include <libm-alias-float.h>.
19892 (llroundf): Define using libm_alias_float.
19893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19894 Include <libm-alias-float.h>.
19895 (logbf): Define using libm_alias_float.
19896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19897 Include <libm-alias-float.h>.
19898 (lrintf): Define using libm_alias_float.
19899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19900 Include <libm-alias-float.h>.
19901 (lroundf): Define using libm_alias_float.
19902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19903 Include <libm-alias-float.h>.
19904 (modff): Define using libm_alias_float.
19905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19906 Include <libm-alias-float.h>.
19907 (roundf): Define using libm_alias_float.
19908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19909 Include <libm-alias-float.h>.
19910 (truncf): Define using libm_alias_float.
19911 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19912 <libm-alias-float.h>.
19913 (llrintf): Define using libm_alias_float.
19914 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19915 <libm-alias-float.h>.
19916 (llroundf): Define using libm_alias_float.
19917 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19918 <libm-alias-float.h>.
19919 (ceilf): Define using libm_alias_float.
19920 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19921 <libm-alias-float.h>.
19922 (floorf): Define using libm_alias_float.
19923 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19924 <libm-alias-float.h>.
19925 (llroundf): Define using libm_alias_float.
19926 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19927 <libm-alias-float.h>.
19928 (lroundf): Define using libm_alias_float.
19929 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19930 <libm-alias-float.h>.
19931 (roundf): Define using libm_alias_float.
19932 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19933 <libm-alias-float.h>.
19934 (truncf): Define using libm_alias_float.
19935 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19936 <libm-alias-float.h>.
19937 (copysignf): Define using libm_alias_float.
19938 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19939 <libm-alias-float.h>.
19940 (llrintf): Define using libm_alias_float.
19941 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19942 <libm-alias-float.h>.
19943 (llroundf): Define using libm_alias_float.
19944 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19945 <libm-alias-float.h>.
19946 (lrintf): Define using libm_alias_float.
19947 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19948 <libm-alias-float.h>.
19949 (lroundf): Define using libm_alias_float.
19950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19951 <libm-alias-float.h>.
19952 (ceilf): Define using libm_alias_float.
19953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19954 <libm-alias-float.h>.
19955 (copysignf): Define using libm_alias_float.
19956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19957 <libm-alias-float.h>.
19958 (cosf): Define using libm_alias_float.
19959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19960 <libm-alias-float.h>.
19961 (floorf): Define using libm_alias_float.
19962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19963 <libm-alias-float.h>.
19964 (llrintf): Define using libm_alias_float.
19965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19966 <libm-alias-float.h>.
19967 (llroundf): Define using libm_alias_float.
19968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19969 <libm-alias-float.h>.
19970 (logbf): Define using libm_alias_float.
19971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19972 <libm-alias-float.h>.
19973 (modff): Define using libm_alias_float.
19974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19975 <libm-alias-float.h>.
19976 (roundf): Define using libm_alias_float.
19977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19978 <libm-alias-float.h>.
19979 (sinf): Define using libm_alias_float.
19980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19981 <libm-alias-float.h>.
19982 (truncf): Define using libm_alias_float.
19983 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19984 <libm-alias-float.h>.
19985 (ceilf): Define using libm_alias_float.
19986 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19987 <libm-alias-float.h>.
19988 (copysignf): Define using libm_alias_float.
19989 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19990 <libm-alias-float.h>.
19991 (floorf): Define using libm_alias_float.
19992 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19993 <libm-alias-float.h>.
19994 (llrintf): Define using libm_alias_float.
19995 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19996 <libm-alias-float.h>.
19997 (llroundf): Define using libm_alias_float.
19998 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19999 <libm-alias-float.h>.
20000 (nearbyintf): Define using libm_alias_float.
20001 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20002 <libm-alias-float.h>.
20003 (rintf): Define using libm_alias_float.
20004 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20005 <libm-alias-float.h>.
20006 (roundf): Define using libm_alias_float.
20007 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20008 <libm-alias-float.h>.
20009 (truncf): Define using libm_alias_float.
20010 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20011 <libm-alias-float.h>.
20012 (ceilf): Define using libm_alias_float.
20013 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20014 <libm-alias-float.h>.
20015 (floorf): Define using libm_alias_float.
20016 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20017 <libm-alias-float.h>.
20018 (llroundf): Define using libm_alias_float.
20019 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20020 <libm-alias-float.h>.
20021 (roundf): Define using libm_alias_float.
20022 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20023 <libm-alias-float.h>.
20024 (truncf): Define using libm_alias_float.
20025 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20026 <libm-alias-float.h>.
20027 (copysignf): Define using libm_alias_float.
20028 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20029 <libm-alias-float.h>.
20030 (llrintf): Define using libm_alias_float.
20031 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20032 <libm-alias-float.h>.
20033 (llroundf): Define using libm_alias_float.
20034 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20035 <libm-alias-float.h>.
20036 (cosf): Define using libm_alias_float.
20037 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20038 <libm-alias-float.h>.
20039 (llrintf): Define using libm_alias_float.
20040 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20041 <libm-alias-float.h>.
20042 (llroundf): Define using libm_alias_float.
20043 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20044 <libm-alias-float.h>.
20045 (sinf): Define using libm_alias_float.
20047 2017-12-04 Florian Weimer <fweimer@redhat.com>
20049 * support/check.h (TEST_COMPARE): Define.
20050 (support_test_compare_failure): Declare.
20051 * support/Makefile (libsupport-routines): Add
20052 support_test_compare_failure.
20053 (tests): Add tst-test_compare.
20054 * support /support_test_compare_failure.c: New file.
20055 * support/tst-test_compare.c: Likewise.
20057 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20060 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20061 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20062 available, this rewrite of the collation rules does reproduce
20063 the test file in the same order.
20065 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20068 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20069 digraphs in the month and day names. Using single code points for
20070 digraphs is deprecated. While there are dedicated Unicode
20071 codepoints, for the digraphs, these are included for backwards
20072 compatibility and modern texts use a sequence of Basic Latin
20073 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20074 This makes the month and day names agree exactly with CLDR now,
20075 CLDR does not use the single code points for the digraphs either.
20077 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20079 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20081 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20083 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20086 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20088 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20089 Define only for libc.so.
20091 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20093 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20094 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20095 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20096 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20097 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20099 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20102 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20104 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20107 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20108 PREINIT_FUNCTION_WEAK is nonzero.
20109 (gmon_initializer): New function. Put procedure label for it in
20110 .init_array section.
20111 (_init): Don't call PREINIT_FUNCTION.
20112 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20113 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20114 value when map argument is null.
20116 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20117 depi instruction from PIC pc-relative sequence.
20118 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20119 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20120 (elf_machine_load_address): Likewise.
20121 (elf_machine_runtime_setup): Likewise.
20123 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20125 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20126 <libm-alias-double.h>.
20127 (logb): Define using libm_alias_double.
20128 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20129 <libm-alias-double.h>.
20130 (copysign): Define using libm_alias_double.
20131 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20132 <libm-alias-double.h>.
20133 (llrint): Define using libm_alias_double.
20134 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20135 <libm-alias-double.h>.
20136 (llround): Define using libm_alias_double.
20137 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20138 <libm-alias-double.h>.
20139 (lrint): Define using libm_alias_double.
20140 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20141 <libm-alias-double.h>.
20142 (lround): Define using libm_alias_double.
20143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20144 Include <libm-alias-double.h>.
20145 (copysign): Define using libm_alias_double.
20146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20147 Include <libm-alias-double.h>.
20148 (llrint): Define using libm_alias_double.
20149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20150 Include <libm-alias-double.h>.
20151 (llround): Define using libm_alias_double.
20152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20153 <libm-alias-double.h>.
20154 (logb): Define using libm_alias_double.
20155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20156 Include <libm-alias-double.h>.
20157 (lrint): Define using libm_alias_double.
20158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20159 Include <libm-alias-double.h>.
20160 (lround): Define using libm_alias_double.
20161 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20162 <libm-alias-double.h>.
20163 (llrint): Define using libm_alias_double.
20164 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20165 <libm-alias-double.h>.
20166 (llround): Define using libm_alias_double.
20167 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20168 <libm-alias-double.h>.
20169 (llround): Define using libm_alias_double.
20170 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20171 <libm-alias-double.h>.
20172 (lround): Define using libm_alias_double.
20173 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20174 <libm-alias-double.h>.
20175 (copysign): Define using libm_alias_double.
20176 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20177 <libm-alias-double.h>.
20178 (llrint): Define using libm_alias_double.
20179 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20180 <libm-alias-double.h>.
20181 (llround): Define using libm_alias_double.
20182 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20183 <libm-alias-double.h>.
20184 (lrint): Define using libm_alias_double.
20185 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20186 <libm-alias-double.h>.
20187 (lround): Define using libm_alias_double.
20188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20189 <libm-alias-double.h>.
20190 (copysign): Define using libm_alias_double.
20191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20192 <libm-alias-double.h>.
20193 (llrint): Define using libm_alias_double.
20195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20196 <libm-alias-double.h>.
20197 (llround): Define using libm_alias_double.
20198 (lround): Likewise.
20199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20200 <libm-alias-double.h>.
20201 (logb): Define using libm_alias_double.
20202 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20203 <libm-alias-double.h>.
20204 (copysign): Define using libm_alias_double.
20205 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20206 <libm-alias-double.h>.
20207 (llrint): Define using libm_alias_double.
20209 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20210 <libm-alias-double.h>.
20211 (llround): Define using libm_alias_double.
20212 (lround): Likewise.
20213 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20214 <libm-alias-double.h>.
20215 (llround): Define using libm_alias_double.
20216 (lround): Likewise.
20217 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20218 <libm-alias-double.h>.
20219 (copysign): Define using libm_alias_double.
20220 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20221 <libm-alias-double.h>.
20222 (llrint): Define using libm_alias_double.
20224 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20225 <libm-alias-double.h>.
20226 (llround): Define using libm_alias_double.
20227 (lround): Likewise.
20228 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20229 <libm-alias-double.h>.
20230 (llrint): Define using libm_alias_double.
20232 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20233 <libm-alias-double.h>.
20234 (llround): Define using libm_alias_double.
20235 (lround): Likewise.
20237 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20240 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20241 compat symbol based on llround.
20243 * sysdeps/powerpc/power7/fpu/s_logb.c
20244 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20245 symbol based on __logb, not on logb.
20246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20247 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20249 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20251 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20252 (rint): Define using libm_alias_double.
20253 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20254 <libm-alias-double.h>.
20255 (modf): Define using libm_alias_double.
20256 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20257 <libm-alias-double.h>.
20258 (ceil): Define using libm_alias_double.
20259 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20260 <libm-alias-double.h>.
20261 (floor): Define using libm_alias_double.
20262 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20263 <libm-alias-double.h>.
20264 (nearbyint): Define using libm_alias_double.
20265 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20266 <libm-alias-double.h>.
20267 (rint): Define using libm_alias_double.
20268 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20269 <libm-alias-double.h>.
20270 (round): Define using libm_alias_double.
20271 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20272 <libm-alias-double.h>.
20273 (trunc): Define using libm_alias_double.
20274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20275 <libm-alias-double.h>.
20276 (ceil): Define using libm_alias_double.
20277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20278 Include <libm-alias-double.h>.
20279 (floor): Define using libm_alias_double.
20280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20281 <libm-alias-double.h>.
20282 (modf): Define using libm_alias_double.
20283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20284 Include <libm-alias-double.h>.
20285 (round): Define using libm_alias_double.
20286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20287 Include <libm-alias-double.h>.
20288 (trunc): Define using libm_alias_double.
20289 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20290 <libm-alias-double.h>.
20291 (ceil): Define using libm_alias_double.
20292 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20293 <libm-alias-double.h>.
20294 (floor): Define using libm_alias_double.
20295 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20296 <libm-alias-double.h>.
20297 (round): Define using libm_alias_double.
20298 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20299 <libm-alias-double.h>.
20300 (trunc): Define using libm_alias_double.
20301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20302 <libm-alias-double.h>.
20303 (ceil): Define using libm_alias_double.
20304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20305 <libm-alias-double.h>.
20306 (floor): Define using libm_alias_double.
20307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20308 <libm-alias-double.h>.
20309 (modf): Define using libm_alias_double.
20310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20311 <libm-alias-double.h>.
20312 (round): Define using libm_alias_double.
20313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20314 <libm-alias-double.h>.
20315 (trunc): Define using libm_alias_double.
20316 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20317 <libm-alias-double.h>.
20318 (ceil): Define using libm_alias_double.
20319 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20320 <libm-alias-double.h>.
20321 (floor): Define using libm_alias_double.
20322 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20323 <libm-alias-double.h>.
20324 (nearbyint): Define using libm_alias_double.
20325 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20326 <libm-alias-double.h>.
20327 (rint): Define using libm_alias_double.
20328 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20329 <libm-alias-double.h>.
20330 (round): Define using libm_alias_double.
20331 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20332 <libm-alias-double.h>.
20333 (trunc): Define using libm_alias_double.
20334 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20335 <libm-alias-double.h>.
20336 (ceil): Define using libm_alias_double.
20337 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20338 <libm-alias-double.h>.
20339 (floor): Define using libm_alias_double.
20340 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20341 <libm-alias-double.h>.
20342 (round): Define using libm_alias_double.
20343 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20344 <libm-alias-double.h>.
20345 (trunc): Define using libm_alias_double.
20347 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20348 (fabs): Define using libm_alias_double.
20349 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20350 (fma): Define using libm_alias_double.
20351 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20352 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20353 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20354 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20356 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20358 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20360 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20361 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20362 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20365 due redirect macro.
20367 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20369 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20371 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20373 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20374 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20375 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20376 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20379 (libm-sysdep_routines): Add s_nearbyintf-generic and
20380 s_nearbyint-generic.
20381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20394 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20405 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20416 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20427 (sysdep_calls): New rule.
20428 (sysdep_routines): Use sysdep_calls as base.
20429 (libm-sysdep_routines): Add generic rule for symbols shared with
20430 libc. Add s_copysign-generic and s_copysign-generic objects.
20431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20440 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20443 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20444 the list of locales to be built for testing.
20445 * localedata/is_IS.UTF-8.in: New file.
20446 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20449 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20451 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20452 <libm-alias-float.h>.
20453 (fabsf): Define using libm_alias_float.
20455 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20457 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20459 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20461 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20462 <libm-alias-float.h>.
20463 (fabsf): Define using libm_alias_float.
20464 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20465 <libm-alias-float.h>.
20466 (lrintf): Define using libm_alias_float.
20467 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20468 <libm-alias-float.h>.
20469 (rintf): Define using libm_alias_float.
20471 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20472 <libm-alias-double.h>.
20473 (fabs): Define using libm_alias_double.
20474 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20475 <libm-alias-double.h>.
20476 (lrint): Define using libm_alias_double.
20477 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20478 <libm-alias-double.h>.
20479 (rint): Define using libm_alias_double.
20481 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20482 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20483 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20484 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20485 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20486 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20487 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20488 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20489 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20490 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20491 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20492 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20493 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20494 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20495 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20496 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20497 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20498 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20500 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20501 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20502 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20504 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20505 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20506 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20508 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20509 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20510 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20511 s_expm1_template.c.
20512 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20513 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20514 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20516 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20517 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20518 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20519 s_floor_template.c.
20520 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20521 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20522 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20523 s_frexp_template.c.
20524 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20525 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20526 s_lrint_template.c.
20527 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20528 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20529 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20531 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20532 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20533 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20534 s_nearbyint_template.c.
20535 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20536 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20537 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20538 s_remquo_template.c.
20539 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20540 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20541 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20543 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20544 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20545 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20547 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20548 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20549 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20550 s_sincos_template.c.
20551 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20552 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20553 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20555 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20556 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20557 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20559 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20560 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20561 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20562 s_trunc_template.c.
20563 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20564 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20565 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20566 s_atan.c instead of including s_atan.c.
20567 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20568 s_atanf.c instead of including s_atanf.c.
20569 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20570 s_atanl.c instead of including s_atanl.c.
20571 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20572 instead of s_atan.c.
20573 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20574 instead of s_atanf.c.
20575 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20576 instead of s_atanl.c.
20578 * scripts/update-copyrights: Do not handle intl/plural.c
20581 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20584 * configure.ac (BISON): Require to be present.
20585 * configure: Regenerated.
20586 * intl/Makefile (generated): Add plural.c.
20587 [$(BISON) != no]: Make code unconditional.
20588 (plural.c): Change rule to $(objpfx)plural.c.
20589 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20590 * intl/plural.c: Remove.
20591 * manual/install.texi (Tools for Compilation): Document bison as
20593 * INSTALL: Regenerated.
20595 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20597 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20598 <libm-alias-double.h>.
20599 (llrint): Define using libm_alias_double.
20600 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20601 <libm-alias-float.h>.
20602 (llrintf): Define using libm_alias_float.
20603 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20604 <libm-alias-ldouble.h>.
20605 (llrintl): Define using libm_alias_ldouble.
20607 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20608 declare_mgen_alias instead of weak_alias.
20609 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20610 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20611 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20613 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20615 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20617 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20618 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20619 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20621 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20622 Add submul_1-generic.
20623 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20624 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20625 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20627 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20628 Add addmul_1-generic.
20629 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20630 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20631 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20633 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20635 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20636 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20637 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20639 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20641 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20642 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20643 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20645 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20647 According to CLDR, collation rules for Serbian and Bosnian
20648 should be the same as for Croatian.
20651 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20652 and to the list of locales to be built for testing.
20653 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20654 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20655 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20656 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20658 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20660 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20661 to make test case pass.
20662 * localedata/hr_HR.UTF-8.in: Add more test strings.
20664 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20666 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20668 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20670 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20671 the list of locales to built for testing.
20672 * localedata/hr_HR.UTF-8.in: New file.
20674 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20677 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20679 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20680 CLDR (except use ligatures for the digraphs, CLDR does not use
20681 the ligatures), add first_workday, some fixes in the date and time
20683 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20685 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20686 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20687 Add int_p_cs_precedes and int_n_cs_precedes.
20688 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20689 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20691 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20692 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20694 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20695 and lang_lib. Change postal_fmt.
20697 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20699 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20701 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20702 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20703 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20704 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20705 * sysdeps/generic/setjmpP.h: New file.
20706 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20707 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20708 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20709 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20710 Add jmp_buf-ssp.sym.
20711 (tests): Add tst-saved_mask-1.
20713 2017-11-30 Arjun Shankar <arjun@redhat.com>
20717 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20718 instead of request2size.
20720 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20723 (__lllrint): Remove alias.
20724 (lllrint): Likewise.
20725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20726 (__lllrintf): Likewise.
20727 (lllrintf): Likewise.
20729 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20730 <libm-alias-float.h>.
20731 (copysignf): Define using libm_alias_float.
20732 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20733 <libm-alias-float.h>.
20734 (fabsf): Define using libm_alias_float.
20735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20736 Include <libm-alias-float.h>.
20737 (copysignf): Define using libm_alias_float.
20738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20739 <libm-alias-float.h>.
20740 (fabsf): Define using libm_alias_float.
20741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20742 <libm-alias-float.h>.
20743 (fdimf): Define using libm_alias_float.
20744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20745 <libm-alias-float.h>.
20746 (fmaf): Define using libm_alias_float.
20747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20748 <libm-alias-float.h>.
20749 (llrintf): Define using libm_alias_float.
20750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20751 Include <libm-alias-float.h>.
20752 (nearbyintf): Define using libm_alias_float.
20753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20754 <libm-alias-float.h>.
20755 (rintf): Define using libm_alias_float.
20756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20757 <libm-alias-float.h>.
20758 (llrintf): Define using libm_alias_float.
20759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20760 <libm-alias-float.h>.
20761 (lrintf): Define using libm_alias_float.
20762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20763 <libm-alias-float.h>.
20764 (nearbyintf): Define using libm_alias_float.
20765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20766 <libm-alias-float.h>.
20767 (rintf): Define using libm_alias_float.
20768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20769 <libm-alias-float.h>.
20770 (ceilf): Define using libm_alias_float.
20771 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20772 <libm-alias-float.h>.
20773 (floorf): Define using libm_alias_float.
20774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20775 <libm-alias-float.h>.
20776 (fmaf): Define using libm_alias_float.
20777 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20778 <libm-alias-float.h>.
20779 (lrintf): Define using libm_alias_float.
20780 (llrintf): Likewise.
20781 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20782 <libm-alias-float.h>.
20783 (nearbyintf): Define using libm_alias_float.
20784 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20785 <libm-alias-float.h>.
20786 (rintf): Define using libm_alias_float.
20787 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20788 <libm-alias-float.h>.
20789 (truncf): Define using libm_alias_float.
20790 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20791 <libm-alias-float.h>.
20792 (copysignf): Define using libm_alias_float.
20793 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20794 <libm-alias-float.h>.
20795 (fabsf): Define using libm_alias_float.
20796 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20797 <libm-alias-float.h>.
20798 (lrintf): Define using libm_alias_float.
20799 (llrintf): Likewise.
20800 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20801 <libm-alias-float.h>.
20802 (nearbyintf): Define using libm_alias_float.
20803 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20804 <libm-alias-float.h>.
20805 (rintf): Define using libm_alias_float.
20807 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20809 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20810 <libm-alias-double.h>.
20811 (copysign): Define using libm_alias_double.
20812 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20813 <libm-alias-double.h>.
20814 (fabs): Define using libm_alias_double.
20815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20816 Include <libm-alias-double.h>.
20817 (copysign): Define using libm_alias_double.
20818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20819 <libm-alias-double.h>.
20820 (fabs): Define using libm_alias_double.
20821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20822 <libm-alias-double.h>.
20823 (fdim): Define using libm_alias_double.
20824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20825 <libm-alias-double.h>.
20826 (fma): Define using libm_alias_double.
20827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20828 <libm-alias-double.h>.
20829 (llrint): Define using libm_alias_double.
20830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20831 Include <libm-alias-double.h>.
20832 (nearbyint): Define using libm_alias_double.
20833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20834 <libm-alias-double.h>.
20835 (rint): Define using libm_alias_double.
20836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20837 <libm-alias-double.h>.
20838 (fabs): Define using libm_alias_double.
20839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20840 <libm-alias-double.h>.
20841 (llrint): Define using libm_alias_double.
20842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20843 <libm-alias-double.h>.
20844 (nearbyint): Define using libm_alias_double.
20845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20846 <libm-alias-double.h>.
20847 (rint): Define using libm_alias_double.
20848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20849 <libm-alias-double.h>.
20850 (ceil): Define using libm_alias_double.
20851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20852 <libm-alias-double.h>.
20853 (floor): Define using libm_alias_double.
20854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20855 <libm-alias-double.h>.
20856 (fma): Define using libm_alias_double.
20857 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20858 <libm-alias-double.h>.
20859 (lrint): Define using libm_alias_double.
20860 (llrint): Likewise.
20861 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20862 <libm-alias-double.h>.
20863 (nearbyint): Define using libm_alias_double.
20864 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20865 <libm-alias-double.h>.
20866 (rint): Define using libm_alias_double.
20867 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20868 <libm-alias-double.h>.
20869 (trunc): Define using libm_alias_double.
20870 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20871 <libm-alias-double.h>.
20872 (copysign): Define using libm_alias_double.
20873 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20874 <libm-alias-double.h>.
20875 (fabs): Define using libm_alias_double.
20876 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20877 <libm-alias-double.h>.
20878 (lrint): Define using libm_alias_double.
20879 (llrint): Likewise.
20880 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20881 <libm-alias-double.h>.
20882 (nearbyint): Define using libm_alias_double.
20883 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20884 <libm-alias-double.h>.
20885 (rint): Define using libm_alias_double.
20888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20890 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20892 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20893 SPARC --disable-multi-arch glibc variants.
20895 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20896 <libm-alias-float.h>.
20897 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20899 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20900 <libm-alias-float.h>.
20901 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20903 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20904 <libm-alias-float.h>.
20905 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20907 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20908 <libm-alias-float.h>.
20909 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20911 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20912 <libm-alias-float.h>.
20913 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20915 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20916 <libm-alias-float.h>.
20917 (ceilf): Define using libm_alias_float.
20918 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20919 <libm-alias-float.h>.
20920 (floorf): Define using libm_alias_float.
20921 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20922 <libm-alias-float.h>.
20923 (fmaf): Define using libm_alias_float.
20924 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20925 <libm-alias-float.h>.
20926 (nearbyintf): Define using libm_alias_float.
20927 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20928 <libm-alias-float.h>.
20929 (rintf): Define using libm_alias_float.
20930 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20931 <libm-alias-float.h>.
20932 (truncf): Define using libm_alias_float.
20933 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20934 (copysignf): Define using libm_alias_float.
20935 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20936 (cosf): Define using libm_alias_float.
20937 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20938 (fabsf): Define using libm_alias_float.
20939 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20940 (fmaxf): Define using libm_alias_float.
20941 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20942 (fminf): Define using libm_alias_float.
20943 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20944 (llrintf): Define using libm_alias_float.
20945 [!__ILP32__] (lrintf): Likewise.
20946 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20947 (sincosf): Define using libm_alias_float.
20948 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20949 (sinf): Define using libm_alias_float.
20950 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20951 (lrintf): Define using libm_alias_float.
20953 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20954 <libm-alias-double.h>.
20955 (atan): Define using libm_alias_double.
20956 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20957 <libm-alias-double.h>.
20958 (ceil): Define using libm_alias_double.
20959 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20960 <libm-alias-double.h>.
20961 (floor): Define using libm_alias_double.
20962 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20963 <libm-alias-double.h>.
20964 (fma): Define using libm_alias_double.
20965 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20966 <libm-alias-double.h>.
20967 (nearbyint): Define using libm_alias_double.
20968 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20969 <libm-alias-double.h>.
20970 (rint): Define using libm_alias_double.
20971 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20972 <libm-alias-double.h>.
20973 (sin): Define using libm_alias_double.
20975 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20976 <libm-alias-double.h>.
20977 (tan): Define using libm_alias_double.
20978 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20979 <libm-alias-double.h>.
20980 (trunc): Define using libm_alias_double.
20981 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20982 (copysign): Define using libm_alias_double.
20983 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20984 (fabs): Define using libm_alias_double.
20985 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20986 (fmax): Define using libm_alias_double.
20987 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20988 (fmin): Define using libm_alias_double.
20989 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20990 (llrint): Define using libm_alias_double.
20991 [!__ILP32__] (lrint): Likewise.
20992 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20993 (lrint): Define using libm_alias_double.
20995 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20997 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20998 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21000 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21001 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21002 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21003 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21004 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21005 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21008 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21010 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21011 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21012 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21013 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21017 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21018 (libm-sysdep_routines): Add s_nearbyint-generic and
21019 s_nearbyintf-generic objects.
21020 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21021 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21022 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21023 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21024 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21025 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21027 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21028 Add s_finitef-generic and s_finite-generic objects.
21029 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21030 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21031 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21032 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21033 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21034 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21036 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21037 Add s_isinff-generic and s_isinf-generic objects.
21038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21039 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21040 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21041 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21042 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21045 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21046 Add s_isnanf-generic and s_isnan-generic objects.
21047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21054 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21056 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21058 (sysdep_routines): Use sysdep_calls as base.
21059 (libm-sysdep_routines): Add generic rule for symbols shared with
21060 libc. Add s_signbit-generic and s_signbitf-generic objects.
21061 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21062 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21063 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21064 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21065 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21066 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21068 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21070 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21071 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21072 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21073 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21074 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21075 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21076 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21077 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21078 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21079 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21080 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21081 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21082 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21083 libm_alias_float_r.
21084 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21085 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21087 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21088 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21089 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21090 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21091 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21092 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21093 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21094 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21095 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21096 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21098 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21100 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21101 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21102 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21103 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21104 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21105 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21106 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21107 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21108 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21109 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21110 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21111 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21112 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21113 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21114 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21115 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21116 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21117 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21118 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21120 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21121 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21122 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21123 * sysdeps/ia64/fpu/w_lgammaf_main.c
21124 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21125 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21127 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21128 Alexandre Oliva <aoliva@redhat.com>
21131 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21132 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21134 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21136 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21137 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21138 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21139 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21140 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21141 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21142 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21143 instead of “ifdef DIACRIT_BACKWARD”.
21145 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21147 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21148 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21149 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21150 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21151 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21152 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21159 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21160 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21161 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21162 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21163 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21164 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21166 ($(have-as-vis3) == yes): Remove conditional.
21167 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21179 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21180 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21183 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21184 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21186 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21188 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21189 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21190 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21191 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21192 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21193 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21194 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21195 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21196 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21197 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21198 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21199 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21200 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21201 libm_alias_double_r.
21202 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21204 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21205 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21206 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21207 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21208 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21209 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21210 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21211 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21212 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21213 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21214 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21216 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21218 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21219 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21220 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21221 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21222 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21223 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21224 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21225 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21226 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21227 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21228 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21229 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21230 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21231 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21232 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21233 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21234 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21235 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21237 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21238 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21239 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21240 * sysdeps/ia64/fpu/w_lgamma_main.c
21241 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21242 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21244 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21246 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21247 address of $global$ into %dp register earlier. Use pc-relative
21248 instruction sequence for PIC case.
21250 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21252 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21253 (asinhf): Define using libm_alias_float.
21254 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21255 (atanf): Define using libm_alias_float.
21256 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21257 (cbrtf): Define using libm_alias_float.
21258 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21259 (ceilf): Define using libm_alias_float.
21260 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21261 (copysignf): Define using libm_alias_float.
21262 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21263 (expm1f): Define using libm_alias_float.
21264 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21265 (fabsf): Define using libm_alias_float.
21266 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21267 (floorf): Define using libm_alias_float.
21268 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21269 (fmaxf): Define using libm_alias_float.
21270 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21271 (fminf): Define using libm_alias_float.
21272 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21273 (frexpf): Define using libm_alias_float.
21274 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21275 (llrintf): Define using libm_alias_float.
21276 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21277 (logbf): Define using libm_alias_float.
21278 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21279 (lrintf): Define using libm_alias_float.
21280 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21281 (nearbyintf): Define using libm_alias_float.
21282 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21283 (remquof): Define using libm_alias_float.
21284 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21285 (rintf): Define using libm_alias_float.
21286 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21287 (truncf): Define using libm_alias_float.
21288 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21289 <libm-alias-float.h>.
21290 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21292 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21293 <libm-alias-float.h>.
21294 (expf): Define using libm_alias_float, or libm_alias_float_other
21296 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21297 <libm-alias-float.h>.
21298 (log2f): Define using libm_alias_float, or libm_alias_float_other
21300 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21301 <libm-alias-float.h>.
21302 (logf): Define using libm_alias_float, or libm_alias_float_other
21304 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21305 <libm-alias-float.h>.
21306 (powf): Define using libm_alias_float, or libm_alias_float_other
21308 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21309 <libm-alias-float.h>.
21310 (cosf): Define using libm_alias_float.
21311 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21312 <libm-alias-float.h>.
21313 (sincosf): Define using libm_alias_float.
21314 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21315 <libm-alias-float.h>.
21316 (sinf): Define using libm_alias_float.
21317 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21318 (fmaxf): Define using libm_alias_float.
21319 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21320 (fminf): Define using libm_alias_float.
21321 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21322 <libm-alias-float.h>.
21323 (fmaf): Define using libm_alias_float.
21325 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21326 (asinh): Define using libm_alias_double.
21327 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21328 (atan): Define using libm_alias_double.
21329 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21330 (cbrt): Define using libm_alias_double.
21331 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21332 (ceil): Define using libm_alias_double.
21333 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21334 (copysign): Define using libm_alias_double.
21335 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21336 (expm1): Define using libm_alias_double.
21337 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21338 (fabs): Define using libm_alias_double.
21339 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21340 (fdim): Define using libm_alias_double.
21341 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21342 (floor): Define using libm_alias_double.
21343 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21344 (fmax): Define using libm_alias_double.
21345 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21346 (fmin): Define using libm_alias_double.
21347 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21348 (frexp): Define using libm_alias_double.
21349 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21350 (llrint): Define using libm_alias_double.
21351 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21352 (logb): Define using libm_alias_double.
21353 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21354 (lrint): Define using libm_alias_double.
21355 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21356 (nearbyint): Define using libm_alias_double.
21357 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21358 (remquo): Define using libm_alias_double.
21359 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21360 (rint): Define using libm_alias_double.
21361 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21362 (trunc): Define using libm_alias_double.
21363 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21364 (fmax): Define using libm_alias_double.
21365 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21366 (fmin): Define using libm_alias_double.
21367 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21368 (fma): Define using libm_alias_double.
21370 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21373 * elf/dl-hwcaps.c (ROUND): Removed.
21374 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21375 and ELF_NOTE_NEXT_OFFSET.
21376 * elf/dl-load.c (ROUND): Removed.
21377 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21378 * elf/readelflib.c (ROUND): Removed.
21379 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21380 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21381 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21382 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21384 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21386 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21387 [!__fmaf] (fmaf): Define using libm_alias_float.
21389 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21390 [!__fma] (fma): Define using libm_alias_double.
21391 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21393 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21396 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21397 and implement the collation rules for cs from CLDR on top of that.
21398 * Makefile: Add cs_CZ.UTF-8 to test-input.
21399 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21401 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21403 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21405 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21406 Icarus Sparry <icarus.w.sparry@intel.com>
21408 * benchtests/Makefile:Add BENCHSET to allow subsets of
21409 benchmarks to be run.
21410 * benchtests/README: Add documentation for: Running subsets of
21413 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21415 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21416 range of tests names.
21418 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21419 result from property and remove "max", min" and "mean" from
21420 required properties based on benchtests/bench-skeleton.c.
21422 2017-11-28 Florian Weimer <fweimer@redhat.com>
21425 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21426 due to Internet requirement.
21427 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21429 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21431 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21433 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21434 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21435 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21436 (sysdep_routines): Add memset-ultra1.
21437 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21439 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21440 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21441 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21442 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21443 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21444 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21445 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21446 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21448 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21450 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21451 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21452 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21453 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21454 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21455 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21456 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21458 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21459 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21460 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21461 (sysdep_routines): Add memcpy-ultra1.
21462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21463 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21465 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21467 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21468 (cfloat_versions): Take function argument without trailing 'f'.
21469 Call libm_alias_float_other.
21470 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21471 * sysdeps/alpha/fpu/cargf.c: Likewise.
21472 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21473 * sysdeps/alpha/fpu/conjf.c: Likewise.
21474 * sysdeps/alpha/fpu/crealf.c: Likewise.
21475 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21476 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21477 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21478 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21479 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21480 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21481 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21482 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21483 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21484 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21485 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21486 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21487 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21488 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21489 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21490 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21491 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21492 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21493 (clog10f): Use libm_alias_float_other.
21494 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21495 (ceilf): Define using libm_alias_float.
21496 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21497 (copysignf): Define using libm_alias_float.
21498 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21499 (fabsf): Define using libm_alias_float.
21500 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21501 (floorf): Define using libm_alias_float.
21502 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21503 (fmaxf): Define using libm_alias_float.
21504 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21505 (fminf): Define using libm_alias_float.
21506 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21507 (lrintf): Define using libm_alias_float.
21508 (llrintf): Likewise.
21509 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21510 (lroundf): Define using libm_alias_float.
21511 (llroundf): Likewise.
21512 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21513 (rintf): Define using libm_alias_float.
21514 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21515 (truncf): Define using libm_alias_float.
21517 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21518 (ceilf): Define using libm_alias_float.
21519 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21520 (floorf): Define using libm_alias_float.
21521 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21522 (fmaf): Define using libm_alias_float.
21523 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21524 (fmaxf): Define using libm_alias_float.
21525 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21526 (fminf): Define using libm_alias_float.
21527 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21528 (llrintf): Define using libm_alias_float.
21529 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21530 (llroundf): Define using libm_alias_float.
21531 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21532 (lrintf): Define using libm_alias_float.
21533 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21534 (lroundf): Define using libm_alias_float.
21535 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21536 <libm-alias-float.h>.
21537 (nearbyintf): Define using libm_alias_float.
21538 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21539 (rintf): Define using libm_alias_float.
21540 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21541 (roundf): Define using libm_alias_float.
21542 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21543 (truncf): Define using libm_alias_float.
21545 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21546 (ceil): Define using libm_alias_double.
21547 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21548 (copysign): Define using libm_alias_double.
21549 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21550 (fabs): Define using libm_alias_double.
21551 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21552 (floor): Define using libm_alias_double.
21553 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21554 (fmax): Define using libm_alias_double.
21555 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21556 (fmin): Define using libm_alias_double.
21557 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21558 (lrint): Define using libm_alias_double.
21559 (llrint): Likewise.
21560 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21561 (lround): Define using libm_alias_double.
21562 (llround): Likewise.
21563 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21564 (rint): Define using libm_alias_double.
21565 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21566 (trunc): Define using libm_alias_double.
21568 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21569 (libm_alias_double_r): Add semicolon after weak_alias call.
21571 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21573 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21574 (ceil): Define using libm_alias_double.
21575 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21576 (floor): Define using libm_alias_double.
21577 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21578 (fma): Define using libm_alias_double.
21579 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21580 (fmax): Define using libm_alias_double.
21581 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21582 (fmin): Define using libm_alias_double.
21583 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21584 (llrint): Define using libm_alias_double.
21585 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21586 (llround): Define using libm_alias_double.
21587 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21588 (lrint): Define using libm_alias_double.
21589 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21590 (lround): Define using libm_alias_double.
21591 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21592 (nearbyint): Define using libm_alias_double.
21593 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21594 (rint): Define using libm_alias_double.
21595 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21596 (round): Define using libm_alias_double.
21597 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21598 (trunc): Define using libm_alias_double.
21600 2017-11-27 Florian Weimer <fweimer@redhat.com>
21602 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21603 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21604 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21605 (tests): Add tst-mlock2.
21606 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21607 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21608 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21609 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21610 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21611 for mlock. Document mlock2.
21613 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21615 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21616 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21618 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21620 * sysdeps/x86/Makeconfig: New file.
21621 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21622 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21623 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21624 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21625 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21626 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21627 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21629 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21630 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21631 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21632 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21633 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21634 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21635 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21636 * manual/math.texi (Mathematics): Document support for _Float64x.
21637 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21638 * stdlib/Versions (GLIBC_2.27): Likewise.
21639 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21640 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21641 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21642 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21643 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21644 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21645 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21646 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21647 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21648 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21649 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21650 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21655 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21656 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21657 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21658 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21659 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21660 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21661 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21662 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21663 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21664 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21665 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21666 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21667 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21668 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21670 2017-11-27 Andreas Schwab <schwab@suse.de>
21672 * elf/Makefile (dl-routines): Add dl-sort-maps.
21673 * elf/dl-sort-maps.c: New file.
21674 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21675 (_dl_sort_maps): Declare.
21676 * elf/dl-fini.c (_dl_sort_fini): Remove.
21677 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21678 * elf/dl-close.c (_dl_close_worker): Likewise.
21679 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21681 * elf/dl-open.c (dl_open_worker): Likewise.
21683 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21685 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21686 using libm_alias_float128.
21687 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21689 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21691 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21692 (setpayloadsigf128): Likewise.
21693 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21695 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21698 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21699 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21700 -mfloat128 to CFLAGS.
21702 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21704 (CFLAGS-libm-test-support-float64x.c): New variable.
21705 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21706 $(f128-loader-link) to gnulib-tests.
21708 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21709 (libm_alias_float128_other_r): If
21710 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21712 (libm_alias_float128_r): Add semicolon after weak_alias call.
21713 * sysdeps/generic/libm-alias-ldouble.h
21714 (libm_alias_ldouble_other_r_f128): New macro.
21715 (libm_alias_ldouble_other_r_f64x): Likewise.
21716 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21717 and libm_alias_ldouble_other_r_f64x.
21718 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21719 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21720 (libm_alias_ldouble_other_r_f128): New macro.
21721 (libm_alias_ldouble_other_r_f64x): Likewise.
21722 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21723 and libm_alias_ldouble_other_r_f64x.
21725 * stdlib/strfroml.c: Always include <stdlib.h>.
21726 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21727 undefine as macro and define as weak alias.
21728 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21729 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21731 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21732 Define and later undefine as macro and define as weak alias.
21734 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21735 Define and later undefine as macro. Define as weak alias if
21737 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21738 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21739 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21740 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21741 Define and later undefine as macro. Define as weak alias if
21743 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21744 Define and later undefine as macro. Define as weak alias if
21746 * sysdeps/ieee754/float128/strtof128_l.c
21747 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21748 Define and later undefine as macro. Define as weak alias if
21750 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21751 Define and later undefine as macro. Define as weak alias if
21753 * sysdeps/ieee754/ldbl-128/strtold_l.c
21754 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21755 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21756 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21757 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21758 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21759 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21760 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21761 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21762 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21763 * sysdeps/ieee754/ldbl-96/strtold_l.c
21764 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21765 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21766 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21767 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21769 * math/test-float64x.h: New file.
21770 * math/Makefile (type-float64x-yes): New variable.
21771 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21773 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21774 function-like macro.
21775 (min_of_type_): Likewise.
21776 (min_of_type_l): Likewise.
21777 (min_of_type_f128): Likewise.
21778 (min_of_type): Pass () as last argument of __MATH_TG.
21780 * stdlib/tst-strtod-round-skeleton.c
21781 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21784 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21785 for combinations of long double with _Float64 and _Float64x.
21787 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21788 (__DECL_SIMD_cosf32): Likewise.
21789 (__DECL_SIMD_cosf64): Likewise.
21790 (__DECL_SIMD_cosf32x): Likewise.
21791 (__DECL_SIMD_cosf64x): Likewise.
21792 (__DECL_SIMD_cosf128x): Likewise.
21793 (__DECL_SIMD_sinf16): Likewise.
21794 (__DECL_SIMD_sinf32): Likewise.
21795 (__DECL_SIMD_sinf64): Likewise.
21796 (__DECL_SIMD_sinf32x): Likewise.
21797 (__DECL_SIMD_sinf64x): Likewise.
21798 (__DECL_SIMD_sinf128x): Likewise.
21799 (__DECL_SIMD_sincosf16): Likewise.
21800 (__DECL_SIMD_sincosf32): Likewise.
21801 (__DECL_SIMD_sincosf64): Likewise.
21802 (__DECL_SIMD_sincosf32x): Likewise.
21803 (__DECL_SIMD_sincosf64x): Likewise.
21804 (__DECL_SIMD_sincosf128x): Likewise.
21805 (__DECL_SIMD_logf16): Likewise.
21806 (__DECL_SIMD_logf32): Likewise.
21807 (__DECL_SIMD_logf64): Likewise.
21808 (__DECL_SIMD_logf32x): Likewise.
21809 (__DECL_SIMD_logf64x): Likewise.
21810 (__DECL_SIMD_logf128x): Likewise.
21811 (__DECL_SIMD_expf16): Likewise.
21812 (__DECL_SIMD_expf32): Likewise.
21813 (__DECL_SIMD_expf64): Likewise.
21814 (__DECL_SIMD_expf32x): Likewise.
21815 (__DECL_SIMD_expf64x): Likewise.
21816 (__DECL_SIMD_expf128x): Likewise.
21817 (__DECL_SIMD_powf16): Likewise.
21818 (__DECL_SIMD_powf32): Likewise.
21819 (__DECL_SIMD_powf64): Likewise.
21820 (__DECL_SIMD_powf32x): Likewise.
21821 (__DECL_SIMD_powf64x): Likewise.
21822 (__DECL_SIMD_powf128x): Likewise.
21824 * stdlib/Versions (libc): Move entries for wcstof128 and
21825 wcstof128_l to ....
21826 * wcsmbs/Versions (libc): ... here.
21827 Include <float128-abi.h>.
21829 2017-11-24 Florian Weimer <fweimer@redhat.com>
21831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21832 bits/mman-shared.h.
21833 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21834 <bits/mman-shared.h>.
21835 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21837 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21838 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21839 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21840 <bits/mman-shared.h>.
21842 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21845 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21846 posix_memalign/free.
21847 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21849 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21852 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21853 and implement the collation rules for pl from CLDR on top of that.
21854 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21855 of locales to be built for testing.
21856 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21858 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21860 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21861 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21862 libm_alias_ldouble_other.
21863 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21864 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21865 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21866 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21867 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21868 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21869 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21870 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21871 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21872 libm_alias_ldouble_r.
21873 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21874 libm_alias_ldouble_other.
21875 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21876 (log10l): Likewise.
21877 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21878 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21879 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21880 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21881 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21882 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21883 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21884 (atan2l): Likewise.
21885 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21886 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21887 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21888 libm_alias_ldouble.
21889 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21891 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21892 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21893 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21895 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21896 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21897 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21898 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21899 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21900 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21901 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21902 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21903 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21904 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21905 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21906 libm_alias_ldouble.
21907 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21908 libm_alias_ldouble_other.
21909 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21910 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21911 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21912 libm_alias_ldouble.
21913 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21914 libm_alias_ldouble_other.
21915 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21916 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21917 * sysdeps/ia64/fpu/w_lgammal_main.c
21918 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21919 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21921 2017-11-23 Florian Weimer <fweimer@redhat.com>
21923 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21924 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21925 alike. Remove freeres marker.
21926 * malloc/arena.c (arena_thread_freeres): Call
21927 tcache_thread_shutdown.
21929 2017-11-23 Florian Weimer <fweimer@redhat.com>
21932 Export nscd hash function as __nss_hash.
21933 * include/nss.h (__nss_hash): Declare.
21934 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21936 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21937 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21939 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21940 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21941 * nss/Makefiles (routines): Add nss_hash.
21942 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21943 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21944 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21945 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21947 2017-11-23 Florian Weimer <fweimer@redhat.com>
21950 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21951 Return error code, not -1.
21952 * signal/tst-sigwait-eintr.c: New file.
21953 * signal/Makefile (tests): Add tst-sigwait-eintr.
21955 2017-11-23 Florian Weimer <fweimer@redhat.com>
21957 Linux: Add memfd_create system call wrapper
21958 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21960 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21961 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21962 [__USE_GNU] (memfd_create): Declare.
21963 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21964 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21965 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21966 * sysdeps/unix/sysv/linux/**.abilist: Update.
21967 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21969 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21971 * localedata/gen-locale.sh: Fix typo in variable name.
21973 * resolv/res_debug.c (p_secstodate): Condition definition on
21974 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21975 directly as __p_secstodate, and as a compat symbol. Do not use
21976 libresolv_hidden_def.
21977 * resolv/resolv.h (p_secstodate): Remove macro and function
21979 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21980 using p_secstodate.
21981 * include/resolv.h (__p_secstodate): Do not use
21982 libresolv_hidden_proto.
21983 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21984 (tests-internal): ... here.
21985 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21986 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21987 and declare and use __p_secstodate and use compat_symbol_reference
21989 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21990 implementation returning 77.
21993 * resolv/res_debug.c: Include <libc-diag.h>.
21994 (p_secstodate): Assert time_t at least as wide as u_long. On
21995 overflow, use integer seconds since the epoch as output, or use
21996 "<overflow>" as output and set errno to EOVERFLOW if integer
21997 seconds since the epoch would be 14 or more characters.
21998 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22000 * resolv/tst-p_secstodate.c: New file.
22001 * resolv/Makefile (tests): Add tst-p_secstodate.
22002 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22004 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22005 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22006 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22008 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22010 * posix/regcomp.c (init_word_char): Add comments.
22012 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22015 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22016 strlen to compute length of ut_user and set trailing NUL byte of
22019 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22022 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22023 using “copy "iso14651_t1"” and then implementing the
22024 collation rules for lv from CLDR on top of that.
22025 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22026 of locales to be built for testing.
22027 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22030 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22032 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22033 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22034 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22035 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22036 [__USE_MISC] (MADV_HWPOISON): New macro.
22037 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22039 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22041 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22042 -Wmissing-braces on GCC 4.9.
22044 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22046 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22047 * sysdeps/s390/s390-32/start.S (_start): Likewise
22048 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22049 (thread_start): Likewise.
22050 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22051 (thread_start): Likewise.
22052 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22053 (__makecontext_ret): Likewise.
22054 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22055 (__makecontext_ret): Likewise.
22057 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22059 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22060 __wcschrnul): Remove attribute_hidden.
22062 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22064 regex: don't assume uint64_t or uint32_t
22065 This avoids -Werror=overflow errors for 32-bit systems in
22066 the 64-bit case. Problem reported by Joseph Myers in:
22067 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22068 Also, when this code is used in Gnulib it ports to platforms
22069 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22070 them, and on some 32-bit compilers there is no uint64_t.
22071 Problem reported by Gianluigi Tiesi in:
22072 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22073 * posix/regcomp.c (init_word_char): Don't assume that the types
22074 uint64_t and uint32_t exist. Adapted from Gnulib patch
22075 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22076 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22078 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22080 * sysdeps/aarch64/memset-reg.h: New file.
22081 * sysdeps/aarch64/memset.S: Use it.
22082 (__memset): Rename to MEMSET macro.
22083 [ZVA_MACRO]: Use zva_macro.
22084 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22085 Add memset_generic and memset_falkor.
22086 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22087 (__libc_ifunc_impl_list): Add memset ifuncs.
22088 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22089 local variable zva_size.
22090 * sysdeps/aarch64/multiarch/memset.c: New file.
22091 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22092 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22093 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22094 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22095 (DCZID_DZP_MASK): New macro.
22096 (DCZID_BS_MASK): Likewise.
22097 (init_cpu_features): Read and set zva_size.
22098 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22099 (struct cpu_features): New member zva_size.
22101 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22102 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22103 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22105 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22106 backwards. Fix timing computation.
22107 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22108 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22109 on memset by N at a time. Fix timing computation.
22111 2017-11-20 Florian Weimer <fweimer@redhat.com>
22113 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22114 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22116 2017-11-19 Florian Weimer <fweimer@redhat.com>
22118 manual: Document mprotect
22119 * manual/memory.texi (Memory Protection): New section.
22120 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22121 documentation of PROT_* flags and reference the Memory Protection
22124 2017-11-19 Florian Weimer <fweimer@redhat.com>
22126 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22127 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22128 (Scatter-Gather): ... to here. Remove misleading comment.
22130 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22132 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22135 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22136 when /proc/<pid>/setgroups does not exist.
22138 2017-11-18 Florian Weimer <fweimer@redhat.com>
22140 * sysdeps/unix/sysv/linux/tst-ttyname.c
22141 (become_root_in_mount_ns): Remove.
22142 (do_in_chroot_1): Call support_enter_mount_namespace.
22143 (do_in_chroot_2): Likewise.
22144 (do_test): Call support_become_root early.
22146 2017-11-18 Florian Weimer <fweimer@redhat.com>
22148 * support/namespace.h (support_enter_mount_namespace): Declare.
22149 * support/support_enter_mount_namespace.c: New file.
22150 * support/Makefile (libsupport-routines): Add
22151 support_enter_mount_namespace.
22153 2017-11-18 Florian Weimer <fweimer@redhat.com>
22155 * support/temp_file.c (support_create_temp_directory): Use
22156 test_dir and do not rely on the presence of the XXXXXX suffix.
22157 * support/temp_file.h (support_create_temp_directory): Update
22159 * support/tst-xreadlink.c (do_test): Adjust.
22160 * support/support_chroot.c (support_chroot_create): Likewise.
22162 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22164 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22166 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22169 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22171 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22172 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22173 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22174 (ceill): Define using libm_alias_ldouble.
22175 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22176 <libm-alias-ldouble.h>.
22177 (copysignl): Define using libm_alias_ldouble.
22178 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22179 (fabsl): Define using libm_alias_ldouble.
22180 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22181 (floorl): Define using libm_alias_ldouble.
22182 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22183 (fmaxl): Define using libm_alias_ldouble.
22184 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22185 (fminl): Define using libm_alias_ldouble.
22186 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22187 (llrintl): Define using libm_alias_ldouble.
22188 (lrintl): Likewise.
22189 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22190 <libm-alias-ldouble.h>.
22191 (nearbyintl): Define using libm_alias_ldouble.
22192 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22193 (truncl): Define using libm_alias_ldouble.
22194 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22195 <libm-alias-ldouble.h>.
22196 (lrintl): Define using libm_alias_ldouble.
22198 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22199 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22200 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22201 (asinhl): Define using libm_alias_ldouble.
22202 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22203 (atanl): Define using libm_alias_ldouble.
22204 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22205 (cbrtl): Define using libm_alias_ldouble.
22206 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22207 (ceill): Define using libm_alias_ldouble.
22208 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22209 (copysignl): Define using libm_alias_ldouble.
22210 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22211 (fabsl): Define using libm_alias_ldouble.
22212 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22213 (floorl): Define using libm_alias_ldouble.
22214 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22215 (fmaxl): Define using libm_alias_ldouble.
22216 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22217 (fminl): Define using libm_alias_ldouble.
22218 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22219 (frexpl): Define using libm_alias_ldouble.
22220 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22221 (llrintl): Define using libm_alias_ldouble.
22222 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22223 (logbl): Define using libm_alias_ldouble.
22224 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22225 (lrintl): Define using libm_alias_ldouble.
22226 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22227 (nearbyintl): Define using libm_alias_ldouble.
22228 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22229 (nextafterl): Define using libm_alias_ldouble.
22230 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22231 (remquol): Define using libm_alias_ldouble.
22232 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22233 (rintl): Define using libm_alias_ldouble.
22234 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22235 (truncl): Define using libm_alias_ldouble.
22236 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22237 (fmaxl): Define using libm_alias_ldouble.
22238 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22239 (fminl): Define using libm_alias_ldouble.
22241 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22242 to C syntax instead of availability and properties of types.
22243 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22244 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22245 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22246 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22247 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22248 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22250 2017-11-17 Florian Weimer <fweimer@redhat.com>
22252 support_become_root: Enable file creation in namespaces.
22253 * support/support_become_root.c (setup_mapping): New function.
22254 (support_become_root): Call it.
22256 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22258 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22261 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22263 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22264 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22266 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22268 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22270 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22273 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22275 * INSTALL: Fix botched up regeneration.
22277 * NEWS: Update sourceare link to https.
22278 * configure.ac: Likewise.
22279 * crypt/md5test-giant.c: Likewise.
22280 * dlfcn/bug-atexit1.c: Likewise.
22281 * dlfcn/bug-atexit2.c: Likewise.
22282 * localedata/README: Likewise.
22283 * malloc/tst-mallocfork.c: Likewise.
22284 * manual/install.texi: Likewise.
22285 * nptl/tst-pthread-getattr.c: Likewise.
22286 * stdio-common/tst-fgets.c: Likewise.
22287 * stdio-common/tst-fwrite.c: Likewise.
22288 * sunrpc/Makefile: Likewise.
22289 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22290 * wcsmbs/tst-mbrtowc2.c: Likewise.
22291 * configure: Regenerate.
22292 * INSTALL: Regenerate.
22294 2017-11-15 Martin Sebor <msebor@redhat.com>
22296 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22297 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22298 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22300 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22303 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22304 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22307 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22308 Defer is_pty check until end of the function.
22309 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22312 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22313 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22314 (ttyname): Likewise.
22315 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22316 (__ttyname_r): Likewise.
22318 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22321 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22323 * manual/terminal.texi (Is It a Terminal):
22324 Mention ENODEV for ttyname and ttyname_r.
22326 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22328 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22329 constant and macro.
22331 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22332 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22333 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22334 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22335 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22336 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22338 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22340 * signal/sigrelse.c (sigrelse): Optimize implementation.
22342 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22343 (__sigpause): Rely on __sigsuspend to implement single thread
22344 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22346 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22348 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22349 kernel version to 4.14.
22351 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22354 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22355 Check if ifname is too long.
22357 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22359 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22361 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22363 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22364 was accidentally lost.
22366 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22368 * localedata/locales/az_IR: Add standard copyright header.
22370 2017-11-15 Florian Weimer <fweimer@redhat.com>
22373 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22374 not just the top one. Output a new "subheaps" statistic.
22376 2017-11-15 Florian Weimer <fweimer@redhat.com>
22379 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22380 under the per-arena lock.
22381 * malloc/Makefile (tests): Add tst-malloc_info.
22382 (tst-malloc_info): Link with libpthread.
22383 * malloc/tst-malloc_info.c: New file.
22385 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22388 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22389 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22390 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22391 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22392 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22393 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22394 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22395 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22396 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22397 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22398 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22399 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22400 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22401 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22402 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22403 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22404 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22405 (__floating_type): Likewise.
22406 (__real_integer_type): Likewise.
22407 (__complex_integer_type): Likewise.
22408 (__expr_is_real): Likewise.
22409 (__tgmath_real_type_sub): Likewise.
22410 (__tgmath_real_type): Likewise.
22411 (__tgmath_complex_type_sub): Likewise.
22412 (__tgmath_complex_type): Likewise.
22413 (__TGMATH_F128): Likewise.
22414 (__TGMATH_CF128): Likewise.
22415 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22417 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22418 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22420 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22422 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22423 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22424 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22425 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22427 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22428 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22430 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22431 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22432 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22434 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22435 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22436 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22440 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22442 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22443 for stpncpy calls for GCC 8.
22444 (test_strncat): Disable -Wstringop-truncation warning for strncat
22445 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22446 strncat call for GCC 7.
22447 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22449 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22452 * string/bug-strncat1.c: Include <libc-diag.h>.
22453 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22455 2017-11-13 Claude Paroz <claude@2xlibre.net>
22458 * localedata/locales/aa_DJ: Improved readibility by replacing
22459 <Uxxxx> sequences in the ASCII printable range by their ASCII
22460 character equivalents.
22461 * localedata/locales/aa_ER: Likewise.
22462 * localedata/locales/aa_ER@saaho: Likewise.
22463 * localedata/locales/aa_ET: Likewise.
22464 * localedata/locales/af_ZA: Likewise.
22465 * localedata/locales/agr_PE: Likewise.
22466 * localedata/locales/ak_GH: Likewise.
22467 * localedata/locales/am_ET: Likewise.
22468 * localedata/locales/anp_IN: Likewise.
22469 * localedata/locales/ar_AE: Likewise.
22470 * localedata/locales/ar_BH: Likewise.
22471 * localedata/locales/ar_DZ: Likewise.
22472 * localedata/locales/ar_EG: Likewise.
22473 * localedata/locales/ar_IN: Likewise.
22474 * localedata/locales/ar_IQ: Likewise.
22475 * localedata/locales/ar_JO: Likewise.
22476 * localedata/locales/ar_KW: Likewise.
22477 * localedata/locales/ar_LB: Likewise.
22478 * localedata/locales/ar_LY: Likewise.
22479 * localedata/locales/ar_MA: Likewise.
22480 * localedata/locales/ar_OM: Likewise.
22481 * localedata/locales/ar_QA: Likewise.
22482 * localedata/locales/ar_SA: Likewise.
22483 * localedata/locales/ar_SD: Likewise.
22484 * localedata/locales/ar_SS: Likewise.
22485 * localedata/locales/ar_SY: Likewise.
22486 * localedata/locales/ar_TN: Likewise.
22487 * localedata/locales/ar_YE: Likewise.
22488 * localedata/locales/as_IN: Likewise.
22489 * localedata/locales/ast_ES: Likewise.
22490 * localedata/locales/ayc_PE: Likewise.
22491 * localedata/locales/az_AZ: Likewise.
22492 * localedata/locales/az_IR: Likewise.
22493 * localedata/locales/be_BY: Likewise.
22494 * localedata/locales/be_BY@latin: Likewise.
22495 * localedata/locales/bem_ZM: Likewise.
22496 * localedata/locales/ber_DZ: Likewise.
22497 * localedata/locales/ber_MA: Likewise.
22498 * localedata/locales/bg_BG: Likewise.
22499 * localedata/locales/bhb_IN: Likewise.
22500 * localedata/locales/bho_IN: Likewise.
22501 * localedata/locales/bi_VU: Likewise.
22502 * localedata/locales/bn_BD: Likewise.
22503 * localedata/locales/bn_IN: Likewise.
22504 * localedata/locales/bo_CN: Likewise.
22505 * localedata/locales/bo_IN: Likewise.
22506 * localedata/locales/br_FR: Likewise.
22507 * localedata/locales/brx_IN: Likewise.
22508 * localedata/locales/bs_BA: Likewise.
22509 * localedata/locales/byn_ER: Likewise.
22510 * localedata/locales/ca_AD: Likewise.
22511 * localedata/locales/ca_ES: Likewise.
22512 * localedata/locales/ca_FR: Likewise.
22513 * localedata/locales/ca_IT: Likewise.
22514 * localedata/locales/ce_RU: Likewise.
22515 * localedata/locales/chr_US: Likewise.
22516 * localedata/locales/cmn_TW: Likewise.
22517 * localedata/locales/crh_UA: Likewise.
22518 * localedata/locales/cs_CZ: Likewise.
22519 * localedata/locales/csb_PL: Likewise.
22520 * localedata/locales/cv_RU: Likewise.
22521 * localedata/locales/cy_GB: Likewise.
22522 * localedata/locales/da_DK: Likewise.
22523 * localedata/locales/de_AT: Likewise.
22524 * localedata/locales/de_BE: Likewise.
22525 * localedata/locales/de_CH: Likewise.
22526 * localedata/locales/de_DE: Likewise.
22527 * localedata/locales/de_IT: Likewise.
22528 * localedata/locales/de_LI: Likewise.
22529 * localedata/locales/de_LU: Likewise.
22530 * localedata/locales/doi_IN: Likewise.
22531 * localedata/locales/dv_MV: Likewise.
22532 * localedata/locales/dz_BT: Likewise.
22533 * localedata/locales/el_CY: Likewise.
22534 * localedata/locales/el_GR: Likewise.
22535 * localedata/locales/en_AG: Likewise.
22536 * localedata/locales/en_AU: Likewise.
22537 * localedata/locales/en_BW: Likewise.
22538 * localedata/locales/en_CA: Likewise.
22539 * localedata/locales/en_DK: Likewise.
22540 * localedata/locales/en_GB: Likewise.
22541 * localedata/locales/en_HK: Likewise.
22542 * localedata/locales/en_IE: Likewise.
22543 * localedata/locales/en_IL: Likewise.
22544 * localedata/locales/en_IN: Likewise.
22545 * localedata/locales/en_NG: Likewise.
22546 * localedata/locales/en_NZ: Likewise.
22547 * localedata/locales/en_PH: Likewise.
22548 * localedata/locales/en_SG: Likewise.
22549 * localedata/locales/en_US: Likewise.
22550 * localedata/locales/en_ZA: Likewise.
22551 * localedata/locales/en_ZM: Likewise.
22552 * localedata/locales/en_ZW: Likewise.
22553 * localedata/locales/eo: Likewise.
22554 * localedata/locales/es_AR: Likewise.
22555 * localedata/locales/es_BO: Likewise.
22556 * localedata/locales/es_CL: Likewise.
22557 * localedata/locales/es_CO: Likewise.
22558 * localedata/locales/es_CR: Likewise.
22559 * localedata/locales/es_CU: Likewise.
22560 * localedata/locales/es_DO: Likewise.
22561 * localedata/locales/es_EC: Likewise.
22562 * localedata/locales/es_ES: Likewise.
22563 * localedata/locales/es_GT: Likewise.
22564 * localedata/locales/es_HN: Likewise.
22565 * localedata/locales/es_MX: Likewise.
22566 * localedata/locales/es_NI: Likewise.
22567 * localedata/locales/es_PA: Likewise.
22568 * localedata/locales/es_PE: Likewise.
22569 * localedata/locales/es_PR: Likewise.
22570 * localedata/locales/es_PY: Likewise.
22571 * localedata/locales/es_SV: Likewise.
22572 * localedata/locales/es_US: Likewise.
22573 * localedata/locales/es_UY: Likewise.
22574 * localedata/locales/es_VE: Likewise.
22575 * localedata/locales/et_EE: Likewise.
22576 * localedata/locales/eu_ES: Likewise.
22577 * localedata/locales/eu_ES@euro: Likewise.
22578 * localedata/locales/fa_IR: Likewise.
22579 * localedata/locales/ff_SN: Likewise.
22580 * localedata/locales/fi_FI: Likewise.
22581 * localedata/locales/fil_PH: Likewise.
22582 * localedata/locales/fo_FO: Likewise.
22583 * localedata/locales/fr_BE: Likewise.
22584 * localedata/locales/fr_CA: Likewise.
22585 * localedata/locales/fr_CH: Likewise.
22586 * localedata/locales/fr_FR: Likewise.
22587 * localedata/locales/fr_LU: Likewise.
22588 * localedata/locales/fur_IT: Likewise.
22589 * localedata/locales/fy_DE: Likewise.
22590 * localedata/locales/fy_NL: Likewise.
22591 * localedata/locales/ga_IE: Likewise.
22592 * localedata/locales/gd_GB: Likewise.
22593 * localedata/locales/gez_ER: Likewise.
22594 * localedata/locales/gez_ET: Likewise.
22595 * localedata/locales/gl_ES: Likewise.
22596 * localedata/locales/gu_IN: Likewise.
22597 * localedata/locales/gv_GB: Likewise.
22598 * localedata/locales/ha_NG: Likewise.
22599 * localedata/locales/hak_TW: Likewise.
22600 * localedata/locales/he_IL: Likewise.
22601 * localedata/locales/hi_IN: Likewise.
22602 * localedata/locales/hif_FJ: Likewise.
22603 * localedata/locales/hne_IN: Likewise.
22604 * localedata/locales/hr_HR: Likewise.
22605 * localedata/locales/hsb_DE: Likewise.
22606 * localedata/locales/ht_HT: Likewise.
22607 * localedata/locales/hu_HU: Likewise.
22608 * localedata/locales/hy_AM: Likewise.
22609 * localedata/locales/i18n: Likewise.
22610 * localedata/locales/ia_FR: Likewise.
22611 * localedata/locales/id_ID: Likewise.
22612 * localedata/locales/ig_NG: Likewise.
22613 * localedata/locales/ik_CA: Likewise.
22614 * localedata/locales/is_IS: Likewise.
22615 * localedata/locales/it_CH: Likewise.
22616 * localedata/locales/it_IT: Likewise.
22617 * localedata/locales/iu_CA: Likewise.
22618 * localedata/locales/ja_JP: Likewise.
22619 * localedata/locales/ka_GE: Likewise.
22620 * localedata/locales/kk_KZ: Likewise.
22621 * localedata/locales/kl_GL: Likewise.
22622 * localedata/locales/kn_IN: Likewise.
22623 * localedata/locales/ko_KR: Likewise.
22624 * localedata/locales/kok_IN: Likewise.
22625 * localedata/locales/ks_IN: Likewise.
22626 * localedata/locales/ks_IN@devanagari: Likewise.
22627 * localedata/locales/ku_TR: Likewise.
22628 * localedata/locales/kw_GB: Likewise.
22629 * localedata/locales/ky_KG: Likewise.
22630 * localedata/locales/lb_LU: Likewise.
22631 * localedata/locales/lg_UG: Likewise.
22632 * localedata/locales/li_BE: Likewise.
22633 * localedata/locales/li_NL: Likewise.
22634 * localedata/locales/lij_IT: Likewise.
22635 * localedata/locales/ln_CD: Likewise.
22636 * localedata/locales/lo_LA: Likewise.
22637 * localedata/locales/lt_LT: Likewise.
22638 * localedata/locales/lv_LV: Likewise.
22639 * localedata/locales/lzh_TW: Likewise.
22640 * localedata/locales/mag_IN: Likewise.
22641 * localedata/locales/mai_IN: Likewise.
22642 * localedata/locales/mg_MG: Likewise.
22643 * localedata/locales/mhr_RU: Likewise.
22644 * localedata/locales/mi_NZ: Likewise.
22645 * localedata/locales/mk_MK: Likewise.
22646 * localedata/locales/ml_IN: Likewise.
22647 * localedata/locales/mn_MN: Likewise.
22648 * localedata/locales/mni_IN: Likewise.
22649 * localedata/locales/mr_IN: Likewise.
22650 * localedata/locales/ms_MY: Likewise.
22651 * localedata/locales/mt_MT: Likewise.
22652 * localedata/locales/my_MM: Likewise.
22653 * localedata/locales/nan_TW: Likewise.
22654 * localedata/locales/nan_TW@latin: Likewise.
22655 * localedata/locales/nb_NO: Likewise.
22656 * localedata/locales/nds_DE: Likewise.
22657 * localedata/locales/nds_NL: Likewise.
22658 * localedata/locales/ne_NP: Likewise.
22659 * localedata/locales/nhn_MX: Likewise.
22660 * localedata/locales/niu_NU: Likewise.
22661 * localedata/locales/niu_NZ: Likewise.
22662 * localedata/locales/nl_AW: Likewise.
22663 * localedata/locales/nl_BE: Likewise.
22664 * localedata/locales/nl_NL: Likewise.
22665 * localedata/locales/nn_NO: Likewise.
22666 * localedata/locales/nr_ZA: Likewise.
22667 * localedata/locales/nso_ZA: Likewise.
22668 * localedata/locales/oc_FR: Likewise.
22669 * localedata/locales/om_ET: Likewise.
22670 * localedata/locales/om_KE: Likewise.
22671 * localedata/locales/or_IN: Likewise.
22672 * localedata/locales/os_RU: Likewise.
22673 * localedata/locales/pa_IN: Likewise.
22674 * localedata/locales/pa_PK: Likewise.
22675 * localedata/locales/pap_AW: Likewise.
22676 * localedata/locales/pap_CW: Likewise.
22677 * localedata/locales/pl_PL: Likewise.
22678 * localedata/locales/ps_AF: Likewise.
22679 * localedata/locales/pt_BR: Likewise.
22680 * localedata/locales/pt_PT: Likewise.
22681 * localedata/locales/quz_PE: Likewise.
22682 * localedata/locales/raj_IN: Likewise.
22683 * localedata/locales/ro_RO: Likewise.
22684 * localedata/locales/ru_RU: Likewise.
22685 * localedata/locales/ru_UA: Likewise.
22686 * localedata/locales/rw_RW: Likewise.
22687 * localedata/locales/sa_IN: Likewise.
22688 * localedata/locales/sat_IN: Likewise.
22689 * localedata/locales/sc_IT: Likewise.
22690 * localedata/locales/sd_IN: Likewise.
22691 * localedata/locales/sd_IN@devanagari: Likewise.
22692 * localedata/locales/se_NO: Likewise.
22693 * localedata/locales/sgs_LT: Likewise.
22694 * localedata/locales/shs_CA: Likewise.
22695 * localedata/locales/si_LK: Likewise.
22696 * localedata/locales/sid_ET: Likewise.
22697 * localedata/locales/sk_SK: Likewise.
22698 * localedata/locales/sl_SI: Likewise.
22699 * localedata/locales/sm_WS: Likewise.
22700 * localedata/locales/so_DJ: Likewise.
22701 * localedata/locales/so_ET: Likewise.
22702 * localedata/locales/so_KE: Likewise.
22703 * localedata/locales/so_SO: Likewise.
22704 * localedata/locales/sq_AL: Likewise.
22705 * localedata/locales/sq_MK: Likewise.
22706 * localedata/locales/sr_ME: Likewise.
22707 * localedata/locales/sr_RS: Likewise.
22708 * localedata/locales/sr_RS@latin: Likewise.
22709 * localedata/locales/ss_ZA: Likewise.
22710 * localedata/locales/st_ZA: Likewise.
22711 * localedata/locales/sv_FI: Likewise.
22712 * localedata/locales/sv_SE: Likewise.
22713 * localedata/locales/sw_KE: Likewise.
22714 * localedata/locales/sw_TZ: Likewise.
22715 * localedata/locales/szl_PL: Likewise.
22716 * localedata/locales/ta_IN: Likewise.
22717 * localedata/locales/ta_LK: Likewise.
22718 * localedata/locales/tcy_IN: Likewise.
22719 * localedata/locales/te_IN: Likewise.
22720 * localedata/locales/tg_TJ: Likewise.
22721 * localedata/locales/th_TH: Likewise.
22722 * localedata/locales/the_NP: Likewise.
22723 * localedata/locales/ti_ER: Likewise.
22724 * localedata/locales/ti_ET: Likewise.
22725 * localedata/locales/tig_ER: Likewise.
22726 * localedata/locales/tk_TM: Likewise.
22727 * localedata/locales/tl_PH: Likewise.
22728 * localedata/locales/tn_ZA: Likewise.
22729 * localedata/locales/to_TO: Likewise.
22730 * localedata/locales/tpi_PG: Likewise.
22731 * localedata/locales/tr_CY: Likewise.
22732 * localedata/locales/tr_TR: Likewise.
22733 * localedata/locales/ts_ZA: Likewise.
22734 * localedata/locales/tt_RU: Likewise.
22735 * localedata/locales/tt_RU@iqtelif: Likewise.
22736 * localedata/locales/ug_CN: Likewise.
22737 * localedata/locales/uk_UA: Likewise.
22738 * localedata/locales/unm_US: Likewise.
22739 * localedata/locales/ur_IN: Likewise.
22740 * localedata/locales/ur_PK: Likewise.
22741 * localedata/locales/uz_UZ: Likewise.
22742 * localedata/locales/uz_UZ@cyrillic: Likewise.
22743 * localedata/locales/ve_ZA: Likewise.
22744 * localedata/locales/vi_VN: Likewise.
22745 * localedata/locales/wa_BE: Likewise.
22746 * localedata/locales/wae_CH: Likewise.
22747 * localedata/locales/wal_ET: Likewise.
22748 * localedata/locales/wo_SN: Likewise.
22749 * localedata/locales/xh_ZA: Likewise.
22750 * localedata/locales/yi_US: Likewise.
22751 * localedata/locales/yo_NG: Likewise.
22752 * localedata/locales/yue_HK: Likewise.
22753 * localedata/locales/yuw_PG: Likewise.
22754 * localedata/locales/zh_CN: Likewise.
22755 * localedata/locales/zh_HK: Likewise.
22756 * localedata/locales/zh_SG: Likewise.
22757 * localedata/locales/zh_TW: Likewise.
22758 * localedata/locales/zu_ZA: Likewise.
22760 2017-11-13 Florian Weimer <fweimer@redhat.com>
22762 * support/next_to_fault.h, support/next_to_fault.c: New files.
22763 * support/Makefile (libsupport-routines): Add next_to_fault.
22764 * resolv/tst-inet_pton.c (struct next_to_fault)
22765 (next_to_fault_allocate, next_to_fault_free): Remove.
22766 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22768 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22770 * elf/dl-support.c: Include <dl-procruntime.c>.
22771 * include/link.h: Include <link_map.h>.
22772 * sysdeps/generic/dl-procruntime.c: New file.
22773 * sysdeps/generic/link_map.h: Likewise.
22774 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22775 the writable ld.so namespace.
22777 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22779 timezone: pacify GCC -Wstringop-truncation
22780 Problem reported by Martin Sebor in:
22781 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22782 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22784 2017-11-12 Florian Weimer <fweimer@redhat.com>
22786 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22788 (tests): Add tst-xreadlink.
22789 * support/support.h (xstrndup): Declare.
22790 * support/xunistd.h (xunlink, xreadlink): Declare.
22791 * support/temp_file.h (support_create_temp_directory): Declare.
22792 * support/temp_file.c (support_create_temp_directory): New function.
22793 * support/support_chroot.c (support_chroot_create): Use it.
22794 * support/xreadlink.c: New file.
22795 * support/xstrndup.c: Likewise.
22796 * support/xunlink.c: Likewise.
22797 * support/tst-xreadlink.c: Likewise.
22799 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22801 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22803 2017-11-11 Florian Weimer <fweimer@redhat.com>
22807 * resolv/res_comp.c (printable_string, binary_hnok)
22808 (binary_leading_dash): New functions.
22809 (res_hnok): Reimplement using these functions and ns_name_pton.
22810 (res_ownok): Likewise.
22811 (res_mailok): Reimplement using printable_string, ns_name_pton and
22813 (res_dnok): Reimplement using printable_string and ns_name_pton.
22814 * resolv/tst-res_hnok.c (tests): Add additional tests.
22815 (LETTERDIGITS, PRINTABLE): Define.
22816 (do_test): Adjust one_char results.
22818 2017-11-11 Florian Weimer <fweimer@redhat.com>
22821 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22822 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22824 2017-11-11 Florian Weimer <fweimer@redhat.com>
22826 * resolv/tst-ns_name_pton.c: New file.
22827 * resolv/Makefile (tests): Add tst-ns_name_pton.
22828 (tst-ns_name_pton): Link against libresolv.
22830 2017-11-11 Florian Weimer <fweimer@redhat.com>
22832 * resolv/tst-res_hnok.c: New file.
22833 * resolv/Makefile (tests): Add tst-res_hnok.
22834 (tst-res_hnok): Link against libresolv.
22836 2017-11-11 Florian Weimer <fweimer@redhat.com>
22838 * resolv/tst-resolv-network.c: Use test framework instead explicit
22841 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22843 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22844 <jmp_buf-macros.h>.
22845 [!_ISOMAC] (STR_HELPER): New.
22846 [!_ISOMAC] (STR): Likewise.
22847 [!_ISOMAC] (TEST_SIZE): Likewise.
22848 [!_ISOMAC] (TEST_ALIGN): Likewise.
22849 [!_ISOMAC] (TEST_OFFSET): Likewise.
22850 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22851 field offsets of jmp_buf as well as sigjmp_buf.
22852 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22853 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22854 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22855 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22856 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22857 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22858 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22859 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22860 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22861 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22863 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22865 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22870 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22871 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22872 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22873 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22874 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22879 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22880 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22881 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22883 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22887 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22888 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22889 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22890 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22891 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22892 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22893 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22894 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22895 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22896 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22897 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22898 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22899 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22900 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22901 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22902 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22903 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22904 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22905 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22906 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22907 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22908 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22909 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22910 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22911 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22912 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22913 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22914 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22915 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22916 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22917 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22918 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22919 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22920 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22921 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22922 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22923 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22924 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22925 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22926 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22927 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22928 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22929 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22930 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22931 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22932 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22933 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22934 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22935 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22936 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22937 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22938 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22939 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22940 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22941 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22942 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22943 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22944 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22945 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22946 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22947 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22948 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22949 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22950 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22951 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22952 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22953 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22954 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22955 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22956 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22957 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22958 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22959 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22960 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22961 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22962 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22963 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22964 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22965 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22966 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22967 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22968 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22969 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22970 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22971 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22972 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22973 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22975 * stdlib/tst-strtod.h (F16): New macro.
22981 (IF_FLOAT16): Likewise.
22982 (IF_FLOAT32): Likewise.
22983 (IF_FLOAT64): Likewise.
22984 (IF_FLOAT32X): Likewise.
22985 (IF_FLOAT64X): Likewise.
22986 (IF_FLOAT128X): Likewise.
22987 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22988 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22989 (STRTOD_TEST_FOREACH): Likewise.
22990 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22991 (CHOOSE_f64): Likewise.
22992 (CHOOSE_f32x): Likewise.
22993 (CHOOSE_f64x): Likewise.
22995 2017-11-07 Andreas Schwab <schwab@suse.de>
22997 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22999 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23002 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23004 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23007 2017-11-07 Claude Paroz <claude@2xlibre.net>
23010 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23012 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23014 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23017 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23020 * nptl/allocatestack.c (allocate_stack): Check if
23021 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23022 __PTHREAD_MUTEX_HAVE_PREV is defined.
23023 * nptl/descr.h (pthread): Likewise.
23024 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23026 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23027 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23028 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23029 * sysdeps/nptl/bits/thread-shared-types.h
23030 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23032 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23033 of __WORDSIZE for internal layout.
23034 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23035 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23036 instead of __WORDSIZE whether to use an union for __spins and __list
23038 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23040 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23041 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23043 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23044 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23046 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23047 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23049 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23050 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23052 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23053 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23055 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23056 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23058 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23059 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23061 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23062 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23064 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23065 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23067 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23068 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23070 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23071 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23073 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23074 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23076 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23077 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23079 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23080 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23082 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23083 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23086 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23088 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23089 checks for expected input type size.
23090 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23091 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23093 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23094 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23095 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23096 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23097 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23098 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23099 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23100 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23101 superflous runtime assert check.
23102 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23104 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23106 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23108 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23110 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23112 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23114 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23115 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23116 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23118 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23120 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23122 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23124 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23126 * nptl/pthread_attr_setinheritsched.c
23127 (__pthread_attr_setinheritsched): Likewise.
23128 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23130 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23132 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23133 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23134 __old_pthread_attr_setstack): Likewise.
23135 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23137 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23139 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23141 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23142 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23144 * nptl/tst-typesizes.c: Remove file.
23146 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23147 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23148 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23149 checks for internal pthread_mutex_t offsets.
23150 * sysdeps/aarch64/nptl/pthread-offsets.h
23151 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23152 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23153 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23154 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23155 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23156 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23157 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23158 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23159 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23160 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23161 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23162 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23163 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23164 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23165 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23166 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23167 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23168 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23170 2017-11-07 Florian Weimer <fweimer@redhat.com>
23172 * bits/mman-linux.h: Move ...
23173 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23175 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23178 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23180 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23181 Redefine STRNLEN as __strnlen_power8.
23183 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23185 * signal/sighold.c (sighold): Optimize implementation.
23187 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23188 __NR_rt_sigqueueinfo.
23190 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23192 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23193 assume __NR_rt_sigtimedwait.
23194 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23195 and add LIBC_CANCEL_HANDLED for cancellation marking.
23196 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23198 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23199 (sysdeps_routines): Add memchr_noneon.
23200 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23201 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23202 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23203 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23204 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23205 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23206 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23208 * sysdeps/arm/arm-ifunc.h: New file.
23209 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23210 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23211 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23212 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23213 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23214 (__memcpy_neon): Avoid create hidden alias.
23215 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23216 (__memcpy_vfp): Likewise.
23217 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23218 (sysdep_routines): Add memcpy_arm.
23219 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23221 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23224 * Makerules (make-link-multidir): New.
23225 * config.make.in (multidir): New.
23226 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23227 * configure: Regenerated.
23228 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23229 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23230 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23233 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23236 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23237 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23239 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23241 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23244 2017-11-04 Florian Weimer <fweimer@redhat.com>
23246 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23248 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23250 * math/math.h [__HAVE_DISTINCT_FLOAT16
23251 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23252 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23253 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23254 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23255 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23256 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23257 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23258 (__MATH_TG_F32): New macro.
23259 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23260 (__MATH_TG_F64X): Likewise.
23261 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23262 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23264 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23266 * po/de.po: Update translations.
23267 * po/ru.po: Likewise.
23269 2017-11-03 Florian Weimer <fweimer@redhat.com>
23271 * manual/filesys.texi (Hard Links): Document linkat.
23273 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23275 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23276 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23277 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23278 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23279 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23280 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23281 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23282 the same as _Float128.
23283 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23284 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23285 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23288 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23290 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23292 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23294 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23295 (strtof32x): Likewise.
23296 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23297 (strtof64x): Likewise.
23298 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23299 (strtof128x): Likewise.
23300 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23301 (strfromf16): Likewise.
23302 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23303 (strfromf32): Likewise.
23304 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23305 (strfromf64): Likewise.
23306 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23307 (strfromf32x): Likewise.
23308 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23309 (strfromf64x): Likewise.
23310 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23311 (strfromf128x): Likewise.
23312 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23313 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23314 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23315 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23316 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23317 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23319 2017-11-03 Richard Henderson <rth@twiddle.net>
23321 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23323 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23325 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23327 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23329 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23330 DT_TLSDESC_GOT initialization.
23331 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23332 (_dl_tlsdesc_resolve_hold): Likewise.
23333 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23334 (_dl_tlsdesc_resolve_hold): Likewise.
23335 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23336 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23338 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23340 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23342 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23345 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23346 non-lazily for R_ARM_TLS_DESC.
23348 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23351 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23352 R_ARM_TLS_DESC case.
23353 (elf_machine_lazy_rel): Remove the prelink check.
23355 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23357 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23358 DT_TLSDESC_GOT initialization.
23359 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23360 (_dl_tlsdesc_resolve_rela): Likewise.
23361 (_dl_tlsdesc_resolve_hold): Likewise.
23362 (_dl_tlsdesc_undefweak): Remove ldar.
23363 (_dl_tlsdesc_dynamic): Likewise.
23364 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23365 (_dl_tlsdesc_resolve_rela): Likewise.
23366 (_dl_tlsdesc_resolve_hold): Likewise.
23367 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23368 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23369 (_dl_tlsdesc_resolve_rela): Likewise.
23370 (_dl_tlsdesc_resolve_hold): Likewise.
23372 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23374 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23375 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23377 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23379 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23380 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23382 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23384 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23386 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23387 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23388 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23389 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23390 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23391 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23392 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23393 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23394 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23395 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23396 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23398 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23401 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23402 * localedata/locales/tpi_PG: Add standard header.
23404 2017-11-02 Florian Weimer <fweimer@redhat.com>
23406 test-errno-linux: quotactl can fail with EPERM in containers.
23407 * sysdeps/unix/sysv/linux/test-errno-linux.c
23408 (LIST, LIST_FORWARD): New macros.
23409 (check_error_in_list): New function.
23410 (test_wrp_rv): Accept list of permitted error codes.
23411 (test_wrp_rv2): Remove.
23412 (test_wrp): Call test_wrp_rv with list of error codes.
23413 (test_wrp2): Accept list of error codes.
23414 (do_test): Adjust. Allow EPERM for quotactl.
23416 2017-11-02 Florian Weimer <fweimer@redhat.com>
23418 * stdio-common/bug16.c (do_test): Use array_length.
23419 * stdio-common/errlist.c (_sys_nerr): Likewise.
23420 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23421 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23422 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23423 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23424 (do_test): Use array_length.
23425 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23426 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23427 * stdio-common/tst-printf-round.c (do_test): Likewise.
23428 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23429 (CHECK): Use array_length.
23430 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23431 * stdio-common/tstscanf.c (main): Likewise.
23432 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23434 2017-11-02 Florian Weimer <fweimer@redhat.com>
23436 Add array_length and array_end macros.
23437 * include/array_length.h: New file.
23439 2017-11-02 Florian Weimer <fweimer@redhat.com>
23442 * posix/tst-glob-tilde.c (do_noescape): New variable.
23443 (one_test): Process it.
23444 (do_test): Set do_noescape. Add unescaping test case.
23446 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23449 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23450 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23451 with appropriate macros defined and undefined.
23452 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23453 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23454 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23455 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23456 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23457 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23458 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23459 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23460 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23461 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23464 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23465 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23466 that for long double. Do not condition define and undefine of
23467 _Mdouble_complex_ on [__CFLOAT128].
23469 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23471 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23472 of <sysdeps/generic/sysdep.h>.
23473 (ALIGNARG): Removed.
23474 (ASM_SIZE_DIRECTIVE): Likewise.
23477 (ENTRY_CHK): Likewise.
23478 (END_CHK): Likewise.
23479 (syscall_error): Likewise.
23480 (mcount): Likewise.
23481 (PSEUDO_END): Likewise.
23483 (atom_text_section): Likewise.
23484 * sysdeps/x86/sysdep.h: New file.
23485 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23486 of <sysdeps/generic/sysdep.h>.
23487 (ALIGNARG): Removed.
23488 (ASM_SIZE_DIRECTIVE): Likewise.
23491 (ENTRY_CHK): Likewise.
23492 (END_CHK): Likewise.
23493 (syscall_error): Likewise.
23494 (mcount): Likewise.
23495 (PSEUDO_END): Likewise.
23497 (atom_text_section): Likewise.
23499 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23501 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23502 category of LC_CTYPE set to "i18n:2012".
23503 * localedata/locales/i18n_ctype: Regenerate.
23505 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23507 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23508 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23509 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23510 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23512 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23513 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23514 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23515 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23517 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23520 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23522 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23524 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23526 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23527 (CMPLXF32X): Likewise.
23528 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23529 (CMPLXF64X): Likewise.
23530 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23531 (CMPLXF128X): Likewise.
23534 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23535 (__MATH_EVAL_FMT2): Define to add 0.0f.
23537 2017-10-31 Alan Modra <amodra@gmail.com>
23539 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23555 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23556 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23557 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23558 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23559 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23560 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23561 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23562 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23563 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23564 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23565 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23566 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23567 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23568 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23569 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23570 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23571 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23572 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23573 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23574 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23575 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23576 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23577 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23579 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23580 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23581 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23582 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23583 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23584 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23585 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23586 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23587 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23588 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23589 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23590 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23591 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23592 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23593 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23594 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23595 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23596 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23597 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23598 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23599 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23600 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23601 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23602 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23603 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23604 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23605 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23606 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23607 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23608 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23609 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23612 include sysdep.h and math_ldbl_opt.h.
23614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23615 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23641 2017-10-31 Alan Modra <amodra@gmail.com>
23643 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23644 string/strncase_l.c, not string/strncase.c.
23645 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23646 (libc_hidden_def): Redefine.
23648 2017-10-31 Alan Modra <amodra@gmail.com>
23650 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23651 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23652 (__strcasecmp): Don't define.
23654 2017-10-31 Alan Modra <amodra@gmail.com>
23656 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23658 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23659 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23660 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23662 2017-10-31 Alan Modra <amodra@gmail.com>
23664 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23667 2017-10-31 Alan Modra <amodra@gmail.com>
23669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23670 Redefine only when SHARED.
23672 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23674 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23675 Include <bits/math-finite.h> with appropriate macros defined and
23677 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23678 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23679 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23680 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23681 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23683 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23684 [!_Mlong_double_] (_Mlong_double_): Likewise.
23685 [!_Mfloat16_] (_Mfloat16_): Likewise.
23686 [!_Mfloat32_] (_Mfloat32_): Likewise.
23687 [!_Mfloat64_] (_Mfloat64_): Likewise.
23688 [!_Mfloat128_] (_Mfloat128_): Likewise.
23689 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23690 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23691 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23692 (_Mdouble_): Define without indirection through those macros.
23693 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23694 [!_Mfloat128_] (_Mfloat128_): Likewise.
23695 [_Mlong_double_] (_Mlong_double_): Likewise.
23696 (_Mdouble_): Define without indirection through those macros.
23697 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23698 not add -D_Mlong_double_=double.
23699 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23700 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23702 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23704 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23706 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23708 * sysdeps/x86/libc-start.c: Reformat.
23710 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23713 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23714 (1): Renamed to ...
23717 (L(Src2)): Likewise.
23718 (L(1)): Renamed to ...
23721 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23723 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23724 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23725 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23726 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23727 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23728 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23729 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23730 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23731 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23732 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23733 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23734 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23735 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23736 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23737 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23738 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23739 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23740 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23741 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23742 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23743 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23744 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23745 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23746 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23747 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23748 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23749 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23750 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23751 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23752 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23753 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23754 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23755 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23756 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23757 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23758 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23759 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23760 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23761 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23762 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23763 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23764 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23765 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23766 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23767 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23768 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23769 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23770 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23771 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23772 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23773 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23774 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23775 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23776 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23777 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23778 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23779 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23780 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23781 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23782 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23783 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23784 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23785 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23786 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23787 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23788 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23790 2017-10-30 Florian Weimer <fweimer@redhat.com>
23792 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23794 * io/tst-mkdirat.c (do_test): Likewise.
23795 * io/tst-mkfifoat.c (do_test): Likewise.
23796 * io/tst-mknodat.c (do_test): Likewise.
23797 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23798 * locale/programs/locale.c (select_dirs): Likewise.
23799 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23800 * posix/bug-glob2.c (my_readdir): Likewise.
23801 * posix/tst-dir.c (main): Likewise.
23802 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23803 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23805 2017-10-30 Florian Weimer <fweimer@redhat.com>
23807 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23810 2017-10-30 Florian Weimer <fweimer@redhat.com>
23812 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23813 Convert to support/test-driver.c.
23814 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23815 New macro parameters.
23816 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23817 * posix/tst-gnuglob.c: New file.
23818 * posix/tst-gnuglob64.c: Likewise.
23819 * posix/Makefile (tests): Add tst-gnuglob64.
23821 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23824 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23825 and use a better translation for March in “mon”.
23826 * localedata/locales/csb_PL: Use more ASCII to improve the
23827 readability of the source.
23829 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23832 * localedata/locales/km_KH: Use ASCII as much
23833 as possible for better readability of the source and
23834 remove useless comments.
23835 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23836 was commented out and apparently wrong anyway because it was
23837 using Lao characters. If Buddhist era should be used
23838 for km_KH, a native speaker should write the correct formaat
23840 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23841 (According to CLDR, the first weekday for Cambodia is Sunday).
23842 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23843 (These were using Lao characters which must be wrong. If we get
23844 the correct data from a native speaker, we could add it back, until
23845 then it is better not to have name_mr and name_mrs at all than
23848 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23850 * locale/loadlocale.c: Correct size of
23851 _nl_value_type_LC_<category> arrays.
23853 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23855 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23856 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23857 with appropriate macros defined and undefined.
23858 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23859 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23860 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23861 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23862 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23864 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23866 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23869 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23871 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23872 with lowercase letters to make it agree with CLDR.
23874 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23877 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23878 first letters of yesstr and nostr in yesexpr and noexpr,
23879 not for the full words.
23880 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23881 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23882 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23883 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23884 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23885 first letters of yesstr and nostr in yesexpr and noexpr,
23886 until now only English was matched in yesexpr and noexpr.
23887 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23888 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23889 fil but not for tl. As tl and fil are very similar, using fil
23890 is probably better than using English.
23892 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23895 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23896 in yesstr and nostr.
23898 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23900 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23901 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23902 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23904 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23906 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23908 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23910 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23911 (SNANF128X): Likewise.
23913 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23914 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23915 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23916 (HUGE_VAL_F32): Likewise.
23917 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23918 (HUGE_VAL_F64): Likewise.
23919 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23920 (HUGE_VAL_F32X): Likewise.
23921 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23922 (HUGE_VAL_F64X): Likewise.
23923 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23924 (HUGE_VAL_F128X): Likewise.
23926 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23928 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23929 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23930 for the br_FR locale.
23932 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23935 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23937 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23939 * locale/programs/record-status.h: Define globals, and function
23940 prototypes. Move function bodies...
23941 * locale/programs/record-status.c: ... to here. New file.
23942 * iconv/Makefile (iconv_prog-modules): Add record-status.
23943 * locale/Makefile (lib-modules): Likewise.
23944 * iconv/iconv_prog.c: Remove verbose.
23945 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23946 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23947 record a warning about ASCII compatibility.
23948 * locale/programs/ld-monetary.c (monetary_finish): If
23949 warn_int_curr_symbol is true then record a warning about the symbol
23950 not being in our ISO 4217 list.
23951 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23952 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23953 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23954 (OPT_NO_WARN): Define.
23955 (OPT_WARN): Define.
23956 (options): Add entry for --no-warnings, and --warnings.
23957 (set_warnings): New function to enable/disable warnings.
23958 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23959 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23960 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23961 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23962 Pass flags to generate_locale.
23963 (generate_locale): Accept new flag argument and pass it to localedef
23965 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23966 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23968 * localedata/Makefile (test-input-data): Use full file name.
23969 * localedata/da_DK.in: Rename to...
23970 * localedata/da_DK.ISO-8859-1.in: ...this.
23971 * localedata/de_DE.in: Rename to...
23972 * localedata/de_DE.ISO-8859-1.in: ...this.
23973 * localedata/en_US.in: Rename to...
23974 * localedata/en_US.ISO-8859-1.in: ...this.
23975 * localedata/fr_FR.in: Rename to...
23976 * localedata/fr_FR.UTF-8.in: ... this.
23977 * localedata/hr_HR.in: Rename to...
23978 * localedata/hr_HR.ISO-8859-2.in: ...this.
23979 * localedata/hu_HU.in: Rename to...
23980 * localedata/hu_HU.UTF-8.in: ...this.
23981 * localedata/si_LK.in: Rename to...
23982 * localedata/si_LK.UTF-8.in: ...this.
23983 * localedata/sv_SE.in: Rename to...
23984 * localedata/sv_SE.ISO-8859-1.in: ...this.
23985 * localedata/tr_TR.in: Rename to...
23986 * localedata/tr_TR.UTF-8.in: ...this.
23987 * localedata/uk_UA.in: Rename to...
23988 * localedata/uk_UA.UTF-8.in: ...this.
23989 * localedata/sort-test.sh: Test file is locale name with the
23992 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23993 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23995 * localedata/locales/i18n_ctype: Regenerate.
23996 * localedata/locales/tr_TR: Likewise.
23997 * localedata/locales/translit_circle: Likewise.
23998 * localedata/locales/translit_cjk_compat: Likewise.
23999 * localedata/locales/translit_combining: Likewise.
24000 * localedata/locales/translit_compat: Likewise.
24001 * localedata/locales/translit_font: Likewise.
24002 * localedata/locales/translit_fraction: Likewise.
24004 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24006 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24007 lxvd2x/stxvd2x with lvx/stvx.
24008 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24010 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24012 * include/alloc_buffer.h: Replace "if if " with "if " in
24014 * sysdeps/mips/memcpy.S: Likkewise.
24015 * sysdeps/mips/memset.S: Likewise.
24016 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24018 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24020 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24023 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24026 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24027 yesexpr and noexpr.
24028 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24029 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24030 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24031 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24032 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24033 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24034 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24036 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24038 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24039 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24040 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24041 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24042 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24043 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24044 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24045 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24046 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24047 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24048 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24049 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24051 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24053 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24054 as possible for better readability of the source.
24055 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24056 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24057 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24058 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24059 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24060 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24061 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24062 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24063 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24064 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24065 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24066 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24067 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24068 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24069 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24070 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24071 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24072 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24073 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24074 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24075 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24076 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24077 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24078 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24079 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24080 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24081 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24082 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24083 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24084 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24085 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24086 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24087 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24088 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24089 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24090 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24091 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24092 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24093 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24094 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24095 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24096 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24097 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24098 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24099 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24100 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24101 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24102 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24103 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24104 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24105 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24106 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24107 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24108 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24109 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24110 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24111 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24112 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24113 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24114 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24115 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24116 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24117 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24118 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24119 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24120 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24121 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24122 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24123 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24124 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24125 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24126 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24127 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24128 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24129 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24130 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24131 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24132 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24133 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24134 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24135 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24136 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24137 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24138 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24139 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24140 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24141 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24142 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24143 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24144 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24145 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24146 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24147 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24148 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24149 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24150 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24151 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24152 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24153 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24154 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24155 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24156 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24157 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24158 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24159 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24160 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24161 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24162 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24163 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24164 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24165 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24166 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24167 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24168 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24169 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24170 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24171 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24172 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24173 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24174 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24175 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24176 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24177 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24178 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24179 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24180 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24181 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24182 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24183 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24184 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24185 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24186 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24187 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24188 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24189 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24190 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24191 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24192 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24193 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24194 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24195 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24196 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24197 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24198 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24199 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24200 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24201 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24202 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24203 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24204 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24205 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24206 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24207 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24208 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24209 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24210 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24211 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24212 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24213 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24214 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24215 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24216 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24217 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24218 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24219 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24220 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24221 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24222 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24223 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24224 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24225 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24226 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24227 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24228 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24230 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24232 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24233 (Use first letters of yesstr and nostr correctly instead of using
24236 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24238 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24239 (Use first letters of yesstr and nostr correctly).
24241 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24243 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24244 also check for the first characters of yesstr and nostr.
24245 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24246 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24248 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24250 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24251 also check for Chinese characters.
24253 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24255 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24256 match also for the contents of yesstr and nostr. As the first letter
24257 of yesstr and nostr is equal, checking only for the first letter
24260 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24262 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24263 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24265 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24267 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24268 of main contributor.
24270 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24272 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24273 instead of using English.
24275 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24277 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24278 by including the first letters of nostr and yesexpr in the regexp.
24279 Also make it more readable by using ASCII where possible.
24281 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24283 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24284 the first letter of nostr in the regexp. It agrees with CLDR now.
24285 Also make it more readable by using ASCII where possible.
24287 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24289 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24290 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24291 these strings contain a U+17D6 (which somewhat looks like a colon)
24292 instead of a real colon to separate the full words for “yes”
24293 and “no” from the single letter responses.
24295 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24297 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24298 it agree with CLDR (include the first letter of yesstr).
24299 Also make it more readable by using ASCII where possible.
24301 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24303 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24304 and improve yesexpr and noexpr. The yesstr and nostr apparently
24305 came from CLDR. And CLDR has a bug there: these strings contain
24306 a U+0903 (which looks like a colon) instead of a real colon
24307 to separate the full words for “yes” and “no” from the single
24310 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24312 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24313 letters of the full yesstr and nostr in yesexpr and noexpr.
24315 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24317 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24318 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24319 * localedata/locales/an_ES: Make source more readable by using ASCII
24322 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24325 * localedata/locales/yuw_PG: New file.
24326 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24327 * locale/iso-639.def: Add Yau (Uruwa).
24329 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24331 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24333 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24335 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24336 (__libc_realloc): Likewise.
24337 (_mid_memalign): Likewise.
24338 (__libc_calloc): Likewise.
24340 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24342 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24343 by adding the generic +1 and -0 as in all other locales.
24344 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24345 day names and make it more readable by using ASCII where possible.
24347 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24349 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24350 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24352 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24354 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24355 WNOHANG in waitpid call.
24357 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24359 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24360 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24362 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24363 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24364 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24365 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24366 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24367 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24368 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24369 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24372 2017-10-23 Michael Collison <michael.collison@arm.com>
24374 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24375 with __builtin_sqrt.
24376 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24377 with __builtin_sqrtf.
24378 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24379 with __builtin_ceil.
24380 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24381 with __builtin_ceilf.
24382 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24383 with __builtin_floor.
24384 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24385 with __builtin_floorf.
24386 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24387 with __builtin_fma.
24388 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24389 with __builtin_fmaf.
24390 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24391 with __builtin_fmax.
24392 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24393 with __builtin_fmaxf.
24394 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24395 with __builtin_fmin.
24396 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24397 with __builtin_fminf.
24398 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24399 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24400 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24401 with builtin_rint and conversion to int.
24402 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24403 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24404 with builtin_llround.
24405 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24406 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24407 with builtin_rint and conversion to long int.
24408 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24409 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24410 with builtin_lround.
24411 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24412 with builtin_lroundf.
24413 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24414 statements with __builtin_nearbyint.
24415 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24416 statements with __builtin_nearbyintf.
24417 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24418 with __builtin_rint.
24419 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24420 with __builtin_rintf.
24421 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24422 with __builtin_round.
24423 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24424 with __builtin_roundf.
24425 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24426 with __builtin_trunc.
24427 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24428 with __builtin_truncf.
24429 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24430 and s_l[l]round[f].c too.
24432 2017-10-23 Alan Modra <amodra@gmail.com>
24434 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24435 Adjust stack after restoring regs. Add missing LR cfi_restore.
24437 2017-10-23 Alan Modra <amodra@gmail.com>
24439 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24440 Move LR save and frame setup/teardown and LR restore to
24441 immediately around memset call. Provide cfi.
24443 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24445 * sysdeps/i386/fpu/e_powf.S: Removed.
24446 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24447 * sysdeps/i386/fpu/w_powf.c: Likewise.
24448 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24449 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24450 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24452 (CFLAGS-e_powf-sse2.c): New.
24453 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24454 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24456 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24458 * sysdeps/i386/fpu/e_log2f.S: Removed.
24459 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24460 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24461 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24462 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24463 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24465 (CFLAGS-e_log2f-sse2.c): New.
24466 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24467 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24469 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24471 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24473 (CFLAGS-e_powf-fma.c): New.
24474 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24475 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24477 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24479 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24481 (CFLAGS-e_log2f-fma.c): New.
24482 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24483 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24485 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24487 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24489 (CFLAGS-e_logf-fma.c): New.
24490 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24491 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24493 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24495 * sysdeps/i386/fpu/e_logf.S: Removed.
24496 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24497 * sysdeps/i386/fpu/w_logf.c: Likewise.
24498 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24499 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24500 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24501 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24503 (CFLAGS-e_logf-sse2.c): New.
24504 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24505 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24507 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24509 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24510 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24511 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24512 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24513 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24515 (CFLAGS-e_exp2f-sse2.c): New.
24516 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24517 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24519 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24521 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24523 (CFLAGS-e_exp2f-fma.c): New.
24524 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24525 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24527 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24529 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24530 * sysdeps/i386/fpu/e_expf.S: Likewise.
24531 * sysdeps/i386/fpu/math_errf.c: Likewise.
24532 * sysdeps/i386/fpu/w_expf.c: Likewise.
24533 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24534 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24535 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24536 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24537 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24538 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24539 Remove e_expf-ia32.
24540 (CFLAGS-e_expf-sse2.c): New.
24541 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24542 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24544 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24546 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24547 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24548 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24549 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24551 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24553 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24554 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24556 (__redirect_expf): This.
24557 (SYMBOL_NAME): Changed to expf.
24558 (__ieee754_expf): Renamed to ...
24560 (__GI___expf): This.
24561 (__ieee754_expf): Add strong_alias.
24562 (__expf_finite): Likewise.
24564 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24566 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24569 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24572 2017-10-21 Florian Weimer <fweimer@redhat.com>
24574 * posix/Makefile (tests): Add tst-glob-tilde.
24575 (tests-special): Add tst-glob-tilde-mem.out
24576 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24577 (tst-glob-tilde-mem.out): Add mtrace check.
24578 * posix/tst-glob-tilde.c: New file.
24580 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24582 * bits/floatn-common.h: New file.
24583 * math/Makefile (headers): Add bits/floatn-common.h.
24584 * bits/floatn.h: Include <bits/floatn-common.h>.
24585 * sysdeps/ia64/bits/floatn.h: Likewise.
24586 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24587 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24588 * sysdeps/powerpc/bits/floatn.h: Likewise.
24589 * sysdeps/x86/bits/floatn.h: Likewise.
24591 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24593 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24594 indicates whether compiler emits an warning for alias for
24595 functions with incompatible types.
24598 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24599 the auxiliary process is terminated by a signal before calling _exit
24602 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24605 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24607 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24608 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24609 and bit_arch_XSAVEC_Usable if needed.
24610 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24611 and bit_arch_Use_dl_runtime_resolve_opt.
24612 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24614 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24615 (bit_arch_Prefer_No_AVX512): Updated.
24616 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24617 (bit_arch_XSAVEC_Usable): New.
24618 (STATE_SAVE_OFFSET): Likewise.
24619 (STATE_SAVE_MASK): Likewise.
24620 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24621 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24622 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24623 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24624 (index_arch_XSAVEC_Usable): New.
24625 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24626 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24627 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24629 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24630 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24631 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24632 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24633 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24634 _dl_runtime_resolve_xsavec.
24635 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24637 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24638 instead of VEC_SIZE.
24639 (REGISTER_SAVE_BND0): Removed.
24640 (REGISTER_SAVE_BND1): Likewise.
24641 (REGISTER_SAVE_BND3): Likewise.
24642 (REGISTER_SAVE_RAX): Always defined to 0.
24644 (_dl_runtime_resolve_avx): Likewise.
24645 (_dl_runtime_resolve_avx_slow): Likewise.
24646 (_dl_runtime_resolve_avx_opt): Likewise.
24647 (_dl_runtime_resolve_avx512): Likewise.
24648 (_dl_runtime_resolve_avx512_opt): Likewise.
24649 (_dl_runtime_resolve_sse): Likewise.
24650 (_dl_runtime_resolve_sse_vex): Likewise.
24652 (_dl_runtime_resolve_fxsave): Likewise.
24653 (USE_XSAVE): Likewise.
24654 (_dl_runtime_resolve_xsave): Likewise.
24655 (USE_XSAVEC): Likewise.
24656 (_dl_runtime_resolve_xsavec): Likewise.
24657 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24659 (_dl_runtime_resolve_avx512_opt): Likewise.
24660 (_dl_runtime_resolve_avx): Likewise.
24661 (_dl_runtime_resolve_avx_opt): Likewise.
24662 (_dl_runtime_resolve_sse): Likewise.
24663 (_dl_runtime_resolve_sse_vex): Likewise.
24664 (_dl_runtime_resolve_fxsave): New.
24665 (_dl_runtime_resolve_xsave): Likewise.
24666 (_dl_runtime_resolve_xsavec): Likewise.
24668 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
24672 * posix/glob.c (__glob): Fix one-byte overflow.
24674 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24676 * malloc/malloc.c (sysdep-cancel.h): Add include.
24678 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24680 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24682 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24684 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24685 (tests): Remove $(objpfx)ga_test depdendency.
24686 * resolv/ga_test.c: Remove file.
24688 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24691 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24692 * localedata/locales/kab_DZ: New file.
24694 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24696 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24697 _dl_relocate_static_pie instead of _dl_start to compute load
24698 address in static PIE.
24700 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24702 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24704 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24707 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24708 * localedata/locales/shn_MM: New file.
24710 2017-10-20 Florian Weimer <fweimer@redhat.com>
24713 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24714 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24715 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24716 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24717 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24718 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24720 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24722 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24724 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24726 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24729 * sysdeps/mips/bits/long-double.h: Move to ....
24730 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24732 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24734 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24736 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24737 H.J. Lu <hongjiu.lu@intel.com>
24740 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24741 GLRO(dl_platform) to NULL.
24742 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24743 (modules-names): Add tst-platformmod-1 and
24744 x86_64/tst-platformmod-2.
24745 (CFLAGS-tst-platform-1.c): New.
24746 (CFLAGS-tst-platformmod-1.c): Likewise.
24747 (CFLAGS-tst-platformmod-2.c): Likewise.
24748 (LDFLAGS-tst-platformmod-2.so): Likewise.
24749 ($(objpfx)tst-platform-1): Likewise.
24750 ($(objpfx)tst-platform-1.out): Likewise.
24751 (tst-platform-1-ENV): Likewise.
24752 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24753 * sysdeps/x86_64/tst-platform-1.c: New file.
24754 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24755 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24757 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24760 * locale/iso-639.def: Add Karbi.
24761 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24762 * localedata/locales/mjw_IN: New file.
24764 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24766 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24767 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24768 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24769 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24770 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24771 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24772 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24774 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24775 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24776 * manual/math.texi (Mathematics): Document additional architecture
24777 support for _Float128.
24778 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24779 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24780 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24781 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24782 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24783 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24784 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24785 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24786 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24787 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24788 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24789 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24790 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24791 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24792 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24794 2017-10-18 Renlin Li <renlin.li@arm.com>
24796 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24797 _DYNAMIC symbol to calculate load address.
24799 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24801 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24802 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24804 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24805 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24807 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24810 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24811 and improve readability by using more ASCII.
24812 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24813 and improve readability by using more ASCII.
24815 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24817 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24818 not all targets support atomics on bool.
24820 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24822 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24823 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24825 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24826 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24827 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24828 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24829 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24830 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24832 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24834 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24837 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24840 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24841 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24842 (do_check_remalloced_chunk): Fix build bug.
24843 (do_check_malloc_state): Add assert that checks arena->top.
24844 (malloc_consolidate): Remove initialization.
24845 (int_mallinfo): Remove call to malloc_consolidate.
24846 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24848 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24850 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24851 (have_fastchunks): Remove.
24852 (clear_fastchunks): Remove.
24853 (set_fastchunks): Remove.
24854 (malloc_state): Add have_fastchunks.
24855 (malloc_init_state): Use have_fastchunks.
24856 (do_check_malloc_state): Remove incorrect invariant checks.
24857 (_int_malloc): Use have_fastchunks.
24858 (_int_free): Likewise.
24859 (malloc_consolidate): Likewise.
24861 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24863 * malloc/malloc.c (tcache_put): Inline.
24864 (tcache_get): Inline.
24866 2017-10-17 Jordi Mallach <jordi@gnu.org>
24868 Aurelien Jarno <aurelien@aurel32.net>
24870 * localedata/locales/ca_ES@valencia: New file.
24871 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24873 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24876 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24879 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24881 * scripts/build-many-glibcs.py (Context.add_all_configs):
24882 Add arm-linux-gnueabihf multiarch extra_glibcs.
24884 * sysdeps/generic/ifunc-init.h: New file.
24885 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24887 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24890 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24891 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24892 * stdlib/tst-strfmon_l.c: adapt test case.
24894 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24896 * sysdeps/generic/float128-abi.h: New file.
24897 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24898 non-__prefixed symbols to ....
24899 * math/Versions: ... here. Include <float128-abi.h>.
24900 * stdlib/Versions ... and here. Include <float128-abi.h>
24902 2017-10-16 Florian Weimer <fweimer@redhat.com>
24904 * version.h (VERSION): Switch to ".9000" as the development
24907 2017-10-16 Florian Weimer <fweimer@redhat.com>
24910 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24911 compat_symbol_reference to access non-default version.
24913 2017-10-16 Florian Weimer <fweimer@redhat.com>
24915 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24917 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24919 * include/shlib-compat.h (compat_symbol_reference): Update
24922 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24924 * math/Makefile (test-types): Add
24925 $(type-float128-$(float128-alias-fcts)).
24926 * math/test-float128.h (TYPE_STR): Define conditional on
24927 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24928 (ULP_IDX): Likewise.
24929 (ULP_I_IDX): Likewise.
24931 * stdlib/strtold.c: Include <bits/floatn.h>
24932 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24933 and later undefine as macro. Define as weak alias if
24935 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24936 and later undefine as macro. Define as weak alias if
24938 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24939 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24940 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24941 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24942 Define and later undefine as macro. Define as weak alias if
24944 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24946 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24947 Define and later undefine as macro. Define as weak alias if
24949 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24950 Define and later undefine as macro. Define as weak alias if
24953 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24955 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24956 record_verbose messages.
24958 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24961 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24962 to silence -O3 -Wall warning with GCC 7.
24964 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24966 * Makeconfig (+link-static-before-libc): Use the first of
24967 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24968 * gmon/Makefile (tests): Add tst-gmon-static.
24969 (tests-static): Likewise.
24970 (CFLAGS-tst-gmon-static.c): New.
24971 (CRT-tst-gmon-static): Likewise.
24972 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24973 (tst-gmon-static-ENV): Likewise.
24974 (tests-special): Likewise.
24975 ($(objpfx)tst-gmon-static.out): Likewise.
24976 (clean-tst-gmon-static-data): Likewise.
24977 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24978 * gmon/tst-gmon-static-gprof.sh: New file.
24979 * gmon/tst-gmon-static.c: Likewise.
24981 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24984 * locale/programs/linereader.c (get_string): Don't warn on
24985 non-symbolic character.
24988 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24992 * locale/programs/record-status.h: New file
24993 * locale/programs/locale.c: Add comment.
24994 * locale/programs/charmap-dir.c: Don't include error.h.
24995 (charmap_opendir): Use record_error.
24996 * locale/programs/charmap.c: Don't include error.h.
24997 (charmap_read): Use record_error, and record_warning.
24998 (parse_charmap): Likewise.
24999 * locale/programs/ld-address.c: Don't include error.h.
25000 (address_finish): Use record_error, and record_warning.
25001 * locale/programs/ld-collate.c: Don't include error.h.
25002 (collate_finish): Use record_error, and record_error_at_line.
25003 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25004 (ctype_class_new): Likewise.
25005 (ctype_map_new): Likewise.
25006 (set_one_default): Likewise.
25007 (set_class_defaults): Likewise.
25008 (translit_flatten): Likewise.
25009 (allocate_arrays): Use record_error, and record_verbose.
25010 * locale/programs/ld-identification.c: Don't include error.h.
25011 (indentation_finish): Use record_error and record_warning.
25012 * locale/programs/ld-measurement.c: Don't include error.h.
25013 (measurement_finish): Use record_error.
25014 * locale/programs/ld-messages.c
25015 (message_finish): Likewise.
25016 * locale/programs/ld-monetary.c
25017 (monetary_finish): Likewise.
25018 * locale/programs/ld-name.c (name_finish): Use record_error
25019 and record_warning.
25020 * locale/programs/ld-numeric.c
25021 (numeric_finish): Use record_error.
25022 * locale/programs/ld-paper.c: Don't include error.h.
25023 (paper_finish): Use record_error.
25024 * locale/programs/ld-telephone.c: Don't include error.h.
25025 (telephone_finish): Use record_error.
25026 * locale/programs/ld-time.c (time_finish): Likewise.
25027 * locale/programs/linereader.h (lr_error): Make inline func.
25028 * locale/programs/localedef.c: Define recorded_warning_count,
25029 and recorded_error_count.
25030 (main): Use record_error. Use recorded_error_count and
25031 recorded_warning_count to issue correct error returns.
25032 (add_to_readlist): Use record_error.
25033 (find_locale): Likewise.
25034 (load_locale): Likewise.
25035 * locale/programs/localedef.h: Remove be_quiet
25036 and WITH_CUR_LOCALE.
25037 * locale/programs/locarchive.c (compare_from_file): Use
25039 * locale/programs/locfile.c (write_locale_data): Use
25041 * locale/programs/repertoire.c: Dont include error.h.
25042 (repertoire_complain): Use record_error.
25043 * localedata/tst-fmon.sh: Expect failures from localedef.
25044 * localedata/tst-locale.sh: Likewise.
25045 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25047 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25048 (REPORTS): Likewise.
25050 (i18n): Rename to...
25051 (i18n_ctype): ...this.
25052 (i18n-report): Rename to...
25053 (i18n_ctype-report): ...this.
25054 * localedata/locales/i18n_ctype: Regenerate.
25055 * localedata/locales/i18n: copy i18n_ctype.
25057 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25059 * stdlib/strfroml.c: Include <bits/floatn.h>.
25060 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25061 Define before include of <stdlib.h> and undefine afterwards, then
25062 define as weak alias.
25064 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25065 Undefine and restore default definition. Use
25066 libm_alias_ldouble_other.
25068 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25071 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25074 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25076 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25077 Assign sym_map to be map for local symbols, as TLS relocations
25078 use sym_map to determine whether the symbol is defined and to
25079 extract the TLS information.
25080 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25081 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25083 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25086 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25087 (math_force_eval): Add powerpc version.
25090 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25092 (do_test): Likewise.
25093 * stdio-common/tst-printf.sh: Likewise.
25094 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25095 ifdef clause in order to set the carry bit right. Replace r0 by
25096 0 without changing the behavior.
25098 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25100 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25101 <libm-alias-ldouble.h>.
25102 (fabsl): Define using libm_alias_ldouble.
25103 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25104 <libm-alias-ldouble.h>.
25105 (fabsl): Define using libm_alias_ldouble.
25107 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25108 Remove conditional code.
25110 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25111 Rename to __clog10_internal_l.
25112 (__clog10_internal_l): Define aliases using
25113 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25116 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25118 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25119 * benchtests/sincosf-inputs: New file.
25120 * benchtests/cosf-inputs: New file.
25121 * benchtests/sinf-inputs: New file.
25123 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25125 * posix/tst-spawn.c (do_test): Wait for both children.
25127 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25130 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25131 tests-pie): Add tst-gmon-pie.
25132 (CFLAGS-tst-gmon-pie.c): New.
25133 (CRT-tst-gmon-pie): Likewise.
25134 (tst-gmon-pie-ENV): Likewise.
25135 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25136 ($(objpfx)tst-gmon-pie.out): Likewise.
25137 (clean-tst-gmon-pie-data): Likewise.
25138 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25139 * gmon/gmon.c [PIC]: Include <link.h>.
25140 [PIC] (callback): New function.
25141 (write_hist): Add an argument for load address. Subtract load
25143 (write_call_graph): Likewise.
25144 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25145 it to write_hist and write_call_graph.
25146 * gmon/tst-gmon-pie.c: New file.
25148 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25150 * math/Makefile (test-types-basic): New variable.
25151 (test-types): Likewise.
25152 (libm-test-support): Use $(test-types) instead of $(types).
25153 (libm-tests-base-normal): Likewise.
25154 (libm-tests-base-finite): Likewise.
25155 (libm-tests-base-inline): Likewise.
25156 (generated): Likewise.
25157 ($(objpfx)libm-test-support-$(t).c): Likewise.
25158 (libm-tests-for-type iterator): Likewise.
25159 (libm-test-support iterator): Likewise.
25160 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25161 (ulp_idx): Use ULP_IDX.
25162 * math/test-ldouble.h: Include <float.h>.
25163 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25164 (ULP_IDX): New macro.
25165 (ULP_I_IDX): Likewise.
25166 * math/test-double.h (ULP_IDX): Likewise.
25167 (ULP_I_IDX): Likewise.
25168 * math/test-float.h (ULP_IDX): Likewise.
25169 (ULP_I_IDX): Likewise.
25170 * math/test-float128.h (ULP_IDX): Likewise.
25171 (ULP_I_IDX): Likewise.
25173 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25175 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25176 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25177 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25178 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25179 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25180 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25181 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25182 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25183 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25184 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25185 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25186 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25187 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25188 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25189 (SINGLE_THREAD_BY_GLOBAL): Define.
25190 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25192 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25194 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25196 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25198 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25199 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25203 2017-10-11 Andreas Schwab <schwab@suse.de>
25205 * nis/Makefile (aux): Remove.
25206 * nscd/Makefile (aux): Add nscd_hash.
25207 (nscd-modules): Likewise.
25208 ($(objpfx)nscd): Don't depend on libnsl.
25209 * nscd/nscd_hash.c: New file.
25210 * nscd/nscd_hash.h: Likewise.
25211 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25212 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25213 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25214 instead of <nis/rpcsvc/nis.h>.
25215 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25217 2017-10-11 Florian Weimer <fweimer@redhat.com>
25220 Avoid large NSS buffers with many addresses, aliases.
25221 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25222 using dynarrays and struct alloc_buffer.
25223 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25224 (tst-nss-files-hosts-multi): Link with -ldl.
25225 * nss/tst-nss-files-hosts-multi.c: New file.
25227 2017-10-11 Florian Weimer <fweimer@redhat.com>
25230 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25231 scratch_buffer. Eliminate gotos.
25233 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25235 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25236 libm_alias_ldouble_other.
25237 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25238 undefine and redefine.
25239 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25240 (exp10l): Do not define here.
25241 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25242 (weak_alias): Undefine and redefine.
25243 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25244 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25245 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25246 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25248 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25249 [!__fma] (fma): Define using libm_alias_double.
25250 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25251 [!__fmaf] (fmaf): Define using libm_alias_float.
25252 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25253 (fmal): Define using libm_alias_ldouble.
25255 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25257 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25259 (libm_alias_double_other): Likewise.
25260 (libm_alias_double_r): Use libm_alias_double_other_r.
25261 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25263 (libm_alias_float_other): Likewise.
25264 (libm_alias_float_r): Use libm_alias_float_other_r.
25265 * sysdeps/generic/libm-alias-float128.h
25266 (libm_alias_float128_other_r): New macro.
25267 (libm_alias_float128_other): Likewise.
25268 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25269 * sysdeps/generic/libm-alias-ldouble.h
25270 (libm_alias_ldouble_other_r): New macro.
25271 (libm_alias_ldouble_other): Likewise.
25272 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25273 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25274 (libm_alias_double_other_r): New macro.
25275 (libm_alias_double_other): Likewise.
25276 (libm_alias_double_r): Use libm_alias_double_other_r.
25277 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25278 (libm_alias_ldouble_other_r): New macro.
25279 (libm_alias_ldouble_other): Likewise.
25280 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25281 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25282 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25283 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25284 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25285 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25286 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25287 * math/w_exp2f.c: Use libm_alias_float_other.
25288 * math/w_expf.c: Likewise.
25289 * math/w_log2f.c: Likewise.
25290 * math/w_logf.c: Likewise.
25291 * math/w_powf.c: Likewise.
25292 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25293 [!__exp2f]: Use libm_alias_float_other.
25294 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25295 [!__expf]: Use libm_alias_float_other.
25296 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25297 [!__log2f]: Use libm_alias_float_other.
25298 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25299 [!__logf]: Use libm_alias_float_other.
25300 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25301 [!__powf]: Use libm_alias_float_other.
25303 2017-10-10 Florian Weimer <fweimer@redhat.com>
25305 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25307 (_nss_files_gethostbyname3_r): Call it.
25309 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25311 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25312 error. Remove default definition of declare_mgen_alias.
25313 [!declare_mgen_alias_r]: Likewise.
25314 * sysdeps/generic/math-type-macros-double.h
25315 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25316 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25317 (declare_mgen_alias_r): Likewise.
25318 * sysdeps/generic/math-type-macros-float128.h
25319 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25320 * sysdeps/generic/math-type-macros-ldouble.h
25321 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25322 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25324 (declare_mgen_alias_r_s): Likewise.
25325 (declare_mgen_alias_r): Likewise.
25326 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25327 (lgamma_r): Define using libm_alias_double_r.
25328 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25329 (lgammaf_r): Define using libm_alias_float_r.
25330 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25331 (lgammal_r): Define using libm_alias_ldouble_r.
25332 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25333 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25335 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25337 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25338 extern declaration.
25340 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25342 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25344 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25347 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25348 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25349 * math/Makefile (test-math-cxx11): New test.
25350 * math/test-math-cxx11.cc: New file.
25352 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25354 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25356 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25357 call to allocate the slave pty file descriptor.
25359 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25361 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25362 [!__fma] (fma): Define using libm_alias_double.
25363 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25364 [!__fma] (fma): Define using libm_alias_double.
25366 * sysdeps/ieee754/float128/float128_private.h: Include
25367 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25368 (libm_alias_ldouble_r): Undefine and redefine.
25369 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25370 <libm-alias-ldouble.h>.
25371 (asinhl): Define using libm_alias_ldouble.
25372 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25373 <libm-alias-ldouble.h>.
25374 (atanl): Define using libm_alias_ldouble.
25375 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25376 <libm-alias-ldouble.h>.
25377 (cbrtl): Define using libm_alias_ldouble.
25378 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25379 <libm-alias-ldouble.h>.
25380 (ceill): Define using libm_alias_ldouble.
25381 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25382 <libm-alias-ldouble.h>.
25383 (copysignl): Define using libm_alias_ldouble.
25384 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25385 <libm-alias-ldouble.h>.
25386 (cosl): Define using libm_alias_ldouble.
25387 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25388 <libm-alias-ldouble.h>.
25389 (erfl): Define using libm_alias_ldouble.
25391 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25392 <libm-alias-ldouble.h>.
25393 (expm1l): Define using libm_alias_ldouble.
25394 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25395 <libm-alias-ldouble.h>.
25396 (fabsl): Define using libm_alias_ldouble.
25397 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25398 <libm-alias-ldouble.h>.
25399 (floorl): Define using libm_alias_ldouble.
25400 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25401 <libm-alias-ldouble.h>.
25402 (fmal): Define using libm_alias_ldouble.
25403 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25404 <libm-alias-ldouble.h>.
25405 (frexpl): Define using libm_alias_ldouble.
25406 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25407 libm_alias_ldouble.
25408 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25409 <libm-alias-ldouble.h>.
25410 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25411 libm_alias_ldouble.
25412 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25413 <libm-alias-ldouble.h>.
25414 (getpayloadl): Define using libm_alias_ldouble.
25415 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25416 <libm-alias-ldouble.h>.
25417 (llrintl): Define using libm_alias_ldouble.
25418 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25419 <libm-alias-ldouble.h>.
25420 (llroundl): Define using libm_alias_ldouble.
25421 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25422 <libm-alias-ldouble.h>.
25423 (logbl): Define using libm_alias_ldouble.
25424 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25425 <libm-alias-ldouble.h>.
25426 (lrintl): Define using libm_alias_ldouble.
25427 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25428 <libm-alias-ldouble.h>.
25429 (lroundl): Define using libm_alias_ldouble.
25430 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25431 <libm-alias-ldouble.h>.
25432 (modfl): Define using libm_alias_ldouble.
25433 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25434 <libm-alias-ldouble.h>.
25435 (nearbyintl): Define using libm_alias_ldouble.
25436 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25437 <libm-alias-ldouble.h>.
25438 (nextafterl): Define using libm_alias_ldouble.
25439 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25440 <libm-alias-ldouble.h>.
25441 (nextupl): Define using libm_alias_ldouble.
25442 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25443 <libm-alias-ldouble.h>.
25444 (remquol): Define using libm_alias_ldouble.
25445 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25446 <libm-alias-ldouble.h>.
25447 (rintl): Define using libm_alias_ldouble.
25448 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25449 <libm-alias-ldouble.h>.
25450 (roundevenl): Define using libm_alias_ldouble.
25451 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25452 <libm-alias-ldouble.h>.
25453 (roundl): Define using libm_alias_ldouble.
25454 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25455 using libm_alias_ldouble.
25456 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25457 <libm-alias-ldouble.h>.
25458 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25459 Define using libm_alias_ldouble.
25460 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25461 <libm-alias-ldouble.h>.
25462 (sincosl): Define using libm_alias_ldouble.
25463 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25464 <libm-alias-ldouble.h>.
25465 (sinl): Define using libm_alias_ldouble.
25466 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25467 <libm-alias-ldouble.h>.
25468 (tanhl): Define using libm_alias_ldouble.
25469 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25470 <libm-alias-ldouble.h>.
25471 (tanl): Define using libm_alias_ldouble.
25472 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25473 <libm-alias-ldouble.h>.
25474 (totalorderl): Define using libm_alias_ldouble.
25475 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25476 <libm-alias-ldouble.h>.
25477 (totalordermagl): Define using libm_alias_ldouble.
25478 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25479 <libm-alias-ldouble.h>.
25480 (truncl): Define using libm_alias_ldouble.
25481 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25482 libm_alias_ldouble.
25483 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25484 libm_alias_ldouble.
25485 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25486 <libm-alias-ldouble.h>.
25487 (weak_alias): Do not undefine and redefine.
25488 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25489 (copysignl): Define with long_double_symbol only if [IS_IN
25491 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25492 <libm-alias-ldouble.h>.
25493 (weak_alias): Do not undefine and redefine.
25494 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25495 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25496 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25497 <libm-alias-ldouble.h>.
25498 (weak_alias): Do not undefine and redefine.
25499 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25500 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25501 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25502 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25503 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25504 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25505 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25506 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25508 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25509 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25510 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25511 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25512 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25513 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25514 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25515 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25516 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25517 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25518 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25519 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25520 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25521 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25522 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25523 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25524 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25526 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25529 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25530 (tcache_thread_freeres): Set tcache_shutting_down before
25531 freeing the tcache.
25532 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25533 * malloc/tst-malloc-tcache-leak.c: New file.
25535 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25537 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25538 back to powerpc32 file.
25539 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25540 (memrchr): Add __memrchr_power8 to ifunc list.
25541 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25542 extra bytes for unaligned inputs.
25544 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25546 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25547 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25548 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25550 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25552 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25554 * sysdeps/arm/libm-test-ulps: Update.
25556 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25557 <libm-alias-ldouble.h>.
25558 (asinhl): Define using libm_alias_ldouble.
25559 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25560 <libm-alias-ldouble.h>.
25561 (cbrtl): Define using libm_alias_ldouble.
25562 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25563 <libm-alias-ldouble.h>.
25564 (copysignl): Define using libm_alias_ldouble.
25565 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25566 <libm-alias-ldouble.h>.
25567 (cosl): Define using libm_alias_ldouble.
25568 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25569 <libm-alias-ldouble.h>.
25570 (erfl): Define using libm_alias_ldouble.
25572 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25573 <libm-alias-ldouble.h>.
25574 (fmal): Define using libm_alias_ldouble.
25575 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25576 <libm-alias-ldouble.h>.
25577 (frexpl): Define using libm_alias_ldouble.
25578 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25579 libm_alias_ldouble.
25580 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25581 <libm-alias-ldouble.h>.
25582 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25583 libm_alias_ldouble.
25584 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25585 <libm-alias-ldouble.h>.
25586 (getpayloadl): Define using libm_alias_ldouble.
25587 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25588 <libm-alias-ldouble.h>.
25589 (llrintl): Define using libm_alias_ldouble.
25590 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25591 <libm-alias-ldouble.h>.
25592 (llroundl): Define using libm_alias_ldouble.
25593 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25594 <libm-alias-ldouble.h>.
25595 (lrintl): Define using libm_alias_ldouble.
25596 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25597 <libm-alias-ldouble.h>.
25598 (lroundl): Define using libm_alias_ldouble.
25599 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25600 <libm-alias-ldouble.h>.
25601 (modfl): Define using libm_alias_ldouble.
25602 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25603 <libm-alias-ldouble.h>.
25604 (nextupl): Define using libm_alias_ldouble.
25605 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25606 <libm-alias-ldouble.h>.
25607 (remquol): Define using libm_alias_ldouble.
25608 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25609 <libm-alias-ldouble.h>.
25610 (roundevenl): Define using libm_alias_ldouble.
25611 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25612 <libm-alias-ldouble.h>.
25613 (roundl): Define using libm_alias_ldouble.
25614 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25615 using libm_alias_ldouble.
25616 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25617 <libm-alias-ldouble.h>.
25618 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25619 <libm-alias-ldouble.h>.
25620 (setpayloadsigl): Define using libm_alias_ldouble.
25621 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25622 <libm-alias-ldouble.h>.
25623 (sincosl): Define using libm_alias_ldouble.
25624 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25625 <libm-alias-ldouble.h>.
25626 (sinl): Define using libm_alias_ldouble.
25627 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25628 <libm-alias-ldouble.h>.
25629 (tanhl): Define using libm_alias_ldouble.
25630 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25631 <libm-alias-ldouble.h>.
25632 (tanl): Define using libm_alias_ldouble.
25633 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25634 <libm-alias-ldouble.h>.
25635 (totalorderl): Define using libm_alias_ldouble.
25636 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25637 <libm-alias-ldouble.h>.
25638 (totalordermagl): Define using libm_alias_ldouble.
25639 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25640 libm_alias_ldouble.
25641 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25642 libm_alias_ldouble.
25644 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25646 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25648 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25649 (__libc_ifunc_impl_list): Likewise.
25650 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25651 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25653 * benchtests/bench-memmove-walk.c: New file.
25654 * benchtests/Makefile (string-benchset): Add it.
25656 * benchtests/bench-memset-walk.c: New file.
25657 * benchtests/Makefile (string-benchset): Add it.
25659 * benchtests/bench-memcpy-walk.c: New file.
25660 * benchtests/Makefile (string-benchset): Add it.
25662 2017-10-05 Florian Weimer <fweimer@redhat.com>
25664 nscd: Eliminate compilation time dependency in the build output.
25665 * nscd/nscd_stat.c (STATDATA_VERSION)
25666 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25667 (STATDATA_VERSION_FULL): New macro definitions.
25668 (compilation): Remove.
25669 (struct statdata): Adjust version member.
25670 (send_stats): Set version from STATDATA_VERSION_FULL.
25671 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25673 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25675 * configure.ac (--enable-add-ons): Remove option.
25676 (machine): Do not mention add-ons in comment.
25677 (LIBC_PRECONFIGURE): Likewise.
25678 (add_ons): Remove variable and sanity checks and logic to locate
25680 (add_ons_automatic): Remove variable.
25681 (configured_add_ons): Likewise.
25682 (add_ons_sfx): Likewise.
25683 (add_ons_pfx): Likewise.
25684 (add_on_subdirs): Likewise.
25685 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25686 consideration of add-ons in Implies handling.
25687 (sysdeps_add_ons): Likewise.
25688 * configure: Regenerated.
25689 * libidn/configure.ac: Remove.
25690 * libidn/configure: Likewise.
25691 * sysdeps/unix/inet/configure.ac: New file.
25692 * sysdeps/unix/inet/configure: New generated file.
25693 * sysdeps/unix/inet/Subdirs: Add libidn.
25694 * Makeconfig (sysdeps-srcdirs): Remove variable.
25695 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25696 ($(common-objpfx)config.status): Do not depend on add-on files.
25697 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25699 (all-subdirs): Do not include $(add-on-subdirs).
25700 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25701 * config.make.in (add-ons): Remove variable.
25702 (add-on-subdirs): Likewise.
25703 (sysdeps-add-ons): Likewise.
25704 * manual/Makefile (add-chapters): Remove.
25705 ($(objpfx)texis): Do not depend on $(add-chapters).
25706 (nonexamples): Do not handle $(add-chapters).
25707 (examples): Do not handle $(add-ons).
25708 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25710 * manual/install.texi (Installation): Do not mention add-ons.
25711 (--enable-add-ons): Do not document configure option.
25712 * INSTALL: Regenerated.
25713 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25714 * manual/maint.texi (Hierarchy Conventions): Do not mention
25716 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25718 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25720 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25721 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25723 2017-10-05 Andreas Schwab <schwab@suse.de>
25726 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25727 (_IO_flush_all_lockp): Always lock list_all_lock.
25728 (_IO_flush_all_linebuffered): Likewise.
25729 (_IO_unbuffer_all): Likewise.
25731 2017-10-05 Florian Weimer <fweimer@redhat.com>
25734 Do not flush stdio streams on abort.
25735 * stdlib/abort.c (fflush): Remove macro definition.
25736 (abort): Remove stages related to stdio flushing.
25738 2017-10-05 Florian Weimer <fweimer@redhat.com>
25740 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25742 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25744 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25746 2017-10-05 Florian Weimer <fweimer@redhat.com>
25748 * support/support_format_hostent.c (support_format_hostent): Add
25749 more error information for NETDB_INTERNAL.
25751 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25753 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25754 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25755 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25756 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25757 AC_DEFINE if multi-arch is enabled.
25758 * sysdeps/i386/configure: Regenerated.
25760 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25762 * Makeconfig (+link-static-before-libc): Use
25763 $(DEFAULT-LDFLAGS-$(@F)).
25764 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25765 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25766 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25768 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25770 * elf/Makefile (tests): Add tst-main1.
25771 (modules-names): Add tst-main1mod.
25772 ($(objpfx)tst-main1): New.
25773 (CRT-tst-main1): Likewise.
25774 (LDFLAGS-tst-main1): Likewise.
25775 (LDLIBS-tst-main1): Likewise.
25776 (tst-main1mod.so-no-z-defs): Likewise.
25777 * elf/tst-main1.c: New file.
25778 * elf/tst-main1mod.c: Likewise.
25780 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25782 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25784 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25786 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25787 (fma): Define using libm_alias_double.
25788 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25789 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25791 (fmal): Do not define as compat symbol here.
25792 * sysdeps/alpha/fpu/s_fma.c: New file.
25794 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25796 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25798 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25801 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25803 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25805 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25806 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25807 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25808 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25810 Include <math_ldbl_opt.h>
25811 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25813 (compat_symbol): Undefine and redefine.
25814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25816 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25817 (compat_symbol): Undefine and redefine.
25818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25819 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25820 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25821 GLIBC_2_1 for libm.
25822 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25823 GLIBC_2.0 copysignl symbol.
25824 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25825 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25827 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25829 2017-10-04 Florian Weimer <fweimer@redhat.com>
25831 * scripts/check-local-headers.sh: Ignore nspr4 header file
25832 directory in addition to nspr.
25834 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25837 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25838 * configure: Regenerate.
25839 * crypt/Makefile (nss-cpp-flags): New variable.
25840 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25841 (CPPFLAGS-md5-crypt.c): Use it.
25842 * scripts/check-local-headers.sh: Ignore nspr header file
25845 2017-10-04 Andreas Schwab <schwab@suse.de>
25847 * nis/Makefile (services): Remove compat.
25848 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25849 ($(objpfx)libnss_compat.so): Remove rule.
25850 * nis/Versions (libnss_compat): Remove.
25851 * nss/Makefile (services): Add compat.
25852 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25853 * nss/Versions (libnss_compat): Define.
25854 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25855 Don't include <rpc/types.h>. Replace bool_t by bool.
25856 * nss/nss_compat/compat-initgroups.c: Likewise.
25857 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25858 instead of <rpcsrv/ypclnt.h>.
25859 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25860 yp_get_default_domain.
25861 * nss/nss_compat/compat-pwd.c: Likewise.
25862 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25863 yp_get_default_domain.
25864 * nss/nss_compat/nisdomain.c: New file.
25865 * nss/nss_compat/nisdomain.h: Likewise.
25867 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25870 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25871 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25873 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25876 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25877 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25879 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25881 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25882 "movl main@GOTOFF(%ebx), %eax".
25884 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25886 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25887 allow undefined _DYNAMIC in PIE libc.a.
25888 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25891 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25893 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25896 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25898 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25901 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25903 * math/test-math-iscanonical.cc (error): Replace bool with int.
25905 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25907 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25908 (modf): Define using libm_alias_double, only if [!__modf].
25909 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25910 <libm-alias-double.h>.
25911 (modf): Define using libm_alias_double, only if [!__modf].
25912 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25913 compat symbol here.
25914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25915 (weak_alias): Do not undefine and redefine.
25916 (strong_alias): Likewise.
25917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25918 (weak_alias): Likewise.
25919 (strong_alias): Likewise.
25921 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25922 (logb): Define using libm_alias_double, only if [!__logb].
25923 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25924 <libm-alias-double.h>.
25925 (logb): Define using libm_alias_double, only if [!__logb].
25926 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25928 (weak_alias): Do not undefine and redefine.
25929 (strong_alias): Likewise.
25930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25931 (weak_alias): Likewise.
25932 (strong_alias): Likewise.
25934 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25936 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25937 Check SHARED instead PIC.
25939 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25941 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25942 [!__fmaf] (fmaf): Define using libm_alias_float.
25944 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25945 (frexp): Define using libm_alias_double.
25946 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25947 <libm-alias-double.h>.
25948 (frexp): Define using libm_alias_double.
25949 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25950 compat symbol here.
25952 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25955 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25956 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25957 (CFLAGS-test-math-iscanonical.cc): New variable.
25958 * math/test-math-iscanonical.cc: New file.
25959 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25960 Provide a C++ implementation based on function overloading,
25961 rather than using __MATH_TG, which uses C-only builtins.
25962 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25964 * sysdeps/powerpc/powerpc64le/Makefile
25965 (CFLAGS-test-math-iscanonical.cc): New variable.
25967 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25969 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25970 (ceil): Define using libm_alias_double.
25971 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25972 (floor): Define using libm_alias_double.
25973 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25974 <libm-alias-double.h>.
25975 (llround): Define using libm_alias_double.
25976 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25977 <libm-alias-double.h>.
25978 (lround): Define using libm_alias_double.
25979 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25980 <libm-alias-double.h>.
25981 (nearbyint): Define using libm_alias_double.
25982 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25983 <libm-alias-double.h>.
25984 (remquo): Define using libm_alias_double.
25985 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25986 (rint): Define using libm_alias_double.
25987 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25988 (round): Define using libm_alias_double.
25989 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25990 (trunc): Define using libm_alias_double.
25991 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25992 <libm-alias-double.h>.
25993 (ceil): Define using libm_alias_double.
25994 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25995 <libm-alias-double.h>.
25996 (floor): Define using libm_alias_double.
25997 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25998 <libm-alias-double.h>.
25999 (llround): Define using libm_alias_double.
26000 [_LP64] (lround): Likewise.
26001 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26002 <libm-alias-double.h>.
26003 [!_LP64] (lround): Define using libm_alias_double.
26004 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26005 <libm-alias-double.h>.
26006 (nearbyint): Define using libm_alias_double.
26007 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26008 <libm-alias-double.h>.
26009 (remquo): Define using libm_alias_double.
26010 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26011 <libm-alias-double.h>.
26012 (rint): Define using libm_alias_double.
26013 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26014 <libm-alias-double.h>.
26015 (round): Define using libm_alias_double.
26016 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26017 <libm-alias-double.h>.
26018 (trunc): Define using libm_alias_double.
26019 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26020 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26021 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26022 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26023 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26024 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26025 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26026 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26027 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26029 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26031 * math/w_remainder.c: New file.
26032 * math/w_remainderf.c: New file.
26033 * math/w_remainderl.c: New file.
26035 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26037 * elf/rtld.c (BOOTSTRAP_MAP): New.
26038 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26039 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26041 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26043 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26046 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26048 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26049 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26050 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26051 rtld_hidden_data_ver): Define to empty.
26052 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26053 __assert_perror_fail): Likewise.
26054 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26055 (__rewinddir): Likewise.
26056 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26057 (__profile_frequency): Likewise.
26058 * include/setjmp.h (__sigsetjmp): Likewise.
26059 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26060 __libc_sigaction): Likewise.
26061 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26062 not set hidden attribute.
26063 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26064 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26065 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26066 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26067 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26068 __fxstatat64): Likewise.
26069 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26070 (__uname): Likewise.
26071 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26072 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26073 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26074 (NO_RTLD_HIDDEN): Set.
26075 * sysdeps/mach/hurd/configure: Refresh.
26076 * config.h.in: Refresh.
26078 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26080 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26081 (atan): Define using libm_alias_double.
26082 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26083 (tan): Define using libm_alias_double.
26084 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26085 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26087 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26088 define as weak alias of __atan. Do not define any aliases if
26090 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26091 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26092 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26093 as weak alias of __tan. Do not define any aliases if [__tan].
26094 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26095 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26096 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26098 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26099 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26100 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26101 and define as weak alias of __atan.
26102 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26104 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26105 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26106 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26107 define as weak alias of __tan.
26109 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26111 * math/w_lgamma.c: New file.
26112 * math/w_lgammaf.c: New file.
26113 * math/w_lgammal.c: New file.
26115 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26117 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26118 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26119 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26120 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26121 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26122 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26123 * sysdeps/i386/fpu/w_log2f.c: New file.
26124 * sysdeps/i386/fpu/w_logf.c: New file.
26125 * sysdeps/i386/fpu/w_powf.c: New file.
26126 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26127 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26128 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26130 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26131 H.J. Lu <hongjiu.lu@intel.com>
26133 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26134 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26135 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26136 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26137 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26139 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26140 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26141 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26142 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26143 * sysdeps/i386/fpu/w_exp2f.c: New file.
26144 * sysdeps/i386/fpu/w_expf.c: New file.
26145 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26146 * sysdeps/x86_64/fpu/w_expf.c: New file.
26148 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26150 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26153 * math/w_log2f.c: New file.
26154 * math/w_logf.c: New file.
26155 * math/w_powf.c: New file.
26156 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26157 * math/w_logf_compat.c (__logf_compat): Likewise.
26158 * math/w_powf_compat.c (__powf_compat): Likewise.
26159 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26160 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26161 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26162 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26163 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26164 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26165 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26166 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26167 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26168 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26169 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26170 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26171 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26172 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26173 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26182 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26183 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26184 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26185 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26186 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26191 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26192 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26193 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26195 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26197 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26198 (sysdep_routines): Add memrchr_power8.
26199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26200 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26201 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26203 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26204 (memrchr): Add __memrchr_power8 to ifunc list.
26205 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26207 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26210 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26211 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26213 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26214 (__posix_fallocate64_l64): Likewise.
26216 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26219 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26220 (__sched_setaffinity_new): Add libc_hidden_proto and
26223 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26226 * include/glob.h (__glob64): Add libc_hidden_proto.
26227 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26233 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26236 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26239 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26241 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26244 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26247 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26250 * csu/version.c (__libc_print_version): Add attribute_hidden.
26252 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26255 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26257 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26260 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26262 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26265 * nscd/nscd_helper.c (__nis_hash): New prototype.
26267 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26270 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26271 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26273 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26274 * termios/tcgetattr.c (__tcgetattr): Likewise.
26276 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26279 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26280 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26281 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26282 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26283 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26285 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26288 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26290 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26293 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26294 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26296 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26299 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26301 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26304 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26305 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26307 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26310 * include/ifreq.h: New file.
26311 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26312 (__ifreq): Likewise.
26313 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26314 (__ifreq): Likewise.
26316 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26319 * include/idna.h: New file.
26320 * inet/getnameinfo.c: Include <idna.h> instead of
26322 (__idna_to_unicode_lzlz): Removed.
26323 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26325 (__idna_to_ascii_lz): Removed.
26326 (__idna_to_unicode_lzlz): Likewise.
26328 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26331 * include/plural-exp.h: New file.
26332 * intl/plural-exp.c: Include <plural-exp.h> instead of
26335 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26338 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26339 "getsourcefilter.h".
26340 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26341 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26342 "getsourcefilter.h".
26343 (__get_sol): Removed.
26345 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26348 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26350 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26352 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26355 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26358 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26361 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26363 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26366 * include/search.h (__tdestroy): Add libc_hidden_proto.
26367 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26369 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26372 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26374 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26377 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26380 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26383 * include/signal.h (__kill): Add libc_hidden_proto.
26384 (__sigblock): Likewise.
26385 (__sigprocmask): Likewise.
26386 (__sigaltstack): Likewise.
26387 * signal/kill.c (__kill): Add libc_hidden_def.
26388 * signal/sigblock.c (__sigblock): Likewise.
26389 * signal/sigprocmask.c (__sigprocmask): Likewise.
26390 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26391 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26392 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26393 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26394 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26396 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26398 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26399 (__sigprocmask): Likewise.
26400 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26402 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26403 (__sigprocmask): Likewise.
26404 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26410 * include/string.h (__strsep): Add libc_hidden_proto.
26411 * string/strsep.c (__strsep): Add libc_hidden_def.
26413 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26416 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26418 (__spawni): Likewise.
26420 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26423 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26424 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26427 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26430 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26432 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26435 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26436 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26437 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26438 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26439 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26441 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26442 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26444 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26447 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26448 (__dcigettext): Likewise.
26450 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26453 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26455 (__get_nprocs): Likewise.
26456 (__get_phys_pages): Likewise.
26457 (__get_avphys_pages): Likewise.
26458 (__get_child_max): Add attribute_hidden.
26459 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26460 (__get_nprocs): Likewise.
26461 (__get_phys_pages): Likewise.
26462 (__get_avphys_pages): Likewise.
26463 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26465 (__get_nprocs): Likewise.
26466 (__get_phys_pages): Likewise.
26467 (__get_avphys_pages): Likewise.
26468 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26470 (__get_nprocs_conf): Likewise.
26471 (__get_phys_pages): Likewise.
26472 (__get_avphys_pages): Likewise.
26474 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26477 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26479 (__netlink_close): Likewise.
26480 (__netlink_free_handle): Likewise.
26481 (__netlink_request): Likewise.
26483 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26486 * include/rpc/rpc.h (__rpc_thread_variables): Add
26488 (__rpc_thread_svc_cleanup): Likewise.
26489 (__rpc_thread_clnt_cleanup): Likewise.
26490 (__rpc_thread_key_cleanup): Likewise.
26492 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26495 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26496 (__writev): Likewise.
26497 * misc/readv.c (__readv): Add libc_hidden_def.
26498 * misc/writev.c (__writev): Likewise.
26499 * sysdeps/posix/readv.c (__readv): Likewise.
26500 * sysdeps/posix/writev.c (__writev): Likewise.
26501 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26502 (__readv): Likewise.
26503 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26504 (__writev): Likewise.
26506 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26509 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26510 (__regcomp): Add libc_hidden_proto.
26511 (__regexec): Likewise.
26512 (__regfree): Likewise.
26513 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26514 (__regfree): Likewise.
26515 * posix/regexec.c (__regexec): Likewise.
26517 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26520 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26521 (__getutent): Likewise.
26522 (__getutid): Likewise.
26523 (__getutline): Likewise.
26524 (__pututline): Likewise.
26525 (__getutent_r): Likewise.
26526 (__getutid_r): Likewise.
26527 (__getutline_r): Likewise.
26528 (__utmpname): Add attribute_hidden.
26529 (__setutent): Likewise.
26530 (__endutent): Likewise.
26531 * login/getutent.c (__getutent): Add libc_hidden_def.
26532 * login/getutent_r.c (__getutent_r): Likewise.
26533 (__pututline): Likewise.
26534 * login/getutid.c (__getutid): Likewise.
26535 * login/getutid_r.c (__getutid_r): Likewise.
26536 * login/getutline.c (__getutline): Likewise.
26537 * login/getutline_r.c (__getutline_r): Likewise.
26538 * login/updwtmp.c (__updwtmp): Likewise.
26540 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26543 * include/dirent.h (__opendir): Always add attribute_hidden.
26544 (__fdopendir): Likewise.
26545 (__closedir): Likewise.
26546 (__readdir): Likewise.
26547 (__readdir64): Add libc_hidden_proto.
26548 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26549 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26550 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26551 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26554 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26557 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26558 * include/netdb.h (__gethostbyaddr_r): Likewise.
26559 (__gethostbyname_r): Likewise.
26560 (__gethostbyname2_r): Likewise.
26561 (__getnetbyaddr_r): Likewise.
26562 (__getnetbyname_r): Likewise.
26563 (__getservbyname_r): Likewise.
26564 (__getservbyport_r): Likewise.
26565 (__getprotobyname_r): Likewise.
26566 (__getprotobynumber_r): Likewise.
26567 (__getnetgrent_r): Likewise.
26568 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26569 (__getrpcbynumber_r): Likewise.
26570 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26572 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26575 * include/stdio.h (__fcloseall): Add attribute_hidden.
26576 (__getline): Likewise.
26577 (__path_search): Likewise.
26578 (__gen_tempname): Likewise.
26579 (__libc_message): Likewise.
26580 (__flockfile): Likewise.
26581 (__funlockfile): Likewise.
26582 (__fxprintf): Likewise.
26583 (__fxprintf_nocancel): Likewise.
26585 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26588 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26589 (__sgetsgent_r): Likewise.
26591 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26594 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26595 (__statfs64): Likewise.
26596 (__fstatfs64): Likewise.
26597 * include/sys/statvfs.h (__statvfs64): Likewise.
26598 (__fstatvfs64): Likewise.
26599 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26600 (__statfs_filesize_max): Likewise.
26601 (__statfs_symlinks): Likewise.
26602 (__statfs_chown_restricted): Likewise.
26604 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26607 * include/time.h (__tzstring): Add attribute_hidden.
26608 (__tzfile_read): Likewise.
26609 (__tzfile_compute): Likewise.
26610 (__tzfile_default): Likewise.
26611 (__tzset_parse_tz): Likewise.
26612 (__offtime): Likewise.
26613 (__asctime_r): Likewise.
26614 (__tzset): Likewise.
26615 (__tz_convert): Likewise.
26616 (__getdate_r): Likewise.
26617 (__getclktck): Likewise.
26619 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26622 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26623 (__nscd_unmap): Likewise.
26624 (__nscd_cache_search): Likewise.
26625 (__nscd_get_nl_timestamp): Likewise.
26626 (__nscd_getpwnam_r): Likewise.
26627 (__nscd_getpwuid_r): Likewise.
26628 (__nscd_getgrnam_r): Likewise.
26629 (__nscd_getgrgid_r): Likewise.
26630 (__nscd_gethostbyname_r): Likewise.
26631 (__nscd_gethostbyname2_r): Likewise.
26632 (__nscd_gethostbyaddr_r): Likewise.
26633 (__nscd_getai): Likewise.
26634 (__nscd_getgrouplist): Likewise.
26635 (__nscd_getservbyname_r): Likewise.
26636 (__nscd_getservbyport_r): Likewise.
26637 (__nscd_innetgr): Likewise.
26638 (__nscd_setnetgrent): Likewise.
26640 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26643 * include/gmp.h: Declare internal functions only if _ISOMAC is
26645 (__mpn_extract_double): Add attribute_hidden.
26646 (__mpn_extract_long_double): Likewise.
26647 (__mpn_extract_float128): Likewise.
26648 (__mpn_construct_float): Likewise.
26649 (__mpn_construct_double): Likewise.
26650 (__mpn_construct_long_double): Likewise.
26651 (__mpn_construct_float128): Likewise.
26652 (mpn_add_1): Likewise.
26653 (mpn_addmul_1): Likewise.
26654 (mpn_add_n): Likewise.
26655 (mpn_cmp): Likewise.
26656 (mpn_divrem): Likewise.
26657 (mpn_lshift): Likewise.
26658 (mpn_mul): Likewise.
26659 (mpn_mul_1): Likewise.
26660 (mpn_rshift): Likewise.
26661 (mpn_sub_1): Likewise.
26662 (mpn_submul_1): Likewise.
26663 (mpn_sub_n): Likewise.
26665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26668 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26669 (__wcscat): Likewise.
26670 (__btowc): Likewise.
26671 (__wcrtomb): Likewise.
26672 (__mbsrtowcs): Likewise.
26673 (__wcsrtombs): Likewise.
26674 (__mbsnrtowcs): Likewise.
26675 (__wcsnrtombs): Likewise.
26676 (__wcsncpy): Likewise.
26677 (__wcpncpy): Likewise.
26678 (__wmemcpy): Likewise.
26679 (__wmempcpy): Likewise.
26680 (__wmemmove): Likewise.
26681 (__wcschrnul): Likewise.
26682 (__vfwscanf): Likewise.
26683 (__vswprintf): Likewise.
26684 (__fwprintf): Likewise.
26685 (__vfwprintf): Likewise.
26687 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26690 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26691 (__getgrgid_r): Likewise.
26692 (__getgrnam_r): Likewise.
26693 * include/pwd.h (__getpwuid_r): Likewise.
26694 (__getpwnam_r): Likewise.
26695 (__fgetpwent_r): Likewise.
26696 * include/shadow.h (__getspnam_r): Likewise.
26697 (__sgetspent_r): Likewise.
26698 (__fgetspent_r): Likewise.
26700 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26703 * include/unistd.h (__access): Add attribute_hidden.
26704 (__lseek64): Likewise.
26705 (__libc_pread64): Likewise.
26706 (__pipe2): Likewise.
26707 (__sleep): Likewise.
26708 (__chdir): Likewise.
26709 (__fchdir): Likewise.
26710 (__getcwd): Likewise.
26711 (__rmdir): Likewise.
26712 (__execvpe): Likewise.
26713 (__execve): Likewise.
26714 (__setsid): Likewise.
26715 (__getuid): Likewise.
26716 (__geteuid): Likewise.
26717 (__getgid): Likewise.
26718 (__getegid): Likewise.
26719 (__getgroups): Likewise.
26720 (__group_member): Likewise.
26721 (__ttyname_r): Likewise.
26722 (__isatty): Likewise.
26723 (__readlink): Likewise.
26724 (__unlink): Likewise.
26725 (__gethostname): Likewise.
26726 (__profil): Likewise.
26727 (__getdtablesize): Likewise.
26729 (__ftruncate): Likewise.
26730 (__ftruncate64): Likewise.
26732 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26735 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26736 * argp/argp-fs-xinl.c: Likewise.
26737 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26738 * argp/argp-parse.c: Include <argp.h>.
26739 * argp/argp-xinl.c: Likewise.
26740 * include/argp-fmtstream.h: New file.
26741 * include/argp.h (__argp_error): Add attribute_hidden.
26742 (__argp_failure): Likewise.
26743 (__argp_input): Likewise.
26744 (__argp_state_help): Likewise.
26746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26749 * include/wchar.h (____wcstof_l_internal): New prototype.
26750 (____wcstod_l_internal): Likewise.
26751 (____wcstold_l_internal): Likewise.
26752 (____wcstol_l_internal): Likewise.
26753 (____wcstoul_l_internal): Likewise.
26754 (____wcstoll_l_internal): Likewise.
26755 (____wcstoull_l_internal): Likewise.
26756 (____wcstof128_l_internal): Likewise.
26757 * sysdeps/ieee754/float128/wcstof128.c
26758 (____wcstof128_l_internal): Removed.
26759 * sysdeps/ieee754/float128/wcstof128_l.c
26760 (____wcstof128_l_internal): Likewise.
26761 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26762 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26763 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26764 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26765 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26766 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26767 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26768 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26769 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26770 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26772 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26775 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26776 instead of <sys/statvfs.h>.
26777 (__internal_statvfs): Removed.
26778 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26779 instead of <sys/statvfs.h>.
26780 (__internal_statvfs64): Removed.
26781 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26782 "internal_statvfs.h" instead of <sys/statvfs.h>.
26783 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26784 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26785 instead of <sys/statvfs.h>.
26786 (__internal_statvfs): Removed.
26787 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26788 instead of <sys/statvfs.h>.
26789 (__internal_statvfs64): Removed.
26791 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26794 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26795 (__gconv_close): Likewise.
26796 (__gconv): Likewise.
26797 (__gconv_find_transform): Likewise.
26798 (__gconv_lookup_cache): Likewise.
26799 (__gconv_compare_alias_cache): Likewise.
26800 (__gconv_load_cache): Likewise.
26801 (__gconv_get_path): Likewise.
26802 (__gconv_close_transform): Likewise.
26803 (__gconv_release_cache): Likewise.
26804 (__gconv_find_shlib): Likewise.
26805 (__gconv_release_shlib): Likewise.
26806 (__gconv_get_builtin_trans): Likewise.
26807 (__gconv_compare_alias): Likewise.
26808 * include/dlfcn.h (_dlerror_run): Likewise.
26809 * include/stdio.h (__fortify_fail_abort): Likewise.
26810 * include/time.h (__tz_compute): Likewise.
26811 (__strptime_internal): Likewise.
26812 * intl/gettextP.h (_nl_find_domain): Likewise.
26813 (_nl_load_domain): Likewise.
26814 (_nl_find_msg): Likewise.
26815 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26816 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26817 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26818 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26819 (__gai_find_request): Likewise.
26820 (__gai_remove_request): Likewise.
26821 (__gai_notify): Likewise.
26822 (__gai_notify_only): Likewise.
26823 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26824 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26825 (_dl_non_dynamic_init): Likewise.
26826 (_dl_aux_init): Likewise.
26827 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26828 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26830 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26831 (__wcsmbs_clone_conv): Likewise.
26832 (__wcsmbs_named_conv): Likewise.
26834 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26837 * include/stdlib.h (__random): Add attribute_hidden.
26838 (__random_r): Likewise.
26839 (__srandom_r): Likewise.
26840 (__initstate_r): Likewise.
26841 (__setstate_r): Likewise.
26842 (__erand48_r): Likewise.
26843 (__nrand48_r): Likewise.
26844 (__jrand48_r): Likewise.
26845 (__srand48_r): Likewise.
26846 (__seed48_r): Likewise.
26847 (__lcong48_r): Likewise.
26848 (__drand48_iterate): Likewise.
26849 (__setenv): Likewise.
26850 (__unsetenv): Likewise.
26851 (__clearenv): Likewise.
26852 (__ptsname_r): Likewise.
26853 (__posix_openpt): Likewise.
26854 (__add_to_environ): Likewise.
26855 (__realpath): Add libc_hidden_proto.
26856 (__ecvt_r): Likewise.
26857 (__fcvt_r): Likewise.
26858 (__qecvt_r): Likewise.
26859 (__qfcvt_r): Likewise.
26860 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26861 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26863 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26866 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26867 * include/time.h (__mktime_internal): Likewise.
26868 * libio/iolibio.h (__fopen_internal): Likewise.
26870 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26872 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26874 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26875 Correct offset used to restore PIC register.
26877 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26880 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26881 code to load address of __getcontext_ret when generating PIC code.
26883 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26885 * elf/Makefile (tests-static-internal): Add
26886 tst-tls1-static-non-pie.
26887 (LDFLAGS-tst-tls1-static-non-pie): New.
26888 * elf/tst-tls1-static-non-pie.c: New file.
26890 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26892 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26893 (asinh): Define using libm_alias_double.
26894 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26895 (cbrt): Define using libm_alias_double.
26896 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26897 <libm-alias-double.h>.
26898 (copysign): Define using libm_alias_double.
26899 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26900 (erf): Define using libm_alias_double.
26902 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26903 (expm1): Define using libm_alias_double.
26904 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26905 (fabs): Define using libm_alias_double.
26906 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26908 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26909 <libm-alias-double.h>.
26910 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26912 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26913 <libm-alias-double.h>.
26914 (getpayload): Define using libm_alias_double.
26915 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26916 <libm-alias-double.h>.
26917 (llrint): Define using libm_alias_double.
26918 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26919 (lrint): Define using libm_alias_double.
26920 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26921 <libm-alias-double.h>.
26922 (nextup): Define using libm_alias_double.
26923 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26924 <libm-alias-double.h>.
26925 (roundeven): Define using libm_alias_double.
26926 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26928 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26929 <libm-alias-double.h>.
26930 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26931 using libm_alias_double.
26932 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26933 (cos): Define using libm_alias_double.
26935 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26936 <libm-alias-double.h>.
26937 (sincos): Define using libm_alias_double.
26938 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26939 (tanh): Define using libm_alias_double.
26940 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26941 <libm-alias-double.h>.
26942 (totalorder): Define using libm_alias_double.
26943 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26944 <libm-alias-double.h>.
26945 (totalordermag): Define using libm_alias_double.
26946 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26948 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26950 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26951 <libm-alias-double.h>.
26952 (getpayload): Define using libm_alias_double.
26953 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26954 <libm-alias-double.h>.
26955 (roundeven): Define using libm_alias_double.
26956 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26957 <libm-alias-double.h>.
26958 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26959 <libm-alias-double.h>.
26960 (totalorder): Define using libm_alias_double.
26961 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26962 <libm-alias-double.h>.
26963 (totalordermag): Define using libm_alias_double.
26964 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26965 libc compat symbol here.
26966 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26967 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26968 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26969 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26970 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26971 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26972 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26973 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26974 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26975 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26977 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26979 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26980 _dl_relocate_static_pie instead of _dl_start to compute load
26981 address in static PIE. Return 0 if _DYNAMIC is undefined for
26984 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26986 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26987 _DYNAMIC is undefined for static executable.
26989 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26991 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26993 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26997 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26999 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27000 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27001 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27002 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27003 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27004 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27005 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27006 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27007 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27008 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27009 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27010 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27011 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27012 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27013 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27014 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27015 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27017 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27019 * math/bits/cmathcalls.h (cimag): Remove inline.
27020 (creal): Remove inline.
27021 (conj): Remove inline.
27023 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27025 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27026 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27027 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27028 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27029 (issignalingf_inline): Likewise.
27030 (POWF_LOG2_TABLE_BITS): Likewise.
27031 (POWF_LOG2_POLY_ORDER): Likewise.
27032 (POWF_SCALE_BITS): Likewise.
27033 (POWF_SCALE): Likewise.
27034 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27035 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27036 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27038 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27040 * math/Makefile (type-float-routines): Add e_log2f_data.
27041 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27042 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27043 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27044 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27045 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27046 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27047 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27049 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27051 * math/Makefile (type-float-routines): Add e_logf_data.
27052 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27053 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27054 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27055 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27056 * sysdeps/i386/fpu/e_logf_data.c: New file.
27057 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27058 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27060 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27062 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27063 undefined _DYNAMIC in PIE libc.a.
27064 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27067 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27069 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27070 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27071 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27072 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27073 (__signbit): Remove.
27074 (__signbitl): Remove.
27075 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27076 (__signbit): Remove.
27077 (__signbitl): Remove.
27078 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27079 (__signbit): Remove.
27080 (__signbitl): Remove.
27081 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27082 (__signbit): Remove.
27083 (__signbitl): Remove.
27084 * sysdeps/tile/bits/mathinline.h: Delete file.
27085 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27086 (__signbit): Remove.
27087 (__signbitl): Remove.
27089 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27091 * math/math.h: Improve handling of C99 isgreater macros.
27092 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27093 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27094 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27095 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27096 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27098 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27100 * sysdeps/aarch64/libm-test-ulps: Update.
27102 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27105 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27106 math_opt_barrier on argument when doing arithmetic on it.
27107 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27108 Likewise. Use math_force_eval not math_opt_barrier after
27110 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27111 math_opt_barrier on argument when doing arithmetic on it.
27112 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27115 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27117 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27119 (__freeifaddrs): Likewise.
27121 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27123 * include/dirent.h (__dirfd): New declaration.
27124 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27126 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27127 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27128 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27129 * include/unistd.h (__revoke): New declaration.
27130 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27132 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27133 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27135 * include/dirent.h (__seekdir): New declaration.
27136 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27137 redefine as weak alias.
27138 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27140 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27141 and use libc_hidden_def on them.
27142 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27144 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27145 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27146 instead of getifaddrs and freeifaddrs.
27148 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27151 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27152 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27153 (__dso_handle): Remove declaration.
27154 * dlfcn/tstatexit.c (__dso_handle): Removed.
27155 (main): Don't check __dso_handle.
27156 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27157 (main): Don't check __dso_handle.
27158 * include/dso_handle.h: New file.
27159 * malloc/mtrace.c: Include <dso_handle.h>.
27160 (mtrace): Pass __dso_handle directly.
27161 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27162 (__dso_handle): Remove declaration.
27163 (__pthread_atfork): Pass __dso_handle directly.
27164 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27165 (__dso_handle): Removed.
27166 * posix/wordexp-test.c: Include <dso_handle.h>.
27167 (__dso_handle): Remove declaration.
27168 (__app_register_atfork): Pass __dso_handle directly.
27169 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27170 (__dso_handle): Remove declaration.
27171 (at_quick_exit): Pass __dso_handle directly.
27172 * stdlib/atexit.c: Include <dso_handle.h>.
27173 (__dso_handle): Remove declaration.
27174 (atexit): Pass __dso_handle directly.
27175 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27176 (__dso_handle): Removed.
27178 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27180 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27183 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27185 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27186 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27187 values to correct default value for given type.
27189 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27192 * elf/Makefile (tests): Add tst-debug1.
27193 ($(objpfx)tst-debug1): New.
27194 ($(objpfx)tst-debug1.out): Likewise.
27195 ($(objpfx)tst-debug1mod1.so): Likewise.
27196 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27197 with p_filesz == 0.
27198 * elf/tst-debug1.c: New file.
27200 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27202 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27203 Define using __ifunc.
27205 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27207 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27210 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27213 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27215 2017-09-26 Florian Weimer <fweimer@redhat.com>
27217 * resolv/Makefile (tests-internal): Fix typo in comment.
27219 2017-09-26 Florian Weimer <fweimer@redhat.com>
27221 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27223 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27225 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27226 Use an union instead of a max_align_t array for __space,
27227 so that __space is the same size on all platforms.
27228 * malloc/scratch_buffer_grow_preserve.c
27229 (__libc_scratch_buffer_grow_preserve): Likewise.
27232 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27234 * posix/Makefile (routines): Add glob-lstat-compat and
27235 glob64-lstat-compat.
27236 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27237 * posix/glob-lstat-compat.c: New file.
27238 * posix/glob64-lstat-compat.c: Likewise.
27239 * posix/tst-glob_lstat_compat.c: Likewise.
27240 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27241 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27242 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27243 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27245 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27246 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27247 * posix/glob.c (glob_lstat): New function.
27248 (glob): Rename to __glob and add versioned symbol to 2.27.
27249 (glob_in_dir): Use glob_lstat.
27250 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27251 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27252 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27254 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27255 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27256 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27257 gl_lstat on glob call.
27258 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27259 and glob64 symbols.
27260 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27261 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27262 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27263 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27264 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27265 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27266 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27267 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27268 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27269 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27270 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27271 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27274 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27276 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27277 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27278 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27279 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27280 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27283 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27284 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27285 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27287 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27289 * configure.ac (AS): Require binutils 2.25 or later.
27290 * configure: Regenerated.
27292 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27295 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27298 2017-09-25 DJ Delorie <dj@redhat.com>
27301 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27304 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27306 * sysdeps/ieee754/dbl-64/sincos32.h
27307 [SINCCOS32_H]: Remove define.
27308 [SINCOS32_H]: Define.
27310 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27312 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27314 * math/w_exp2f.c: New file.
27315 * math/w_expf.c: New file.
27316 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27317 * math/w_expf_compat.c (__expf_compat): Likewise.
27318 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27319 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27320 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27321 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27322 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27323 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27324 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27325 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27326 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27327 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27328 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27329 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27330 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27331 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27340 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27341 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27342 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27343 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27344 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27349 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27350 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27351 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27353 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27355 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27356 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27357 (roundtoint, converttoint): Likewise.
27358 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27359 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27360 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27361 * sysdeps/ieee754/flt-32/math_config.h: New file.
27362 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27363 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27364 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27365 * sysdeps/i386/fpu/math_errf.c: New file.
27366 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27367 * sysdeps/ia64/fpu/math_errf.c: New file.
27368 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27369 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27371 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27373 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27374 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27375 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27376 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27377 to make sure that these symbols are defined.
27378 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27380 (__need_NULL): Do not define.
27381 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27383 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27384 CMGROUP_MAX, cmsgcred): Do not define.
27385 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27387 * bits/socket.h: Likewise.
27388 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27389 __gettimeofday instead of gettimeofday.
27390 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27391 instead of settimeofday.
27393 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27395 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27396 (asinhf): Define using libm_alias_float.
27397 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27398 (atanf): Define using libm_alias_float.
27399 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27400 (cbrtf): Define using libm_alias_float.
27401 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27402 (ceilf): Define using libm_alias_float.
27403 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27404 <libm-alias-float.h>.
27405 (copysignf): Define using libm_alias_float.
27406 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27407 (cosf): Define using libm_alias_float.
27408 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27409 (erff): Define using libm_alias_float.
27411 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27412 (expm1f): Define using libm_alias_float.
27413 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27414 (fabsf): Define using libm_alias_float.
27415 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27416 (floorf): Define using libm_alias_float.
27417 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27418 (frexpf): Define using libm_alias_float.
27419 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27421 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27422 <libm-alias-float.h>.
27423 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27425 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27426 <libm-alias-float.h>.
27427 (getpayloadf): Define using libm_alias_float.
27428 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27429 <libm-alias-float.h>.
27430 (llrintf): Define using libm_alias_float.
27431 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27432 <libm-alias-float.h>.
27433 (llroundf): Define using libm_alias_float.
27434 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27435 (logbf): Define using libm_alias_float.
27436 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27437 (lrintf): Define using libm_alias_float.
27438 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27439 (lroundf): Define using libm_alias_float.
27440 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27441 (modff): Define using libm_alias_float.
27442 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27443 <libm-alias-float.h>.
27444 (nearbyintf): Define using libm_alias_float.
27445 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27446 <libm-alias-float.h>.
27447 (nextafterf): Define using libm_alias_float.
27448 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27449 <libm-alias-float.h>.
27450 (nextupf): Define using libm_alias_float.
27451 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27452 <libm-alias-float.h>.
27453 (remquof): Define using libm_alias_float.
27454 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27455 (rintf): Define using libm_alias_float.
27456 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27457 <libm-alias-float.h>.
27458 (roundevenf): Define using libm_alias_float.
27459 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27460 (roundf): Define using libm_alias_float.
27461 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27462 using libm_alias_float.
27463 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27464 <libm-alias-float.h>.
27465 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27466 Define using libm_alias_float.
27467 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27468 <libm-alias-float.h>.
27469 (sincosf): Define using libm_alias_float.
27470 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27471 (sinf): Define using libm_alias_float.
27472 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27473 (tanf): Define using libm_alias_float.
27474 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27475 (tanhf): Define using libm_alias_float.
27476 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27477 <libm-alias-float.h>.
27478 (totalorderf): Define using libm_alias_float.
27479 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27480 <libm-alias-float.h>.
27481 (totalordermagf): Define using libm_alias_float.
27482 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27483 (truncf): Define using libm_alias_float.
27484 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27486 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27489 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27492 math/math.h: Let fpclassify use the builtin in C++ mode, even
27493 when optimazing for size.
27495 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27497 * csu/Makefile (generated): Do not add version-info.h.
27498 (before-compile): Likewise.
27499 (all-Banner-files): Remove variable.
27500 ($(objpfx)version-info.h): Remove rule.
27501 * csu/version.c (banner): Do not include "version-info.h".
27502 * libidn/Banner: Remove.
27503 * manual/contrib.texi (Simon Josefsson): New entry.
27505 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27507 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27508 Remove conditionals on LDBL_MANT_DIG.
27509 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27510 (__ieee754_lgammal_r): Likewise.
27512 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27514 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27516 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27517 _Float128 and L(). Replace _Float128 with long double and L(x)
27518 with xL, throughout the file.
27519 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27520 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27521 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27522 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27524 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27526 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27527 sysdeps/ieee754/ldbl-128ibm.
27528 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27529 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27530 of including it. Keep _Float128 and L() intact. These will be
27531 reviewed by a separate patch.
27532 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27533 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27534 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27535 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27537 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27540 (__finitef128): Define to __redirect___finitef128.
27541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27542 (__isinff128): Define to __redirect___isinff128.
27543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27544 (__isnanf128): Define to __redirect___isnanf128.
27546 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27548 * sysdeps/powerpc/powerpc64le/Makefile
27549 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27550 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27552 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27553 Carlos O'Donell <carlos@redhat.com>
27556 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27557 * stdlib/test-dlclose-exit-race.c: New file.
27558 * stdlib/test-dlclose-exit-race-helper.c: New file.
27559 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27561 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27563 * crypt/Banner: Remove file.
27564 * nptl/Banner: Likewise.
27565 * resolv/Banner: Likewise.
27566 * soft-fp/Banner: Likewise.
27567 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27568 ($(objpfx)version.d): Remove dependency on banner.h.
27569 ($(objpfx)version.os): Likewise.
27570 * nptl/version.c (banner): Do not include banner.h.
27571 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27572 Jelinek and BIND code.
27574 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27575 Carlos O'Donell <carlos@redhat.com>
27577 * support/xdlfcn.h: New file.
27578 * support/xdlfcn.c: New file.
27579 * support/Makefile (libsupport-routines): Add xdlfcn.
27580 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27582 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27585 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27586 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27587 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27588 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27589 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27590 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27591 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27592 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27594 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27595 Ricky Zhou <rickyz@google.com>
27596 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27599 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27601 (__new_exitfn): Fail registration when we finished at_exit processing.
27602 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27603 * stdlib/on_exit.c (__on_exit): Likewise.
27604 * stdlib/exit.c (__exit_funcs_done): New variable.
27605 (__run_exit_handlers): Use __exit_funcs_lock.
27606 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27608 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27609 (test-cxa_atexit-race, test-on_exit-race): New tests.
27610 * stdlib/test-atexit-race-common.c: New file.
27611 * stdlib/test-atexit-race.c: New file.
27612 * stdlib/test-at_quick_exit-race.c: New file.
27613 * stdlib/test-cxa_atexit-race.c: New file.
27614 * stdlib/test-on_exit-race.c: New file.
27616 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27618 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27619 * benchtests/exp2f-inputs: Copy of expf-inputs.
27620 * benchtests/log2f-inputs: Copy of logf-inputs.
27622 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27624 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27625 Explicitly take address of first element of array arguments in
27626 call to INLINE_SYSCALL.
27628 2017-09-19 Andreas Schwab <schwab@suse.de>
27631 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27633 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27635 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27636 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27637 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27638 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27639 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27640 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27641 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27642 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27643 * posix/Makefile (tests): Add tst-fexecve.
27644 * posix/tst-fexecve.c: New file.
27646 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27648 * benchtests/Makefile: Add logf benchmark.
27649 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27651 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27653 * benchtests/Makefile: Add expf benchmark.
27654 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27656 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27658 * csu/Makefile: Add -funwind-tables to libc-start.c.
27659 * debug/Makefile: Add -funwind-tables to backtrace.c.
27660 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27661 * sysdeps/arm/Makefile: Likewise.
27662 * sysdeps/i386/Makefile: Likewise.
27663 * sysdeps/m68k/Makefile: Likewise.
27664 * sysdeps/mips/Makefile: Likewise.
27665 * sysdeps/nios2/Makefile: Likewise.
27666 * sysdeps/sh/Makefile: Likewise.
27667 * sysdeps/sparc/Makefile: Likewise.
27669 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27671 * benchtests/Makefile (bench-math): Add trunc and truncf.
27672 (CFLAGS-bench-trunc.c): New variable.
27673 (CFLAGS-bench-truncf.c): Likewise.
27674 * benchtests/trunc-inputs: New file.
27675 * benchtests/truncf-inputs: Likewise.
27677 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27679 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27681 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27683 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27684 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27686 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27687 (exp10l): Define as weak alias.
27688 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27689 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27691 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27692 (remainderl): Define as weak alias.
27694 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27695 (fmal): Define using libm_alias_ldouble.
27696 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27697 (acoshl): Define using libm_alias_ldouble.
27698 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27699 (acosl): Define using libm_alias_ldouble.
27700 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27701 (asinl): Define using libm_alias_ldouble.
27702 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27703 (atan2l): Define using libm_alias_ldouble.
27704 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27705 (atanhl): Define using libm_alias_ldouble.
27706 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27707 (coshl): Define using libm_alias_ldouble.
27708 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27709 (exp10l): Define using libm_alias_ldouble.
27710 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27711 (exp2l): Define using libm_alias_ldouble.
27712 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27713 (expl): Define using libm_alias_ldouble.
27714 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27715 (fmodl): Define using libm_alias_ldouble.
27716 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27717 (hypotl): Define using libm_alias_ldouble.
27718 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27719 (j0l): Define using libm_alias_ldouble.
27721 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27722 (j1l): Define using libm_alias_ldouble.
27724 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27725 (jnl): Define using libm_alias_ldouble.
27727 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27728 (log10l): Define using libm_alias_ldouble.
27729 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27730 (log2l): Define using libm_alias_ldouble.
27731 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27732 (logl): Define using libm_alias_ldouble.
27733 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27734 (powl): Define using libm_alias_ldouble.
27735 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27736 (remainderl): Define using libm_alias_ldouble.
27737 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27738 (sinhl): Define using libm_alias_ldouble.
27739 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27740 (sqrtl): Define using libm_alias_ldouble.
27741 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27742 (tgammal): Define using libm_alias_ldouble.
27743 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27744 (exp10l): Do not use long_double_symbol here.
27745 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27746 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27747 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27748 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27749 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27750 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27751 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27752 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27753 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27754 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27755 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27756 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27757 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27758 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27759 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27760 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27761 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27762 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27763 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27764 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27765 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27766 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27768 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27770 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27771 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27773 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27775 * io/read.c (read): Add libc_hidden_weak.
27776 * sysdeps/mach/hurd/read.c (read): Likewise.
27777 * io/write.c (write): Likewise.
27778 * sysdeps/mach/hurd/write.c (write): Likewise.
27779 * io/pread64.c (__pread64): Likewise.
27780 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27781 * posix/pread64.c (__pread64): Add libc_hidden_def.
27783 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27785 * benchtests/scripts/compare_strings.py: New option -g.
27786 (draw_graph): Print a message that a graph is being generated.
27787 (process_results): Generate graph only if -g is passed.
27788 (main): Process option -g.
27790 * benchtests/scripts/compare_strings.py (process_results):
27791 Better spacing for output.
27793 * benchtests/scripts/compare_strings.py: Use argparse.
27794 * benchtests/README: Document existence of compare_strings.py.
27796 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27798 * math/s_fma.c: Include <libm-alias-double.h>.
27799 (fma): Define using libm_alias_double.
27800 * math/s_nextafter.c: Include <libm-alias-double.h>.
27801 (nextafter): Define using libm_alias_double.
27802 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27803 (acos): Define using libm_alias_double.
27804 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27805 (aocsh): Define using libm_alias_double.
27806 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27807 (asin): Define using libm_alias_double.
27808 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27809 (atan2): Define using libm_alias_double.
27810 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27811 (atanh): Define using libm_alias_double.
27812 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27813 (cosh): Define using libm_alias_double.
27814 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27815 (exp10): Define using libm_alias_double.
27816 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27817 (exp2): Define using libm_alias_double.
27818 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27819 (exp): Define using libm_alias_double.
27820 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27821 (fmod): Define using libm_alias_double.
27822 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27823 (hypot): Define using libm_alias_double.
27824 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27825 (j0): Define using libm_alias_double.
27827 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27828 (j1): Define using libm_alias_double.
27830 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27831 (jn): Define using libm_alias_double.
27833 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27834 (log10): Define using libm_alias_double.
27835 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27836 (log2): Define using libm_alias_double.
27837 * math/w_log_compat.c: Include <libm-alias-double.h>.
27838 (log): Define using libm_alias_double.
27839 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27840 (pow): Define using libm_alias_double.
27841 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27842 (remainder): Define using libm_alias_double.
27843 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27844 (sinh): Define using libm_alias_double.
27845 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27846 (sqrt): Define using libm_alias_double.
27847 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27848 (tgamma): Define using libm_alias_double.
27849 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27850 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27851 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27852 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27853 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27854 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27855 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27856 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27857 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27858 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27859 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27860 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27861 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27862 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27863 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27864 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27865 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27866 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27867 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27868 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27869 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27870 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27871 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27872 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27873 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27875 * math/e_acoshl.c: Remove.
27876 * math/e_acosl.c: Likewise.
27877 * math/e_asinl.c: Likewise.
27878 * math/e_atan2l.c: Likewise.
27879 * math/e_atanhl.c: Likewise.
27880 * math/e_coshl.c: Likewise.
27881 * math/e_expl.c: Likewise.
27882 * math/e_fmodl.c: Likewise.
27883 * math/e_gammal_r.c: Likewise.
27884 * math/e_hypotl.c: Likewise.
27885 * math/e_j0l.c: Likewise.
27886 * math/e_j1l.c: Likewise.
27887 * math/e_jnl.c: Likewise.
27888 * math/e_lgammal_r.c: Likewise.
27889 * math/e_log10l.c: Likewise.
27890 * math/e_log2l.c: Likewise.
27891 * math/e_logl.c: Likewise.
27892 * math/e_powl.c: Likewise.
27893 * math/e_rem_pio2l.c: Likewise.
27894 * math/e_sinhl.c: Likewise.
27895 * math/e_sqrtf128.c: Likewise.
27896 * math/e_sqrtl.c: Likewise.
27897 * math/k_cosl.c: Likewise.
27898 * math/k_sinl.c: Likewise.
27899 * math/k_tanl.c: Likewise.
27900 * math/s_asinhl.c: Likewise.
27901 * math/s_atanl.c: Likewise.
27902 * math/s_cbrtl.c: Likewise.
27903 * math/s_erfl.c: Likewise.
27904 * math/s_expm1l.c: Likewise.
27905 * math/s_log1pl.c: Likewise.
27906 * math/s_tanhl.c: Likewise.
27908 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27911 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27912 [$(subdir) = math] (sysdep_calls): New variable. Has the
27913 previous contents of sysdep_routines, but re-sorted..
27914 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27916 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27917 defined in sysdep_calls and replace by the respective m_* names.
27918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27919 (compat_symbol): Undefine to avoid duplicated compat symbols in
27922 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27924 * math/s_fmaf.c: Include <libm-alias-float.h>.
27925 (fmaf): Define using libm_alias_float.
27926 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27927 (acosf): Define using libm_alias_float.
27928 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27929 (acoshf): Define using libm_alias_float.
27930 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27931 (asinf): Define using libm_alias_float.
27932 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27933 (atan2f): Define using libm_alias_float.
27934 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27935 (atanhf): Define using libm_alias_float.
27936 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27937 (coshf): Define using libm_alias_float.
27938 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27939 (exp10f): Define using libm_alias_float.
27940 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27941 (fmodf): Define using libm_alias_float.
27942 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27943 (hypotf): Define using libm_alias_float.
27944 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27945 (j0f): Define using libm_alias_float.
27947 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27948 (j1f): Define using libm_alias_float.
27950 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27951 (jnf): Define using libm_alias_float.
27953 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27954 (log10f): Define using libm_alias_float.
27955 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27956 (log2f): Define using libm_alias_float.
27957 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27958 (logf): Define using libm_alias_float.
27959 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27960 (powf): Define using libm_alias_float.
27961 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27962 (remainderf): Define using libm_alias_float.
27963 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27964 (sinhf): Define using libm_alias_float.
27965 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27966 (sqrtf): Define using libm_alias_float.
27967 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27968 (tgammaf): Define using libm_alias_float.
27970 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27972 * include/math.h (roundeven): Change hidden_proto call to
27974 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27976 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27977 (y0): Rename to __y0 and define as weak alias.
27978 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27979 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27981 (y0f): Rename to __y0f and define as weak alias.
27982 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27984 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27985 (y1): Rename to __y1 and define as weak alias.
27986 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27987 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27989 (y1f): Rename to __y1f and define as weak alias.
27990 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27992 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27993 (yn): Rename to __yn and define as weak alias.
27994 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27995 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27997 (ynf): Rename to __ynf and define as weak alias.
27998 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27999 (fromfp): Define as weak alias.
28000 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28001 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28002 (fromfpx): Define as weak alias.
28003 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28004 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28005 __getpayload and define as weak alias.
28006 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28007 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28008 __roundeven and define as weak alias.
28009 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28010 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28012 (setpayload): Define as weak alias.
28013 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28014 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28016 (setpayloadsig): Define as weak alias.
28017 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28018 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28019 __totalorder and define as weak alias.
28020 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28021 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28022 to __totalordermag and define as weak alias.
28023 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28024 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28025 (ufromfp): Define as weak alias.
28026 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28027 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28029 (ufromfpx): Define as weak alias.
28030 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28031 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28032 Rename to __getpayload and define as weak alias.
28033 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28034 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28035 Rename to __roundeven and define as weak alias.
28036 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28037 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28038 Rename to __totalorder and define as weak alias.
28039 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28040 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28041 (totalordermag): Rename to __totalordermag and define as weak
28043 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28044 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28046 (__roundevenl): Likewise.
28047 (__totalorderl): Likewise.
28048 (__totalordermagl): Likewise
28049 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28051 (fromfpf128): Define as weak alias.
28052 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28054 (fromfpxf128): Define as weak alias.
28055 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28057 (setpayloadf128): Define as weak alias.
28058 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28059 __setpayloadsigf128.
28060 (setpayloadsigf128): Define as weak alias.
28061 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28063 (ufromfpf128): Define as weak alias.
28064 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28066 (ufromfpxf128): Define as weak alias.
28067 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28068 (fromfpf): Define as weak alias.
28069 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28071 (fromfpxf): Define as weak alias.
28072 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28073 __getpayloadf and define as weak alias.
28074 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28075 __roundevenf and define as weak alias.
28076 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28078 (setpayloadf): Define as weak alias.
28079 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28081 (setpayloadsigf): Define as weak alias.
28082 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28083 __totalorderf and define as weak alias.
28084 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28085 Rename to __totalordermagf and define as weak alias.
28086 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28088 (ufromfpf): Define as weak alias.
28089 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28091 (ufromfpxf): Define as weak alias.
28092 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28094 (fromfpl): Define as weak alias.
28095 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28097 (fromfpxl): Define as weak alias.
28098 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28099 to __getpayloadl and define as weak alias.
28100 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28101 __roundevenl and define as weak alias.
28102 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28104 (setpayloadl): Define as weak alias.
28105 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28107 (setpayloadsigl): Define as weak alias.
28108 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28109 to __totalorderl and define as weak alias.
28110 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28111 Rename to __totalordermagl and define as weak alias.
28112 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28114 (ufromfpl): Define as weak alias.
28115 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28117 (ufromfpxl): Define as weak alias.
28118 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28120 (fromfpl): Define as weak alias.
28121 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28123 (fromfpxl): Define as weak alias.
28124 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28125 Rename to __getpayloadl and define as weak alias.
28126 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28127 to __roundevenl and define as weak alias. Call __roundeven
28128 instead of roundeven.
28129 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28131 (setpayloadl): Define as weak alias.
28132 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28134 (setpayloadsigl): Define as weak alias.
28135 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28136 Rename to __totalorderl and define as weak alias.
28137 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28138 Rename to __totalordermagl and define as weak alias.
28139 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28141 (ufromfpl): Define as weak alias.
28142 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28144 (ufromfpxl): Define as weak alias.
28145 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28147 (fromfpl): Define as weak alias.
28148 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28150 (fromfpxl): Define as weak alias.
28151 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28152 __getpayloadl and define as weak alias.
28153 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28154 __roundevenl and define as weak alias.
28155 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28157 (setpayloadl): Define as weak alias.
28158 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28160 (setpayloadsigl): Define as weak alias.
28161 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28162 __totalorderl and define as weak alias.
28163 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28164 Rename to __totalordermagl and define as weak alias.
28165 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28167 (ufromfpl): Define as weak alias.
28168 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28170 (ufromfpxl): Define as weak alias.
28172 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28174 * benchtests/bench-string.h (realloc_bufs): New function.
28175 (test_init): Call it.
28176 * benchtests/bench-memset-large.c (do_test): Likewise.
28177 * benchtests/bench-memset.c (do_test): Likewise.
28179 * benchtests/bench-memset-large.c: Print output in JSON
28181 * benchtests/bench-memset.c: Likewise.
28183 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28186 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28187 * iconvdata/Makefile: Add IBM858.
28188 * iconvdata/gconv-modules: Likewise.
28189 * iconvdata/tst-tables.sh: Likewise.
28190 * iconvdata/ibm858.c: New file.
28191 * localedata/charmaps/IBM858: Likewise.
28193 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28196 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28197 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28199 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28202 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28203 and add tel_int_fmt.
28205 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28207 * sysdeps/generic/libm-alias-float128.h: New file.
28208 * sysdeps/generic/math-type-macros-float128.h: Include
28209 <libm-alias-float128.h>.
28210 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28212 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28214 * sysdeps/generic/libm-alias-ldouble.h: New file.
28215 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28216 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28217 * sysdeps/generic/math-type-macros-ldouble.h: Include
28218 <libm-alias-ldouble.h>.
28219 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28220 libm_alias_ldouble.
28222 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28224 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28225 * math/w_exp_compat.c: ... here.
28226 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28227 * math/w_expf_compat.c: ... here.
28228 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28229 * math/w_expl_compat.c: ... here.
28230 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28231 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28232 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28233 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28235 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28237 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28239 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28241 (ldexpl): Only define as compat symbol for libc, not libm.
28242 (scalbnl): Define as compat symbol for libc here.
28243 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28244 define for [IS_IN (libc)].
28245 (__ldexpl_2): Remove alias.
28246 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28247 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28248 name in long_double_symbol call.
28249 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28250 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28251 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28252 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28253 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28255 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28256 Define as compat symbol.
28258 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28260 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28261 * sysdeps/unix/sysv/linux/alpha/Makefile
28262 [$(subdir) = csu] (sysdep_routines): Remove rule.
28264 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28266 * sysdeps/generic/libm-alias-double.h: New file.
28267 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28268 * sysdeps/generic/math-type-macros-double.h: Include
28269 <libm-alias-double.h>.
28270 [declare_mgen_alias] (declare_mgen_alias): Define to use
28272 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28273 (M_LIBM_NEED_COMPAT): Remove macro.
28274 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28275 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28276 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28278 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28279 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28280 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28281 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28282 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28283 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28284 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28285 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28286 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28287 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28288 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28289 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28290 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28291 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28292 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28293 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28294 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28295 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28296 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28297 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28298 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28299 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28300 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28301 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28302 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28303 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28304 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28305 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28306 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28308 (declare_mgen_alias): New macro.
28309 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28310 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28312 (M_LIBM_NEED_COMPAT): Remove macro.
28313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28314 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28315 <first-versions.h>.
28316 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28317 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28319 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28321 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28322 (declare_mgen_alias_2): Remove.
28323 * sysdeps/generic/math-type-macros-double.h
28324 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28326 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28328 (ldexp): Define with declare_mgen_alias.
28329 (scalbn): Likewise.
28331 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28333 * grp/initgroups.c: Include config.h.
28334 (DEFAULT_CONFIG): New macro.
28335 (internal_getgrouplist): Use DEFAULT_CONFIG.
28336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28337 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28338 (DEFAULT_DEFCONFIG): New macro.
28339 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28340 * nss/grp-lookup.c: Include config.h
28341 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28342 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28343 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28344 * manual/nss.texi: Update default values section.
28346 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28349 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28351 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28352 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28353 Handle MathVec_Prefer_No_AVX512.
28354 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28355 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28358 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28360 * posix/sched_primax.c (__sched_get_priority_max): Add
28362 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28363 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28364 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28365 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28366 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28367 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28368 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28369 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28372 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28374 * sysdeps/generic/libm-alias-float.h: New file.
28375 * sysdeps/generic/math-type-macros-float.h: Include
28376 <libm-alias-float.h>.
28377 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28379 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28382 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28383 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28384 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28385 (HWCAP_IMPORTANT): Likewise.
28386 (HWCAP_X86_64): New enum.
28387 (HWCAP_X86_AVX512_1): Updated.
28388 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28389 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28390 (modules-names): Add x86_64/tst-x86_64mod-1.
28391 (LDFLAGS-tst-x86_64mod-1.so): New.
28392 ($(objpfx)tst-x86_64-1): Likewise.
28393 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28394 (tst-x86_64-1-clean): Likewise.
28395 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28396 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28398 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28400 * po/sv.po: Update translations.
28401 * po/fr.po: Likewise.
28403 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28405 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28407 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28409 * elf/rtld-Rules: Fix $(error) use.
28411 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28414 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28415 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28416 * localedata/locales/bn_BD: “Bengali” was still used in some
28417 comments. Change it to “Bangla”.
28419 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28421 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28423 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28425 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28426 thunderx2t99p1 to list of cpu names.
28427 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28428 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28430 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28432 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28433 Use strcmp instead of tunable_is_name.
28435 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28437 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28438 (F_GET_RW_HINT): New macro.
28439 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28440 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28441 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28442 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28443 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28444 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28445 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28446 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28447 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28449 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28450 (F_ADD_SEALS): New macro.
28451 [__USE_GNU] (F_GET_SEALS): Likewise.
28452 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28453 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28454 [__USE_GNU] (F_SEAL_GROW): Likewise.
28455 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28457 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28459 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28460 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28461 * posix/glob_internal.h (__glob_pattern_type):
28462 * posix/glob.c (glob):
28463 * posix/glob_pattern_p.c (__glob_pattern_p):
28466 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28467 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28468 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28469 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28470 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28472 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28473 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28474 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28475 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28476 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28477 * sysdeps/wordsize-64/glob.c: Likewise.
28478 * sysdeps/wordsize-64/glob64.c: Likewise.
28479 * sysdeps/wordsize-64/globfree.c: Likewise.
28480 * sysdeps/wordsize-64/globfree64.c: Likewise.
28481 * sysdeps/unix/sysv/linux/glob.c: New file.
28482 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28483 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28484 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28485 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28486 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28487 adds !GLOB_NO_OLD_VERSION as an extra condition.
28488 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28489 using relative path instead of absolute one.
28490 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28491 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28492 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28493 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28494 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28495 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28498 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28499 (glob): Use the same scratch buffer for both getlogin_r and
28500 getpwnam_r. Don’t require preallocation of the login name. This
28501 simplifies storage allocation, and corrects the handling of
28505 * posix/glob.c (glob): Port recent patches to platforms
28506 lacking getpwnam_r.
28507 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28508 returns an error number rather than setting errno.
28510 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28511 instead of GCC extension.
28512 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28513 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28514 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28518 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28519 * posix/bug-glob1.c: Remove file.
28520 * posix/tst-glob_symlinks.c: New file.
28521 * posix/glob.c (__lstat64): New macro.
28522 (is_dir): New function.
28523 (glob, glob_in_dir): Match symlinks even if they are dangling.
28524 (link_stat, link_exists_p): Remove. All uses removed.
28528 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28529 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28534 * posix/Makefile (routines): Add globfree, globfree64, and
28536 * posix/flexmember.h: New file.
28537 * posix/glob_internal.h: Likewise.
28538 * posix/glob_pattern_p.c: Likewise.
28539 * posix/globfree.c: Likewise.
28540 * posix/globfree64.c: Likewise.
28541 * sysdeps/gnu/globfree64.c: Likewise.
28542 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28543 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28544 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28545 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28546 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28547 * sysdeps/wordsize-64/globfree.c: Likewise.
28548 * sysdeps/wordsize-64/globfree64.c: Likewise.
28549 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28550 [NDEBUG): Remove comments.
28551 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28552 (dirent_type): New type. Use uint_fast8_t not
28553 uint8_t, as C99 does not require uint8_t.
28554 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28555 (struct readdir_result): Use dirent_type. Do not define skip_entry
28556 unless it is needed; this saves a byte on platforms lacking d_ino.
28557 (readdir_result_type, readdir_result_skip_entry):
28558 New functions, replacing ...
28559 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28560 these functions, which were removed. This makes the callers
28561 easier to read. All callers changed.
28562 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28563 (size_add_wrapv, glob_use_alloca): New static functions.
28564 (glob, glob_in_dir): Check for size_t overflow in several places,
28565 and fix some size_t checks that were not quite right.
28566 Remove old code using SHELL since Bash no longer
28568 (glob, prefix_array): Separate MS code better.
28569 (glob_in_dir): Remove old Amiga and VMS code.
28570 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28572 (glob_in_dir): Do not rely on undefined behavior in accessing
28573 struct members beyond their bounds. Use a flexible array member
28575 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28576 0/1. Caller changed.
28577 (glob): Fix memory leaks.
28578 * posix/glob64 (globfree64): Move to separate file.
28579 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28580 (globfree64): Remove hidden alias.
28581 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28583 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28585 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28587 Move compat code to separate file.
28588 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28591 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28593 * resolv/tst-resolv-qtypes.c (domain): Changed to
28594 "const char domain[] =".
28596 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28598 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28601 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28602 (TCP_MD5SIG_EXT): Likewise.
28603 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28604 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28605 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28607 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28609 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28611 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28613 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28616 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28618 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28620 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28621 before assuming that the file is empty. Avoid testing buffer content
28624 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28627 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28629 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28631 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28633 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28635 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28637 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28639 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28642 2017-09-06 Florian Weimer <fweimer@redhat.com>
28644 * malloc/dynarray_emplace_enlarge.c
28645 (__libc_dynarray_emplace_enlarge): Add missing else.
28647 2017-09-06 Florian Weimer <fweimer@redhat.com>
28650 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28651 case of failure to obtain the global conf object.
28653 2017-09-06 Florian Weimer <fweimer@redhat.com>
28656 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28657 dynarray allocation failure.
28659 2017-09-06 Florian Weimer <fweimer@redhat.com>
28661 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28662 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28663 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28665 (response): Call them. Add 'p', '6' flag processing.
28666 (test_reverse): New function.
28667 (test_get2_any): Call it.
28668 (test_no_inet6): Add 'p' test.
28669 (test_inet6): Likewise.
28671 2017-09-06 Florian Weimer <fweimer@redhat.com>
28673 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28674 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28676 (test_gai): Adjust query names. Add additional tests.
28677 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28678 test_get2. Adjust query names. Add additional tests.
28679 (test_no_inet6): New function, extracted from threadfunc.
28680 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28681 Add additional tests.
28683 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28686 * localedata/unicode-gen/utf8_gen.py: Set the width for
28687 characters with Prepended_Concatenation_Mark property to 1
28688 * localedata/charmaps/UTF-8: Updated using the improved script.
28690 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28693 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28694 use the range notation for all ranges of neighbouring characters
28695 with the same width.
28697 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28699 * sysdeps/generic/math-type-macros-double.h: Include
28700 <math-svid-compat.h>.
28701 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28702 * sysdeps/generic/math-type-macros-float.h: Include
28703 <math-svid-compat.h>.
28704 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28705 * sysdeps/generic/math-type-macros-ldouble.h: Include
28706 <math-svid-compat.h>.
28707 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28708 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28710 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28711 * math/w_acosf_compat.c: Likewise.
28712 * math/w_acosh_compat.c: Likewise.
28713 * math/w_acoshf_compat.c: Likewise.
28714 * math/w_acoshl_compat.c: Likewise.
28715 * math/w_acosl_compat.c: Likewise.
28716 * math/w_asin_compat.c: Likewise.
28717 * math/w_asinf_compat.c: Likewise.
28718 * math/w_asinl_compat.c: Likewise.
28719 * math/w_atan2_compat.c: Likewise.
28720 * math/w_atan2f_compat.c: Likewise.
28721 * math/w_atan2l_compat.c: Likewise.
28722 * math/w_atanh_compat.c: Likewise.
28723 * math/w_atanhf_compat.c: Likewise.
28724 * math/w_atanhl_compat.c: Likewise.
28725 * math/w_cosh_compat.c: Likewise.
28726 * math/w_coshf_compat.c: Likewise.
28727 * math/w_coshl_compat.c: Likewise.
28728 * math/w_exp10_compat.c: Likewise.
28729 * math/w_exp10f_compat.c: Likewise.
28730 * math/w_exp10l_compat.c: Likewise.
28731 * math/w_exp2_compat.c: Likewise.
28732 * math/w_exp2f_compat.c: Likewise.
28733 * math/w_exp2l_compat.c: Likewise.
28734 * math/w_fmod_compat.c: Likewise.
28735 * math/w_fmodf_compat.c: Likewise.
28736 * math/w_fmodl_compat.c: Likewise.
28737 * math/w_hypot_compat.c: Likewise.
28738 * math/w_hypotf_compat.c: Likewise.
28739 * math/w_hypotl_compat.c: Likewise.
28740 * math/w_j0_compat.c: Likewise.
28741 * math/w_j0f_compat.c: Likewise.
28742 * math/w_j0l_compat.c: Likewise.
28743 * math/w_j1_compat.c: Likewise.
28744 * math/w_j1f_compat.c: Likewise.
28745 * math/w_j1l_compat.c: Likewise.
28746 * math/w_jn_compat.c: Likewise.
28747 * math/w_jnf_compat.c: Likewise.
28748 * math/w_jnl_compat.c: Likewise.
28749 * math/w_lgamma_r_compat.c: Likewise.
28750 * math/w_lgammaf_r_compat.c: Likewise.
28751 * math/w_lgammal_r_compat.c: Likewise.
28752 * math/w_log10_compat.c: Likewise.
28753 * math/w_log10f_compat.c: Likewise.
28754 * math/w_log10l_compat.c: Likewise.
28755 * math/w_log2_compat.c: Likewise.
28756 * math/w_log2f_compat.c: Likewise.
28757 * math/w_log2l_compat.c: Likewise.
28758 * math/w_log_compat.c: Likewise.
28759 * math/w_logf_compat.c: Likewise.
28760 * math/w_logl_compat.c: Likewise.
28761 * math/w_pow_compat.c: Likewise.
28762 * math/w_powf_compat.c: Likewise.
28763 * math/w_powl_compat.c: Likewise.
28764 * math/w_remainder_compat.c: Likewise.
28765 * math/w_remainderf_compat.c: Likewise.
28766 * math/w_remainderl_compat.c: Likewise.
28767 * math/w_sinh_compat.c: Likewise.
28768 * math/w_sinhf_compat.c: Likewise.
28769 * math/w_sinhl_compat.c: Likewise.
28770 * math/w_sqrt_compat.c: Likewise.
28771 * math/w_sqrtf_compat.c: Likewise.
28772 * math/w_sqrtl_compat.c: Likewise.
28773 * math/w_tgamma_compat.c: Likewise.
28774 * math/w_tgammaf_compat.c: Likewise.
28775 * math/w_tgammal_compat.c: Likewise.
28776 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28777 [LIBM_SVID_COMPAT].
28778 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28779 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28780 [LIBM_SVID_COMPAT].
28781 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28782 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28783 [LIBM_SVID_COMPAT].
28784 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28785 * sysdeps/i386/fpu/w_sqrt.c: New file.
28786 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28787 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28788 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28789 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28790 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28791 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28792 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28793 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28794 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28795 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28796 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28797 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28798 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28799 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28800 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28801 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28802 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28803 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28804 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28805 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28806 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28807 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28808 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28809 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28810 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28811 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28812 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28813 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28814 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28815 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28816 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28817 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28818 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28819 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28820 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28821 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28822 * sysdeps/ia64/fpu/w_log.c: Likewise.
28823 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28824 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28825 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28826 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28827 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28828 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28829 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28830 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28831 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28832 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28833 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28834 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28835 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28836 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28837 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28838 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28839 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28840 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28841 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28842 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28843 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28844 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28845 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28846 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28847 [LIBM_SVID_COMPAT].
28848 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28849 * sysdeps/ieee754/k_standard.c: Likewise.
28850 * sysdeps/ieee754/k_standardf.c: Likewise.
28851 * sysdeps/ieee754/k_standardl.c: Likewise.
28852 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28853 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28854 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28855 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28856 long_double_symbol call on [LIBM_SVID_COMPAT].
28857 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28858 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28859 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28860 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28861 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28862 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28863 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28864 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28865 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28866 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28867 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28868 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28869 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28870 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28871 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28872 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28873 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28874 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28875 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28876 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28877 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28878 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28880 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28882 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28883 * malloc/tst-mallocstate.c: Convert from test-skeleton
28884 to test-driver. Ifdef code using TEST_COMPAT macro.
28885 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28886 * math/test-matherr.c: Likewise.
28888 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28891 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28892 comparing word with byte-swapped constant.
28894 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28897 * locale/iso-639.def: add Miskito.
28898 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28899 * localedata/locales/miq_NI: New file.
28901 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28904 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28905 (__mkdir): Likewise.
28906 * io/chmod.c (__chmod): Add libc_hidden_def.
28907 * io/mkdir.c (__mkdir): Likewise.
28908 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28909 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28910 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28911 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28913 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28915 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28919 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28920 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28922 2017-09-04 Florian Weimer <fweimer@redhat.com>
28924 * math/math.h: Issue warning if log is defined.
28926 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28928 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28929 kernel version to 4.13.
28931 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28933 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28934 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28936 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28937 just <bits/types.h>.
28938 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28939 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28940 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28941 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28942 * misc/preadv2.c: Include <errno.h>.
28943 * misc/preadv64v2.c: Include <errno.h>.
28944 * misc/pwritev2.c: Include <errno.h>.
28945 * misc/pwritev64v2.c: Include <errno.h>.
28946 * sysdeps/posix/preadv2.c: Include <errno.h>.
28947 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28948 Fix <unistd.h> inclusion.
28949 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28950 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28951 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28952 __strtoul_internal): New functions.
28953 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28954 * sysdeps/posix/system.c: Include <sigsetops.h>.
28955 * sysdeps/mach/hurd/i386/Makefile
28956 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28957 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28958 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28959 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28960 __feraiseexcept_renamed to feraiseexcept instead of
28961 __GI_feraiseexcept.
28962 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28963 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28964 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28965 RWF_NOWAIT): Define to 0 if undefined already.
28966 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28968 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28969 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28971 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28973 * manual/math.texi (pow10): Do not document.
28974 (pow10f): Likewise.
28975 (pow10l): Likewise.
28976 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28977 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28978 * math/libm-test-exp10.inc (pow10_test): Remove.
28979 (do_test): Do not call pow10.
28980 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28981 [NO_LONG_DOUBLE] (pow10l): Likewise.
28982 * math/w_exp10f_compat.c (pow10f): Likewise.
28983 * math/w_exp10l_compat.c (pow10l): Likewise.
28984 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28985 (pow10): Make into compat symbol.
28986 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28987 (pow10f): Make into compat symbol.
28988 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28989 (pow10l): Make into compat symbol.
28990 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28992 (CFLAGS-nldbl-pow10.c): Remove variable..
28993 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28994 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28995 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28996 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28997 Undefine and redefine.
28998 (pow10l): Make into compat symbol.
28999 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29000 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29001 * sysdeps/arm/libm-test-ulps: Likewise.
29002 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29003 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29004 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29005 * sysdeps/microblaze/libm-test-ulps: Likewise.
29006 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29007 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29008 * sysdeps/nios2/libm-test-ulps: Likewise.
29009 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29010 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29011 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29012 * sysdeps/sh/libm-test-ulps: Likewise.
29013 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29014 * sysdeps/tile/libm-test-ulps: Likewise.
29015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29017 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29019 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29021 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29023 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29024 "../ChangeLog.old/ChangeLog.8".
29025 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29026 "../ChangeLog.old/ChangeLog.14".
29028 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29030 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29033 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29035 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29037 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29039 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29040 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29042 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29044 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29045 32 atexit handlers.
29047 2017-09-01 Zack Weinberg <zackw@panix.com>
29049 * math/math.h (HUGE_VAL): Improve commentary.
29051 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29052 Andreas Schwab <schwab@suse.de>
29055 * include/stdio.h (__gen_tempfd): New function.
29056 * stdio-common/Makefile (routines): Add gentempfd.
29057 * stdio-common/gentempfd.c: New file.
29058 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29059 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29060 unnamed file first.
29062 2017-09-01 Florian Weimer <fweimer@redhat.com>
29066 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29067 result to determine success or failure, not the errno value.
29068 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29069 (tst-nss-files-hosts-erange): Link with -ldl.
29070 * nss/tst-nss-files-hosts-erange.c: New file.
29071 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29072 (do_test): Add NO_DATA tests.
29073 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29074 (do_test): Call it.
29076 2017-09-01 Florian Weimer <fweimer@redhat.com>
29079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29080 coming from gethostbyname2_r.
29082 2017-09-01 Florian Weimer <fweimer@redhat.com>
29084 * support/namespace.h (struct support_chroot_configuration): Add
29086 (struct support_chroot): Add path_hosts, path_host_conf.
29087 * support/support_chroot.c (write_file): New function.
29088 (support_chroot_create): Call it to process /etc/resolv.conf,
29089 /etc/hosts, /etc/host.conf.
29090 (support_chroot_free): Update.
29092 2017-09-01 Florian Weimer <fweimer@redhat.com>
29094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29095 status indicates it is set.
29097 2017-09-01 Florian Weimer <fweimer@redhat.com>
29100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29101 function lookup failures more reliable.
29103 2017-09-01 Florian Weimer <fweimer@redhat.com>
29105 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29106 (getcanonname): Likewise.
29107 (gaih_inet): Likewise.
29109 2017-09-01 Florian Weimer <fweimer@redhat.com>
29111 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29112 (getcanonname): Likewise.
29113 (gaih_inet): Likewise.
29115 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29116 Richard Henderson <rth@twiddle.net>
29118 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29119 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29120 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29121 (IREG_SIZE, OREG_SIZE): New macros.
29122 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29123 (IREG_SIZE, OREG_SIZE): New macros.
29124 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29125 (IREG_SIZE): New macro.
29126 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29127 (IREG_SIZE): New macro.
29128 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29130 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29131 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29132 (__CONCATX): Handle exceptions correctly on large values that may
29134 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29135 Initialize if not already set.
29136 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29138 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29140 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29141 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29143 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29145 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29147 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29149 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29151 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29153 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29155 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29156 (NO_CANCELLATION): Likewise.
29157 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29159 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29161 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29163 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29164 (NO_CANCELLATION): Likewise.
29165 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29166 (NO_CANCELLATION): Likewise.
29167 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29169 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29171 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29173 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29175 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29177 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29178 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29180 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29182 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29185 2017-08-31 Florian Weimer <fweimer@redhat.com>
29187 * include/libc-symbols.h (internal_function): Remove.
29189 2017-08-31 Florian Weimer <fweimer@redhat.com>
29191 * stdlib/fmtmsg.c (internal_addseverity): Remove
29194 2017-08-31 Florian Weimer <fweimer@redhat.com>
29196 * stdio-common/printf_fp.c (group_number): Remove
29198 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29200 2017-08-31 Florian Weimer <fweimer@redhat.com>
29202 * posix/fnmatch.c (internal_function): Remove definition.
29203 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29204 * posix/regcomp.c (peek_token, init_word_char)
29205 (duplicate_node_closure, fetch_token, peek_token)
29206 (peek_token_bracket, build_range_exp, build_collating_symbol):
29208 * posix/regex_internal.c (re_string_construct_common)
29209 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29210 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29211 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29212 (re_string_translate_buffer, re_string_reconstruct)
29213 (re_string_peek_byte_case, re_string_fetch_byte_case)
29214 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29215 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29216 (re_node_set_add_intersect, re_node_set_init_union)
29217 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29218 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29219 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29220 (re_acquire_state_context): Likewise.
29221 * posix/regex_internal.h (internal_function): Remove definition.
29222 (re_string_realloc_buffers, build_wcs_buffer)
29223 (build_wcs_upper_buffer, build_upper_buffer)
29224 (re_string_translate_buffer, re_string_context_at)
29225 (re_string_char_size_at, re_string_wchar_at)
29226 (re_string_elem_size_at): Likewise.
29227 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29228 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29229 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29230 (re_search_internal, re_search_2_stub, re_search_stub)
29231 (re_copy_regs, prune_impossible_nodes, check_matching)
29232 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29233 (free_fail_stack_return, sift_states_iter_mb)
29234 (sift_states_backward, build_sifted_states)
29235 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29236 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29237 (check_subexp_limits, sift_states_bkref, merge_state_array)
29238 (find_recover_state, transit_state, merge_state_with_log)
29239 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29240 (transit_state_mb, transit_state_bkref, get_subexp)
29241 (get_subexp_sub, find_subexp_node, check_arrival)
29242 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29243 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29244 (check_node_accept_bytes, find_collation_sequence_value)
29245 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29246 (acquire_init_state_context, check_halt_node_context)
29247 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29248 (sub_epsilon_src_nodes): Likewise.
29249 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29250 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29251 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29252 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29253 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29254 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29255 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29256 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29257 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29258 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29259 (PREADV): Likewise.
29260 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29261 (PREADV): Likewise.
29262 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29263 (PWRITEV): Likewise.
29264 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29265 (PWRITEV): Likewise.
29266 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29267 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29269 2017-08-31 Florian Weimer <fweimer@redhat.com>
29271 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29272 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29273 Remove internal_function.
29274 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29275 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29276 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29277 (__deallocate_stack, __libc_pthread_init)
29278 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29279 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29280 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29282 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29283 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29284 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29286 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29287 (__pthread_mutex_unlock_usercnt): Likewise.
29289 2017-08-31 Florian Weimer <fweimer@redhat.com>
29291 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29292 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29293 (fts_safe_changedir): Remove internal_function.
29294 * io/ftw.c (internal_function): Remove definition.
29295 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29297 2017-08-31 Florian Weimer <fweimer@redhat.com>
29299 * inet/deadline.c (__deadline_current_time)
29300 (__deadline_from_timeval, __deadline_to_ms): Remove
29302 * inet/getnameinfo.c (nrl_domainname): Likewise.
29303 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29304 * inet/inet6_option.c (add_pad): Likewise.
29305 * inet/net-internal.h (__deadline_current_time)
29306 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29307 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29308 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29309 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29311 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29313 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29314 include <bits/nan.h>.
29315 * math/Makefile (headers): Remove bits/nan.h.
29316 * bits/nan.h: Remove.
29317 * sysdeps/ieee754/bits/nan.h: Likewise.
29318 * sysdeps/mips/bits/nan.h: Likewise.
29320 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29321 not include <bits/inf.h>.
29322 * math/Makefile (headers): Remove bits/inf.h.
29323 * bits/inf.h: Remove.
29324 * sysdeps/ieee754/bits/inf.h: Likewise.
29326 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29327 bits/huge_vall.h or bits/huge_val_flt128.h.
29328 (HUGE_VAL): Define directly here.
29329 [__USE_ISOC99] (HUGE_VALF): Likewise.
29330 [__USE_ISOC99] (HUGE_VALL): Likewise.
29331 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29332 (HUGE_VAL_F128): Likewise.
29333 * math/Makefile (headers): Remove bits/huge_val.h,
29334 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29335 * bits/huge_val.h: Remove.
29336 * bits/huge_val_flt128.h: Likewise.
29337 * bits/huge_valf.h: Likewise.
29338 * bits/huge_vall.h: Likewise.
29339 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29340 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29341 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29342 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29343 * sysdeps/sh/bits/huge_val.h: Likewise.
29344 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29345 * sysdeps/x86/bits/huge_vall.h: Likewise.
29347 2017-08-31 Florian Weimer <fweimer@redhat.com>
29349 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29351 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29353 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29354 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29355 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29356 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29357 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29358 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29359 * elf/dl-libc.c (dlerror_run): Likewise.
29360 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29361 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29362 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29363 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29365 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29366 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29367 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29368 * elf/dl-profile.c (_dl_start_profile): Likewise.
29369 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29370 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29372 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29373 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29374 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29375 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29376 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29377 (_dl_allocate_tls_storage): Likewise.
29378 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29379 (_dl_check_all_versions): Likewise.
29380 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29381 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29382 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29383 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29384 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29385 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29386 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29387 internal_function from __dl_start.
29388 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29389 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29390 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29391 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29392 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29393 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29394 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29395 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29396 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29397 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29398 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29399 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29400 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29401 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29402 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29404 (struct rtld_global_ro): Remove internal_function from the
29405 _dl_lookup_symbol_x member.
29406 (_dl_symbol_value): Remove. No longer defined anywhere.
29407 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29409 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29410 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29411 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29412 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29413 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29414 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29415 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29416 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29417 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29418 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29419 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29420 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29422 2017-08-31 Florian Weimer <fweimer@redhat.com>
29424 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29425 Remove internal_function.
29426 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29428 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29431 2017-08-31 Florian Weimer <fweimer@redhat.com>
29433 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29434 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29435 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29437 2017-08-31 Florian Weimer <fweimer@redhat.com>
29439 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29440 (__gai_enqueue_request): Remove internal_function.
29441 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29442 (__gai_remove_request, __gai_notify, __gai_notify_only)
29443 (__gai_sigqueue): Likewise.
29444 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29445 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29446 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29447 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29450 2017-08-31 Florian Weimer <fweimer@redhat.com>
29452 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29453 * include/dirent.h (__opendirat, __getdents, __getdents64)
29454 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29455 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29456 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29457 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29459 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29461 2017-08-31 Florian Weimer <fweimer@redhat.com>
29463 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29465 (GETCWD_RETURN_TYPE): Likewise.
29467 2017-08-31 Florian Weimer <fweimer@redhat.com>
29469 * include/time.h (__tz_compute, __strptime_internal): Remove
29471 * time/strptime_l.c (__strptime_internal): Likewise.
29472 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29474 2017-08-31 Florian Weimer <fweimer@redhat.com>
29476 * iconv/gconv.c (__gconv): Remove internal_function.
29477 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29478 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29479 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29480 (__gconv_release_cache): Likewise.
29481 * iconv/gconv_close.c (__gconv_close): Likewise.
29482 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29483 (read_conf_file, __gconv_get_path): Likewise.
29484 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29485 (__gconv_release_step, gen_steps, increment_counter)
29486 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29487 (__gconv_close_transform, free_modules_db): Likewise.
29488 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29490 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29491 (__gconv_find_transform, __gconv_lookup_cache)
29492 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29493 (__gconv_close_transform, __gconv_release_cache)
29494 (__gconv_loaded_object, __gconv_release_shlib)
29495 (__gconv_compare_alias): Likewise.
29496 * iconv/gconv_open.c (__gconv_open): Likewise.
29497 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29498 * iconv/iconvconfig.c (add_module): Likewise.
29499 * intl/dcigettext.c (plural_lookup, guess_category_value)
29500 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29501 * intl/eval-plural.h (plural_eval): Likewise.
29502 * intl/finddomain.c (_nl_find_domain): Likewise.
29503 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29504 (_nl_load_domain, _nl_find_msg): Likewise.
29505 (internal_function): Remove definition.
29506 * intl/loadinfo.h (internal_function): Likewise.
29507 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29509 * intl/localealias.c (internal_function): Remove definition.
29510 (read_alias_file): Remove internal_function.
29511 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29512 * intl/plural-exp.h (internal_function): Remove definition.
29513 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29515 * intl/plural.c: Regenerate.
29516 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29517 * locale/coll-lookup.c (__collidx_table_lookup)
29518 (__collseq_table_lookup): Likewise.
29519 * locale/coll-lookup.h (__collidx_table_lookup)
29520 (__collseq_table_lookup): Likewise.
29521 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29522 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29523 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29524 (_nl_unload_locale): Likewise.
29525 * locale/localeinfo.h (struct __locale_data): Remove
29526 internal_function from cleanup member.
29527 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29528 (_nl_remove_locale, _nl_load_locale_from_archive)
29529 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29530 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29531 (_nl_cleanup_time): Remove internal_function.
29532 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29533 (_nl_parse_alt_digit): Likewise.
29534 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29535 (_nl_select_era_entry): Likewise.
29536 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29537 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29538 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29539 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29540 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29542 2017-08-31 Florian Weimer <fweimer@redhat.com>
29544 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29545 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29546 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29547 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29549 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29550 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29551 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29552 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29554 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29556 2017-08-31 Florian Weimer <fweimer@redhat.com>
29558 * misc/getttyent.c (skip, value): Remove internal_function.
29559 * misc/syslog.c (openlog_internal): Likewise.
29560 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29562 2017-08-31 Florian Weimer <fweimer@redhat.com>
29564 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29565 (__nss_rewrite_field): Remove internal_function.
29566 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29567 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29568 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29569 * nss/nsswitch.c (nss_parse_file, nss_getline)
29570 (nss_parse_service_list, nss_new_service): Likewise.
29571 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29572 * nss/valid_field.c (__nss_valid_field): Likewise.
29573 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29575 2017-08-31 Florian Weimer <fweimer@redhat.com>
29577 * malloc/arena.c (__malloc_fork_lock_parent)
29578 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29579 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29580 internal_function from defintions.
29581 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29582 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29583 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29584 internal_function from declarations.
29585 * malloc/malloc.c (internal_function): Do not define.
29586 (mem2mem_check): Remove internal_function from declaration.
29587 (munmap_chunk, mremap_chunk): Remove internal_function.
29588 * malloc/mtrace.c (tr_where): Likewise.
29590 2017-08-31 Florian Weimer <fweimer@redhat.com>
29592 * include/rpc/pmap_clnt.h (__get_socket): Remove
29594 * sunrpc/auth_des.c (synchronize): Likewise.
29595 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29596 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29597 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29598 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29599 (key_call): Likewise.
29600 * sunrpc/pm_getport.c (__get_socket): Likewise.
29601 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29602 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29603 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29604 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29605 (invalidate): Likewise.
29606 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29607 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29608 (set_input_fragment, get_input_bytes): Likewise.
29610 2017-08-31 Florian Weimer <fweimer@redhat.com>
29612 * malloc/malloc.c (_int_free): Remove locked variable and related
29615 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29618 * Makerules (build-module-helper-objlist): Filter out
29619 $(elf-objpfx)sofini.os.
29620 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29623 2017-08-31 Florian Weimer <fweimer@redhat.com>
29625 * libio/fcloseall.c: Assume weak_alias is defined.
29626 * libio/feof.c: Likewise.
29627 * libio/fileno.c: Likewise.
29628 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29629 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29631 (_IO_file_open): Call __open directly.
29632 (_IO_new_file_sync): Assume ESPIPE is defined.
29633 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29634 (_IO_new_file_write): Call __write directly.
29635 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29636 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29637 * libio/genops.c: Assume _LIBC is defined.
29638 (save_for_backup): Remove internal_function.
29639 * libio/getc.c: Assume weak_alias is defined.
29640 * libio/getwc.c: Likewise.
29641 * libio/iofclose.c: Assume _LIBC is defined.
29642 * libio/iofdopen.c: Likewise.
29643 (_IO_fcntl): Remove macro definition.
29644 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29645 Call __fcntl directly.
29646 * libio/iofflush.c: Assume weak_alias is defined.
29647 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29649 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29650 * libio/iofgets.c: Likewise.
29651 * libio/iofopen.c: Assume _LIBC is defined.
29652 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29653 * libio/iofputs.c: Assume weak_alias is defined.
29654 * libio/iofread.c: Likewise.
29655 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29656 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29657 * libio/ioftell.c: Assume weak_alias is defined.
29658 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29659 * libio/iofwide.c: Assume _LIBC is defined.
29660 (_IO_fwide): Drop SHARED conditional because it is implied by
29662 * libio/iofwrite.c: Assume weak_alias is defined.
29663 * libio/iogetdelim.c: Likewise.
29664 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29665 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29666 (_IO_getwline): Call __wmemcpy directly.
29667 * libio/iopopen.c: Assume _LIBC is defined.
29668 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29669 (_IO_close): Remove macro definitions.
29670 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29672 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29674 * libio/ioputs.c: Assume weak_alias is defined.
29675 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29676 * libio/iosetbuffer.c: Assume weak_alias is defined.
29677 * libio/iosetvbuf.c: Likewise.
29678 * libio/ioungetc.c: Likewise.
29679 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29680 libc_hidden_def, libc_hidden_weak, NULL are defined.
29681 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29682 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29684 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29686 (_IO_old_file_init_internal): Drop SHARED conditional because it
29687 is implied by SHLIB_COMPAT.
29688 (_IO_old_file_fopen): Call __open directly.
29689 (_IO_old_file_sync): Assume ESPIPE is defined.
29690 (_IO_old_file_write): Call __write directly.
29691 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29692 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29693 Call __fcntl directly.
29694 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29695 (_IO_old_fgetpos): Assume EIO is defined.
29696 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29697 (_IO_old_fgetpos64): Assume EIO is defined.
29698 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29699 (_IO_old_fsetpos): Assume EIO is defined.
29700 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29701 (_IO_old_fsetpos64): Assume EIO is defined.
29702 * libio/oldiopopen.c: Assume _LIBC is defined.
29703 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29704 (_IO_close): Remove macro definitions.
29705 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29707 (_IO_old_proc_close): Call __close, __waitpid directly.
29708 * libio/put.c: Assume weak_alias is defined.
29709 * libio/stdfiles.c: Assume _LIBC is defined.
29710 * libio/stdio.c: Likewise.
29711 * libio/wfileops.c: Likewise.
29712 (_IO_wfile_sync): Assume ESPIPE is defined.
29713 * libio/wgenops.c: Assume _LIBC is defined.
29714 (save_for_wbackup): Remove internal_function.
29716 2017-08-31 Florian Weimer <fweimer@redhat.com>
29718 * malloc/malloc.c (top_check): Change return type to void. Remove
29720 * malloc/hooks.c (top_check): Likewise.
29721 (malloc_check, realloc_check, memalign_check): Adjust.
29723 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29726 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29727 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29728 sigcontext and namespace requirements.
29729 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29730 * sysdeps/m68k/sys/ucontext.h: Likewise.
29731 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29732 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29733 <bits/sigcontext.h>.
29734 (__ctx): Define earlier.
29735 (mcontext_t): Define structure contents rather than using struct
29737 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29738 __glibc_reserved1 instead of __reserved.
29739 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29740 <bits/sigcontext.h>.
29741 (__ctx): Define earlier.
29742 (mcontext_t): Define structure contents rather than using struct
29744 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29745 mcontext_t instead of struct sigcontext.
29746 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29747 <bits/sigcontext.h>.
29748 (__ctx): Define earlier.
29749 (mcontext_t): Define structure contents rather than using struct
29751 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29752 <bits/sigcontext.h>.
29753 (__ctx): Define earlier.
29754 (mcontext_t): Define structure contents rather than using struct
29756 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29757 mcontext_t instead of struct sigcontext.
29758 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29759 mcontext_t instead of struct sigcontext.
29760 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29761 <bits/sigcontext.h>.
29762 (__ctx): New macro.
29763 (struct __ia64_fpreg_mcontext): New type.
29764 (mcontext_t): Define structure contents rather than using struct
29766 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29767 (uc_sigmask): Define using __ctx.
29768 (uc_stack): Likewise.
29769 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29770 <bits/sigcontext.h>.
29771 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29772 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29773 <bits/sigcontext.h>.
29774 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29775 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29776 <bits/sigcontext.h>.
29777 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29778 <bits/sigcontext.h>.
29779 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29780 <bits/sigcontext.h>.
29781 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29782 <bits/sigcontext.h>.
29783 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29784 <bits/sigcontext.h>.
29785 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29786 <bits/sigcontext.h>.
29787 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29788 <bits/sigcontext.h>.
29789 (__ctx): Define earlier.
29790 (mcontext_t): Define structure contents rather than using struct
29792 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29793 <bits/sigcontext.h>. Include <bits/types.h>.
29794 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29795 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29796 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29797 (test-xfail-UNIX98/signal.h/conform): Likewise.
29798 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29799 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29800 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29801 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29802 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29803 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29804 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29805 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29806 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29808 2017-08-30 Florian Weimer <fweimer@redhat.com>
29810 * malloc/dynarray_emplace_enlarge.c
29811 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29812 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29813 * malloc/tst-dynarray.c (test_long_overflow): New function.
29814 (do_test): Call it.
29816 2017-08-30 Florian Weimer <fweimer@redhat.com>
29818 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29819 (set_arena_corrupt): Remove definitions.
29820 (mtrim): Do not check for corrupt arena.
29821 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29824 2017-08-30 Florian Weimer <fweimer@redhat.com>
29827 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29829 (ptmalloc_init): Do not set or use check_action.
29830 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29831 call to malloc_printerr. Remove return statement.
29832 (free_check): Likewise. Remove arena unlock.
29833 (top_check): Update comment. Adjust call to malloc_printerr.
29834 Remove heap repair code.
29835 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29836 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29837 (sysmalloc): Adjust call to malloc_printerr.
29838 (munmap_chunk, __libc_realloc): Likewise. Remove return
29840 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29841 Remove errout label and corresponding gotos.
29842 (_int_free): Likewise. Remove arena unlock.
29843 (do_set_mallopt_check): Do not set check_action.
29844 (malloc_printerr): Adjust parameter list. Do not mark arena as
29846 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29848 * manual/probes.texi (Memory Allocation Probes): Remove
29849 memory_mallopt_check_action.
29851 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29853 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29854 Use pointer to uint64_t instead of long int for sp.
29856 2017-08-30 Florian Weimer <fweimer@redhat.com>
29859 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29860 without printing a backtrace. Do not leak any information in the
29862 * manual/memory.texi (Heap Consistency Checking): Update.
29863 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29865 2017-08-30 Florian Weimer <fweimer@redhat.com>
29867 Do not scale NPTL tests with available number of CPUs.
29868 * nptl/tst-cond16.c (count): Set to constant value of 8.
29869 * nptl/tst-cond18.c (count): Likewise.
29871 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29874 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29875 Define to take a second argument that is a macro that
29876 concatentates a suffix, not the suffix itself.
29877 (__CONCAT_d): New macro.
29878 (__CONCAT_f): Likewise.
29879 (__CONCAT_l): Likewise.
29881 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29883 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29886 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29887 Aurelien Jarno <aurelien@aurel32.net>
29888 Maciej W. Rozycki <macro@imgtec.com>
29891 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29892 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29893 `mips16-syscall6' and `mips16-syscall7'.
29894 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29895 (CFLAGS-mips16-syscall7.c): Remove.
29896 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29897 Remove `__mips16_syscall5', `__mips16_syscall6' and
29898 `__mips16_syscall7'.
29899 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29900 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29901 `__mips_syscall_return'.
29902 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29903 (__mips16_syscall1): Likewise.
29904 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29905 (__mips16_syscall2): Likewise.
29906 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29907 (__mips16_syscall3): Likewise.
29908 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29909 (__mips16_syscall4): Likewise.
29910 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29912 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29914 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29916 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29917 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29918 `__mips16_syscall5'. Remove prototype.
29919 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29920 `__mips16_syscall6'. Remove prototype.
29921 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29922 `__mips16_syscall7'. Remove prototype.
29923 (__nomips16, __mips16_syscall_return): Move to...
29924 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29925 (__nomips16, __mips_syscall_return): ... here.
29926 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29927 `__mips16_syscall_return' to `__mips_syscall_return'.
29928 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29929 `internal_syscall##nr'.
29930 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29931 `internal_syscall##nr'.
29932 (FORCE_FRAME_POINTER): Remove.
29933 (__mips_syscall5): New prototype.
29934 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29935 (__mips_syscall6): New prototype.
29936 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29937 (__mips_syscall7): New prototype.
29938 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29939 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29940 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29941 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29942 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29943 (sysdep_routines): Add libc-do-syscall.
29944 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29945 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29947 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29950 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29951 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29952 (advise_stack_range): New function.
29953 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29954 stack non required to advise_stack_range at allocatestack.c
29956 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29958 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29960 2017-08-29 Florian Weimer <fweimer@redhat.com>
29963 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29964 __end_fct. Mangle __end_fct after setting it to NULL.
29965 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29966 (modules-names, modules-names-tests): Add
29967 tst-gconv-init-failure-mod.
29968 (gconv-modules): New target.
29969 (tst-gconv-init-failure-mod.so): Link against libsupport.
29970 (tst-gconv-init-failure): Depend on gconv-modules,
29971 tst-gconv-init-failure-mod.so.
29972 * iconv/tst-gconv-init-failure-mod.c: New file.
29973 * iconv/tst-gconv-init-failure.c: Likewise.
29974 * iconv/test-gconv-modules: Likewise.
29976 2017-08-29 Florian Weimer <fweimer@redhat.com>
29979 * iconv/gconv_db.c (free_derivation): Remove redundant
29981 (gen_steps): Unconditionally mangle __btowc_fct after
29983 (increment_counter): Likewise. Do not call init_fct for internal
29986 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29989 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29990 (_MSUF_): Remove macro.
29991 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29993 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29994 (__REDIRFROM_X): New macro.
29995 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29997 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29998 (__REDIRTO_X): Likewise.
29999 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30001 (__MATH_REDIRCALL_2): Likewise.
30002 (__MATH_REDIRCALL_INTERNAL): Likewise.
30003 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30004 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30005 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30006 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30007 * math/test-finite-macros.c: New file.
30008 * math/Makefile (tests): Add test-finite-macros.
30009 (CFLAGS-test-finite-macros.c): New variable.
30011 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30012 Jeff Law <law@redhat.com>
30015 Mangle NULL pointers in iconv/gconv.
30016 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30017 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30018 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30019 is non-NULL before demangling the end_fct. Check for NULL
30020 end_fct after demangling.
30021 (__gconv_release_step): Demangle the end_fct before checking
30022 it for NULL. Remove assert on __shlibc_handle != NULL.
30023 (gen_steps): Don't check btowc_fct for NULL before mangling.
30024 Demangle init_fct before checking for NULL.
30025 (increment_counter): Likewise.
30026 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30027 end_fct for NULL before mangling.
30028 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30031 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30034 * locale/iso-639.def: add Morisyen.
30036 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30039 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30040 (iszero): New C++ implementation that does not use
30041 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30042 signaling nans are enabled, since __builtin_types_compatible_p
30043 is a C-only feature.
30044 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30045 defined, include ieee754_float128.h for access to the union and
30046 member ieee854_float128.ieee.
30047 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30048 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30049 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30050 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30051 options of test-math-zero on powerpc64le.
30053 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30055 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30056 Change double to float.
30058 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30060 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30062 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30063 conditional code; define contents only for [LIBM_SVID_COMPAT].
30065 2017-08-28 Florian Weimer <fweimer@redhat.com>
30067 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30068 (abi-lp64_be-options): Remove.
30069 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30070 (abi-hard-options): Likewise.
30071 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30072 (abi-o32_hard-options, abi-o32_soft_2008-options)
30073 (abi-o32_hard_2008-options, abi-n32_soft-options)
30074 (abi-n32_hard-options, abi-n32_soft_2008-options)
30075 (abi-n32_hard_2008-options, abi-n64_soft-options)
30076 (abi-n64_hard-options, abi-n64_soft_2008-options)
30077 (abi-n64_hard_2008-options): Likewise.
30078 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30079 (abi-64-v1-options, abi-64-v2-options): Likewise.
30080 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30081 (abi-64-options): Likewise.
30082 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30083 (abi-64-options): Likewise.
30084 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30085 (abi-64-options): Likewise.
30086 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30087 (abi-64-options, abi-x32-options): Likewise.
30089 2017-08-28 Florian Weimer <fweimer@redhat.com>
30091 Store supported list of SYS_* system calls in the source tree.
30092 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30093 (bits/syscall.h): Generate from list file.
30094 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30095 [$(subdir) = misc] (tests): Add tst-syscall-list.
30096 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30097 [$(subdir) = misc] (tst-syscall-list-macros.list)
30098 [$(subdir) = misc] (tst-syscall-list-nr.list)
30099 (tst-syscall-list-sys.list): Helper targets for new
30100 tst-syscall-list test.
30101 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30102 tst-syscall-list.sh.
30103 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30104 target. Do not include bits/syscall.d.
30105 [$(subdir) = misc] (generated): Do not update.
30106 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30107 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30108 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30109 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30111 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30113 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30114 (tst-cxa_atexit, tst-on_exit): Likewise.
30115 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30116 tst-cxa_atexit, and tst-on_exit.
30117 * stdlib/tst-atexit-common.c: New file.
30118 * stdlib/tst-atexit.c: New file.
30119 * stdlib/tst-at_quick_exit.c: New file.
30120 * stdlib/tst-cxa_atexit.c: New file.
30121 * stdlib/tst-on_exit.c: New file.
30123 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30125 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30126 * mach/stack_chk_fail_local.c: New file.
30127 * hurd/stack_chk_fail_local.c: New file.
30128 * mach/Machrules ($(interface-library)-routines): Add
30129 stack_chk_fail_local.
30130 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30131 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30132 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30133 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30134 * hurd/Makefile (CFLAGS-hurdstartup.o,
30135 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30137 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30139 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30140 (index_cpu_*, index_arch_*): Removed.
30142 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30144 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30145 Use uint64_t instead of unsigned long.
30147 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30149 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30150 [__HAVE_DISTINCT_FLOAT128].
30152 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30153 of <bits/math-finite.h>.
30154 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30155 inclusion of <bits/math-finite.h>.
30156 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30157 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30158 __NO_LONG_DOUBLE_MATH].
30159 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30160 (__MATH_REDIRCALL_2): Likewise.
30161 (__MATH_REDIRCALL_INTERNAL): Likewise.
30162 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30163 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30164 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30178 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30179 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30180 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30181 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30183 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30184 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30185 w_sqrtf_compat-ppc32.
30187 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30189 * math/math.h [defined __cplusplus] (issignaling): In the long
30190 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30191 is not defined. Call __issignaling, otherwise.
30193 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30195 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30196 syscall definitions and replace __builtin_expect with __glibc_likely.
30197 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30199 (SYSCALL_CANCELLABLE): Removedefinition
30200 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30202 (PSEUDO_END): Likewise.
30203 [IS_IN (libpthread)] (CENABLE): Likewise.
30204 [IS_IN (libpthread)] (CDISABLE): Likewise.
30205 [IS_IN (libc)] (CENABLE): Likewise.
30206 [IS_IN (libc)] (CENABLE): Likewise.
30207 [IS_IN (librt)] (CDISABLE): Likewise.
30208 [IS_IN (librt)] (CDISABLE): Likewise.
30209 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30210 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30212 (PSEUDO_END): Likewise.
30213 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30214 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30215 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30216 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30217 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30218 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30219 (CENABLE): Likewise.
30220 (CDISABLE): Likewise.
30221 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30222 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30224 (PSEUDO_END): Likewise.
30225 [IS_IN (libpthread)] (CENABLE): Likewise.
30226 [IS_IN (libpthread)] (CDISABLE): Likewise.
30227 [IS_IN (libc)] (CENABLE): Likewise.
30228 [IS_IN (libc)] (CENABLE): Likewise.
30229 [IS_IN (librt)] (CDISABLE): Likewise.
30230 [IS_IN (librt)] (CDISABLE): Likewise.
30231 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30232 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30234 (PSEUDO_END): Likewise.
30235 [IS_IN (libpthread)] (CENABLE): Likewise.
30236 [IS_IN (libpthread)] (CDISABLE): Likewise.
30237 [IS_IN (libc)] (CENABLE): Likewise.
30238 [IS_IN (libc)] (CENABLE): Likewise.
30239 [IS_IN (librt)] (CDISABLE): Likewise.
30240 [IS_IN (librt)] (CDISABLE): Likewise.
30241 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30242 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30244 (PSEUDO_END): Likewise.
30245 [IS_IN (libpthread)] (CENABLE): Likewise.
30246 [IS_IN (libpthread)] (CDISABLE): Likewise.
30247 [IS_IN (libc)] (CENABLE): Likewise.
30248 [IS_IN (libc)] (CENABLE): Likewise.
30249 [IS_IN (librt)] (CDISABLE): Likewise.
30250 [IS_IN (librt)] (CDISABLE): Likewise.
30251 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30252 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30254 (PSEUDO_END): Likewise.
30255 [IS_IN (libpthread)] (CENABLE): Likewise.
30256 [IS_IN (libpthread)] (CDISABLE): Likewise.
30257 [IS_IN (libc)] (CENABLE): Likewise.
30258 [IS_IN (libc)] (CENABLE): Likewise.
30259 [IS_IN (librt)] (CDISABLE): Likewise.
30260 [IS_IN (librt)] (CDISABLE): Likewise.
30261 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30262 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30264 (PSEUDO_END): Likewise.
30265 [IS_IN (libpthread)] (CENABLE): Likewise.
30266 [IS_IN (libpthread)] (CDISABLE): Likewise.
30267 [IS_IN (libc)] (CENABLE): Likewise.
30268 [IS_IN (libc)] (CENABLE): Likewise.
30269 [IS_IN (librt)] (CDISABLE): Likewise.
30270 [IS_IN (librt)] (CDISABLE): Likewise.
30271 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30272 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30274 (PSEUDO_END): Likewise.
30275 [IS_IN (libpthread)] (CENABLE): Likewise.
30276 [IS_IN (libpthread)] (CDISABLE): Likewise.
30277 [IS_IN (libc)] (CENABLE): Likewise.
30278 [IS_IN (libc)] (CENABLE): Likewise.
30279 [IS_IN (librt)] (CDISABLE): Likewise.
30280 [IS_IN (librt)] (CDISABLE): Likewise.
30281 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30282 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30284 (PSEUDO_END): Likewise.
30285 [IS_IN (libpthread)] (CENABLE): Likewise.
30286 [IS_IN (libpthread)] (CDISABLE): Likewise.
30287 [IS_IN (libc)] (CENABLE): Likewise.
30288 [IS_IN (libc)] (CENABLE): Likewise.
30289 [IS_IN (librt)] (CDISABLE): Likewise.
30290 [IS_IN (librt)] (CDISABLE): Likewise.
30291 (SINGLE_THREAD_P): Likewise.
30292 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30294 (PSEUDO_END): Likewise.
30295 [IS_IN (libpthread)] (CENABLE): Likewise.
30296 [IS_IN (libpthread)] (CDISABLE): Likewise.
30297 [IS_IN (libc)] (CENABLE): Likewise.
30298 [IS_IN (libc)] (CENABLE): Likewise.
30299 [IS_IN (librt)] (CDISABLE): Likewise.
30300 [IS_IN (librt)] (CDISABLE): Likewise.
30301 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30302 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30304 (PSEUDO_END): Likewise.
30305 [IS_IN (libpthread)] (CENABLE): Likewise.
30306 [IS_IN (libpthread)] (CDISABLE): Likewise.
30307 [IS_IN (libc)] (CENABLE): Likewise.
30308 [IS_IN (libc)] (CENABLE): Likewise.
30309 [IS_IN (librt)] (CDISABLE): Likewise.
30310 [IS_IN (librt)] (CDISABLE): Likewise.
30311 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30312 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30313 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30314 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30315 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30317 (PSEUDO_END): Likewise.
30318 [IS_IN (libpthread)] (CENABLE): Likewise.
30319 [IS_IN (libpthread)] (CDISABLE): Likewise.
30320 [IS_IN (libc)] (CENABLE): Likewise.
30321 [IS_IN (libc)] (CENABLE): Likewise.
30322 [IS_IN (librt)] (CDISABLE): Likewise.
30323 [IS_IN (librt)] (CDISABLE): Likewise.
30324 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30325 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30327 (PSEUDO_END): Likewise.
30328 [IS_IN (libpthread)] (CENABLE): Likewise.
30329 [IS_IN (libpthread)] (CDISABLE): Likewise.
30330 [IS_IN (libc)] (CENABLE): Likewise.
30331 [IS_IN (libc)] (CENABLE): Likewise.
30332 [IS_IN (librt)] (CDISABLE): Likewise.
30333 [IS_IN (librt)] (CDISABLE): Likewise.
30334 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30335 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30337 (PSEUDO_END): Likewise.
30338 [IS_IN (libpthread)] (CENABLE): Likewise.
30339 [IS_IN (libpthread)] (CDISABLE): Likewise.
30340 [IS_IN (libc)] (CENABLE): Likewise.
30341 [IS_IN (libc)] (CENABLE): Likewise.
30342 [IS_IN (librt)] (CDISABLE): Likewise.
30343 [IS_IN (librt)] (CDISABLE): Likewise.
30344 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30345 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30346 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30347 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30348 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30350 (PSEUDO_END): Likewise.
30351 [IS_IN (libpthread)] (CENABLE): Likewise.
30352 [IS_IN (libpthread)] (CDISABLE): Likewise.
30353 [IS_IN (libc)] (CENABLE): Likewise.
30354 [IS_IN (libc)] (CENABLE): Likewise.
30355 [IS_IN (librt)] (CDISABLE): Likewise.
30356 [IS_IN (librt)] (CDISABLE): Likewise.
30357 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30358 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30360 (PSEUDO_END): Likewise.
30361 [IS_IN (libpthread)] (CENABLE): Likewise.
30362 [IS_IN (libpthread)] (CDISABLE): Likewise.
30363 [IS_IN (libc)] (CENABLE): Likewise.
30364 [IS_IN (libc)] (CENABLE): Likewise.
30365 [IS_IN (librt)] (CDISABLE): Likewise.
30366 [IS_IN (librt)] (CDISABLE): Likewise.
30367 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30369 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30371 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30373 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30375 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30377 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30380 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30381 middle and outer with size_t instead of int. Repleace %d and
30382 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30383 "MAX (outer, nchars - 64)" to support unsigned outer and
30384 nchars. Also exit loop when outer == 0.
30386 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30388 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30389 * include/signal.h (__sigsuspend_nocancel): Likewise.
30390 * include/time.h (__nanosleep_nocancel): Likewise.
30391 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30392 * login/utmp_file.c: Include non cancellable syscall header.
30393 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30396 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30398 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30399 .byte sequences with AVX512F instructions.
30400 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30401 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30402 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30403 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30405 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30408 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30409 Steve Ellcey <sellcey@cavium.com>
30411 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30412 Use PTR_REG macro in cmp instruction.
30414 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30416 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30417 Change the return type of the ifunc resolver to match the return
30418 type of the target function.
30420 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30422 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30423 (preadv64): Likewise.
30424 (pwrite64(: Likewise.
30425 (pwritev64): Likewise.
30427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30428 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30429 (LOAD_ARGS_0): Likewise.
30430 (LOAD_ARGS_1): Likewise.
30431 (LOAD_ARGS_2): Likewise.
30432 (LOAD_ARGS_3): Likewise.
30433 (LOAD_ARGS_4): Likewise.
30434 (LOAD_ARGS_5): Likewise.
30435 (LOAD_ARGS_6): Likewise.
30436 (LOAD_REGS_0): Likewise.
30437 (LOAD_REGS_1): Likewise.
30438 (LOAD_REGS_2): Likewise.
30439 (LOAD_REGS_3): Likewise.
30440 (LOAD_REGS_4): Likewise.
30441 (LOAD_REGS_5): Likewise.
30442 (LOAD_REGS_6): Likewise.
30443 (ASM_ARGS_0): Likewise.
30444 (ASM_ARGS_1): Likewise.
30445 (ASM_ARGS_2): Likewise.
30446 (ASM_ARGS_3): Likewise.
30447 (ASM_ARGS_4): Likewise.
30448 (ASM_ARGS_5): Likewise.
30449 (ASM_ARGS_6): Likewise.
30450 (LOAD_ARGS_TYPES_1): Likewise.
30451 (LOAD_ARGS_TYPES_2): Likewise.
30452 (LOAD_ARGS_TYPES_3): Likewise.
30453 (LOAD_ARGS_TYPES_4): Likewise.
30454 (LOAD_ARGS_TYPES_5): Likewise.
30455 (LOAD_ARGS_TYPES_6): Likewise.
30456 (LOAD_REGS_TYPES_1): Likewise.
30457 (LOAD_REGS_TYPES_2): Likewise.
30458 (LOAD_REGS_TYPES_3): Likewise.
30459 (LOAD_REGS_TYPES_4): Likewise.
30460 (LOAD_REGS_TYPES_5): Likewise.
30461 (LOAD_REGS_TYPES_6): Likewise.
30462 (TYPEFY): New define.
30463 (ARGIFY): Likewise.
30464 (internal_syscall0): Likewise.
30465 (internal_syscall1): Likewise.
30466 (internal_syscall2): Likewise.
30467 (internal_syscall3): Likewise.
30468 (internal_syscall4): Likewise.
30469 (internal_syscall5): Likewise.
30470 (internal_syscall6): Likewise.
30471 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30472 (INTERNAL_SYSCALL_NCS): Remove define.
30473 (internal_syscall1): Add define.
30475 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30477 * math/w_remainder_compat.c: Remove duplicate inclusion of
30478 math-svid-compat.h.
30479 * math/w_remainderf_compat.c: Likewise.
30480 * math/w_remainderl_compat.c: Likewise.
30482 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30486 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30489 * math/tgmath.h (__floating_type): Simplify definitions.
30490 (__real_integer_type): New macro.
30491 (__complex_integer_type): Likewise.
30492 (__expr_is_real): Likewise.
30493 (__tgmath_real_type_sub): Update comment to describe handling of
30495 (__tgmath_complex_type_sub): New macro.
30496 (__tgmath_complex_type): Likewise.
30497 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30498 (__TGMATH_CF128): Use __expr_is_real.
30499 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30501 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30502 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30503 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30506 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30508 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30510 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30512 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30515 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30516 nanosleep_not_cancel with __nanosleep_nocancel.
30517 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30518 (__nanosleep_nocancel): New macro.
30519 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30521 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30523 (__nanosleep_nocancel): New prototype.
30525 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30526 pause_not_cancel with __pause_nocancel.
30527 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30528 (__pause_nocancel): New macro.
30529 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30531 (__pause_nocancel): New prototype.
30532 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30534 2017-08-22 Martin Sebor <msebor@redhat.com>
30536 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30537 to return a pointer to the same type as the target function.
30539 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30543 * include/printf.h (__printf_fphex): Add attribute_hidden.
30544 (__guess_grouping): New prototype.
30545 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30546 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30547 libc_hidden_proto and libc_hidden_def.
30548 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30549 (__vstrfmon_l): Remove the third argument passed to
30552 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30554 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30555 definition for issignaling that does not rely on __MATH_TG,
30556 since __MATH_TG uses __builtin_types_compatible_p, which is only
30557 available in C mode.
30558 (CFLAGS-test-math-issignaling.cc): New variable.
30559 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30560 * math/test-math-issignaling.cc: New test for C++ implementation
30561 of type-generic issignaling.
30562 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30563 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30564 options of test-math-issignaling on powerpc64le.
30566 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30568 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30570 (hidden_proto): Likewise.
30571 (hidden_tls_proto): Likewise.
30572 (__hidden_proto): Likewise.
30574 2017-08-22 Florian Weimer <fweimer@redhat.com>
30576 math: Statically link tests of internal functionality.
30577 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30579 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30580 (gmp-objs): Remove assignment.
30581 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30583 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30586 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30588 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30590 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30593 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30594 variable definitions above inclusion of ../Rules.
30596 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30598 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30599 case calling __builtin_unreachable.
30601 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30603 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30604 __waitpid_nocancel.
30605 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30606 (__waitpid_nocancel): New macro.
30607 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30609 (__waitpid_nocancel): Replace macro with a function.
30610 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30613 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30615 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30616 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30618 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30619 __writev_nocancel_nostatus.
30620 (write_call_graph): Likewise.
30621 (write_bb_counts): Likewise.
30622 * resolv/herror.c (herror): Likewise.
30623 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30625 (__writev_nocancel_nostatus): New macro.
30626 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30628 (__writev_nocancel_nostatus): New function.
30630 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30633 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30635 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30637 (hidden_proto): Likewise.
30638 (hidden_tls_proto): Likewise.
30639 (__hidden_proto): Likewise.
30642 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30643 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30652 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30653 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30654 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30655 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30656 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30657 GLIBC_2.0 sqrtl symbol.
30659 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30660 [__USE_MISC] (_LIB_VERSION): Likewise.
30661 [__USE_MISC] (struct exception): Likewise.
30662 [__USE_MISC] (matherr): Likewise.
30663 [__USE_MISC] (DOMAIN): Likewise.
30664 [__USE_MISC] (SING): Likewise.
30665 [__USE_MISC] (OVERFLOW): Likewise.
30666 [__USE_MISC] (UNDERFLOW): Likewise.
30667 [__USE_MISC] (TLOSS): Likewise.
30668 [__USE_MISC] (PLOSS): Likewise.
30669 [__USE_MISC] (HUGE): Likewise.
30670 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30671 * math/math-svid-compat.h: New file.
30672 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30674 * include/math.h [!_ISOMAC] (__matherr): Remove.
30675 * manual/arith.texi (FP Exceptions): Do not document matherr.
30676 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30677 (tests-internal): New variable.
30678 (install-lib): Do not add libieee.a.
30679 (non-lib.a): Likewise.
30680 (extra-objs): Do not add libieee.a and ieee-math.o.
30681 (CPPFLAGS-s_lib_version.c): Remove variable.
30682 ($(objpfx)libieee.a): Remove rule.
30683 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30684 * math/ieee-math.c: Remove.
30685 * math/libm-test-support.c (matherr): Remove.
30686 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30687 and license notices. Include <math-svid-compat.h> and
30689 (matherr): Undefine as macro. Use compat_symbol_reference.
30690 (_LIB_VERSION): Likewise.
30691 * math/test-matherr-2.c: New file.
30692 * math/test-matherr-3.c: Likewise.
30693 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30695 (__kernel_standard_f): Likewise.
30696 (__kernel_standard_l): Likewise.
30697 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30698 <math_private.h>. Include <math-svid-compat.h>.
30699 (_LIB_VERSION): Undefine as macro.
30700 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30701 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30702 [LIBM_SVID_COMPAT], use compat_symbol.
30703 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30704 <math_private.h>. Include <math-svid-compat.h>.
30705 (matherr): Undefine as macro.
30706 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30708 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30709 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30710 compat_symbol_reference.
30711 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30712 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30713 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30714 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30715 (MATHERR_D): Remove declaration.
30716 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30717 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30718 [LIBM_BUILD] (pmatherrf): Likewise.
30719 [LIBM_BUILD] (pmatherr): Likewise.
30720 [LIBM_BUILD] (pmatherrl): Likewise.
30721 (DOMAIN): Likewise.
30723 (OVERFLOW): Likewise.
30724 (UNDERFLOW): Likewise.
30727 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30728 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30730 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30731 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30733 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30734 * math/w_acos_compat.c: Likewise.
30735 * math/w_acosf_compat.c: Likewise.
30736 * math/w_acosh_compat.c: Likewise.
30737 * math/w_acoshf_compat.c: Likewise.
30738 * math/w_acoshl_compat.c: Likewise.
30739 * math/w_acosl_compat.c: Likewise.
30740 * math/w_asin_compat.c: Likewise.
30741 * math/w_asinf_compat.c: Likewise.
30742 * math/w_asinl_compat.c: Likewise.
30743 * math/w_atan2_compat.c: Likewise.
30744 * math/w_atan2f_compat.c: Likewise.
30745 * math/w_atan2l_compat.c: Likewise.
30746 * math/w_atanh_compat.c: Likewise.
30747 * math/w_atanhf_compat.c: Likewise.
30748 * math/w_atanhl_compat.c: Likewise.
30749 * math/w_cosh_compat.c: Likewise.
30750 * math/w_coshf_compat.c: Likewise.
30751 * math/w_coshl_compat.c: Likewise.
30752 * math/w_exp10_compat.c: Likewise.
30753 * math/w_exp10f_compat.c: Likewise.
30754 * math/w_exp10l_compat.c: Likewise.
30755 * math/w_exp2_compat.c: Likewise.
30756 * math/w_exp2f_compat.c: Likewise.
30757 * math/w_exp2l_compat.c: Likewise.
30758 * math/w_fmod_compat.c: Likewise.
30759 * math/w_fmodf_compat.c: Likewise.
30760 * math/w_fmodl_compat.c: Likewise.
30761 * math/w_hypot_compat.c: Likewise.
30762 * math/w_hypotf_compat.c: Likewise.
30763 * math/w_hypotl_compat.c: Likewise.
30764 * math/w_j0_compat.c: Likewise.
30765 * math/w_j0f_compat.c: Likewise.
30766 * math/w_j0l_compat.c: Likewise.
30767 * math/w_j1_compat.c: Likewise.
30768 * math/w_j1f_compat.c: Likewise.
30769 * math/w_j1l_compat.c: Likewise.
30770 * math/w_jn_compat.c: Likewise.
30771 * math/w_jnf_compat.c: Likewise.
30772 * math/w_jnl_compat.c: Likewise.
30773 * math/w_lgamma_main.c: Likewise.
30774 * math/w_lgamma_r_compat.c: Likewise.
30775 * math/w_lgammaf_main.c: Likewise.
30776 * math/w_lgammaf_r_compat.c: Likewise.
30777 * math/w_lgammal_main.c: Likewise.
30778 * math/w_lgammal_r_compat.c: Likewise.
30779 * math/w_log10_compat.c: Likewise.
30780 * math/w_log10f_compat.c: Likewise.
30781 * math/w_log10l_compat.c: Likewise.
30782 * math/w_log2_compat.c: Likewise.
30783 * math/w_log2f_compat.c: Likewise.
30784 * math/w_log2l_compat.c: Likewise.
30785 * math/w_log_compat.c: Likewise.
30786 * math/w_logf_compat.c: Likewise.
30787 * math/w_logl_compat.c: Likewise.
30788 * math/w_pow_compat.c: Likewise.
30789 * math/w_powf_compat.c: Likewise.
30790 * math/w_powl_compat.c: Likewise.
30791 * math/w_remainder_compat.c: Likewise.
30792 * math/w_remainderf_compat.c: Likewise.
30793 * math/w_remainderl_compat.c: Likewise.
30794 * math/w_scalb_compat.c: Likewise.
30795 * math/w_scalbf_compat.c: Likewise.
30796 * math/w_scalbl_compat.c: Likewise.
30797 * math/w_sinh_compat.c: Likewise.
30798 * math/w_sinhf_compat.c: Likewise.
30799 * math/w_sinhl_compat.c: Likewise.
30800 * math/w_sqrt_compat.c: Likewise.
30801 * math/w_sqrtf_compat.c: Likewise.
30802 * math/w_sqrtl_compat.c: Likewise.
30803 * math/w_tgamma_compat.c: Likewise.
30804 * math/w_tgammaf_compat.c: Likewise.
30805 * math/w_tgammal_compat.c: Likewise.
30806 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30807 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30808 * sysdeps/ieee754/k_standard.c: Likewise.
30809 * sysdeps/ieee754/k_standardf.c: Likewise.
30810 * sysdeps/ieee754/k_standardl.c: Likewise.
30811 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30812 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30813 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30814 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30815 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30816 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30817 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30818 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30819 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30824 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30825 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30826 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30827 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30829 2017-08-21 Florian Weimer <fweimer@redhat.com>
30832 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30833 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30834 Move before inclusion of ../Rules.
30836 2017-08-21 Florian Weimer <fweimer@redhat.com>
30839 * assert/assert.h (assert): Use static_cast (bool) for C++.
30840 Use the ternary operator in the warning branch for GNU C.
30841 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30842 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30843 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30844 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30845 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30847 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30850 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30851 (__syscall_clock_gettime): Add attribute_hidden.
30852 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30853 (__start_context): Likewise.
30855 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30857 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30859 (hidden_proto): Likewise.
30860 (hidden_tls_proto): Likewise.
30861 (__hidden_proto): Likewise.
30863 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30865 * include/libc-symbols.h (attribute_hidden): Enable hidden
30866 visibility in libc.a compiled with PIE.
30868 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30871 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30872 Add attribute_hidden.
30874 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30877 * Makerules (all-nonlib): Add $(others-extras).
30878 * catgets/Makefile (others-extras): New.
30879 * elf/Makefile (others-extras): Likewise.
30880 * nss/Makefile (others-extras): Likewise.
30882 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30885 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30886 * elf/dl-open.c: Include <libc-internal.h>.
30887 (__libc_multiple_libcs): Removed.
30888 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30890 * include/libc-internal.h (__libc_multiple_libcs): New.
30891 * misc/sbrk.c: Include <libc-internal.h>.
30892 (__libc_multiple_libcs): Removed.
30894 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30897 * grp/initgroups.c (__nss_group_database): Removed.
30898 (__nss_initgroups_database): Likewise.
30899 * nscd/gai.c (__nss_hosts_database): Likewise.
30900 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30901 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30902 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30903 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30904 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30905 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30907 * nss/nsswitch.c (__nss_database_custom): Define only if
30908 USE_NSCD is defined.
30909 (__nss_configure_lookup): Use __nss_database_custom only if
30910 USE_NSCD is defined.
30911 * nss/nsswitch.h (__nss_database_custom): Declare only if
30912 USE_NSCD is defined. Add attribute_hidden.
30913 (__nss_setent): Add attribute_hidden.
30914 (__nss_endent): Likewise.
30915 (__nss_getent_r): Likewise.
30916 (__nss_getent): Likewise.
30917 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30919 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30922 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30923 libc_hidden_proto and libc_hidden_def.
30925 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30928 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30929 Add libc_hidden_proto.
30930 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30931 Add libc_hidden_def.
30933 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30936 * gmon/Makefile (routines): Remove bb_init_func and
30938 (elide-routines.os): Removed.
30939 * gmon/bb_exit_func.c: Likewise.
30940 * gmon/bb_init_func.c: Likewise.
30941 * include/sys/gmon.h (__bb): Likewise.
30942 (__bb_init_func): Likewise.
30943 (__bb_exit_func): Likewise.
30944 * sysdeps/alpha/bb_init_func.S: Likewise.
30946 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30948 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30949 * include/setjmp.h (____longjmp_chk): Here. Add
30952 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30955 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30957 (__strspn_sse2): Likewise.
30959 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30961 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30962 (close_not_cancel_no_status): Likewise.
30963 (__close_nocancel): New macro.
30964 (__close_nocancel_nostatus): Likewise.
30965 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30967 (close_not_cancel): Likewise.
30968 (close_not_cancel_no_status): Likewise.
30969 (__close_nocancel): New prototype.
30970 (__close_nocancel_nostatus): New function.
30971 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30972 * catgets/open_catalog.c (__open_catalog): Replace
30973 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30974 * gmon/gmon.c (write_gmon): Likewise.
30975 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30976 * intl/loadmsgcat.c (close): Likewise.
30977 * io/ftw.c (open_dir_stream): Likewise.
30978 (ftw_startup): Likewise.
30979 * libio/fileops.c (_IO_file_open): Likewise.
30980 (_IO_file_close_mmap): Likewise.
30981 (_IO_file_close): Likewise.
30982 * libio/iopopen.c (_IO_dup2): Likewise.
30983 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30984 * locale/loadlocale.c (_nl_load_locale): Likewise.
30985 * login/utmp_file.c (pututline_file): Likewise.
30986 (endutent_file): Likewise.
30987 * misc/daemon.c (daemon): Likewise.
30988 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30989 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30990 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30991 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30992 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30993 * nscd/nscd_helper.c (open_socket): Likewise.
30994 (__nscd_open_socket): Likewise.
30995 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30996 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30997 (__nscd_innetgr): Likewise.
30998 * nss/nss_db/db-open.c (internal_setent): Likewise.
30999 * resolv/res-close.c (__res_iclose): Likewise.
31000 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31001 * sysdeps/posix/closedir.c (__closedir): Likewise.
31002 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31003 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31004 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31005 (opendir_tail): Likewise.
31006 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31007 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31008 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31009 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31010 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31011 (gethostid): Likewise.
31012 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31013 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31015 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31016 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31017 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31018 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31020 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31021 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31022 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31024 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31025 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31027 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31029 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31030 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31031 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31034 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31035 (openat_not_cancel_3): Likewise.
31036 (openat64_not_cancel_3): Likewise).
31037 (openat_not_cancel_3): Likewise).
31038 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31040 (openat_not_cancel_3): Likewise.
31041 (openat64_not_cancel): Likewise.
31042 (openat64_not_cancel_3): Likewise.
31043 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31044 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31045 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31046 __open{64}_nocancel.
31047 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31048 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31049 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31051 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31054 * include/argz.h (__argz_create_sep): New function prototype.
31055 (__argz_append): Likewise.
31056 (__argz_add): Likewise.
31057 (__argz_add_sep): Likewise.
31058 (__argz_delete): Likewise.
31059 (__argz_insert): Likewise.
31060 (__argz_replace): Likewise.
31061 * string/argz.h (__argz_create_sep): Removed.
31062 (__argz_append): Likewise.
31063 (__argz_add): Likewise.
31064 (__argz_add_sep): Likewise.
31065 (__argz_delete): Likewise.
31066 (__argz_insert): Likewise.
31067 (__argz_replace): Likewise.
31069 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31071 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31072 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31073 (GNU_PROPERTY_STACK_SIZE): Likewie.
31074 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31075 (GNU_PROPERTY_LOPROC): Likewise.
31076 (GNU_PROPERTY_HIPROC): Likewise.
31077 (GNU_PROPERTY_LOUSER): Likewise.
31078 (GNU_PROPERTY_HIUSER): Likewise.
31079 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31080 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31081 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31082 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31083 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31084 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31085 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31086 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31087 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31088 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31089 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31090 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31091 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31092 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31093 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31094 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31095 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31096 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31097 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31098 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31099 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31100 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31101 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31103 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31105 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31108 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31111 * math/math.h (isinf): Check if in C or C++ mode before using
31112 __builtin_types_compatible_p, since this is a C mode feature.
31114 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31116 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31117 (__write_nocancel): New macro.
31118 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31119 Rewrite as a function prototype.
31120 (write_not_cancel): Remove macro.
31121 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31122 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31123 (write_gmon): Likewise.
31124 * libio/fileops.c (_IO_new_file_write): Likewise.
31125 * login/utmp_file.c (pututline_file): Likewise.
31126 (updwtmp_file): Likewise.
31127 * stdio-common/psiginfo.c (psiginfo): Likewise.
31128 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31129 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31130 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31132 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31135 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31136 (__read_nocancel): New macro.
31137 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31139 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31141 (__read_nocancel): New prototype.
31142 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31143 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31144 with __read_nocancel.
31145 * intl/loadmsgcat.c (read): Likewise.
31146 * libio/fileops.c (_IO_file_read): Likewise.
31147 * locale/loadlocale.c (_nl_load_locale): Likewise.
31148 * login/utmp_file.c (getutent_r_file): Likewise.
31149 (internal_getut_r): Likewise.
31150 (getutline_r_file): Likewise.
31151 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31152 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31153 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31154 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31156 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31157 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31158 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31160 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31162 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31164 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31166 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31168 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31171 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31172 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31175 2017-08-17 DJ Delorie <dj@redhat.com>
31177 * bug17079.c: Update to new test harness.
31178 * test-digits-dots.c: Likewise.
31179 * test-netdb.c: Likewise.
31180 * tst-field.c: Likewise.
31181 * tst-nss-getpwent.c: Likewise.
31182 * tst-nss-static.c: Likewise.
31183 * tst-nss-test1.c: Likewise.
31184 * tst-nss-test2.c: Likewise.
31185 * tst-nss-test3.c: Likewise.
31186 * tst-nss-test4.c: Likewise.
31187 * tst-nss-test5.c: Likewise.
31189 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31191 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31192 (open_not_cancel_2): Likewise.
31193 (open_nocancel): New macro.
31194 (open64_nocancel): Likewise.
31195 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31196 (open_not_cancel_2): Likewise.
31197 (__open_nocancel): New prototype.
31198 (__open64_nocancel): Likewise.
31199 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31201 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31202 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31203 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31204 with __open_nocancel.
31205 * csu/check_fds.c (check_one_fd): Likewise.
31206 * gmon/gmon.c (write_gmon): Likewise.
31207 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31208 * intl/loadmsgcat.c (open): Likewise.
31209 * libio/fileops.c (_IO_file_open): Likewise.
31210 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31211 * locale/loadlocale.c (_nl_load_locale): Likewise.
31212 * login/utmp_file.c (setutent_file): Likewise.
31213 * misc/daemon.c (daemon): Likewise.
31214 * nss/nss_db/db-open.c (internal_setent): Likewise.
31215 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31216 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31217 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31218 (__opendir): Likewise.
31219 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31220 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31221 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31222 (gethostid): Likewise.
31223 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31224 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31226 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31227 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31228 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31229 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31231 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31233 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31235 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31237 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31239 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31241 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31242 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31244 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31246 * benchtests/bench-skeleton.c (main): Add support for
31247 latency benchmarking.
31248 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31250 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31252 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31253 the startup object.
31255 2017-08-17 Florian Weimer <fweimer@redhat.com>
31257 * include/sys/socket.h (__opensock): Remove internal_function.
31258 * socket/opensock.c (__opensock): Likewise.
31259 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31261 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31264 * signal/bits/types/__sigval_t.h: New file.
31265 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31266 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31267 and define sigval_t using __sigval_t.
31268 * include/bits/types/__sigval_t.h: New file.
31269 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31270 instead of <bits/types/__sigval_t.h>.
31271 (struct sigevent): Use __sigval_t instead of sigval_t.
31272 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31273 instead of <bits/types/__sigval_t.h>.
31274 (siginfo_t): Use __sigval_t instead of sigval_t.
31275 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31276 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31277 (struct sigevent): Use __sigval_t instead of sigval_t.
31278 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31279 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31280 (siginfo_t): Use __sigval_t instead of sigval_t.
31281 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31283 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31285 * NEWS: Remove "[Add new features here]" for 2.27.
31287 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31289 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31292 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31294 * NEWS: Mention x86-64 FMA optimization.
31296 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31299 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31301 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31302 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31303 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31305 2017-08-16 Andreas Schwab <schwab@suse.de>
31309 * elf/ldd.bash.in: Never run file directly.
31311 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31314 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31315 (L(SP_INF_0)): Likewise.
31317 2017-08-15 Florian Weimer <fweimer@redhat.com>
31319 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31322 2017-08-15 Florian Weimer <fweimer@redhat.com>
31324 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31325 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31326 BROKEN_THREAD_SIGNALS code.
31327 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31328 request_list): Remove caller_pid member used for
31329 BROKEN_THREAD_SIGNALS.
31330 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31331 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31332 Remove BROKEN_THREAD_SIGNALS support.
31333 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31334 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31336 2017-08-15 Florian Weimer <fweimer@redhat.com>
31338 * gmon/Makefile (tests): Add tst-gmon.
31339 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31341 (tests-special): Add tst-gmon-prof.out.
31342 (tst-gmon.out): Depend on clean-tst-gmon-data.
31343 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31344 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31345 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31347 * aclocal.m4 (GPROF): Set and substitute.
31348 * config.amke.in (GPROF): Set.
31349 * configure: Regenerate.
31351 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31353 * elf/elf.h A (NT_PPC_TAR): New macro.
31354 (NT_PPC_PPR): Likewise.
31355 (NT_PPC_DSCR): Likewise.
31356 (NT_PPC_EBB): Likewise.
31357 (NT_PPC_PMU): Likewise.
31358 (NT_PPC_TM_CGPR): Likewise.
31359 (NT_PPC_TM_CFPR): Likewise.
31360 (NT_PPC_TM_CVMX): Likewise.
31361 (NT_PPC_TM_CVSX): Likewise.
31362 (NT_PPC_TM_SPR): Likewise.
31363 (NT_PPC_TM_CTAR): Likewise.
31364 (NT_PPC_TM_CPPR): Likewise.
31365 (NT_PPC_TM_CDSCR): Likewise.
31367 2017-08-15 Florian Weimer <fweimer@redhat.com>
31369 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31370 regparm (2) instead of internal_function.
31371 (_MCOUNT_DECL): Adjust.
31373 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31375 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31376 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31378 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31380 * conform/data/sys/wait.h-data (si_value): Do not expect for
31383 2017-08-14 Florian Weimer <fweimer@redhat.com>
31386 NSS: Create stubs for accidentally exported lookup functions.
31387 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31388 Remove declaration.
31389 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31390 (ether_hostton): Call __nss_ethers_lookup2 instead.
31391 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31392 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31393 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31394 (setup): Call __nss_netgroup_lookup2 instead.
31395 * nss/Makefile (routines): Add compat-lookup.
31396 * nss/Versions (GLIBC_2.27): Add symbol version.
31397 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31398 (DB_COMPAT_FCT): Remove.
31399 * nss/compat-lookup.c: New file.
31400 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31401 from databases.def.
31402 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31403 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31404 (netname2user): Call __nss_publickey_lookup2 instead.
31405 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31406 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31409 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31410 Sergei Trofimovich <slyfox@inbox.ru>
31413 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31414 Rename to MMAP2_PAGE_UNIT.
31415 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31416 __OFF_T_MATCHES_OFF64_T is not defined.
31417 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31419 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31420 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31422 2017-08-14 Florian Weimer <fweimer@redhat.com>
31424 i386: Do not set internal_function.
31425 * config.h.in (USE_REGPARMS, internal_function): Remove.
31426 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31427 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31429 2017-08-14 Florian Weimer <fweimer@redhat.com>
31431 * elf/dl-init.c (_dl_init): Remove internal_function.
31432 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31433 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31435 2017-08-14 Florian Weimer <fweimer@redhat.com>
31437 * elf/rtld.c (_dl_start): Remove internal_function.
31438 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31441 2017-08-14 Florian Weimer <fweimer@redhat.com>
31443 * elf/dl-fini.c (_dl_fini): Remove internal_function
31444 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31446 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31448 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31449 (bit_cpu_SHSTK): Likewise.
31450 (index_cpu_IBT): Likewise.
31451 (index_cpu_SHSTK): Likewise.
31452 (reg_IBT): Likewise.
31453 (reg_SHSTK): Likewise.
31454 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31455 Handle index_cpu_IBT and index_cpu_SHSTK.
31457 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31460 * po/fr.po: Fix spelling mistake.
31462 2017-08-13 Florian Weimer <fweimer@redhat.com>
31464 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31465 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31466 (_dl_catch_error, _dl_receive_error): Likewise.
31467 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31468 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31469 (_dl_deallocate_tls): Likewise.
31470 * include/dlfcn.h (_dl_addr): Likewise.
31471 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31472 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31473 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31476 2017-08-13 Florian Weimer <fweimer@redhat.com>
31478 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31479 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31481 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31483 2017-08-13 Florian Weimer <fweimer@redhat.com>
31485 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31487 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31488 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31489 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31490 internal_function from _dl_make_stack_executable_hook member.
31491 (_dl_make_stack_executable): Remove internal_function.
31492 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31494 * sysdeps/unix/sysv/linux/dl-execstack.c
31495 (_dl_make_stack_executable): Likewise.
31497 2017-08-13 Florian Weimer <fweimer@redhat.com>
31499 * sysdeps/unix/sysv/linux/netlinkaccess.h
31500 (__netlink_assert_response): Remove internal_function.
31501 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31502 (__netlink_assert_response): Likewise.
31504 2017-08-13 Florian Weimer <fweimer@redhat.com>
31506 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31508 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31510 2017-08-13 Florian Weimer <fweimer@redhat.com>
31512 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31514 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31515 * inet/netgroup.h (__internal_setnetgrent)
31516 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31517 * inet/getnetgrent_r.c (__internal_setnetgrent)
31518 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31519 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31520 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31521 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31522 * nss/nsswitch.h (db_lookup_function): Likewise.
31524 2017-08-13 Florian Weimer <fweimer@redhat.com>
31526 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31527 Remove internal_function.
31528 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31529 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31530 message argument on the stack.
31531 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31534 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31536 Adapt test case data to the changes in the thousands
31540 * localedata/tst-langinfo.sh: Adapt test case data.
31541 * stdlib/tst-strfmon_l.c: Likewise.
31542 * stdlib/tst-strtod4.c: Likewise.
31543 * stdlib/tst-strtod5i.c: Likewise.
31545 2017-08-11 Florian Weimer <fweimer@redhat.com>
31548 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31549 Suppress pedantic warning resulting from statement expression.
31550 (__ASSERT_FUNCTION): Add missing __extension__.
31552 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31554 * benchtests/bench-memmove-large.c: Print output in JSON
31556 * benchtests/bench-memmove.c: Likewise.
31558 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31559 * benchtests/bench-memchr.c (do_one_test): Likewise.
31560 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31561 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31562 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31563 * benchtests/bench-memmove.c (do_one_test): Likewise.
31564 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31565 * benchtests/bench-memset.c (do_one_test): Likewise.
31566 * benchtests/bench-string.h (test_init): Remove memsets.
31568 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31571 (Computing the Width of an Integer Data Type): Rename section to
31572 "Width of an Integer Type". Remove inaccurate statement regarding
31573 lack of C language facilities for determining width of integer
31574 types, and reorder content to improve flow and context of
31577 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31579 * lang.texi (va_copy): Change standard from ISO to C99.
31580 (__va_copy): Add standard and header annotation.
31581 Update description for clarity of origins and current use.
31583 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31586 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31587 xssqrtqp requires operands to be in Vector Registers
31588 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31589 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31590 (__ieee754_sqrtf128): Likewise.
31592 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31594 * sysdeps/aarch64/memcmp.S (memcmp):
31595 Rewrite of optimized memcmp.
31597 2017-08-10 Florian Weimer <fweimer@redhat.com>
31599 Introduce ld.so exceptions.
31600 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31601 (_dl_exception_create, _dl_exception_create_format)
31602 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31603 (_dl_catch_exception): Declare.
31604 (_dl_catch_error): Update comment.
31605 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31606 errstring, malloced members with exception member.
31607 (_dl_out_of_memory): Remove.
31608 (fatal_error): New function, extracted from _dl_signal_error.
31609 (_dl_signal_exception, _dl_signal_cexception): New functions.
31610 (_dl_signal_error): Call _dl_exception_create to allocate an
31612 (_dl_catch_exception): New function, based on _dl_catch_error.
31613 (_dl_catch_error): Implement using _dl_catch_exception.
31614 * elf/dl-exception.c: New file.
31615 * elf/Makefile (dl-routines): Add dl-exception.
31616 (elide-routines.os): Likewise.
31617 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31618 _dl_exception_create_format, _dl_exception_free.
31619 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31620 _dl_signal_exception.
31621 * elf/dl-lookup.c (make_string): Remove.
31622 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31623 _dl_signal_cexception, _dl_exception_free.
31624 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31625 _dl_signal_exception.
31626 * elf/dl-sym.c (do_sym): Likewise.
31627 * elf/dl-version.c (make_string): Remove.
31628 (match_symbol): Use _dl_exception_create_format,
31629 _dl_signal_cexception, _dl_exception_free.
31630 (_dl_check_map_versions): Likewise.
31631 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31632 _dl_catch_exception.
31633 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31634 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31635 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31636 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31637 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31638 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31639 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31640 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31642 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31649 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31650 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31651 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31653 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31655 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31657 2017-08-10 Florian Weimer <fweimer@redhat.com>
31659 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31660 attribute_hidden, internal_function.
31661 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31664 2017-08-10 Florian Weimer <fweimer@redhat.com>
31666 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31667 function which calls __builtin_unreachable.
31669 2017-08-10 Mike FABIAN <mfabian@redhat.com>
31671 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31672 Indian monetary formatting
31673 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31676 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31678 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31679 Fix typo in comment.
31682 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31683 PTRACE_SEIZE_DEVEL): Remove.
31684 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31685 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31686 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31687 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31688 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31690 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31692 * posix/bits/types.h (__qaddr_t): Remove.
31695 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31696 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31698 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31699 (ucontext_t): Use __ctx with uc_flags.
31700 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31701 (__ctxt): Likewise.
31702 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31704 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31705 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31707 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31708 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31710 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31712 (ucontext_t): Use __ctx with uc_flags.
31713 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31714 (ucontext_t): Use __ctx with uc_flags.
31715 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31716 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31717 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31718 (ucontext_t): Use __ctx with uc_flags.
31719 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31720 undefine further down.
31721 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31723 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31724 undefine further down.
31725 (ucontext_t): Use __ctx with uc_flags.
31726 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31727 undefine further down.
31728 (ucontext_t): Use __ctx with uc_flags.
31729 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31730 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31731 Rename uc_pad to __glibc_reserved1.
31732 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31733 undefine further down.
31734 (ucontext_t): Use __ctx with uc_flags.
31735 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31737 (ucontext_t): Use __ctx with uc_flags.
31738 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31739 __ctx with uc_flags.
31740 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31741 (ucontext_t): Use __ctx with uc_flags.
31742 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31743 __ctx with uc_flags.
31745 2017-08-09 Florian Weimer <fweimer@redhat.com>
31748 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31749 before early return.
31751 2017-08-09 Andreas Schwab <schwab@suse.de>
31754 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31758 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31759 tst-compat-forwarder.
31760 (modules-names): Add tst-compat-forwarder-mod.
31761 ($(objpfx)tst-compat-forwarder): Depend on
31762 $(objpfx)tst-compat-forwarder-mod.so.
31763 * nptl/tst-compat-forwarder.c: New file.
31764 * nptl/tst-compat-forwarder-mod.c: New file.
31766 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31768 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31771 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31772 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31774 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31776 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31777 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31778 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31779 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31781 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31784 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31787 * manual/setjmp.texi (getcontex): Document uc_stack value
31788 compatibility differences.
31790 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31792 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31793 (old_malloc_hook): Likewise.
31794 (old_memalign_hook): Likewise.
31795 (old_realloc_hook): Likewise.
31796 (struct hdr): Likewise.
31798 (freehook): Likewise.
31799 (mallochook): Likewise.
31800 (memalignhook): Likewise.
31801 (reallochook): Likewise.
31802 (mprobe): Likewise.
31803 * malloc/mtrace.c (mallwatch): Likewise.
31804 (tr_old_free_hook): Likewise.
31805 (tr_old_malloc_hook): Likewise.
31806 (tr_old_realloc_hook): Likewise.
31807 (tr_old_memalign_hook): Likewise.
31808 (tr_where): Likewise.
31809 (lock_and_info): Likewise.
31810 (tr_freehook): Likewise.
31811 (tr_mallochook): Likewise.
31812 (tr_reallochook): Likewise.
31813 (tr_memalignhook): Likewise.
31814 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31815 * misc/mmap.c (__mmap): Likewise.
31816 * misc/mmap64.c (__mmap64): Likewise.
31817 * misc/mprotect.c (__mprotect): Likewise.
31818 * misc/msync.c (msync): Likewise.
31819 * misc/munmap.c (__munmap): Likewise.
31820 * posix/posix_madvise.c (posix_madvise): Likewise.
31821 * socket/send.c (__send): Likewise.
31822 * socket/sendto.c (__sendto): Likewise.
31823 * socket/setsockopt.c (__setsockopt): Likewise.
31824 * string/memcmp.c (__ptr_t): Remove macro.
31825 (MEMCMP): Use void * instead of ptr_t.
31826 * string/memrchr.c (__ptr_t): Remove macro.
31827 (__memrchr): Use void * instead of ptr_t.
31828 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31829 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31830 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31831 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31832 * sysdeps/mach/msync.c (msync): Likewise.
31833 * sysdeps/mach/munmap.c (__munmap): Likewise.
31834 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31836 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31837 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31838 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31839 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31840 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31841 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31842 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31843 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31845 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31846 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31847 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31848 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31849 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31850 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31851 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31852 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31853 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31855 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31856 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31857 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31858 (MEMCMP): Use void * instead of ptr_t.
31859 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31860 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31862 2017-08-08 Florian Weimer <fweimer@redhat.com>
31864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31867 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31870 * csu/libc-tls.c: Include <startup.h> first.
31871 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31872 * elf/dl-tunables.c: Include <startup.h> first.
31873 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31874 * sysdeps/generic/startup.h: New file.
31875 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31876 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31877 (I386_USE_SYSENTER): New. Defined to 0.
31879 2017-08-08 Andreas Schwab <schwab@suse.de>
31882 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31883 * nptl/pt-system.c (system): Likewise.
31885 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31888 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31890 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31891 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31892 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31893 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31894 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31895 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31896 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31898 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31901 * bits/sigaction.h (struct sigaction): Define sa_handler and
31902 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31903 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31904 [__USE_XOPEN_EXTENDED].
31905 (SA_RESTART): Likewise.
31906 (SA_NODEFER): Likewise.
31907 (SA_RESETHAND): Likewise.
31908 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31909 (struct sigaction): Define sa_handler and sa_sigaction using union
31910 also for [__USE_XOPEN_EXTENDED].
31911 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31912 [__USE_XOPEN_EXTENDED].
31913 (SA_RESTART): Likewise.
31914 (SA_NODEFER): Likewise.
31915 (SA_RESETHAND): Likewise.
31916 * sysdeps/unix/sysv/linux/bits/sigaction.h
31917 (struct sigaction): Define sa_handler and sa_sigaction using union
31918 also for [__USE_XOPEN_EXTENDED].
31919 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31920 [__USE_XOPEN_EXTENDED].
31921 (SA_RESTART): Likewise.
31922 (SA_NODEFER): Likewise.
31923 (SA_RESETHAND): Likewise.
31924 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31925 (struct sigaction): Define sa_handler and sa_sigaction using union
31926 also for [__USE_XOPEN_EXTENDED].
31927 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31928 [__USE_XOPEN_EXTENDED].
31929 (SA_RESTART): Likewise.
31930 (SA_NODEFER): Likewise.
31931 (SA_RESETHAND): Likewise.
31932 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31933 (struct sigaction): Define sa_handler and sa_sigaction using union
31934 also for [__USE_XOPEN_EXTENDED].
31935 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31936 [__USE_XOPEN_EXTENDED].
31937 (SA_RESTART): Likewise.
31938 (SA_NODEFER): Likewise.
31939 (SA_RESETHAND): Likewise.
31940 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31941 (struct sigaction): Define sa_handler and sa_sigaction using union
31942 also for [__USE_XOPEN_EXTENDED].
31943 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31944 [__USE_XOPEN_EXTENDED].
31945 (SA_RESTART): Likewise.
31946 (SA_NODEFER): Likewise.
31947 (SA_RESETHAND): Likewise.
31948 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31949 (struct sigaction): Define sa_handler and sa_sigaction using union
31950 also for [__USE_XOPEN_EXTENDED].
31951 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31952 [__USE_XOPEN_EXTENDED].
31953 (SA_RESTART): Likewise.
31954 (SA_NODEFER): Likewise.
31955 (SA_RESETHAND): Likewise.
31956 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31957 (struct sigaction): Define sa_handler and sa_sigaction using union
31958 also for [__USE_XOPEN_EXTENDED].
31959 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31960 [__USE_XOPEN_EXTENDED].
31961 (SA_RESTART): Likewise.
31962 (SA_NODEFER): Likewise. Define directly rather than as alias.
31963 (SA_RESETHAND): Likewise.
31964 (SA_INTERRUPT): Define only for [__USE_MISC].
31965 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31966 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31968 (SA_STACK): Define only for [__USE_MISC].
31969 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31970 (struct sigaction): Define sa_handler and sa_sigaction using union
31971 also for [__USE_XOPEN_EXTENDED].
31972 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31973 [__USE_XOPEN_EXTENDED].
31974 (SA_RESTART): Likewise.
31975 (SA_NODEFER): Likewise.
31976 (SA_RESETHAND): Likewise.
31977 (SA_NOPTRACE): Define only for [__USE_MISC].
31979 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31980 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31981 (struct catalog_info): Likewise.
31982 * inet/htontest.c (lo): Likewise.
31984 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31985 * inet/inet_net.c (inet_network): Likewise.
31986 * inet/inet_netof.c (inet_netof): Likewise.
31987 * inet/rcmd.c (__ivaliduser): Likewise.
31988 (iruserok): Likewise.
31989 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31990 * locale/programs/locale-spec.c (locale_special): Likewise.
31991 * nis/nis_findserv.c (struct findserv_req): Likewise.
31992 (__nis_findfastest_with_timeout): Likewise.
31993 * nss/test-netdb.c (test_network): Likewise.
31994 * resolv/inet_neta.c (inet_neta): Likewise.
31995 * resolv/ns_date.c (ns_datetosecs): Likewise.
31996 (SECS_PER_DAY): Likewise.
31997 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31999 * resolv/res_comp.c (__putlong): Likewise.
32000 (__putshort): Likewise.
32001 (_getlong): Likewise.
32002 (_getshort): Likewise.
32003 * resolv/res_debug.c (p_time): Likewise.
32004 (precsize_ntoa): Likewise.
32005 (precsize_aton): Likewise.
32006 (latlon2ul): Likewise.
32007 (loc_aton): Likewise.
32008 (loc_ntoa): Likewise.
32009 * resolv/res_hconf.c (struct netaddr): Likewise.
32010 (_res_hconf_reorder_addrs): Likewise.
32011 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32012 (clnttcp_control): Likewise.
32013 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32014 (clntudp_control): Likewise.
32015 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32016 (clntunix_control): Likewise.
32017 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32018 * sunrpc/rpc/auth.h (union des_block): Likewise.
32019 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32020 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32021 (xdrrec_create): Likewise.
32022 (xdrrec_endofrecord): Likewise.
32023 (flush_out): Likewise.
32024 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32025 (xdrstdio_putlong): Likewise.
32026 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32029 * misc/sys/cdefs.h (__long_double_t): Remove.
32030 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32031 instead of __long_double_t,
32032 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32034 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32036 * benchtests/scripts/compare_strings.py: Avoid display error when
32037 running on a text terminal.
32039 * benchtests/scripts/compare_strings.py (main): Add an
32040 optional -base option.
32041 (process_results): New argument base_func.
32043 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32045 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32046 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32048 2017-08-07 Andreas Schwab <schwab@suse.de>
32050 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32051 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32052 * intl/Makefile ($(objpfx)tst-gettext.out)
32053 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32054 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32055 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32056 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32057 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32058 * posix/Makefile ($(objpfx)globtest.out)
32059 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32060 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32061 ($(objpfx)tst-printf.out): Likewise.
32062 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32063 ($(objpfx)tst-setcontext3.out): Likewise.
32065 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32067 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32068 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32069 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32070 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32071 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32073 (CFLAGS-doasin-fma.c): New.
32074 (CFLAGS-dosincos-fma.c): Likewise.
32075 (CFLAGS-e_asin-fma.c): Likewise.
32076 (CFLAGS-e_atan2-fma.c): Likewise.
32077 (CFLAGS-e_exp-fma.c): Likewise.
32078 (CFLAGS-e_log-fma.c): Likewise.
32079 (CFLAGS-e_pow-fma.c): Likewise.
32080 (CFLAGS-halfulp-fma.c): Likewise.
32081 (CFLAGS-mpa-fma.c): Likewise.
32082 (CFLAGS-mpatan-fma.c): Likewise.
32083 (CFLAGS-mpatan2-fma.c): Likewise.
32084 (CFLAGS-mpexp-fma.c): Likewise.
32085 (CFLAGS-mplog-fma.c): Likewise.
32086 (CFLAGS-mpsqrt-fma.c): Likewise.
32087 (CFLAGS-mptan-fma.c): Likewise.
32088 (CFLAGS-s_atan-fma.c): Likewise.
32089 (CFLAGS-sincos32-fma.c): Likewise.
32090 (CFLAGS-slowexp-fma.c): Likewise.
32091 (CFLAGS-slowpow-fma.c): Likewise.
32092 (CFLAGS-s_sin-fma.c): Likewise.
32093 (CFLAGS-s_tan-fma.c): Likewise.
32094 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32095 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32096 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32097 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32098 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32099 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32100 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32101 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32102 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32103 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32104 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32105 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32106 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32107 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32108 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32109 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32110 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32111 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32112 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32113 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32114 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32115 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32116 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32117 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32118 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32119 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32120 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32121 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32122 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32123 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32124 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32126 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32128 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32129 (min_of_type_f): New macro.
32130 (min_of_type_): Likewise.
32131 (min_of_type_l): Likewise.
32132 (min_of_type_f128): Likewise.
32133 (min_of_type): Define using __MATH_TG and taking an expression
32135 (math_check_force_underflow): Pass expression instead of type to
32137 (math_check_force_underflow_nonneg): Likewise.
32139 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32141 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32142 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32143 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32145 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32147 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32148 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32149 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32150 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32151 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32152 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32153 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32154 memmove_chk-nonshared and memset_chk-nonshared
32155 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32156 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32157 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32158 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32159 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32160 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32161 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32162 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32163 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32164 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32165 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32166 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32167 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32168 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32169 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32170 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32171 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32172 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32173 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32174 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32175 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32176 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32177 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32178 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32179 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32180 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32181 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32182 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32183 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32184 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32185 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32186 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32187 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32188 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32189 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32190 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32191 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32192 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32193 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32194 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32195 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32196 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32197 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32198 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32199 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32200 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32201 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32202 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32203 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32204 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32205 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32206 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32207 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32208 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32209 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32210 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32211 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32212 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32213 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32214 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32215 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32216 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32217 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32218 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32219 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32220 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32221 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32222 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32223 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32224 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32225 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32226 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32227 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32228 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32229 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32230 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32231 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32232 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32233 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32234 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32235 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32236 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32237 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32238 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32239 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32240 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32241 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32242 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32243 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32244 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32245 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32246 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32247 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32248 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32249 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32250 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32251 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32252 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32253 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32254 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32255 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32256 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32257 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32258 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32259 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32260 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32261 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32262 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32264 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32266 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32267 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32268 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32269 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32270 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32271 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32272 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32273 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32274 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32275 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32276 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32277 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32278 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32279 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32280 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32281 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32282 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32283 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32284 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32285 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32286 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32287 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32288 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32289 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32290 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32291 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32292 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32293 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32294 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32295 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32296 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32297 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32298 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32299 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32300 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32301 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32302 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32303 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32304 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32305 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32306 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32307 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32308 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32309 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32310 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32311 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32312 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32313 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32314 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32315 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32316 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32317 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32318 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32319 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32320 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32321 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32322 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32323 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32324 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32326 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32327 Don't include <sysdep.h> nor <init-arch.h>.
32328 (_ZGVbN2v_cos): Removed.
32329 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32331 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32332 Don't include <sysdep.h> nor <init-arch.h>.
32333 (_ZGVdN4v_cos): Removed.
32334 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32336 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32337 Don't include <sysdep.h> nor <init-arch.h>.
32338 (_ZGVeN8v_cos): Removed.
32339 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32341 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32342 Don't include <sysdep.h> nor <init-arch.h>.
32343 (_ZGVbN2v_exp): Removed.
32344 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32346 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32347 Don't include <sysdep.h> nor <init-arch.h>.
32348 (_ZGVdN4v_exp): Removed.
32349 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32351 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32352 Don't include <sysdep.h> nor <init-arch.h>.
32353 (_ZGVeN8v_exp): Removed.
32354 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32356 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32357 Don't include <sysdep.h> nor <init-arch.h>.
32358 (_ZGVbN2v_log): Removed.
32359 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32361 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32362 Don't include <sysdep.h> nor <init-arch.h>.
32363 (_ZGVdN4v_log): Removed.
32364 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32366 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32367 Don't include <sysdep.h> nor <init-arch.h>.
32368 (_ZGVeN8v_log): Removed.
32369 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32371 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32372 Don't include <sysdep.h> nor <init-arch.h>.
32373 (_ZGVbN2vv_pow): Removed.
32374 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32376 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32377 Don't include <sysdep.h> nor <init-arch.h>.
32378 (_ZGVdN4vv_pow): Removed.
32379 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32381 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32382 Don't include <sysdep.h> nor <init-arch.h>.
32383 (_ZGVeN8vv_pow): Removed.
32384 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32386 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32387 Don't include <sysdep.h> nor <init-arch.h>.
32388 (_ZGVbN2v_sin): Removed.
32389 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32391 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32392 Don't include <sysdep.h> nor <init-arch.h>.
32393 (_ZGVbN4v_sin): Removed.
32394 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32396 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32397 Don't include <sysdep.h> nor <init-arch.h>.
32398 (_ZGVbN8v_sin): Removed.
32399 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32401 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32402 Don't include <sysdep.h> nor <init-arch.h>.
32403 (_ZGVbN2vvv_sincos): Removed.
32404 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32406 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32407 Don't include <sysdep.h> nor <init-arch.h>.
32408 (_ZGVdN4vvv_sincos): Removed.
32409 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32411 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32412 Don't include <sysdep.h> nor <init-arch.h>.
32413 (_ZGVeN8vvv_sincos): Removed.
32414 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32416 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32417 Don't include <sysdep.h> nor <init-arch.h>.
32418 (_ZGVeN16v_cosf): Removed.
32419 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32421 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32422 Don't include <sysdep.h> nor <init-arch.h>.
32423 (_ZGVbN4v_cosf): Removed.
32424 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32426 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32427 Don't include <sysdep.h> nor <init-arch.h>.
32428 (_ZGVdN8v_cosf): Removed.
32429 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32431 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32432 Don't include <sysdep.h> nor <init-arch.h>.
32433 (_ZGVeN16v_expf): Removed.
32434 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32436 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32437 Don't include <sysdep.h> nor <init-arch.h>.
32438 (_ZGVbN4v_expf): Removed.
32439 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32441 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32442 Don't include <sysdep.h> nor <init-arch.h>.
32443 (_ZGVdN8v_expf): Removed.
32444 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32446 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32447 Don't include <sysdep.h> nor <init-arch.h>.
32448 (_ZGVeN16v_logf): Removed.
32449 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32451 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32452 Don't include <sysdep.h> nor <init-arch.h>.
32453 (_ZGVbN4v_logf): Removed.
32454 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32456 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32457 Don't include <sysdep.h> nor <init-arch.h>.
32458 (_ZGVdN8v_logf): Removed.
32459 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32461 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32462 Don't include <sysdep.h> nor <init-arch.h>.
32463 (_ZGVeN16vv_powf): Removed.
32464 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32466 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32467 Don't include <sysdep.h> nor <init-arch.h>.
32468 (_ZGVbN4vv_powf): Removed.
32469 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32471 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32472 Don't include <sysdep.h> nor <init-arch.h>.
32473 (_ZGVdN8vv_powf): Removed.
32474 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32476 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32477 Don't include <sysdep.h> nor <init-arch.h>.
32478 (_ZGVeN16vvv_sincosf): Removed.
32479 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32481 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32482 Don't include <sysdep.h> nor <init-arch.h>.
32483 (_ZGVbN4vvv_sincosf): Removed.
32484 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32486 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32487 Don't include <sysdep.h> nor <init-arch.h>.
32488 (_ZGVdN8vvv_sincosf): Removed.
32489 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32491 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32492 Don't include <sysdep.h> nor <init-arch.h>.
32493 (_ZGVeN16v_sinf): Removed.
32494 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32496 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32497 Don't include <sysdep.h> nor <init-arch.h>.
32498 (_ZGVbN4v_sinf): Removed.
32499 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32501 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32502 Don't include <sysdep.h> nor <init-arch.h>.
32503 (_ZGVdN8v_sinf): Removed.
32505 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32507 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32508 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32509 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32510 s_rint-sse4_1 and s_rintf-sse4_1.
32511 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32512 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32513 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32514 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32515 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32516 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32517 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32518 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32519 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32520 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32521 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32522 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32524 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32525 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32526 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32527 (__ceilf): Removed.
32528 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32529 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32530 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32531 (__floor): Removed.
32532 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32533 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32534 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32535 (__floorf): Removed.
32536 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32537 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32538 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32539 (__nearbyint): Removed.
32540 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32541 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32542 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32543 (__nearbyintf): Removed.
32544 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32545 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32546 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32548 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32549 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32550 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32551 (__rintf): Removed.
32553 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32555 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32556 SHARED. Avoid dynamic relocation against main in static PIE.
32558 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32561 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32562 (LDFLAGS-tst-prelink): Likewise.
32564 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32566 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32567 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32568 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32569 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32570 (INTERNAL_SYSCALL_NCS): Likewise.
32571 (LOADARGS_1): Likewise.
32572 (LOADARGS_5): Likewise.
32573 (RESTOREARGS_1): Likewise.
32574 (RESTOREARGS_5): Likewise.
32576 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32578 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32579 (MEMPCPY_SYMBOL): Likewise.
32580 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32581 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32582 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32584 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32585 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32587 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32588 (__hidden_ver1): Don't use in libc.a.
32589 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32590 (__mempcpy): Don't create a weak alias in libc.a.
32591 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32593 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32594 (__hidden_ver1): Don't use in libc.a.
32596 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32598 * config.make.in (have-insert): New.
32599 * configure.ac (libc_cv_insert): New. Set to yes if linker
32600 supports INSERT in linker script.
32601 (AC_SUBST(libc_cv_insert): New.
32602 * configure: Regenerated.
32603 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32604 if $(have-insert) == yes.
32606 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32608 * elf/Makefile (tests): Add vismain only if
32609 $(have-protected-data) == yes.
32610 (tests-pie): Likewise.
32612 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32615 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32616 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32618 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32621 * sysdeps/i386/i586/memset.S
32622 (__memset_zero_constant_len_parameter): Removed.
32623 * sysdeps/i386/i686/memset.S
32624 (__memset_zero_constant_len_parameter): Likewise.
32625 * sysdeps/i386/i686/multiarch/memset_chk.S
32626 (__memset_zero_constant_len_parameter): Likewise.
32627 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32630 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32632 * stdlib/getentropy.c (getentropy): Change return type to int.
32634 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32636 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32638 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32640 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32642 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32643 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32645 (ieee_float_shape_type): Likewise.
32646 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32647 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32648 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32649 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32650 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32651 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32652 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32653 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32654 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32656 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32657 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32658 (__ieee754_yn): Likewise.
32659 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32660 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32661 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32663 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32664 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32665 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32666 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32667 (__erfc): Likewise.
32668 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32669 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32670 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32671 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32672 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32673 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32675 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32676 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32677 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32678 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32679 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32680 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32681 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32682 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32683 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32684 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32685 (__issignaling): Likewise.
32686 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32687 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32688 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32690 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32691 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32692 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32693 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32695 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32697 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32698 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32699 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32700 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32701 (__erfcf): Likewise.
32702 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32703 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32704 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32705 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32707 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32708 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32710 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32711 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32712 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32713 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32714 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32715 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32716 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32717 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32719 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32721 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32723 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32724 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32726 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32728 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32729 (__ieee754_ynl): Likewise.
32730 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32731 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32733 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32735 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32736 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32737 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32739 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32740 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32741 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32742 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32743 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32744 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32745 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32746 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32748 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32749 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32750 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32752 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32753 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32754 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32755 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32756 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32757 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32759 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32761 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32763 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32765 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32766 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32767 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32768 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32769 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32770 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32771 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32773 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32775 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32776 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32778 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32779 (__ieee754_remainderl): Likewise.
32780 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32781 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32782 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32783 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32785 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32786 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32788 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32789 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32790 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32791 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32792 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32793 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32795 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32796 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32797 (__ieee754_y0l): Likewise.
32800 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32801 (__ieee754_y1l): Likewise.
32804 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32805 (__ieee754_ynl): Likewise.
32806 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32807 (__ieee754_lgammal_r): Likewise.
32808 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32810 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32811 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32812 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32813 (__erfcl): Likewise.
32814 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32815 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32817 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32818 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32819 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32820 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32821 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32822 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32823 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32825 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32826 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32827 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32828 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32829 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32831 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32832 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32834 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32835 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32836 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32837 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32838 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32840 2017-08-03 Florian Weimer <fweimer@redhat.com>
32843 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32844 on memory allocation failure.
32846 2017-08-03 Alan Modra <amodra@gmail.com>
32848 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32849 tst-tlsopt-powerpc.c with function name change and no test harness.
32850 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32851 Call tls_get_addr_opt_test.
32852 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32853 (modules-names): Add mod-tlsopt-powerpc.
32854 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32855 (tst-tlsopt-powerpc): Depend on .so.
32856 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32857 define. Expand use in TLS_GD and TLS_LD.
32859 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32861 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32863 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32865 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32868 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32869 comparing size with that of double.
32870 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32871 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32872 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32873 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32874 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32875 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32876 unsigned __int128 types.
32878 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32880 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32881 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32882 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32883 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32884 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32886 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32888 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32890 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32892 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32894 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32895 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32896 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32897 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32898 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32899 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32900 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32902 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32905 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32906 bit-field expressions passed to sizeof or typeof.
32907 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32908 (__TGMATH_F128): Likewise.
32909 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32910 (__TGMATH_CF128): Likewise.
32911 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32912 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32913 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32914 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32915 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32916 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32917 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32918 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32919 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32920 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32921 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32922 (__TGMATH_UNARY_IMAG): Likewise.
32923 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32924 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32925 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32927 (define_vars_for_type): Handle bit_field type specially.
32928 (Tests.__init__): Declare structure with bit-field element.
32930 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32933 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32934 (MEMCPY_CHK): Define only if SHARED is defined.
32935 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32937 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32940 See ChangeLog.18 for earlier changes.