1 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3 * sysdeps/ieee754/ldbl-opt/Makefile
4 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
6 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
8 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11 * argp/Makefile (headers): Add bits/argp-ldbl.h.
12 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
13 * argp/bits/argp-ldbl.h: New file.
14 * include/argp.h: Include stdarg.h. Add prototypes for internal
15 functions: __argp_error_internal and __argp_failure_internal.
16 * include/bits/argp-ldbl.h: New file.
17 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
18 __nldbl_argp_error and __nldbl_argp_failure.
19 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
20 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
21 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
22 Redirect argp_error and argp_failure calls.
23 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
24 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
28 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
30 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
32 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
33 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
34 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
36 2019-03-01 Florian Weimer <fweimer@redhat.com>
39 * elf/tst-big-note-lib.S: Create a syntactically valid note.
40 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
41 code, to avoid creating an ABI tag note.
42 (modules-names-nobuild): Add tst-big-note-lib.
44 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
46 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
47 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
49 2019-03-01 Florian Weimer <fweimer@redhat.com>
52 * sysdeps/unix/sysv/linux/netlink_assert_response.c
53 (__netlink_assert_response): Add additional missing newlines.
55 2019-02-28 Joseph Myers <joseph@codesourcery.com>
57 * sysdeps/powerpc/powerpc32/dl-machine.c
58 (__elf_machine_fixup_plt): Use space before '('.
59 (__process_machine_rela): Likewise.
60 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
62 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
64 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
66 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
69 (check_result): Likewise.
70 (check_excepts): Likewise.
73 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
74 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
76 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
79 (__makecontext): Likewise.
80 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
83 2019-02-28 Florian Weimer <fweimer@redhat.com>
86 elf: Add test with a local IFUNC resolver.
87 * elf/ifuncmain9.c: New file.
88 * elf/ifuncmain9pic.c: Likewise.
89 * elf/ifuncmain9picstatic.c: Likewise.
90 * elf/ifuncmain9pie.c: Likewise.
91 * elf/ifuncmain9static.c: Likewise.
92 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
93 ifuncmain9static, ifuncmain9picstatic.
94 * elf/Makefile [multi-arch && build-shared] (tests-internal):
95 Add ifuncmain9, ifuncmain9pic.
96 * elf/Makefile [multi-arch && build-shared && have-fpie]
97 (ifunc-pie-tests): Add ifuncmain9pie.
98 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
99 (CFLAGS-ifuncmain9picstatic.c): Likewise.
100 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
102 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
104 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
105 * configure: Regenerated.
106 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
108 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
110 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
111 symbol as __wcspcy instead of wcscpy.
113 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
115 * include/stdio.h (__renameat2): New hidden prototype.
116 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
117 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
118 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
119 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
121 2019-02-27 Joseph Myers <joseph@codesourcery.com>
123 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
126 * benchtests/bench-strcpy.c (do_test): Use space before '('.
127 * benchtests/bench-string.h (cmdline_process_function): Likewise.
128 * benchtests/bench-strlen.c (do_test): Likewise.
129 (test_main): Likewise.
130 * catgets/gencat.c (read_old): Likewise.
131 * elf/cache.c (load_aux_cache): Likewise.
132 * iconvdata/bug-iconv8.c (do_test): Likewise.
133 * math/test-tgmath-ret.c (do_test): Likewise.
134 * nis/nis_call.c (rec_dirsearch): Likewise.
135 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
136 * nptl/tst-audit-threads.c (do_test): Likewise.
137 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
138 * nss/nss_test1.c (init): Likewise.
139 * nss/test-netdb.c (test_hosts): Likewise.
140 * posix/execvpe.c (maybe_script_execute): Likewise.
141 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
142 * stdio-common/tst-printf.c (do_test): Likewise.
143 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
144 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
145 * stdlib/qsort.c (STACK_SIZE): Likewise.
146 * stdlib/test-canon.c (do_test): Likewise.
147 * stdlib/tst-swapcontext1.c (do_test): Likewise.
148 * string/memcmp.c (OPSIZ): Likewise.
149 * string/test-strcpy.c (do_test): Likewise.
150 (do_random_tests): Likewise.
151 * string/test-strlen.c (do_test): Likewise.
152 (test_main): Likewise.
153 * string/test-strrchr.c (do_test): Likewise.
154 (do_random_tests): Likewise.
155 * string/tester.c (test_memrchr): Likewise.
156 (test_memchr): Likewise.
157 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
158 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
159 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
160 (read_encoded_value_with_base): Likewise.
161 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
162 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
163 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
164 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
165 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
166 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
168 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
170 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
171 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
172 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
174 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
176 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
178 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
180 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
181 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
182 (FP_XSTATE_MAGIC2_SIZE): Likewise.
183 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
184 * time/test_time.c (main): Likewise.
186 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
188 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
190 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
193 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
196 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
198 * include/wchar.h (__wcscpy): New prototype.
199 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
200 (__wcscpy): Route internal symbol to generic implementation.
201 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
202 Add internal __wcscpy alias.
203 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
204 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
205 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
206 * wcsmbs/wcscpy.c (wcscpy): Add
207 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
208 use generic implementation.
209 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
211 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
214 * sysdeps/m68k/wcpcpy.c: Remove file.
215 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
217 2019-02-26 Joseph Myers <joseph@codesourcery.com>
219 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
220 than after operators.
221 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
222 * sysdeps/mach/hurd/getcwd.c
223 (__hurd_canonicalize_directory_name_internal): Likewise.
224 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
225 (pthread_mutex_consistent): Likewise.
226 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
228 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
229 (__pthread_mutex_transfer_np): Likewise.
230 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
231 (__pthread_mutex_unlock): Likewise.
232 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
233 (mtx_owned_p): Likewise.
234 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
235 (pthread_mutexattr_getrobust): Likewise.
236 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
237 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
239 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
240 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
241 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
242 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
243 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
244 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
245 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
247 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
249 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
250 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
251 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
252 (____longjmp_chk): Likewise.
253 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
255 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
256 (INTERNAL_SYSCALL): Likewise.
257 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
258 (INTERNAL_SYSCALL): Likewise.
259 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
260 (__get_clockfreq_via_cpuinfo): Likewise.
262 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
264 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
265 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
266 (WORD_COPY_BWD): Likewise.
267 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
268 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
270 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
271 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
273 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
275 2019-02-25 Joseph Myers <joseph@codesourcery.com>
277 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
278 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
279 rather than after operators.
280 * elf/cache.c (print_cache): Likewise.
281 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
282 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
283 * hurd/hurdinit.c (_hurd_setproc): Likewise.
284 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
285 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
286 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
287 (reauth_proc): Likewise.
288 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
289 (__file_name_split_at): Likewise.
290 (__directory_name_split_at): Likewise.
291 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
292 * hurd/port2fd.c (_hurd_port2fd): Likewise.
293 * iconv/gconv_dl.c (do_print): Likewise.
294 * inet/netinet/in.h (struct sockaddr_in): Likewise.
295 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
296 * locale/setlocale.c (new_composite_name): Likewise.
297 * malloc/memusagestat.c (main): Likewise.
298 * misc/fstab.c (fstab_convert): Likewise.
299 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
301 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
302 (getgrent_next_file): Likewise.
303 (internal_getgrnam_r): Likewise.
304 (internal_getgrgid_r): Likewise.
305 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
307 (internal_getgrent_r): Likewise.
308 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
309 (getpwent_next_nss): Likewise.
310 (getpwent_next_file): Likewise.
311 (internal_getpwnam_r): Likewise.
312 (internal_getpwuid_r): Likewise.
313 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
315 (getspent_next_nss): Likewise.
316 (internal_getspnam_r): Likewise.
317 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
318 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
319 * string/strchr.c (STRCHR): Likewise.
320 * string/strchrnul.c (STRCHRNUL): Likewise.
321 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
322 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
323 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
324 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
325 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
327 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
328 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
329 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
330 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
331 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
332 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
333 (open_file): Likewise.
334 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
335 (pthread_mutexattr_setprotocol): Likewise.
336 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
337 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
338 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
339 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
340 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
342 (elf_machine_rela): Likewise.
343 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
344 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
345 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
346 * sysdeps/posix/rename.c (rename): Likewise.
347 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
348 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
349 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
350 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
351 * sysdeps/unix/grantpt.c (grantpt): Likewise.
352 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
353 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
355 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
357 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
358 * time/tzfile.c (__tzfile_compute): Likewise.
360 2019-02-22 Joseph Myers <joseph@codesourcery.com>
362 * benchtests/bench-memmem.c (simple_memmem): Break lines before
363 rather than after operators.
364 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
365 * crypt/md5.c (md5_finish_ctx): Likewise.
366 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
367 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
368 * elf/cache.c (load_aux_cache): Likewise.
369 * elf/dl-load.c (open_verify): Likewise.
370 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
371 * elf/readelflib.c (process_elf_file): Likewise.
372 * elf/rtld.c (dl_main): Likewise.
373 * elf/sprof.c (generate_call_graph): Likewise.
374 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
375 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
376 * hurd/dtable.c (reauth_dtable): Likewise.
377 * hurd/getdport.c (__getdport): Likewise.
378 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
379 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
380 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
382 * hurd/hurdioctl.c (fioctl): Likewise.
383 * hurd/hurdselect.c (_hurd_select): Likewise.
384 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
385 (STOPSIGS): Likewise.
386 * hurd/hurdstartup.c (_hurd_startup): Likewise.
387 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
388 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
389 * hurd/msgportdemux.c (msgport_server): Likewise.
390 * hurd/setauth.c (_hurd_setauth): Likewise.
391 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
392 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
393 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
394 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
395 * login/tst-utmp.c (do_check): Likewise.
396 (simulate_login): Likewise.
397 * mach/lowlevellock.h (lll_lock): Likewise.
398 (lll_trylock): Likewise.
399 * math/test-fenv.c (ALL_EXC): Likewise.
400 * math/test-fenvinline.c (ALL_EXC): Likewise.
401 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
402 * nis/nis_call.c (__do_niscall3): Likewise.
403 * nis/nis_callback.c (cb_prog_1): Likewise.
404 * nis/nis_defaults.c (searchaccess): Likewise.
405 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
406 * nis/nis_ismember.c (internal_ismember): Likewise.
407 * nis/nis_local_names.c (nis_local_principal): Likewise.
408 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
409 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
411 * nis/ypclnt.c (yp_match): Likewise.
412 (yp_first): Likewise.
414 (yp_master): Likewise.
415 (yp_order): Likewise.
416 * nscd/hstcache.c (cache_addhst): Likewise.
417 * nscd/initgrcache.c (addinitgroupsX): Likewise.
418 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
419 (internal_getpwuid_r): Likewise.
420 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
421 * posix/glob.h (__GLOB_FLAGS): Likewise.
422 * posix/regcomp.c (peek_token): Likewise.
423 (peek_token_bracket): Likewise.
424 (parse_expression): Likewise.
425 * posix/regexec.c (sift_states_iter_mb): Likewise.
426 (check_node_accept_bytes): Likewise.
427 * posix/tst-spawn3.c (do_test): Likewise.
428 * posix/wordexp-test.c (testit): Likewise.
429 * posix/wordexp.c (parse_tilde): Likewise.
430 (exec_comm): Likewise.
431 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
432 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
433 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
434 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
435 * stdio-common/tst-fileno.c (do_test): Likewise.
436 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
437 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
438 * stdlib/strtod_l.c (round_and_return): Likewise.
439 (____STRTOF_INTERNAL): Likewise.
440 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
441 * string/strcspn.c (STRCSPN): Likewise.
442 * string/test-memmem.c (simple_memmem): Likewise.
443 * termios/tcsetattr.c (tcsetattr): Likewise.
444 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
445 * time/asctime.c (asctime_internal): Likewise.
446 * time/strptime_l.c (__strptime_internal): Likewise.
447 * time/sys/time.h (timercmp): Likewise.
448 * time/tzfile.c (__tzfile_compute): Likewise.
450 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
453 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
455 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
457 * argp/argp-help.c (__argp_error_internal): New function,
458 renamed from __argp_error, but that takes a 'mode_flags'
459 parameter to control the format of long double parameters.
460 (__argp_error): Converted into a call __argp_error_internal.
461 (__argp_failure_internal): New function, renamed from
462 __argp_failure, but that takes a 'mode_flags' parameter.
463 (__argp_failure): Converted into a call __argp_failure_internal.
464 * misc/err.c (__vwarnx_internal): New function, renamed from
465 vwarnx, but that takes a 'mode_flags' parameter.
466 (vwarnx): Converted into a call to __vwarnx_internal.
467 (__vwarn_internal): New function, renamed from vwarn, but that
468 takes a 'mode_flags' parameter.
469 (vwarn): Converted into a call to __vwarn_internal.
470 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
471 call to __vfxprintf with 'mode_flags'.
472 (__error_internal): New function, renamed from error, but that
473 takes a 'mode_flags' parameter.
474 (error): Converted into a call to __error_internal.
475 (__error_at_line_internal): New function, renamed from
476 error_at_line, but that takes a 'mode_flags' parameter.
477 (error_at_line): Converted into a call to
478 __error_at_line_internal.
479 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
480 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
483 2019-02-20 Martin Liska <mliska@suse.cz>
485 * math/Makefile: Install math-vector-fortran.h.
486 * bits/math-vector-fortran.h: New file.
487 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
489 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
491 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
492 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
494 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
496 * nptl/pthread_mutex_trylock.c: Fix comment.
498 2019-02-19 Carlos O'Donell <carlos@redhat.com>
500 * nptl/pthread_tryjoin.c: Fix comment.
502 2019-02-18 Joseph Myers <joseph@codesourcery.com>
505 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
506 after R_SPARC_H34 case.
508 2019-02-18 Florian Weimer <fweimer@redhat.com>
510 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
511 (getanswer): Do not call Dprintf.
512 (res_gethostbyname2_context): Likewise.
513 (res_gethostbyaddr_context): Likewise.
515 2019-02-18 Florian Weimer <fweimer@redhat.com>
517 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
519 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
521 * libio/stdfiles.c: Update comment.
522 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
523 set _IO_stdin, _IO_stdout, _IO_stderr.
524 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
525 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
527 (_IO_deallocate_file): New inline function.
528 * libio/iolibio.h (_IO_vprintf): Remove definition.
529 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
530 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
531 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
533 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
534 __builtin_expect. Use _IO_legacy_file.
536 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
538 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
539 Initialize ctid with a known value and remove update of ctid
541 (wait_tid): Adjust arguments and call futex_wait with ctid_val
542 as assumed current value of ctid_ptr.
544 2019-02-15 Florian Weimer <fweimer@redhat.com>
546 Check that non-sysdeps headers have wrapper headers.
547 * scripts/check-wrapper-headers.py: New file.
548 * Makefile (tests-special): Add check-wrapper-headers.out.
549 (check-wrapper-headers.out): New target.
550 * Rules (tests-special): Add check-wrapper-headers.out.
551 (check-wrapper-headers.out): New target.
553 2019-02-15 Florian Weimer <fweimer@redhat.com>
555 Add missing header wrappers under include/.
556 * include/ar.h: New file.
557 * include/bits/mqueue2.h: Likewise.
558 * include/bits/stdio.h: Likewise.
559 * include/bits/stdio2.h: Likewise.
560 * include/fstab.h: Likewise.
561 * include/fts.h: Likewise.
562 * include/lastlog.h: Likewise.
563 * include/netinet/icmp6.h: Likewise.
564 * include/netinet/igmp.h: Likewise.
565 * include/netinet/ip6.h: Likewise.
566 * include/re_comp.h: Likewise.
567 * include/regexp.h: Likewise.
568 * include/rpcsvc/bootparam.h: Likewise.
569 * include/rpcsvc/yp_prot.h: Likewise.
570 * include/sys/random.h: Likewise.
571 * include/sys/stropts.h: Likewise.
572 * include/sys/ttychars.h: Likewise.
573 * include/sys/vfs.h: Likewise.
574 * include/wait.h: Likewise.
576 2019-02-15 Florian Weimer <fweimer@redhat.com>
578 * nptl_db/proc_service.h: Move to ...
579 * sysdeps/nptl/proc_service.h: ... here.
580 * nptl_db/thread_db.h: Move to ...
581 * sysdeps/nptl/thread_db.h: ... here.
582 * nptl/descr.h: Include <thread_db.h>.
584 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
586 * io/Makefile (tests): Add tst-lockf.
587 * io/lockf.c (lockf): Use __fcntl and only define for
588 !__OFF_T_MATCHES_OFF64_T.
589 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
590 __OFF_T_MATCHES_OFF64_T case.
591 * io/tst-lockf.c: New file.
592 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
593 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
594 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
595 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
596 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
598 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
599 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
600 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
602 2019-02-15 Florian Weimer <fweimer@redhat.com>
605 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
606 pd->result after the thread descriptor has been freed.
608 2019-02-15 Joseph Myers <joseph@codesourcery.com>
610 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
611 from function return type.
613 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
615 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
617 * scripts/test_printers_common.py: Set TERM to a known harmless
620 2019-02-14 Joseph Myers <joseph@codesourcery.com>
622 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
623 (xdr_u_int): Likewise.
624 (xdr_enum): Likewise.
625 (xdr_bytes): Reword fall-through comment.
626 (xdr_string): Likewise.
628 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
631 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
632 (tests): Add tst-join8 tst-join9.
633 * nptl/lll_timedwait_tid.c: Remove file.
634 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
635 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
636 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
637 * nptl/pthread_join_common.c (timedwait_tid): New function.
638 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
640 * nptl/tst-join5.c (thread_join): New function.
641 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
643 * nptl/tst-join8.c: New file.
644 * nptl/tst-join9.c: Likewise.
645 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
646 lll_futex_timed_wait_cancel): Add generic macros.
647 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
649 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
650 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
651 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
652 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
654 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
656 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
657 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
658 (lll_futex_timed_wait_cancel): New macro.
660 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
662 * benchtests/Makefile: Add malloc-simple benchmark.
663 * benchtests/bench-malloc-simple.c: New benchmark.
665 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
667 * benchtests/bench-memmove.c (do_one_test): Remove unused
670 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
674 2019-01-13 Jim Wilson <jimw@sifive.com>
677 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
678 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
680 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
682 * nptl/Makefile (tests): Add tst-unwind-thread.
683 (CFLAGS-tst-unwind-thread.c): Define.
684 * nptl/tst-unwind-thread.c: New file.
685 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
688 2019-02-13 Joseph Myers <joseph@codesourcery.com>
690 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
692 * nis/nis_call.c (__do_niscall3): Likewise.
694 * catgets/gencat.c (normalize_line): Use braces around empty
696 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
697 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
698 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
699 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
700 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
701 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
702 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
705 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
708 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
710 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
711 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
712 * benchtests/bench-strchr.c (stupid_strchr): Remove.
713 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
714 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
715 * benchtests/bench-strlen.c (builtin_strlen): Remove.
716 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
717 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
718 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
719 * benchtests/bench-strspn.c (stupid_strspn): Remove.
720 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
721 * benchtests/bench-bcopy.c: Delete file.
722 * benchtests/bench-bzero.c: Likewise.
723 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
724 (simple_memccpy): Remove.
725 (generic_memccpy): Add function.
726 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
727 * benchtests/bench-memmove.c (simple_bcopy): Remove.
728 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
729 (generic_mempcpy): Add new function.
730 * benchtests/bench-memset.c (simple_bzero): Remove.
731 (builtin_bzero): Remove.
732 (builtin_memset): Remove.
733 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
734 (generic_rawmemchr): Add new function.
736 2019-02-12 Florian Weimer <fweimer@redhat.com>
738 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
740 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
743 * elf/Makefile (tests): Add tst-audit13.
744 (modules-names): Add tst-audit13mod1.
745 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
747 * elf/tst-audit13.c: New file.
748 * elf/tst-audit13mod1.c: Likewise.
750 2019-02-12 Florian Weimer <fweimer@redhat.com>
753 * elf/rtld.c (unload_audit_module): New function.
754 (report_audit_module_load_error): Likewise.
755 (load_audit_module): Likewise. Extracted from dl_main. Call
756 _dl_close if the laversion symbol cannot be found. Use early
757 returns for error handling. Add malloc error check. Check for a
758 zero return value from la_version. Remove spurious comment about
759 static TLS initialization. Remove useless casts.
760 (notify_audit_modules_of_loaded_object): New function. Extracted
762 (load_audit_module): Likewise.
763 (dl_main): Call load_audit_modules.
765 2019-02-12 Joseph Myers <joseph@codesourcery.com>
767 * elf/dl-exception.c (_dl_exception_create_format): Add
768 fall-through comments.
769 * elf/ldconfig.c (parse_conf_include): Likewise.
770 * elf/rtld.c (print_statistics): Likewise.
771 * locale/programs/charmap.c (parse_charmap): Likewise.
772 * misc/mntent_r.c (__getmntent_r): Likewise.
773 * posix/wordexp.c (parse_arith): Likewise.
774 (parse_backtick): Likewise.
775 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
776 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
777 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
779 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
781 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
782 Use float instead of double.
784 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
786 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
788 2019-02-08 Joseph Myers <joseph@codesourcery.com>
790 * sysdeps/powerpc/bits/mathinline.h: Remove.
792 2019-02-08 Florian Weimer <fweimer@redhat.com>
794 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
795 * math/bits/math-finite.h: Move to ...
796 * bits/math-finite.h: ... here.
798 2019-02-08 Florian Weimer <fweimer@redhat.com>
800 * sysdeps/generic/bits/unistd_ext.h: Move to ...
801 * bits/unistd_ext.h: here.
803 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
806 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
807 * nss/tst-nss-files-hosts-long.c: New file.
808 * nss/tst-nss-files-hosts-long.root: New directory.
809 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
810 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
812 2019-02-08 Florian Weimer <fweimer@redhat.com>
814 * include/bits/unistd_ext.h: Remove file.
815 * posix/bits/unistd_ext.h: Move to ...
816 * sysdeps/generic/bits/unistd_ext.h: ... here.
818 2019-02-08 Florian Weimer <fweimer@redhat.com>
820 * include/bits/unistd_ext.h: New file.
822 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
824 * time/tst-strftime2.c: Use array_length macros instead of magic
827 2019-02-08 Florian Weimer <fweimer@redhat.com>
830 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
832 * nptl/register-atfork.c (__run_fork_handlers): Only perform
833 locking if the new do_locking argument is true.
834 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
837 2019-02-08 Florian Weimer <fweimer@redhat.com>
840 Linux: Add gettid system call wrapper.
841 * posix/Makefile (headers): Add bits/unistd_ext.h.
842 * posix/bits/unistd_ext.h: New file.
843 * posix/unistd.h: Include it.
844 * manual/process.texi (Process Identification): Document gettid.
845 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
846 tst-gettid, tst-gettid-kill.
847 (tst-gettid): Link with $(shared-thread-library).
848 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
849 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
850 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
851 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
852 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
853 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
855 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
857 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
858 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
860 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
862 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
864 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
866 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
868 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
870 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
872 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
873 (GLIBC_2.30): Likewise.
874 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
875 (GLIBC_2.30): Likewise.
876 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
877 (GLIBC_2.30): Likewise.
878 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
879 (GLIBC_2.30): Likewise.
880 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
883 (GLIBC_2.30): Likewise.
884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
885 (GLIBC_2.30): Likewise.
886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
887 (GLIBC_2.30): Likewise.
888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
889 (GLIBC_2.30): Likewise.
890 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
892 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
894 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
896 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
897 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
899 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
901 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
903 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
905 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
907 2019-02-07 Florian Weimer <fweimer@redhat.com>
909 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
910 compatibility symbols.
912 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
915 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
916 Add compiler barriers and comments.
918 2019-02-07 Florian Weimer <fweimer@redhat.com>
920 * include/array_length.h (array_length): Do not use a statement
921 expression and _Static_assert, so that array_length can be used at
922 file scope and as a constant expression.
924 2019-02-07 Florian Weimer <fweimer@redhat.com>
926 * support/xdlfcn.h (xdlmopen): Declare.
927 * support/xdlmopen.c: New file.
928 * support/Makefile (libsupport-routines): Add xdlmopen.
930 2019-02-06 Joseph Myers <joseph@codesourcery.com>
932 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
933 before return type, without separate inline.
934 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
935 * elf/dl-tunables.h (tunable_is_name): Likewise.
936 * malloc/malloc.c (do_set_trim_threshold): Likewise.
937 (do_set_top_pad): Likewise.
938 (do_set_mmap_threshold): Likewise.
939 (do_set_mmaps_max): Likewise.
940 (do_set_mallopt_check): Likewise.
941 (do_set_perturb_byte): Likewise.
942 (do_set_arena_test): Likewise.
943 (do_set_arena_max): Likewise.
944 (do_set_tcache_max): Likewise.
945 (do_set_tcache_count): Likewise.
946 (do_set_tcache_unsorted_limit): Likewise.
947 * nis/nis_subr.c (count_dots): Likewise.
948 * nptl/allocatestack.c (advise_stack_range): Likewise.
949 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
951 (reduce_sincos): Likewise.
952 (do_sincos): Likewise.
953 * sysdeps/unix/sysv/linux/x86/elision-conf.c
954 (do_set_elision_enable): Likewise.
955 (TUNABLE_CALLBACK_FNDECL): Likewise.
957 2019-02-06 Florian Weimer <fweimer@redhat.com>
959 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
960 (xdlsym): Use dlerror to detect a NULL symbol.
962 2019-02-06 Florian Weimer <fweimer@redhat.com>
964 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
966 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
968 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
970 * libio/tst-bz24153.c (wide): Use wide char format specifier.
972 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
974 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
975 __wmemcmp and weak alias to wmemcmp.
977 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
980 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
981 TLS_TCB_AT_TP tls variant.
982 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
983 Add alignment checks.
984 * support/Makefile (libsupport-routines): Add xposix_memalign and
986 * support/support.h: Add xposix_memalign.
987 * support/xthread.h: Add xpthread_attr_setstack.
988 * support/xposix_memalign.c: New File.
989 * support/xpthread_attr_setstack.c: Likewise.
991 2019-02-05 Florian Weimer <fweimer@redhat.com>
994 arm: Use "nr" constraint for Systemtap probes, to avoid the
995 compiler using memory operands for constants, due to the "o"
996 alternative in the default "nor" constraint.
997 * include/stap-probe.h [USE_STAP_PROBE]: Include
998 <stap-probe-machine.h>
999 * sysdeps/generic/stap-probe-machine.h: New file.
1000 * sysdeps/arm/stap-probe-machine.h: Likewise.
1002 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1004 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1005 with 0, not tcache->entries[tc_idx].
1007 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1010 2019-02-04 Andreas Schwab <schwab@suse.de>
1014 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1015 looking up collating elements match against (wide) character
1016 sequence instead of name. Correct alignment adjustment.
1017 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1018 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1019 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1020 (LOCALES): Add cs_CZ.ISO-8859-2.
1021 * posix/tst-fnmatch4.c: New file.
1022 * posix/tst-fnmatch5.c: New file.
1023 * include/wchar.h (__wmemcmp): Declare.
1024 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1025 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1026 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1027 * sysdeps/s390/wmemcmp.c: Likewise.
1029 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1033 * NEWS: Updated for CVE-2019-7309.
1034 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1035 upper 32 bits of RDX register for x32. Use unsigned Jcc
1036 instructions, instead of signed.
1037 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1038 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1040 2019-02-04 Florian Weimer <fweimer@redhat.com>
1042 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1043 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1044 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1046 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1047 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1048 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1049 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1051 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1053 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1055 (posix_spawn_file_actions_addopen): Likewise.
1056 (posix_spawn_file_actions_addclose): Likewise.
1057 (posix_spawn_file_actions_adddup2): Likewise.
1058 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1060 (posix_spawn_file_actions_addfchdir_np): Likewise.
1062 2019-02-04 David Newall <glibc@davidnewall.com>
1064 elf: Implement --preload option for the dynamic linker.
1065 * elf/rtld.c (preloadarg): New variable.
1066 (handle_preload_list): Pass through “where” argument to
1068 (dl_main): Handle "--preload" and add second call to
1069 handle_preload_list.
1070 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1071 (tst-rtld-preload-OBJS): Set variable.
1072 (tst-rtld-preload.out): New target.
1073 * elf/tst-rtld-preload.sh: New file.
1075 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1077 * Makefile (testrun.sh): Exit in case of incorrect argument.
1079 2019-02-04 Florian Weimer <fweimer@redhat.com>
1081 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1084 2019-02-03 Florian Weimer <fweimer@redhat.com>
1086 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1087 implicit overflow checks.
1089 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1091 * stdlib/isomac.c: Include <unistd.h>.
1093 2019-02-03 Florian Weimer <fweimer@redhat.com>
1095 * include/time.h (__tzfile_default): Use int, not long int, for
1097 * time/tzfile.c (struct ttinfo): Change type of the offset member
1099 (__tzfile_read): Remove useless cast.
1100 (__tzfile_default): Adjust prototype.
1101 * time/tzset.c (tz_rule): Change type of the offset member to int.
1102 (parse_offset): Change the type of the sign variable to int.
1104 2019-02-03 Florian Weimer <fweimer@redhat.com>
1107 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1108 * libio/getchar.c (getchar): Likewise.
1109 * libio/getchar_u.c (getchar_unlocked): Likewise.
1110 * libio/getwchar.c (getwchar): Likewise.
1111 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1112 * libio/iogets.c (_IO_gets): Likewise.
1113 * libio/vscanf.c (_IO_vscanf): Likewise.
1114 * libio/vwscanf.c (__vwscanf): Likewise.
1115 * libio/tst-bz24153.c: New file.
1116 * libio/Makefile (tests): Add it.
1118 2019-02-02 Florian Weimer <fweimer@redhat.com>
1121 * manual/resource.texi (Basic Scheduling Functions): Add
1122 portability note. Change process to task throughout the section.
1123 Remove incorrect comment about sched_yield as it affects
1124 tasks/threads, not entire processes.
1125 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1126 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1128 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1130 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1131 * configure: Regenerated.
1132 * manual/install.texi (Tools for Compilation): Update minimum GCC
1134 * INSTALL: Regenerated.
1136 2019-02-01 Florian Weimer <fweimer@redhat.com>
1138 * support/support_test_compare_string.c
1139 (support_test_compare_string): Use "string" in error message.
1140 * support/tst-test_compare_string.c (do_test): Adjust.
1142 2019-02-01 Florian Weimer <fweimer@redhat.com>
1144 * support/support_format_address_family.c
1145 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1147 2019-02-01 Florian Weimer <fweimer@redhat.com>
1149 * manual/socket.texi (Internet Address Formats): Clarify the byte
1150 order of struct sockaddr_in, struct sockaddr_in6. Document
1151 sin6_flowinfo and sin6_scope_id.
1153 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1155 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1156 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1157 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1158 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1159 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1160 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1162 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1164 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1165 [!MEMCHR](MEMCHR): Set to __memchr.
1166 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1167 Add memchr_generic and memchr_nosimd.
1168 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1169 (__libc_ifunc_impl_list): Add memchr ifuncs.
1170 * sysdeps/aarch64/multiarch/memchr.c: New file.
1171 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1172 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1174 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1176 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1178 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1179 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1180 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1181 Add IS_EMAG check for ifunc dispatch.
1182 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1183 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1185 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1187 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1188 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1190 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1193 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1195 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1197 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1199 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1200 syscall-template file.
1202 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1203 Torvald Riegel <triegel@redhat.com>
1204 Rik Prohaska <prohaska7@gmail.com>
1207 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1208 tst-rwlock-trywrlock-stall.
1209 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1210 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1211 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1212 Set __wrphase_fute to 1 only if we started the write phase.
1213 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1214 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1215 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1216 * support/xpthread_rwlock_destroy.c: New file.
1217 * support/xthread.h: Declare xpthread_rwlock_destroy.
1219 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1221 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1224 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1227 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1228 * libio/fileops.c (_IO_new_file_underflow): Likewise
1229 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1230 * libio/putchar.c (putchar): Likewise.
1231 * libio/putchar_u.c (putchar_unlocked): Likewise.
1232 * libio/putwchar.c (putchar): Likewise.
1233 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1234 * libio/tst-bz24051.c: New test.
1235 * libio/Makefile (tests): Add tst-bz24051
1237 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1239 regex: fix read overrun [BZ #24114]
1240 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1241 https://debbugs.gnu.org/34140
1242 * posix/regexec.c (proceed_next_node):
1243 Do not read past end of input buffer.
1245 2019-01-31 Florian Weimer <fweimer@redhat.com>
1248 * nss/nss_files/files-alias.c (get_next_alias): Handle
1249 continuation line without newline at the end.
1250 * nss/tst-nss-files-alias-truncated.c: New file.
1251 * nss/Makefile [$(build-shared)] (tests): Add
1252 tst-nss-files-alias-truncated.
1253 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1254 * support/namespace.h (struct support_chroot_configuration): Add
1256 (struct support_chroot): Add path_aliases member.
1257 * support/support_chroot.c (support_chroot_create): Handle
1259 (support_chroot_free): Free path_aliases.
1261 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1263 * version.h (RELEASE): Set to "development".
1264 (VERSION): Set to "2.29.9000".
1265 * NEWS: Add section for 2.30.
1267 * version.h (RELEASE): Set to "stable".
1268 (VERSION): Set to "2.29".
1269 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1271 * NEWS: Add the list of bugs fixed in 2.29.
1272 * manual/contrib.texi: Update contributors list with some more
1274 * manual/install.texi: Update latest versions of packages
1276 * INSTALL: Regenerated.
1278 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1280 * po/be.po: Update translations.
1281 * po/bg.po: Likewise.
1282 * po/ca.po: Likewise.
1283 * po/cs.po: Likewise.
1284 * po/da.po: Likewise.
1285 * po/de.po: Likewise.
1286 * po/el.po: Likewise.
1287 * po/eo.po: Likewise.
1288 * po/es.po: Likewise.
1289 * po/fi.po: Likewise.
1290 * po/fr.po: Likewise.
1291 * po/gl.po: Likewise.
1292 * po/hr.po: Likewise.
1293 * po/hu.po: Likewise.
1294 * po/ia.po: Likewise.
1295 * po/id.po: Likewise.
1296 * po/it.po: Likewise.
1297 * po/ja.po: Likewise.
1298 * po/ko.po: Likewise.
1299 * po/lt.po: Likewise.
1300 * po/nb.po: Likewise.
1301 * po/nl.po: Likewise.
1302 * po/pl.po: Likewise.
1303 * po/pt_BR.po: Likewise.
1304 * po/ru.po: Likewise.
1305 * po/rw.po: Likewise.
1306 * po/sk.po: Likewise.
1307 * po/sl.po: Likewise.
1308 * po/sv.po: Likewise.
1309 * po/tr.po: Likewise.
1310 * po/uk.po: Likewise.
1311 * po/vi.po: Likewise.
1312 * po/zh_CN.po: Likewise.
1313 * po/zh_TW.po: Likewise.
1315 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1318 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1319 of $f3 register on $y_is_neg path.
1321 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1324 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1325 sigaltstack.ss_flags.
1327 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1330 * manual/time.texi (strftime): Document "%Ey".
1331 * time/strftime_l.c (__strftime_internal): Set the default width
1332 padding with zero of "%Ey" to 2.
1335 * manual/time.texi (strftime): Document "%EC" and "%EY".
1336 * time/Makefile (tests): Add tst-strftime2.
1337 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1338 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1339 override padding for "%Ey".
1340 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1341 "%Ey" in the subformat as if decorated with that flag.
1342 * time/tst-strftime2.c: New file.
1344 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1346 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1350 * elf/Makefile (tests): Add tst-audit13.
1351 (modules-names): Add tst-audit13mod1.
1352 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1354 * elf/rtld.c (dl_main): Handle invalid audit module version.
1355 * elf/tst-audit13.c: New file.
1356 * elf/tst-audit13mod1.c: Likewise.
1358 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1360 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1361 returned by __hurd_at_flags.
1362 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1363 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1364 directly instead of __hurd_file_name_lookup.
1366 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1368 * scripts/build-many-glibcs.py (Context.checkout): Default
1369 binutils version to 2.32 branch.
1371 2019-01-21 Florian Weimer <fweimer@redhat.com>
1375 resolv: Reject trailing characters in host names
1376 * include/arpa/inet.h (__inet_aton_exact): Declare.
1377 (inet_aton): Remove hidden prototype. No longer used internally.
1378 * nscd/gai.c (__inet_aton): Do not define.
1379 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1380 * nss/digits_dots.c (__inet_aton): Likewise.
1381 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1382 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1383 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1384 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1385 (tst-resolv-trailing): Likewise.
1386 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1388 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1389 Make static. Add endp parameter.
1390 (__inet_aton_exact): New function.
1391 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1392 (__inet_addr): Call inet_aton_end.
1393 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1394 not just IPv6. Call __inet_aton_exact.
1395 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1396 (tests): Make const. Add additional test cases with trailing
1398 (do_test): Use array_length.
1399 * resolv/tst-inet_aton_exact.c: New file.
1400 * resolv/tst-resolv-trailing.c: Likewise.
1401 * resolv/tst-resolv-nondecimal.c: Likewise.
1402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1404 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1408 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1409 Clear the upper 32 bits of RSI register.
1410 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1411 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1412 and tst-size_t-wcsnlen.
1413 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1414 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1416 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1420 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1421 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1422 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1423 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1424 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1426 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1430 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1431 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1432 * sysdeps/x86_64/strcmp.S: Likewise.
1433 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1434 tst-size_t-strncmp and tst-size_t-wcsncmp.
1435 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1436 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1437 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1439 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1443 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1444 RDX_LP for length. Clear the upper 32 bits of RDX register.
1445 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1446 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1447 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1448 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1450 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1454 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1455 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1456 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1457 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1459 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1463 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1464 length. Clear the upper 32 bits of RDX register.
1465 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1466 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1468 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1470 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1472 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1474 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1478 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1479 length. Clear the upper 32 bits of RDX register.
1480 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1481 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1482 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1484 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1485 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1487 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1491 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1492 upper 32 bits of RDX register.
1493 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1494 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1496 * sysdeps/x86_64/x32/test-size_t.h: New file.
1497 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1498 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1500 2019-01-18 Florian Weimer <fweimer@redhat.com>
1503 resolv: Do not send queries for non-host-names in nss_dns.
1504 * resolv/nss_dns/dns-host.c (check_name): New function.
1505 (_nss_dns_gethostbyname2_r): Use it.
1506 (_nss_dns_gethostbyname_r): Likewise.
1507 (_nss_dns_gethostbyname4_r): Likewise.
1509 2019-01-21 Florian Weimer <fweimer@redhat.com>
1511 * resolv/inet_addr.c: Reformat to GNU style.
1512 (__inet_addr, __inet_aton): Update comment.
1514 2019-01-18 Florian Weimer <fweimer@redhat.com>
1516 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1517 ("malloc: Use current (C11-style) atomics for fastbin access").
1518 This commit introduces a substantial performance regression on
1520 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1521 (REMOVE_FB): Define.
1522 (_int_malloc): Use it and reindent.
1523 (_int_free): Use CAS loop with
1524 catomic_compare_and_exchange_val_rel.
1525 (malloc_consolidate): Use atomic_exchange_acq.
1528 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1530 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1532 (LDFLAGS-tst-minsigstksz-2): Likewise.
1533 (LDFLAGS-tst-minsigstksz-3): Likewise.
1534 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1535 (LDFLAGS-tst-minsigstksz-4): Likewise.
1537 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1539 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1542 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1544 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1546 2019-01-16 Zack Weinberg <zackw@panix.com>
1548 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1549 (xget_sigstack_location): New test support functions.
1550 * support/xsigstack.c: New file, implementing them.
1551 * support/tst-xsigstack.c: New test for them.
1552 * support/Makefile: Update.
1554 * signal/tst-minsigstksz-1.c
1555 * signal/tst-minsigstksz-2.c
1556 * signal/tst-minsigstksz-3.c
1557 * signal/tst-minsigstksz-3a.c
1558 * signal/tst-minsigstksz-4.c: New tests.
1559 * signal/Makefile: Run them.
1561 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1563 * po/libc.pot: Regenerate.
1565 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1567 * math/libm-test-fma.inc (fma_test_data): Set
1568 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1570 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1572 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1573 (do_test): Changed __vector __int128_t to __vector unsigned int.
1575 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1578 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1579 stpcpy-avx2 and stpncpy-avx2.
1580 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1581 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1582 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1584 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1585 ifunc-strcpy.h}: rename header for a more generic name.
1586 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1587 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1588 AVX unaligned load is fast and vzeroupper is preferred.
1589 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1590 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1591 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1592 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1593 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1594 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1596 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1598 * argp/argp-help.c: Fix typo in comment.
1599 * misc/sys/cdefs.h: Likewise.
1600 * posix/regexec.c (sift_states_iter_mb): Likewise.
1601 * socket/sockatmark.c: Likewise.
1602 * socket/sys/socket.h: Likewise.
1603 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1604 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1605 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1606 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1607 * sysdeps/unix/sockatmark.c: Likewise.
1608 * time/strptime_l.c: Likewise.
1610 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1612 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1613 missing space after the cast of "_NL_CURRENT".
1615 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1617 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1618 ifdef to fix read of VSCR.
1619 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1620 tst-ucontext-ppc64-vscr.c to test list.
1621 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1623 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1625 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1628 2019-01-09 Jim Wilson <jimw@sifive.com>
1630 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1632 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1634 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1635 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1636 __memcpy_falkor for ares.
1637 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1639 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1642 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1645 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1646 4_FP_W_TYPEs are used for IEEE quad precision.
1647 * soft-fp/extendhftf2.c: Likewise.
1648 * soft-fp/extendsftf2.c: Likewise.
1649 * soft-fp/extendxftf2.c: Likewise.
1650 * soft-fp/trunctfdf2.c: Likewise.
1651 * soft-fp/trunctfhf2.c: Likewise.
1652 * soft-fp/trunctfsf2.c: Likewise.
1653 * soft-fp/trunctfxf2.c: Likewise.
1654 * sysdeps/alpha/ots_cvttx.c: Likewise.
1655 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1656 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1657 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1658 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1659 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1660 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1661 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1662 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1663 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1664 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1665 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1666 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1667 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1668 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1669 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1670 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1671 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1673 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1676 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1677 code with -fmath-errno.
1678 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1679 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1680 * string/test-strerror-errno.c: New file.
1682 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1685 * localedata/locales/en_US (date_fmt): Add, set to
1686 "%a %d %b %Y %r %Z".
1688 2019-01-07 Florian Weimer <fweimer@redhat.com>
1691 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1692 instead of @var{errno}.
1693 (Parsing of Integers): Likewise.
1694 (Parsing of Floats): Likewise.
1695 * manual/filesys.texi (Working with Directory Trees): Likewise.
1696 (Temporary Files): Likewise.
1697 * manual/job.texi (Terminal Access Functions): Likewise.
1698 * manual/llio.texi (Synchronizing I/O): Likewise.
1699 * manual/math.texi (SVID Random): Likewise.
1700 * manual/message.texi (The catgets Functions): Likewise.
1701 (Translation with gettext): Likewise.
1702 (Locating gettext catalog): Likewise.
1703 (Charset conversion in gettext): Likewise.
1704 * manual/nss.texi (NSS Module Function Internals): Likewise.
1705 * manual/search.texi (Hash Search Function): Likewise.
1706 * manual/setjmp.texi (System V contexts): Likewise.
1707 * manual/time.texi (Sleeping): Likewise.
1708 * manual/users.texi (Lookup User): Likewise.
1709 (Lookup Group): Likewise.
1711 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1713 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1716 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1719 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1720 __builtin_unreachable for default case in switch.
1721 (__ieee754_yn): Likewise.
1722 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1723 (__ieee754_ynl): Likewise.
1724 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1725 (__ieee754_ynl): Likewise.
1726 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1727 (__ieee754_ynl): Likewise.
1729 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1731 * manual/maint.texi: Use @{ and @}.
1733 2019-01-04 Florian Weimer <fweimer@redhat.com>
1735 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1737 (do_in_chroot_1): Call it.
1739 Improve error reporting in case it is not possible to create a
1740 collision for the PTY name required by the test.
1742 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1744 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1745 lll_wait_tid with timeout.
1746 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1747 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1748 futex_reltimed_wait_cancelable for cancelabla mode.
1749 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1750 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1752 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1753 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1754 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1755 SYSCALL_CANCEL_NCS): New macro.
1756 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1757 (lll_timedwait_tid): Remove macro.
1758 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1760 (lll_timedwait_tid): Likewise.
1761 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1763 (lll_timedwait_tid): Likewise.
1764 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1766 (lll_timedwait_tid): Likewise.
1767 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1768 Use INTERNAL_SYSCALL_CANCEL.
1769 * sysdeps/unix/sysv/linux/futex-internal.h
1770 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1771 instead of __pthread_{enable,disable}_asynccancel.
1772 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1773 (lll_futex_wait_cancel): New macro.
1775 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1776 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1778 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1779 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1781 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1782 in backtrace analysis.
1783 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1785 (tf_send): Likewise.
1787 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1788 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1789 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1790 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1791 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1792 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1793 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1794 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1795 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1796 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1797 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1798 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1800 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1801 tst-cancel-wrappers.sh.
1802 (generated): Remove tst-cancel-wrappers.out.
1803 (tst-cancel-wrappers.out): Remove rule.
1804 * nptl/tst-cancel-wrappers.sh: Remove file.
1806 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1808 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1809 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1812 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1815 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1816 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1817 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1818 close-on-exec reset for adddup2 file action.
1819 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1821 2019-01-03 Zack Weinberg <zackw@panix.com>
1823 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1824 parameter. Only use deprecated scanf when __USE_GNU is defined
1825 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1826 than 201103L, whichever is relevant for the language being compiled.
1828 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1829 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1830 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1831 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1832 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1836 * libio/iovswscanf.c
1841 * stdio-common/fscanf.c
1842 * stdio-common/scanf.c
1843 * stdio-common/vfscanf.c
1844 * stdio-common/vfwscanf.c
1845 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1846 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1847 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1848 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1849 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1850 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1851 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1852 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1853 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1854 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1855 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1856 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1857 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1858 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1859 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1861 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1862 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1863 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1865 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1866 with a preprocessor macro.
1868 * stdio-common/bug21.c, stdio-common/scanf14.c:
1869 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1870 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1871 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1872 to xscanf, xfscanf, xsscanf.
1874 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1875 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1876 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1877 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1879 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1880 override feature selection macros or provide definitions of u_char etc.
1881 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1882 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1883 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1886 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1889 bits/termios-misc.h.
1890 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1891 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1892 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1893 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1894 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1895 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1897 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1898 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1899 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1900 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1901 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1902 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1904 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1905 (sysdep_headers): Add termios-misc.h.
1907 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1908 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1909 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1913 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1914 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1915 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1916 TCSAFLUSH): Move to termios-tcflow.h.
1917 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1918 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1919 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1920 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1924 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1925 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1926 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1927 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1928 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1929 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1930 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1931 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1933 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1934 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1936 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1940 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1941 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1942 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1943 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1944 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1946 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1947 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1948 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1949 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1954 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1955 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1956 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1957 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1958 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1959 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1960 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1961 __MAX_BAUD): Move to termios-baud.h.
1962 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1963 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1964 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1965 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1966 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1968 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1970 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1971 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1972 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1973 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1974 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1975 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1977 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1978 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1980 [USE_MISC] (XTABS): Likewise.
1981 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1982 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1983 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1984 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1986 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1988 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1989 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1990 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1991 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1992 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1993 IUTF8): Move to termios-c_iflag.h.
1994 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1995 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1996 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1997 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1999 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2001 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2002 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2003 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2004 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2005 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2006 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2007 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2008 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2009 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2010 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2011 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2012 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2014 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2015 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2016 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2017 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2020 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2022 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2024 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2026 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2028 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2030 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2031 _HAVE_C_OSPEED): Define.
2032 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2033 _HAVE_C_OSPEED): Likewise.
2034 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2035 _HAVE_C_OSPEED): Likewise.
2036 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2037 (cfsetospeed): Check for define value instead of existence.
2038 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2039 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2040 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2041 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2042 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2045 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2047 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2048 (TIOCSER_TEMT): Likewise.
2049 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2050 (TEOCSER_TEMT): Likewise.
2052 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2055 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2057 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2059 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2061 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2063 * sysdeps/htl/pt-barrierattr-setpshared.c
2064 (pthread_barrierattr_setpshared): Add stub warning.
2065 * sysdeps/htl/pt-condattr-setpshared.c
2066 (pthread_condattr_setpshared): Likewise.
2067 * sysdeps/htl/pt-mutexattr-setpshared.c
2068 (pthread_mutexattr_setpshared): Likewise.
2069 * sysdeps/htl/pt-rwlockattr-setpshared.c
2070 (pthread_rwlockattr_setpshared): Likewise.
2071 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2072 (pthread_mutexattr_setpshared): Likewise.
2074 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2076 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2077 constants to match with Linux 4.20.
2079 * sysdeps/mips/mips32/libm-test-ulps: Update.
2080 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2082 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2085 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2086 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2087 than __typeof (...) for the a_ptr variable.
2089 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2091 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2092 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2093 * libio/Makefile (tests): Add tst-sprintf-ub and
2095 (CFLAGS-tst-sprintf-ub.c): New variable.
2096 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2097 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2098 destination buffer and check for overflows in fortified mode.
2099 * libio/libioP.h (PRINTF_CHK): New macro.
2100 * libio/tst-sprintf-chk-ub.c: New file.
2101 * libio/tst-sprintf-ub.c: Likewise.
2103 2019-01-02 Florian Weimer <fweimer@redhat.com>
2106 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2109 2019-01-02 Florian Weimer <fweimer@redhat.com>
2111 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2113 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2115 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2118 * sysdeps/unix/sysv/linux/netpacket/packet.h
2119 (PACKET_IGNORE_OUTGOING): New macro.
2121 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2124 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2126 (riscv_flush_icache): New syscall.
2128 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2129 trailing whitespace removed.
2130 * scripts/config.guess: Update to version 2019-01-01.
2131 * scripts/config.sub: Update to version 2019-01-01.
2132 * scripts/move-if-change: Update from gnulib.
2134 * NEWS: Update copyright dates.
2135 * catgets/gencat.c (print_version): Likewise.
2136 * csu/version.c (banner): Likewise.
2137 * debug/catchsegv.sh: Likewise.
2138 * debug/pcprofiledump.c (print_version): Likewise.
2139 * debug/xtrace.sh (do_version): Likewise.
2140 * elf/ldconfig.c (print_version): Likewise.
2141 * elf/ldd.bash.in: Likewise.
2142 * elf/pldd.c (print_version): Likewise.
2143 * elf/sotruss.sh: Likewise.
2144 * elf/sprof.c (print_version): Likewise.
2145 * iconv/iconv_prog.c (print_version): Likewise.
2146 * iconv/iconvconfig.c (print_version): Likewise.
2147 * locale/programs/locale.c (print_version): Likewise.
2148 * locale/programs/localedef.c (print_version): Likewise.
2149 * login/programs/pt_chown.c (print_version): Likewise.
2150 * malloc/memusage.sh (do_version): Likewise.
2151 * malloc/memusagestat.c (print_version): Likewise.
2152 * malloc/mtrace.pl: Likewise.
2153 * manual/libc.texinfo: Likewise.
2154 * nptl/version.c (banner): Likewise.
2155 * nscd/nscd.c (print_version): Likewise.
2156 * nss/getent.c (print_version): Likewise.
2157 * nss/makedb.c (print_version): Likewise.
2158 * posix/getconf.c (main): Likewise.
2159 * scripts/test-installation.pl: Likewise.
2160 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2162 * All files with FSF copyright notices: Update copyright dates
2163 using scripts/update-copyrights.
2164 * locale/programs/charmap-kw.h: Regenerated.
2165 * locale/programs/locfile-kw.h: Likewise.
2167 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2169 * timezone/zdump.c: Update from tzcode 2018i.
2170 * timezone/zic.c: Likewise.
2172 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2174 regex: improve Gnulib port to AIX
2175 From the glibc point of view, this removes duplicate macro
2176 definitions and is obviously safe.
2177 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2178 * posix/regex_internal.h:
2179 (__attribute__, __attribute_warn_unused_result__):
2180 Remove; already defined elsewhere.
2182 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2185 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2186 copying operation. (ncopies had the wrong type, resulting in an
2187 integer wraparound and too few elements being copied.)
2189 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2192 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2193 <asm/syscalls.h> exists with __has_include__ before including it.
2195 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2197 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2200 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2202 * hurd/lookup-retry: Include <unistd.h>.
2203 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2204 Release it on return. Handle "pid" magical lookup retry.
2206 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2209 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2210 (t_fmt_ampm): Likewise.
2211 * localedata/locales/aa_ER (t_fmt): Likewise.
2212 (t_fmt_ampm): Likewise.
2213 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2214 (t_fmt_ampm): Likewise.
2215 * localedata/locales/aa_ET (t_fmt): Likewise.
2216 (t_fmt_ampm): Likewise.
2217 * localedata/locales/am_ET (t_fmt): Likewise.
2218 (t_fmt_ampm): Likewise.
2219 * localedata/locales/byn_ER (t_fmt): Likewise.
2220 (t_fmt_ampm): Likewise.
2221 * localedata/locales/om_ET (t_fmt): Likewise.
2222 (t_fmt_ampm): Likewise.
2223 * localedata/locales/sid_ET (t_fmt): Likewise.
2224 (t_fmt_ampm): Likewise.
2225 * localedata/locales/so_DJ (t_fmt): Likewise.
2226 (t_fmt_ampm): Likewise.
2227 * localedata/locales/so_ET (t_fmt): Likewise.
2228 (t_fmt_ampm): Likewise.
2229 * localedata/locales/so_SO (t_fmt): Likewise.
2230 (t_fmt_ampm): Likewise.
2231 * localedata/locales/ti_ER (t_fmt): Likewise.
2232 (t_fmt_ampm): Likewise.
2233 * localedata/locales/ti_ET (t_fmt): Likewise.
2234 (t_fmt_ampm): Likewise.
2235 * localedata/locales/tig_ER (t_fmt): Likewise.
2236 (t_fmt_ampm): Likewise.
2237 * localedata/locales/wal_ET (t_fmt): Likewise.
2238 (t_fmt_ampm): Likewise.
2240 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2241 * localedata/locales/ar_IN (t_fmt): Likewise.
2242 * localedata/locales/bhb_IN (t_fmt): Likewise.
2243 * localedata/locales/bho_IN (t_fmt): Likewise.
2244 * localedata/locales/bi_VU (t_fmt): Likewise.
2245 * localedata/locales/bn_BD (t_fmt): Likewise.
2246 * localedata/locales/bn_IN (t_fmt): Likewise.
2247 * localedata/locales/brx_IN (t_fmt): Likewise.
2248 * localedata/locales/doi_IN (t_fmt): Likewise.
2249 * localedata/locales/en_HK (t_fmt): Likewise.
2250 (t_fmt_ampm): Likewise.
2251 * localedata/locales/en_IN (t_fmt): Likewise.
2252 * localedata/locales/en_PH (t_fmt): Likewise.
2253 * localedata/locales/gu_IN (t_fmt): Likewise.
2254 * localedata/locales/hi_IN (t_fmt): Likewise.
2255 * localedata/locales/hif_FJ (t_fmt): Likewise.
2256 * localedata/locales/hne_IN (t_fmt): Likewise.
2257 * localedata/locales/kn_IN (t_fmt): Likewise.
2258 * localedata/locales/kok_IN (t_fmt): Likewise.
2259 * localedata/locales/ks_IN (t_fmt): Likewise.
2260 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2261 * localedata/locales/mag_IN (t_fmt): Likewise.
2262 * localedata/locales/mai_IN (t_fmt): Likewise.
2263 * localedata/locales/mjw_IN (t_fmt): Likewise.
2264 * localedata/locales/ml_IN (t_fmt): Likewise.
2265 * localedata/locales/mni_IN (t_fmt): Likewise.
2266 * localedata/locales/mr_IN (t_fmt): Likewise.
2267 * localedata/locales/ms_MY (t_fmt): Likewise.
2268 * localedata/locales/pa_IN (t_fmt): Likewise.
2269 * localedata/locales/raj_IN (t_fmt): Likewise.
2270 * localedata/locales/sa_IN (t_fmt): Likewise.
2271 * localedata/locales/sat_IN (t_fmt): Likewise.
2272 * localedata/locales/sd_IN (t_fmt): Likewise.
2273 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2274 * localedata/locales/tcy_IN (t_fmt): Likewise.
2275 * localedata/locales/the_NP (t_fmt): Likewise.
2276 * localedata/locales/to_TO (t_fmt): Likewise.
2277 * localedata/locales/ur_IN (t_fmt): Likewise.
2279 * localedata/locales/hif_FJ (d_t_fmt): Set to
2280 "%A %d %b %Y %I:%M:%S %p".
2281 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2283 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2284 * localedata/locales/ar_BH (t_fmt): Likewise.
2285 * localedata/locales/ar_DZ (t_fmt): Likewise.
2286 * localedata/locales/ar_EG (t_fmt): Likewise.
2287 * localedata/locales/ar_IQ (t_fmt): Likewise.
2288 * localedata/locales/ar_JO (t_fmt): Likewise.
2289 * localedata/locales/ar_KW (t_fmt): Likewise.
2290 * localedata/locales/ar_LB (t_fmt): Likewise.
2291 * localedata/locales/ar_LY (t_fmt): Likewise.
2292 * localedata/locales/ar_OM (t_fmt): Likewise.
2293 * localedata/locales/ar_QA (t_fmt): Likewise.
2294 * localedata/locales/ar_SD (t_fmt): Likewise.
2295 * localedata/locales/ar_SS (t_fmt): Likewise.
2296 * localedata/locales/ar_SY (t_fmt): Likewise.
2297 * localedata/locales/ar_TN (t_fmt): Likewise.
2298 * localedata/locales/ar_YE (t_fmt): Likewise.
2300 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2301 (t_fmt_ampm): Likewise.
2302 * localedata/locales/gez_ET (t_fmt): Likewise.
2303 (t_fmt_ampm): Likewise.
2305 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2306 (t_fmt_ampm): Likewise.
2307 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2309 * localedata/locales/zh_HK (t_fmt):
2310 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2312 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2313 because this locale does not use the 12-hour clock.
2314 (t_fmt): Set to "%Z %H:%M:%S".
2315 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2317 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2318 because this locale does not use the 12-hour clock.
2319 (t_fmt): Set to "%H:%M:%S %Z".
2320 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2322 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2323 because this locale does not use the 12-hour clock.
2324 (t_fmt): Set to "%T".
2325 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2326 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2328 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2329 because this locale does not use the 12-hour clock.
2330 (t_fmt): Set to "%H:%M:%S %Z".
2331 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2333 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2334 because this locale does not use the 12-hour clock.
2335 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2336 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2338 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2342 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2343 (t_fmt_ampm): Likewise.
2344 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2345 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2346 (d_fmt): Set to "%-d.%-m.%y".
2348 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2350 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2351 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2352 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2354 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2355 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2356 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2358 * support/blob_repeat.c (check_mul_overflow_size_t,
2359 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2361 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2363 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2365 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2367 regex: simplify Gnulib port
2368 This simplifies the code, by removing stuff intended for porting
2369 to Gnulib but no longer needed there.
2370 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2371 uses of libc_hidden_def, weak_alias.
2372 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2373 _Restrict_ except for public-facing headers.
2374 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2375 Remove; already defined elsewhere.
2376 * posix/regex.c, posix/regex_internal.h:
2377 Use __GNUC_PREREQ instead of rolling our own.
2378 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2380 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2382 * benchtests/bench-strlen.c (generic_strlen): New function.
2383 (memchr_strlen): New function.
2385 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2387 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2388 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2389 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2391 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2393 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2395 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2397 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2398 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2399 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2400 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2401 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2402 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2403 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2405 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2408 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2409 PLT reference in libc.so.
2410 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2411 _Q_lltoq and _Q_qtod PLT references in libc.so.
2413 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2415 * benchtests/bench-memchr.c: Cleanup defines.
2416 * benchtests/bench-memcmp.c: Likewise.
2417 * benchtests/bench-memset.c: Likewise.
2418 * benchtests/bench-memset-large.c: Likewise.
2419 * benchtests/bench-memset-walk.c: Likewise.
2420 * benchtests/bench-stpcpy.c: Likewise.
2421 * benchtests/bench-stpncpy.c: Likewise.
2422 * benchtests/bench-strcat.c: Likewise.
2423 * benchtests/bench-strchr.c: Likewise.
2424 * benchtests/bench-strcmp.c: Likewise.
2425 * benchtests/bench-strcpy.c: Likewise.
2426 * benchtests/bench-strcspn.c: Likewise.
2427 * benchtests/bench-string.h: Likewise.
2428 * benchtests/bench-strlen.c: Likewise.
2429 * benchtests/bench-strncat.c: Likewise.
2430 * benchtests/bench-strncmp.c: Likewise.
2431 * benchtests/bench-strncpy.c: Likewise.
2432 * benchtests/bench-strnlen.c: Likewise.
2433 * benchtests/bench-strpbrk.c: Likewise.
2434 * benchtests/bench-strrchr.c: Likewise.
2435 * benchtests/bench-strspn.c: Likewise.
2437 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2439 * stdlib/longlong.h: Update from GCC.
2442 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2443 * configure: Regenerated.
2444 * manual/install.texi (Tools for Compilation): Update minimum GCC
2446 * INSTALL: Regenerated.
2448 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2450 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2452 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2454 * malloc/malloc.c (mremap_chunk): Additional checks.
2456 2018-12-21 Mao Han <han_mao@c-sky.com>
2458 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2459 * scripts/build-many-glibcs.py: Add C-SKY targets.
2460 * sysdeps/csky/Implies: New file.
2461 * sysdeps/csky/Makefile: Likewise.
2462 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2463 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2464 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2465 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2466 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2467 * sysdeps/csky/abiv2/memmove.S: Likewise.
2468 * sysdeps/csky/abiv2/memset.S: Likewise.
2469 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2470 * sysdeps/csky/abiv2/start.S: Likewise.
2471 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2472 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2473 * sysdeps/csky/abiv2/strlen.S: Likewise.
2474 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2475 * sysdeps/csky/abort-instr.h: Likewise.
2476 * sysdeps/csky/atomic-machine.h: Likewise.
2477 * sysdeps/csky/bits/endian.h: Likewise.
2478 * sysdeps/csky/bits/fenv.h: Likewise.
2479 * sysdeps/csky/bits/link.h: Likewise.
2480 * sysdeps/csky/bits/setjmp.h: Likewise.
2481 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2482 * sysdeps/csky/bsd-setjmp.S: Likewise.
2483 * sysdeps/csky/configure: Likewise.
2484 * sysdeps/csky/configure.ac: Likewise.
2485 * sysdeps/csky/dl-machine.h: Likewise.
2486 * sysdeps/csky/dl-procinfo.c: Likewise.
2487 * sysdeps/csky/dl-procinfo.h: Likewise.
2488 * sysdeps/csky/dl-sysdep.h: Likewise.
2489 * sysdeps/csky/dl-tls.h: Likewise.
2490 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2491 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2492 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2493 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2494 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2495 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2496 * sysdeps/csky/fpu/fegetround.c: Likewise.
2497 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2498 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2499 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2500 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2501 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2502 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2503 * sysdeps/csky/fpu/fesetround.c: Likewise.
2504 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2505 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2506 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2507 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2508 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2509 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2510 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2511 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2512 * sysdeps/csky/fpu_control.h: Likewise.
2513 * sysdeps/csky/gccframe.h: Likewise.
2514 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2515 * sysdeps/csky/ldsodefs.h: Likewise.
2516 * sysdeps/csky/libc-tls.c: Likewise.
2517 * sysdeps/csky/linkmap.h: Likewise.
2518 * sysdeps/csky/machine-gmon.h: Likewise.
2519 * sysdeps/csky/memusage.h: Likewise.
2520 * sysdeps/csky/nofpu/Implies: Likewise.
2521 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2522 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2523 * sysdeps/csky/nptl/Makefile: Likewise.
2524 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2525 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2526 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2527 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2528 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2529 * sysdeps/csky/nptl/tls.h: Likewise.
2530 * sysdeps/csky/preconfigure: Likewise.
2531 * sysdeps/csky/sfp-machine.h: Likewise.
2532 * sysdeps/csky/sotruss-lib.c: Likewise.
2533 * sysdeps/csky/stackinfo.h: Likewise.
2534 * sysdeps/csky/sysdep.h: Likewise.
2535 * sysdeps/csky/tininess.h: Likewise.
2536 * sysdeps/csky/tst-audit.h: Likewise.
2537 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2538 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2539 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2540 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2541 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2542 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2543 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2544 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2545 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2546 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2547 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2548 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2549 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2550 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2551 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2552 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2553 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2554 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2555 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2556 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2557 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2558 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2559 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2560 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2561 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2562 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2563 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2564 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2565 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2566 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2567 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2568 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2569 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2570 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2571 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2572 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2573 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2574 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2575 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2576 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2577 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2578 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2579 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2580 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2582 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2584 * include/time.h (__difftime64): Add.
2585 * time/difftime.c (subtract): convert to 64-bit time.
2586 * time/difftime.c (__difftime64): Add.
2587 * time/difftime.c (__difftime): Wrap around __difftime64.
2589 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2591 * manual/examples/add.c: Remove redundant "if not".
2592 * manual/examples/argp-ex1.c: Likewise.
2593 * manual/examples/argp-ex2.c: Likewise.
2594 * manual/examples/argp-ex3.c: Likewise.
2595 * manual/examples/argp-ex4.c: Likewise.
2596 * manual/examples/atexit.c: Likewise.
2597 * manual/examples/db.c: Likewise.
2598 * manual/examples/dir.c: Likewise.
2599 * manual/examples/dir2.c: Likewise.
2600 * manual/examples/execinfo.c: Likewise.
2601 * manual/examples/filecli.c: Likewise.
2602 * manual/examples/filesrv.c: Likewise.
2603 * manual/examples/fmtmsgexpl.c: Likewise.
2604 * manual/examples/genpass.c: Likewise.
2605 * manual/examples/inetcli.c: Likewise.
2606 * manual/examples/inetsrv.c: Likewise.
2607 * manual/examples/isockad.c: Likewise.
2608 * manual/examples/longopt.c: Likewise.
2609 * manual/examples/memopen.c: Likewise.
2610 * manual/examples/memstrm.c: Likewise.
2611 * manual/examples/mkdirent.c: Likewise.
2612 * manual/examples/mkfsock.c: Likewise.
2613 * manual/examples/mkisock.c: Likewise.
2614 * manual/examples/mygetpass.c: Likewise.
2615 * manual/examples/pipe.c: Likewise.
2616 * manual/examples/popen.c: Likewise.
2617 * manual/examples/rprintf.c: Likewise.
2618 * manual/examples/search.c: Likewise.
2619 * manual/examples/select.c: Likewise.
2620 * manual/examples/setjmp.c: Likewise.
2621 * manual/examples/sigh1.c: Likewise.
2622 * manual/examples/sigusr.c: Likewise.
2623 * manual/examples/stpcpy.c: Likewise.
2624 * manual/examples/strdupa.c: Likewise.
2625 * manual/examples/strftim.c: Likewise.
2626 * manual/examples/subopt.c: Likewise.
2627 * manual/examples/swapcontext.c: Likewise.
2628 * manual/examples/termios.c: Likewise.
2629 * manual/examples/testopt.c: Likewise.
2630 * manual/examples/testpass.c: Likewise.
2631 * manual/examples/timeval_subtract.c: Likewise.
2633 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2635 * sysdeps/x86/fpu/math_private.h: New file.
2636 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2638 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2643 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2645 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2646 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2647 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2648 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2650 (_dl_show_auxv): Give a special treatment to
2651 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2652 and AT_L3_CACHEGEOMETRY.
2653 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2654 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2655 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2656 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2658 2018-12-19 Andreas Schwab <schwab@suse.de>
2660 * nscd/connections.c (check_use): Don't abort on invalid len.
2662 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2664 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2665 values in the 64bit value cases.
2667 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2673 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2679 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2682 (__gmtime64_r): Add.
2684 (__gmtime64_r): Add.
2685 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2691 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2694 (__localtime64_r): Add.
2696 (__localtime64_r): Add.
2697 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2699 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2701 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2702 kernel_sigction definition.
2704 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2706 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2708 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2709 __syscall_rt_sigaction.
2710 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2711 (kernel_sigaction): Use Linux generic defintion.
2713 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2714 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2715 (__syscall_rt_sigaction): Remove implementation.
2716 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2718 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2719 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2720 INTERNAL_SYSCALL): Remove definitions.
2721 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2722 action and signal set size.
2723 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2724 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2726 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2727 James Clarke <jrtc27@jrtc27.com>
2730 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2731 Define if SA_RESTORER is defined.
2732 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2733 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2735 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2736 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2738 (HAS_SA_RESTORER): Define.
2739 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2740 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2741 (HAS_SA_RESTORER): Define.
2742 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2743 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2744 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2745 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2746 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2748 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2750 * sysdeps/unix/sysv/linux/kernel-features.h
2751 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2752 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2753 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2754 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2755 (__ASSUME_ST_INO_64_BIT): Likewise.
2756 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2757 <kernel-features.h>.
2758 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2759 Remove conditional code.
2760 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2761 <kernel-features.h>.
2762 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2763 Remove conditional code.
2764 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2765 <kernel-features.h>.
2766 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2767 Remove conditional code.
2768 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2769 <kernel-features.h>.
2770 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2771 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2773 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2775 * sysdeps/s390/multiarch/ifunc-resolve.h
2776 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2777 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2778 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2779 Delete macro definition.
2780 (s390_libc_ifunc_init): Rename to
2781 s390_libc_ifunc_expr_stfle_init.
2782 * sysdeps/s390/bzero: Use
2783 s390_libc_ifunc_expr_stfle_init instead of
2784 s390_libc_ifunc_init.
2785 * sysdeps/s390/memcmp.c: Likewise.
2786 * sysdeps/s390/memcpy.c: Likewise.
2787 * sysdeps/s390/mempcpy.c: Likewise.
2788 * sysdeps/s390/memset.c: Likewise.
2790 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2792 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2793 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2795 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2797 * sysdeps/s390/multiarch/Makefile
2798 (sysdep_routines): Remove wmemcmp variants.
2799 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2800 * sysdeps/s390/multiarch/ifunc-impl-list.c
2801 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2802 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2803 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2804 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2805 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2806 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2807 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2808 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2810 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2812 * sysdeps/s390/multiarch/Makefile
2813 (sysdep_routines): Remove wmemset variants.
2814 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2815 * sysdeps/s390/multiarch/ifunc-impl-list.c
2816 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2817 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2818 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2819 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2820 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2821 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2822 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2823 * sysdeps/s390/ifunc-wmemset.h: New file.
2825 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2827 * sysdeps/s390/multiarch/Makefile
2828 (sysdep_routines): Remove wmemchr variants.
2829 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2830 * sysdeps/s390/multiarch/ifunc-impl-list.c
2831 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2832 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2833 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2834 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2835 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2836 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2837 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2838 * sysdeps/s390/ifunc-wmemchr.h: New file.
2840 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2842 * sysdeps/s390/multiarch/Makefile
2843 (sysdep_routines): Remove wcscspn variants.
2844 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2845 * sysdeps/s390/multiarch/ifunc-impl-list.c
2846 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2847 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2848 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2849 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2850 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2851 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2852 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2853 * sysdeps/s390/ifunc-wcscspn.h: New file.
2855 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2857 * sysdeps/s390/multiarch/Makefile
2858 (sysdep_routines): Remove wcspbrk variants.
2859 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2860 * sysdeps/s390/multiarch/ifunc-impl-list.c
2861 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2862 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2863 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2864 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2865 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2866 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2867 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2868 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2870 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2872 * sysdeps/s390/multiarch/Makefile
2873 (sysdep_routines): Remove wcsspn variants.
2874 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2875 * sysdeps/s390/multiarch/ifunc-impl-list.c
2876 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2877 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2878 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2879 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2880 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2881 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2882 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2883 * sysdeps/s390/ifunc-wcsspn.h: New file.
2885 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2887 * sysdeps/s390/multiarch/Makefile
2888 (sysdep_routines): Remove wcsrchr variants.
2889 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2890 * sysdeps/s390/multiarch/ifunc-impl-list.c
2891 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2892 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2893 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2894 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2895 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2896 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2897 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2898 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2900 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2902 * sysdeps/s390/multiarch/Makefile
2903 (sysdep_routines): Remove wcschrnul variants.
2904 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2905 * sysdeps/s390/multiarch/ifunc-impl-list.c
2906 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2907 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2908 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2909 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2910 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2911 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2912 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2913 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2915 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2917 * sysdeps/s390/multiarch/Makefile
2918 (sysdep_routines): Remove wcschr variants.
2919 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2920 * sysdeps/s390/multiarch/ifunc-impl-list.c
2921 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2922 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2923 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2924 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2925 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2926 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2927 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2928 * sysdeps/s390/ifunc-wcschr.h: New file.
2930 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2932 * sysdeps/s390/multiarch/Makefile
2933 (sysdep_routines): Remove wcsncmp variants.
2934 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2935 * sysdeps/s390/multiarch/ifunc-impl-list.c
2936 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2937 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2938 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2939 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2940 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2941 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2942 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2943 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2945 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2947 * sysdeps/s390/multiarch/Makefile
2948 (sysdep_routines): Remove wcscmp variants.
2949 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2950 * sysdeps/s390/multiarch/ifunc-impl-list.c
2951 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2952 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2953 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2954 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2955 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2956 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2957 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2958 * sysdeps/s390/ifunc-wcscmp.h: New file.
2960 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2962 * sysdeps/s390/multiarch/Makefile
2963 (sysdep_routines): Remove wcsncat variants.
2964 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2965 * sysdeps/s390/multiarch/ifunc-impl-list.c
2966 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2967 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2968 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2969 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2970 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2971 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2972 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2973 * sysdeps/s390/ifunc-wcsncat.h: New file.
2975 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2977 * sysdeps/s390/multiarch/Makefile
2978 (sysdep_routines): Remove wcscat variants.
2979 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2980 * sysdeps/s390/multiarch/ifunc-impl-list.c
2981 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2982 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2983 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2984 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2985 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2986 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2987 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2988 * sysdeps/s390/ifunc-wcscat.h: New file.
2990 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2992 * sysdeps/s390/multiarch/Makefile
2993 (sysdep_routines): Remove wcpncpy variants.
2994 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2995 * sysdeps/s390/multiarch/ifunc-impl-list.c
2996 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2997 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2998 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2999 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3000 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3001 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3002 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3003 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3005 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3007 * sysdeps/s390/multiarch/Makefile
3008 (sysdep_routines): Remove wcsncpy variants.
3009 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3010 * sysdeps/s390/multiarch/ifunc-impl-list.c
3011 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3012 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3013 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3014 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3015 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3016 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3017 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3018 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3020 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3022 * sysdeps/s390/multiarch/Makefile
3023 (sysdep_routines): Remove wcpcpy variants.
3024 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3025 * sysdeps/s390/multiarch/ifunc-impl-list.c
3026 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3027 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3028 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3029 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3030 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3031 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3032 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3033 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3035 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3037 * sysdeps/s390/multiarch/Makefile
3038 (sysdep_routines): Remove wcscpy variants.
3039 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3040 * sysdeps/s390/multiarch/ifunc-impl-list.c
3041 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3042 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3043 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3044 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3045 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3046 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3047 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3048 * sysdeps/s390/ifunc-wcscpy.h: New file.
3050 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3052 * sysdeps/s390/multiarch/Makefile
3053 (sysdep_routines): Remove wcsnlen variants.
3054 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3055 * sysdeps/s390/multiarch/ifunc-impl-list.c
3056 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3057 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3058 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3059 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3060 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3061 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3062 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3063 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3065 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3067 * sysdeps/s390/multiarch/Makefile
3068 (sysdep_routines): Remove wcslen variants.
3069 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3070 * sysdeps/s390/multiarch/ifunc-impl-list.c
3071 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3072 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3073 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3074 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3075 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3076 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3077 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3078 * sysdeps/s390/ifunc-wcslen.h: New file.
3080 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3082 * sysdeps/s390/multiarch/Makefile
3083 (sysdep_routines): Remove memrchr variants.
3084 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3085 * sysdeps/s390/multiarch/ifunc-impl-list.c
3086 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3087 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3088 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3089 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3090 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3091 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3092 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3093 * sysdeps/s390/ifunc-memrchr.h: New file.
3095 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3097 * sysdeps/s390/multiarch/Makefile
3098 (sysdep_routines): Remove memccpy variants.
3099 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3100 * sysdeps/s390/multiarch/ifunc-impl-list.c
3101 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3102 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3103 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3104 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3105 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3106 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3107 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3108 * sysdeps/s390/ifunc-memccpy.h: New file.
3110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3112 * sysdeps/s390/multiarch/Makefile
3113 (sysdep_routines): Remove rawmemchr variants.
3114 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3115 * sysdeps/s390/multiarch/ifunc-impl-list.c
3116 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3117 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3118 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3119 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3120 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3121 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3122 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3123 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3125 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3127 * sysdeps/s390/multiarch/Makefile
3128 (sysdep_routines): Remove memchr variants.
3129 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3130 * sysdeps/s390/multiarch/ifunc-impl-list.c
3131 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3132 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3133 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3134 * sysdeps/s390/multiarch/memchr.c: Move to ...
3135 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3136 * sysdeps/s390/ifunc-memchr.h: New file.
3137 * sysdeps/s390/s390-64/memchr.S: Move to ...
3138 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3139 for 31/64bit and ifunc handling.
3140 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3141 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3142 * sysdeps/s390/s390-32/memchr.S: Likewise.
3144 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3146 * sysdeps/s390/multiarch/Makefile
3147 (sysdep_routines): Remove strcspn variants.
3148 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3149 * sysdeps/s390/multiarch/ifunc-impl-list.c
3150 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3151 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3152 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3153 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3154 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3155 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3156 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3157 * sysdeps/s390/ifunc-strcspn.h: New file.
3159 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3161 * sysdeps/s390/multiarch/Makefile
3162 (sysdep_routines): Remove strpbrk variants.
3163 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3164 * sysdeps/s390/multiarch/ifunc-impl-list.c
3165 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3166 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3167 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3168 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3169 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3170 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3171 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3172 * sysdeps/s390/ifunc-strpbrk.h: New file.
3174 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3176 * sysdeps/s390/multiarch/Makefile
3177 (sysdep_routines): Remove strspn variants.
3178 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3179 * sysdeps/s390/multiarch/ifunc-impl-list.c
3180 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3181 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3182 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3183 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3184 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3185 * sysdeps/s390/multiarch/strspn.c: Move to ...
3186 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3187 * sysdeps/s390/ifunc-strspn.h: New file.
3189 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3191 * sysdeps/s390/multiarch/Makefile
3192 (sysdep_routines): Remove strrchr variants.
3193 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3194 * sysdeps/s390/multiarch/ifunc-impl-list.c
3195 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3196 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3197 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3198 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3199 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3200 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3201 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3202 * sysdeps/s390/ifunc-strrchr.h: New file.
3204 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3206 * sysdeps/s390/multiarch/Makefile
3207 (sysdep_routines): Remove strchrnul variants.
3208 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3209 * sysdeps/s390/multiarch/ifunc-impl-list.c
3210 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3211 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3212 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3213 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3214 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3215 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3216 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3217 * sysdeps/s390/ifunc-strchrnul.h: New file.
3219 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3221 * sysdeps/s390/multiarch/Makefile
3222 (sysdep_routines): Remove strchr variants.
3223 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3224 * sysdeps/s390/multiarch/ifunc-impl-list.c
3225 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3226 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3227 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3228 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3229 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3230 * sysdeps/s390/multiarch/strchr.c: Move to ...
3231 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3232 * sysdeps/s390/ifunc-strchr.h: New file.
3234 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3236 * sysdeps/s390/multiarch/Makefile
3237 (sysdep_routines): Remove strncmp variants.
3238 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3239 * sysdeps/s390/multiarch/ifunc-impl-list.c
3240 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3241 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3242 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3243 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3244 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3245 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3246 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3247 * sysdeps/s390/ifunc-strncmp.h: New file.
3249 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3251 * sysdeps/s390/multiarch/Makefile
3252 (sysdep_routines): Remove strcmp variants.
3253 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3254 * sysdeps/s390/multiarch/ifunc-impl-list.c
3255 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3256 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3257 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3258 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3259 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3260 * sysdeps/s390/ifunc-strcmp.h: New file.
3261 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3262 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3263 for 31/64bit and ifunc handling.
3264 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3265 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3266 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3268 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3270 * sysdeps/s390/multiarch/Makefile
3271 (sysdep_routines): Remove strncat variants.
3272 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3273 * sysdeps/s390/multiarch/ifunc-impl-list.c
3274 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3275 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3276 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3277 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3278 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3279 * sysdeps/s390/multiarch/strncat.c: Move to ...
3280 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3281 * sysdeps/s390/ifunc-strncat.h: New file.
3283 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3285 * sysdeps/s390/multiarch/Makefile
3286 (sysdep_routines): Remove strcat variants.
3287 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3288 * sysdeps/s390/multiarch/ifunc-impl-list.c
3289 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3290 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3291 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3292 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3293 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3294 * sysdeps/s390/multiarch/strcat.c: Move to ...
3295 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3296 * sysdeps/s390/ifunc-strcat.h: New file.
3298 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3300 * sysdeps/s390/multiarch/Makefile
3301 (sysdep_routines): Remove stpncpy variants.
3302 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3303 * sysdeps/s390/multiarch/ifunc-impl-list.c
3304 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3305 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3306 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3307 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3308 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3309 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3310 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3311 * sysdeps/s390/ifunc-stpncpy.h: New file.
3313 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3315 * sysdeps/s390/multiarch/Makefile
3316 (sysdep_routines): Remove strncpy variants.
3317 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3318 * sysdeps/s390/multiarch/ifunc-impl-list.c
3319 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3320 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3321 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3322 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3323 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3324 * sysdeps/s390/ifunc-strncpy.h: New file.
3325 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3326 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3327 and adjust ifunc handling.
3328 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3329 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3330 and adjust ifunc handling.
3331 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3332 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3334 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3336 * sysdeps/s390/multiarch/Makefile
3337 (sysdep_routines): Remove stpcpy variants.
3338 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3339 * sysdeps/s390/multiarch/ifunc-impl-list.c
3340 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3341 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3342 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3343 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3344 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3345 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3346 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3347 * sysdeps/s390/ifunc-stpcpy.h: New file.
3349 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3351 * sysdeps/s390/multiarch/Makefile
3352 (sysdep_routines): Remove strcpy variants.
3353 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3354 * sysdeps/s390/multiarch/ifunc-impl-list.c
3355 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3356 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3357 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3358 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3359 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3360 * sysdeps/s390/ifunc-strcpy.h: New file.
3361 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3362 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3363 for 31/64bit and ifunc handling.
3364 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3365 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3366 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3368 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3370 * sysdeps/s390/multiarch/Makefile
3371 (sysdep_routines): Remove strnlen variants.
3372 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3373 * sysdeps/s390/multiarch/ifunc-impl-list.c
3374 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3375 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3376 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3377 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3378 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3379 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3380 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3381 * sysdeps/s390/ifunc-strnlen.h: New file.
3383 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3385 * sysdeps/s390/multiarch/Makefile
3386 (sysdep_routines): Remove strlen variants.
3387 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3388 * sysdeps/s390/multiarch/ifunc-impl-list.c
3389 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3390 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3391 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3392 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3393 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3394 * sysdeps/s390/multiarch/strlen.c: Move to ...
3395 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3396 * sysdeps/s390/ifunc-strlen.h: New file.
3398 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3400 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3401 * sysdeps/s390/multiarch/ifunc-impl-list.c
3402 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3403 * sysdeps/s390/ifunc-memmem.h: New file.
3404 * sysdeps/s390/memmem.c: Likewise.
3405 * sysdeps/s390/memmem-c.c: Likewise.
3406 * sysdeps/s390/memmem-vx.c: Likewise.
3408 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3410 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3411 * sysdeps/s390/multiarch/ifunc-impl-list.c
3412 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3413 * sysdeps/s390/ifunc-strstr.h: New file.
3414 * sysdeps/s390/strstr.c: Likewise.
3415 * sysdeps/s390/strstr-c.c: Likewise.
3416 * sysdeps/s390/strstr-vx.c: Likewise.
3418 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3420 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3421 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3422 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3423 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3425 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3426 * sysdeps/s390/memmove-c.c: New file.
3427 * sysdeps/s390/memmove.c: Likewise.
3428 * sysdeps/s390/multiarch/ifunc-impl-list.c
3429 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3431 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3433 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3434 * sysdeps/s390/configure.ac: Add check for z13 support.
3435 * sysdeps/s390/configure: Regenerated.
3437 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3439 * sysdeps/s390/memcopy.h: New file.
3441 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3443 * sysdeps/s390/s390-32/bcopy.S: Remove.
3444 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3446 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3448 * sysdeps/s390/ifunc-memcpy.h: New File.
3449 * sysdeps/s390/memcpy.S: Move to ...
3450 * sysdeps/s390/memcpy-z900.S ... here.
3451 Move implementations from memcpy-s390x.s to here.
3452 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3453 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3454 Remove memcpy/mempcpy variants.
3455 * sysdeps/s390/Makefile (sysdep_routines):
3456 Add memcpy/mempcpy variants.
3457 * sysdeps/s390/multiarch/ifunc-impl-list.c
3458 (__libc_ifunc_impl_list): Adjust ifunc variants for
3460 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3462 * sysdeps/s390/memcpy.c: ... here.
3463 Adjust ifunc variants for memcpy.
3464 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3465 * sysdeps/s390/mempcpy.c: ... here.
3466 Adjust ifunc variants for mempcpy.
3467 * sysdeps/s390/mempcpy.S: Delete file.
3469 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3471 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3472 * sysdeps/s390/memcpy.S: ... here.
3473 Adjust to be usable for 31/64bit.
3474 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3475 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3476 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3477 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3478 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3479 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3480 Adjust to be usable for 31/64bit.
3481 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3482 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3483 * sysdeps/s390/multiarch/memcpy.c: ... here.
3484 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3486 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3488 * sysdeps/s390/ifunc-memcmp.h: New File.
3489 * sysdeps/s390/memcmp.S: Move to ...
3490 * sysdeps/s390/memcmp-z900.S ... here.
3491 Move implementations from memcmp-s390x.s to here.
3492 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3493 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3494 Remove memcmp variants.
3495 * sysdeps/s390/Makefile (sysdep_routines):
3496 Add memcmp variants.
3497 * sysdeps/s390/multiarch/ifunc-impl-list.c
3498 (__libc_ifunc_impl_list): Adjust ifunc variants for
3500 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3502 * sysdeps/s390/memcmp.c: ... here.
3503 Adjust ifunc variants for memcmp.
3505 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3507 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3508 * sysdeps/s390/memcmp.S: ... here.
3509 Adjust to be usable for 31/64bit.
3510 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3511 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3512 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3514 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3515 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3516 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3517 Adjust to be usable for 31/64bit.
3518 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3519 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3520 * sysdeps/s390/multiarch/memcmp.c: ... here.
3521 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3523 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3525 * sysdeps/s390/s390-32/bzero.S: Delete file.
3526 * sysdeps/s390/s390-64/bzero.S: Likewise.
3527 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3528 * sysdeps/s390/bzero.c: New file.
3529 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3530 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3531 * sysdeps/s390/multiarch/ifunc-impl-list.c
3532 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3534 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3536 * sysdeps/s390/ifunc-memset.h: New File.
3537 * sysdeps/s390/memset.S: Move to ...
3538 * sysdeps/s390/memset-z900.S ... here.
3539 Move implementations from memset-s390x.s to here.
3540 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3541 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3542 Remove memset variants.
3543 * sysdeps/s390/Makefile (sysdep_routines):
3544 Add memset variants.
3545 * sysdeps/s390/multiarch/ifunc-impl-list.c
3546 (__libc_ifunc_impl_list): Adjust ifunc variants for
3548 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3550 * sysdeps/s390/memset.c: ... here.
3551 Adjust ifunc variants for memset.
3553 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3555 * sysdeps/s390/s390-64/memset.S: Move to ...
3556 * sysdeps/s390/memset.S: ... here.
3557 Adjust to be usable for 31/64bit.
3558 * sysdeps/s390/s390-32/memset.S: Delete File.
3559 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3560 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3562 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3563 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3564 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3565 Adjust to be usable for 31/64bit.
3566 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3567 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3568 * sysdeps/s390/multiarch/memset.c: ... here.
3569 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3571 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3573 * sysdeps/s390/multiarch/ifunc-resolve.h
3574 (s390_libc_ifunc_init, s390_libc_ifunc,
3575 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3577 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3579 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3580 * sysdeps/s390/configure.ac: Add check for z10 support.
3581 * sysdeps/s390/configure: Regenerated.
3583 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3585 * sysdeps/i386/atomic-machine.h: Merged with ...
3586 * sysdeps/x86_64/atomic-machine.h: To ...
3587 * sysdeps/x86/atomic-machine.h: This. New file.
3589 2018-12-18 Florian Weimer <fweimer@redhat.com>
3591 Rewrite locale/gen-translit.pl in Python.
3592 * locale/Makefile (generated): Add C-translit.h.
3593 (before-compile): Add $(objpfx)C-translit.h.
3594 (C-translit.h): Move to $(objpfx). Create target directory.
3595 Build using Python script.
3596 * locale/gen-translit.py: New file.
3597 * locale/gen-translit.pl: Remove file.
3598 * locale/C-translit.h.in: Change comment character to '#' for
3599 easier parsing without a C preprocessor.
3600 * locale/C-translit.h: Remove generated file.
3601 * manual/install.texi (Tools for Compilation): Do not mention
3603 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3604 Remove locale/C-translit.h.
3605 * scripts/update-copyrights: Likewise.
3606 * INSTALL: Regenerate.
3608 2018-12-18 Florian Weimer <fweimer@redhat.com>
3611 * localedata/locales/bi_VU: Remove executable bit from file.
3613 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3616 (__localtime64): Add.
3617 * manual/maint.texi: Document Y2038 symbol handling.
3619 (__localtime64): Add.
3620 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3622 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3624 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3627 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3628 to allow extra macros from first or second sources.
3629 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3630 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3631 (tests-special): Add $(objpfx)tst-mman-consts.out.
3632 ($(objpfx)tst-mman-consts.out): New makefile target.
3634 2018-12-17 Mao Han <han_mao@c-sky.com>
3636 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3637 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3638 without stat64 system call support.
3639 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3640 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3641 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3642 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3643 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3644 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3645 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3646 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3647 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3648 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3649 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3651 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3653 regex: fix storage-exhaustion error
3655 * posix/regexec.c (get_subexp):
3656 Do not continue if storage is exhausted.
3658 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3660 regex: fix heap-use-after-free error
3662 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3663 https://debbugs.gnu.org/32592
3664 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3665 call extend_buffers which reallocates the re_string_t internal buffer.
3666 Local variable 'buf' was not updated in such case, resulting in
3668 * posix/regexec.c (get_subexp): Update 'buf' after call to
3671 2018-12-15 Florian Weimer <fweimer@redhat.com>
3673 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3674 (minimum_stride_size): Use it.
3675 (support_blob_repeat_allocate): Likewise.
3677 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3679 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3684 2018-12-14 Florian Weimer <fweimer@redhat.com>
3686 * manual/process.texi (Process Creation Concepts): Remove
3687 documentation of process (ID) lifetime. List more process
3688 creation functions. Reference Process Identification section.
3689 (Process Identification): Add information about process ID
3690 lifetime. Describe Linux thread/task IDs.
3691 * manual/signal.texi (Signaling Another Process): Mention that the
3692 signal is always sent to the process.
3694 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3696 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3697 and tst-ldbl-efgcvt.
3698 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3699 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3700 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3701 (fcvt_tests, output_error, output_r_error, do_test): Use the
3702 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3703 select the type of floating-point variables and arguments; to
3704 produce extra tests for double and conversion specifiers for
3705 printf; and to set the names of called functions.
3706 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3707 in tst-efgcvt-template.c.
3708 * misc/tst-ldbl-efgcvt.c: Likewise.
3710 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3712 * nss/Makefile (tst-nss-test3.out): New rule.
3714 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3716 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3719 2018-12-13 fanjinke <fanjinke@hygon.cn>
3721 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3724 2018-12-13 Andreas Schwab <schwab@suse.de>
3727 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3728 (__pthread_rwlock_rdlock_full): Update expected value for
3729 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3730 * nptl/tst-rwlock-pwn.c: New file.
3731 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3733 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3735 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3738 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3740 * benchtests/scripts/compare_bench.py (do_compare): write to
3741 stderr in casestat is not present.
3742 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3743 stderr in case timings field is not present. Also string showing
3744 the output filename goes into the stderr.
3746 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3748 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3749 and ZeroDivisorError exceptions.
3750 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3751 argument to loop through user provided statistics.
3752 * benchtests/scripts/compare_bench.py (main): Include the --stats
3755 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3757 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3760 2018-12-12 Florian Weimer <fweimer@redhat.com>
3762 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3763 clause to copyright header.
3765 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3768 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3769 registers saved in the stack frame.
3770 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3771 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3773 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3775 * include/bits/monetary-ldbl.h: New file.
3776 * include/bits/printf-ldbl.h: Likewise.
3777 * include/bits/stdio-ldbl.h: Likewise.
3778 * include/bits/stdlib-ldbl.h: Likewise.
3779 * include/bits/syslog-ldbl.h: Likewise.
3780 * include/bits/wchar-ldbl.h: Likewise.
3782 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3784 * libio/libio.h: Remove redirection for _IO_vfprintf.
3786 2018-12-11 Andreas Schwab <schwab@suse.de>
3788 * Makerules: Remove all references to abilist-pattern.
3789 (update-all-abi): Simplify find expression.
3791 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3794 * math/auto-libm-test-in: Add new test case.
3795 * math/auto-libm-test-out-pow: Regenerated.
3796 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3798 2018-12-10 DJ Delorie <dj@redhat.com>
3801 * support/test-container.c: Move postclean step to before we
3804 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3806 * scripts/gen-as-const.py (main): Handle --python option.
3807 * scripts/gen-py-const.awk: Remove.
3808 * Makerules (py-const-script): Use gen-as-const.py.
3809 ($(py-const)): Likewise.
3810 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3811 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3812 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3813 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3814 ~PTHREAD_MUTEX_NO_ELISION_NP.
3815 * manual/README.pretty-printers: Update reference to
3818 * scripts/glibcextract.py: New file.
3819 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3820 or tempfile. Import glibcexctract.
3821 (compute_c_consts): Remove. Moved to glibcextract.py.
3822 (gen_test): Update reference to compute_c_consts.
3824 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3825 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3826 * sysdeps/unix/sysv/linux/Makefile
3827 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3828 Redirect stderr as well as stdout.
3830 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3833 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3834 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3835 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3836 ALWAYS_USE_VSYSCALL.
3837 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3838 ALWAYS_USE_VSYSCALL.
3839 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3840 ALWAYS_USE_VSYSCALL.
3842 2018-12-10 Florian Weimer <fweimer@redhat.com>
3845 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3846 offset instead of count for clarity. Fix typo in comment.
3847 (__old_getdents64): Keep track of previous offset. Use it to call
3849 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3850 that d_off is never zero.
3852 2018-12-10 Andreas Schwab <schwab@suse.de>
3854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3855 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3857 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3858 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3860 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3862 * timezone/private.h: Update from tzcode 2018g.
3863 * timezone/tzfile.h: Likewise.
3864 * timezone/tzselect.ksh: Likewise.
3865 * timezone/zdump.c: Likewise.
3866 * timezone/zic.c: Likewise.
3868 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3871 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3872 (do_test): Adjust buffer size and fix format.
3874 2018-12-07 DJ Delorie <dj@redhat.com>
3877 * malloc/tst-tcfree3.c: New.
3878 * malloc/Makefile: Add it.
3880 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3882 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3884 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3886 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3887 used as a mask for the mode argument of __vfscanf_internal and
3888 __vfwscanf_internal.
3889 * stdio-common/vfscanf-internal.c
3890 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3891 (__strtof128_internal): Define to __wcstof128_internal.
3892 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3893 __strtof128_internal or __wcstof128_internal when the format of
3894 long double is the same as _Float128.
3896 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3898 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3899 * posix/confstr.c (confstr): Rename to __confstr.
3900 (__confstr): Add hidden def.
3901 (confstr): Add weak alias for __confstr.
3902 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3905 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3907 * NEWS: Mention getcpu.
3908 * include/sched.h (__getcpu): New libc_hidden_proto.
3909 * manual/resource.texi: Document getcpu.
3910 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3911 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3912 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3913 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3914 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3915 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3916 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3917 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3918 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3919 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3920 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3921 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3922 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3924 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3925 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3926 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3935 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3936 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3937 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3938 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3939 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3940 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3941 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3942 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3943 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3944 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3945 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3948 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3950 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3952 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3954 2018-12-07 Florian Weimer <fweimer@redhat.com>
3957 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3958 * posix/Versions (GLIBC_2.29): Export
3959 posix_spawn_file_actions_addfchdir_np.
3960 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3961 * posix/spawn_faction_destroy.c
3962 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3963 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3964 and the field action.fchdir_action.
3965 * posix/tst-spawn-chdir.c (add_chdir): New function.
3966 (do_test): Add do_fchdir loop. Call add_chdir.
3967 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3968 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3969 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3970 posix_spawn_file_actions_addfchdir_np.
3971 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3973 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3975 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3976 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3978 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3980 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3982 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3984 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3986 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3988 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3989 (GLIBC_2.29): Likewise.
3990 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3991 (GLIBC_2.29): Likewise.
3992 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3993 (GLIBC_2.29): Likewise.
3994 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3995 (GLIBC_2.29): Likewise.
3996 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3999 (GLIBC_2.29): Likewise.
4000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4001 (GLIBC_2.29): Likewise.
4002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4003 (GLIBC_2.29): Likewise.
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4005 (GLIBC_2.29): Likewise.
4006 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4008 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4010 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4012 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4013 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4015 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4017 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4019 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4022 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4024 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4025 trailing whitespace removed.
4026 * scripts/config.guess: Update to version 2018-11-28.
4027 * scripts/config.sub: Update to version 2018-11-28.
4028 * scripts/install-sh: Update to version 2018-03-11.20.
4029 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4030 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4032 2018-12-07 Florian Weimer <fweimer@redhat.com>
4036 * inet/tst-if_index-long.c: New file.
4037 * inet/Makefile (tests): Add tst-if_index-long.
4039 2018-12-07 Florian Weimer <fweimer@redhat.com>
4041 * support/check.h (support_record_failure_is_failed): Declare.
4042 * support/descriptors.h: New file.
4043 * support/support_descriptors.c: Likewise.
4044 * support/tst-support_descriptors.c: Likewise.
4045 * support/support_record_failure.c
4046 (support_record_failure_is_failed): New function.
4047 * support/Makefile (libsupport-routines): Add support_descriptors.
4048 (tests): Add tst-support_descriptors.
4050 2018-12-05 Zack Weinberg <zackw@panix.com>
4051 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4053 * stdio-common/vfprintf-internal.c
4054 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4055 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4056 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4057 and __no_long_double.
4058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4059 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4060 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4061 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4062 and __nldbl_*syslog* functions.
4063 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4064 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4065 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4066 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4067 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4068 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4069 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4070 (__nldbl_vwprintf, __nldbl_wprintf):
4071 Directly call the appropriate __v*printf_internal routine, passing
4072 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4074 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4075 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4076 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4077 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4078 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4079 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4080 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4081 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4082 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4083 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4084 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4085 (__nldbl_syslog, __nldbl_vsyslog):
4086 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4087 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4089 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4092 2018-12-05 Zack Weinberg <zackw@panix.com>
4093 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4096 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4097 Moved here from debug/vsprintf_chk.c.
4098 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4099 and completion logic for the strfile to match exactly what
4100 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4101 _IO_str_init_static_internal instead of maxlen-1.
4102 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4103 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4104 __vsprintf_internal.
4106 * debug/vsprintf_chk.c (__vsprintf_chk)
4107 * debug/sprintf_chk.c (__sprintf_chk):
4108 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4109 'flags' argument is positive, and slen as maxlen. No need to lock
4110 the FILE and/or construct a temporary FILE. Minimize and normalize
4111 header inclusions and variable names. Do not libc_hidden_def anything.
4113 * debug/asprintf_chk.c (__asprintf_chk)
4114 * debug/dprintf_chk.c (__dprintf_chk)
4115 * debug/fprintf_chk.c (__fprintf_chk)
4116 * debug/fwprintf_chk.c (__fwprintf_chk)
4117 * debug/printf_chk.c (__printf_chk)
4118 * debug/snprintf_chk.c (__snprintf_chk)
4119 * debug/swprintf_chk.c (__swprintf_chk)
4120 * debug/vasprintf_chk.c (__vasprintf_chk)
4121 * debug/vdprintf_chk.c (__vdprintf_chk)
4122 * debug/vfprintf_chk.c (__vfprintf_chk)
4123 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4124 * debug/vprintf_chk.c (__vprintf_chk)
4125 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4126 * debug/vswprintf_chk.c (__vswprintf_chk)
4127 * debug/vwprintf_chk.c (__vwprintf_chk)
4128 * debug/wprintf_chk.c (__wprintf_chk):
4129 Directly call the corresponding vxxprintf_internal function, passing
4130 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4131 the FILE and/or construct a temporary FILE. Minimize and normalize
4132 header inclusions and variable names. Do not libc_hidden_def anything.
4134 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4135 __obstack_vprintf_internal.
4136 (__obstack_vprintf_chk): Convert into a wrapper that calls
4137 __obstack_vprintf_internal (these two functions already had the
4138 same code) and move to new file...
4139 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4141 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4142 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4143 * debug/Makefile (routines): Add vobprintf_chk.
4145 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4146 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4147 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4148 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4149 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4150 (__nldbl___obstack_vfprintf_chk):
4151 Directly call the corresponding vxxprintf_internal function,
4152 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4153 duplicate comparison of slen with 0 or maxlen from the corresponding
4154 non-__nldbl function.
4156 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4157 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4158 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4159 Remove libc_hidden_proto.
4161 * stdio-common/vfprintf-internal.c
4162 (__vfprintf_internal, __vfwprintf_internal):
4163 Do not check _IO_FLAGS2_FORTIFY.
4164 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4165 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4166 a comment explaining why it has the maxlen argument.
4167 (_IO_acquire_lock_clear_flags2_fct): Remove.
4168 (_IO_acquire_lock_clear_flags2): Remove.
4169 (_IO_release_lock): Remove conditional statement which will
4171 (_IO_acquire_lock): Remove variable which is now unused.
4172 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4173 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4175 * stdio-common/Makefile (tests): Add tst-bz11319 and
4176 tst-bz11319-fortify2.
4177 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4178 * stdio-common/tst-bz11319-fortify2.c: New file.
4179 * stdio-common/tst-bz11319.c: Likewise.
4181 2018-12-05 Zack Weinberg <zackw@panix.com>
4182 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4184 * misc/syslog.c: Include libioP.h, not iolibio.h.
4185 (__vsyslog_internal): New function with the former body of
4186 __vsyslog_chk; takes mode_flags argument same as
4187 __v*printf_internal. Call __vfprintf_internal directly.
4189 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4190 Remove libc_hidden_def.
4191 (__syslog, __syslog_chk): Use __vsyslog_internal.
4192 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4194 * include/sys/syslog.h: Add multiple inclusion guard.
4195 Add prototype for __vsyslog_internal.
4196 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4198 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4199 Use __vsyslog_internal.
4201 2018-12-05 Zack Weinberg <zackw@panix.com>
4202 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4204 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4205 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4206 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4208 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4209 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4211 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4212 Include wctype.h here if COMPILE_WPRINTF is defined.
4213 Define __vfprintf_internal or __vfwprintf_internal, depending
4215 Temporarily, on entry to this function, update mode_flags
4216 according to the environmental settings corresponding to
4217 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4218 Throughout, check mode_flags instead of __ldbl_is_dbl and
4219 _IO_FLAGS2_FORTIFY on the destination FILE.
4220 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4221 Include vfprintf-internal.c. Don't include wctype.h.
4222 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4223 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4225 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4226 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4228 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4230 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4231 and add mode_flags argument; use __vfprintf_internal.
4232 (__vdprintf): New function. Alias vdprintf to this.
4233 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4234 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4235 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4236 (__obstack_printf): Use __obstack_printf_internal.
4237 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4238 public aliases __vsnprintf and vsnprintf.
4239 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4241 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4242 public aliases _IO_vsprintf and vsprintf.
4243 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4244 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4245 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4246 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4247 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4249 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4250 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4251 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4252 * stdio-common/printf.c: Use __vfprintf_internal.
4254 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4255 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4256 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4258 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4259 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4260 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4261 __vfwprintf_internal.
4263 * libio/libio.h: Remove libc_hidden_proto and declaration for
4265 Remove declaration of _IO_vfwprintf.
4266 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4268 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4270 * include/stdio.h: Add prototype for __vasprintf.
4271 (__vsnprintf): Remove declaration, because there are no more
4273 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4274 declaration, because there are no more internal calls.
4276 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4277 __vsnprintf_internal, instead of _IO_vsnprintf.
4278 * argp/argp-help.c (__argp_error, __argp_failure): Use
4279 __vasprintf_internal, instead of _IO_vasprintf.
4280 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4281 redefine, because there are no more internal calls.
4283 2018-12-05 Zack Weinberg <zackw@panix.com>
4284 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4286 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4287 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4288 Include libio/strfile.h instead of libioP.h.
4289 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4290 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4291 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4292 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4293 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4294 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4295 necessary. Do not set __no_long_double. Normalize variable names.
4296 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4297 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4298 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4299 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4300 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4301 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4302 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4303 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4304 Do not set __no_long_double. Normalize variable names.
4306 2018-12-05 Zack Weinberg <zackw@panix.com>
4307 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4309 * stdio-common/isoc99_scanf.c
4310 * stdio-common/isoc99_fscanf.c
4311 * stdio-common/isoc99_sscanf.c
4312 * stdio-common/isoc99_vscanf.c
4313 * stdio-common/isoc99_vfscanf.c
4314 * stdio-common/isoc99_vsscanf.c
4315 * wcsmbs/isoc99_wscanf.c
4316 * wcsmbs/isoc99_fwscanf.c
4317 * wcsmbs/isoc99_swscanf.c
4318 * wcsmbs/isoc99_vwscanf.c
4319 * wcsmbs/isoc99_vfwscanf.c
4320 * wcsmbs/isoc99_vswscanf.c:
4321 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4322 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4323 No need to lock and unlock the FILE passed to that function.
4325 * stdio-common/vfscanf-internal.c
4326 (__vfscanf_internal, __vfwscanf_internal):
4327 Don't look at _IO_FLAGS2_SCANF_STD.
4328 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4329 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4330 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4332 2018-12-05 Zack Weinberg <zackw@panix.com>
4333 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4335 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4336 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4337 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4338 * libio/strfile.h: Add multiple inclusion guard.
4339 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4341 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4342 consistency with the other version of this file.
4343 (ldbl_compat_symbol): New macro.
4344 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4347 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4348 Define __vfscanf_internal or __vfwscanf_internal, depending on
4349 COMPILE_WSCANF; don't define any other public symbols.
4350 Remove errval and code to set errp.
4351 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4352 as the mode_flags argument.
4353 (encode_error, conv_error, input_error): Don't set errval.
4354 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4355 Include vfscanf-internal.c.
4356 * stdio-common/vfscanf.c: New file defining the public entry
4357 point vfscanf, which calls __vfscanf_internal.
4358 * stdio-common/vfwscanf.c: New file defining the public entry
4359 point vfwscanf, which calls __vfwscanf_internal.
4361 * stdio-common/iovfscanf.c: New file.
4362 * stdio-common/iovfwscanf.c: Likewise.
4364 * stdio-common/Makefile (routines): Add vfscanf-internal,
4365 vfwscanf-internal, iovfscanf, iovfwscanf.
4366 * stdio-common/Versions: Mention GLIBC_2.29, so that
4367 it can be used in SHLIB_COMPAT expressions.
4368 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4369 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4370 Call __vfscanf_internal, instead of _IO_vfscanf.
4371 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4373 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4376 * libio/iovsscanf.c: Clean up includes, when possible. Use
4377 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4378 __vfscanf_internal or __vfwscanf_internal directly.
4379 * libio/iovswscanf.c: Likewise.
4380 * libio/swscanf.c: Likewise.
4381 * libio/vscanf.c: Likewise.
4382 * libio/vwscanf.c: Likewise.
4383 * libio/wscanf.c: Likewise.
4384 * stdio-common/isoc99_fscanf.c: Likewise.
4385 * stdio-common/isoc99_scanf.c: Likewise.
4386 * stdio-common/isoc99_sscanf.c: Likewise.
4387 * stdio-common/isoc99_vfscanf.c: Likewise.
4388 * stdio-common/isoc99_vscanf.c: Likewise.
4389 * stdio-common/isoc99_vsscanf.c: Likewise.
4390 * stdio-common/scanf.c: Likewise.
4391 * stdio-common/sscanf.c: Likewise.
4392 * wcsmbs/isoc99_fwscanf.c: Likewise.
4393 * wcsmbs/isoc99_swscanf.c: Likewise.
4394 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4395 * wcsmbs/isoc99_vswscanf.c: Likewise.
4396 * wcsmbs/isoc99_vwscanf.c: Likewise.
4397 * wcsmbs/isoc99_wscanf.c: Likewise.
4399 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4402 (__tz_compute): Replace time_t with __time64_t.
4403 (__tz_convert): Replace time_t* with __time64_t.
4404 (__offtime): Replace time_t* with __time64_t.
4406 (__gmtime_r): Adjust call to __tz_convert.
4409 (__localtime_r): Likewise.
4410 (localtime): Likewise.
4411 * time/offtime.c: Replace time_t with __time64_t.
4412 * time/tzset.c: Likewise.
4414 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4416 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4417 dynamic linker unless [$(run-built-tests) = yes].
4419 2018-12-03 DJ Delorie <dj@delorie.com>
4421 * support/test-container.c (check_for_unshare_hints): New.
4422 (main): Call it if unshare fails. Add support for "su" scriptlet
4425 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4427 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4428 'START' to indicate that start text should be output.
4429 (gen_test): Likewise.
4430 (main): Generate 'START' for first symbol or '--' line, or at end
4431 of input if not previously generated.
4433 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4436 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4437 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4438 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4439 ALWAYS_USE_VSYSCALL.
4441 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4444 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4447 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4450 * locale/programs/localedef.c: Declare boolean hard_links default true.
4451 (options): Add --no-hard-links option.
4452 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4453 * locale/programs/localedef.h: Declare prototype for hard_links.
4454 * locale/programs/locfile.c (write_locale_data): Don't use hard
4455 links if hard_links is false.
4457 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4459 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4461 (__cache_sysconf): Likewise.
4462 (init_cacheinfo): Likewise.
4463 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4464 populate COMMON_CPUID_INDEX_80000007 and
4465 COMMON_CPUID_INDEX_80000008.
4466 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4467 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4468 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4469 (init_cpu_features): Use _Static_assert on
4470 index_arch_Fast_Unaligned_Load.
4471 __get_cpuid_registers and __get_arch_feature. Updated for
4472 cpu_features_basic. Set stepping in cpu_features.
4473 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4474 (FEATURE_INDEX_2): New.
4475 (FEATURE_INDEX_MAX): Changed to enum.
4476 (COMMON_CPUID_INDEX_D_ECX_1): New.
4477 (COMMON_CPUID_INDEX_80000007): Likewise.
4478 (COMMON_CPUID_INDEX_80000008): Likewise.
4479 (cpuid_registers): Likewise.
4480 (cpu_features_basic): Likewise.
4481 (CPU_FEATURE_USABLE): Likewise.
4482 (bit_arch_XXX_Usable): Likewise.
4483 (cpu_features): Use cpuid_registers and cpu_features_basic.
4484 (bit_arch_XXX): Reweritten.
4485 (bit_cpu_XXX): Likewise.
4486 (index_cpu_XXX): Likewise.
4487 (reg_XXX): Likewise.
4488 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4490 (CHECK_CPU_FEATURE): New.
4491 (CHECK_CPU_FEATURE_USABLE): Likewise.
4492 (cpu_kinds): Likewise.
4493 (do_test): Print vendor, family, model and stepping. Check
4494 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4495 (TEST_FUNCTION): Removed.
4496 Include <support/test-driver.c> instead of
4497 "../../test-skeleton.c".
4498 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4499 Check POPCNT instead of POPCOUNT.
4500 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4502 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4504 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4505 there is no element in `consts'.
4507 2018-12-01 Florian Weimer <fweimer@redhat.com>
4509 * support/support_capture_subprocess.c
4510 (support_capture_subprocess): Check that pipe descriptors have
4511 expected values. Close original pipe descriptors in subprocess.
4513 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4516 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4517 attr with __pthread_default_barrierattr.
4518 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4519 attr with __pthread_default_condattr.
4520 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4521 attr with __pthread_default_mutexattr.
4522 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4523 attr with __pthread_default_rwlockattr.
4525 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4527 * manual/tunables.texi (POSIX Thread Tunables): New node.
4528 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4529 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4530 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4531 __pthread_tunables_init.
4532 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4533 (max_adaptive_count): Define.
4534 * nptl/pthread_mutex_conf.c: New file.
4535 * nptl/pthread_mutex_conf.h: New file.
4536 * sysdeps/generic/adaptive_spin_count.h: New file.
4537 * sysdeps/nptl/dl-tunables.list: New file.
4538 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4539 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4540 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4543 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4546 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4547 * stdlib/on_exit.c (__on_exit): Likewise.
4548 * stdlib/Makefile (tests): Add tst-bz20544.
4549 * stdlib/tst-bz20544.c: New test.
4551 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4554 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4555 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4558 2018-11-30 Florian Weimer <fweimer@redhat.com>
4560 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4561 Extend error logging.
4562 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4565 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4567 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4568 __sigismember instead of sigismember.
4569 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4570 cancel_handler): New definitions.
4571 (do_system): Use posix_spawn instead of fork and execl and remove
4573 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4574 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4575 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4576 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4577 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4578 * sysdeps/unix/sysv/linux/system.c: Likewise.
4582 * NEWS: Add new semantic for atfork with popen and system.
4583 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4586 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4589 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4590 modification order when accessing reloc_result->addr.
4591 * include/link.h (reloc_result): Add field init.
4592 * nptl/Makefile (tests): Add tst-audit-threads.
4593 (modules-names): Add tst-audit-threads-mod1 and
4594 tst-audit-threads-mod2.
4595 Add rules to build tst-audit-threads.
4596 * nptl/tst-audit-threads-mod1.c: New file.
4597 * nptl/tst-audit-threads-mod2.c: Likewise.
4598 * nptl/tst-audit-threads.c: Likewise.
4599 * nptl/tst-audit-threads.h: Likewise.
4601 2018-11-30 Joseph Myers <joseph@codesourcery.com>
4603 * scripts/gen-as-const.py: New file.
4604 * scripts/gen-as-const.awk: Remove.
4605 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4607 ($(objpfx)test-as-const-%.c): Likewise.
4609 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4611 * elf/dl-exception.c: Include <_itoa.h>.
4613 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4615 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4616 returned by __f_setlk.
4618 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4619 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4621 * elf/Makefile (tests-internal): Add tst-create_format1.
4622 * elf/dl-exception.c (_dl_exception_create_format): Support
4624 * elf/tst-create_format1.c: New file.
4626 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4628 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4629 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4631 * argp/argp-help.c (__argp_failure): Likewise.
4633 2018-11-29 Mao Han <han_mao@c-sky.com>
4635 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4636 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4637 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4638 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4639 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4640 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4641 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4642 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4643 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4644 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4645 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4646 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4647 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4648 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4649 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4650 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4651 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4652 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4653 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4654 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4655 (R_CKCORE_TLS_TPOFF32): New defines.
4657 2018-11-29 Florian Weimer <fweimer@redhat.com>
4659 * posix/Makefile (before-compile): Remove testcases.h and
4661 (generated): Add testcases.h and ptestcases.h.
4662 (testcases.h, ptestcases.h): Move to $(objpfx).
4663 (runtests.o): Add dependency on testcases.h.
4664 (runptests.o): Add dependency on ptestcases.h.
4665 * posix/testcases.h, posix/ptestcases.h: Remove files.
4666 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4667 not touch posix/testcases.h and posix/ptestcases.h.
4669 2018-11-28 Florian Weimer <fweimer@redhat.com>
4671 support: Add signal support to support_capture_subprocess_check.
4672 * support/capture_subprocess.h (support_capture_subprocess_check):
4673 Adjust comment and rename parameter.
4674 * support/support_capture_subprocess_check.c
4675 (print_actual_status): New function.
4676 (support_capture_subprocess_check): Support negative
4677 status_or_signal. Call print_actual_status.
4678 * support/tst-support_capture_subprocess.c (do_test): Call
4679 support_capture_subprocess_check.
4680 * libio/tst-vtables-common.c (termination_status)
4681 (init_termination_status): Remove.
4682 (check_for_termination): Adjust support_capture_subprocess_check
4684 (do_test): Remove call to init_termination_status.
4686 2018-11-28 Joseph Myers <joseph@codesourcery.com>
4688 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4689 source directory instead of a copy.
4690 (CommandList.create_copy_dir): Remove.
4692 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4694 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4696 2018-11-28 Florian Weimer <fweimer@redhat.com>
4698 * support/support.h (support_quote_string): Do not use str
4701 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4703 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4704 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4706 2018-11-27 Florian Weimer <fweimer@redhat.com>
4708 * support/support.h (support_quote_string): Declare.
4709 * support/support_quote_string.c: New file.
4710 * support/tst-support_quote_string.c: Likewise.
4711 * support/Makefile (libsupport-routines): Add
4712 support_quote_string.
4713 (tests): Add tst-support_quote_string.
4715 2018-11-27 Florian Weimer <fweimer@redhat.com>
4719 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4720 descriptor leak in case of ENODEV error.
4722 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4725 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4726 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4727 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4729 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4731 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4732 Error for unknown lines.
4734 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4736 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4737 Touch additional files.
4739 2018-11-26 Florian Weimer <fweimer@redhat.com>
4742 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4745 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4748 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4749 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4750 SHARED. Include sysdep.h.
4751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4752 ALWAYS_USE_VSYSCALL.
4753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4754 ALWAYS_USE_VSYSCALL.
4756 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4759 * nptl/Makefile (tests-static): Add tst-cond11-static.
4761 * nptl/tst-cond11-static.c: New File.
4762 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4763 tst-affinity-static.
4765 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4767 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4768 (USE_VSYSCALL): Likewise.
4769 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4770 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4772 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4774 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4777 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4780 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4781 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4784 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4786 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4787 (tst-cet-legacy-1a-ARGS): New.
4788 ($(objpfx)tst-cet-legacy-1a): New target.
4789 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4791 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4793 * conform/conformtest.py (CompileSubTest.__init__): Set
4794 self.run_early to False.
4795 (ExecuteSubTest.__init__): Likewise.
4796 (HeaderTests.run): Try running all non-optional, non-XFAILed
4797 compilation tests in a single execution of the compiler.
4799 * conform/conformtest.py (CompileSubTest): New class.
4800 (ExecuteSubTest): Likewise.
4801 (ElementTest.run): Rename to gen_subtests. Append tests to
4802 self.subtests instead of running them.
4803 (ConstantTest.run): Likewise.
4804 (SymbolTest.run): Likewise.
4805 (TypeTest.run): Likewise.
4806 (TagTest.run): Likewise.
4807 (FunctionTest.run): Likewise.
4808 (VariableTest.run): Likewise.
4809 (MacroFunctionTest.run): Likewise.
4810 (MacroStrTest.run): Likewise.
4811 (HeaderTests.handle_test_line): Generate subtests for tests.
4812 (HeaderTests.run): Run subtests for tests.
4814 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4816 * math/Versions (GLIBC_2.29): Add pow.
4817 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4819 * math/w_pow.c: New file.
4820 * sysdeps/i386/fpu/w_pow.c: New file.
4821 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4822 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4823 and add necessary aliases.
4824 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4825 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4826 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4827 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4828 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4829 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4830 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4831 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4832 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4833 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4834 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4835 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4836 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4837 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4838 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4843 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4844 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4845 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4846 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4847 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4848 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4849 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4850 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4852 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4853 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4854 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4856 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4858 * math/Versions (GLIBC_2.29): Add log2.
4859 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4861 * math/w_log2.c: New file.
4862 * sysdeps/i386/fpu/w_log2.c: New file.
4863 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4864 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4865 and add necessary aliases.
4866 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4867 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4868 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4869 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4870 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4871 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4872 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4873 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4874 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4875 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4876 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4877 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4878 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4879 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4880 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4885 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4886 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4887 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4888 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4889 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4890 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4891 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4893 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4895 * math/Versions (GLIBC_2.29): Add log.
4896 * math/w_log_compat.c (__log_compat): Change to versioned compat
4898 * math/w_log.c: New file.
4899 * sysdeps/i386/fpu/w_log.c: New file.
4900 * sysdeps/ia64/fpu/e_log.S: Update.
4901 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4902 and add necessary aliases.
4903 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4904 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4905 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4906 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4907 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4908 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4909 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4910 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4911 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4912 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4913 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4914 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4915 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4916 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4917 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4922 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4923 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4924 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4925 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4926 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4927 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4928 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4929 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4931 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4932 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4933 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4934 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4936 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4938 * math/Versions (GLIBC_2.29): Add exp and exp2.
4939 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4940 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4941 * math/w_exp_compat.c (__exp_compat): Likewise.
4942 * math/w_exp.c: New file.
4943 * math/w_exp2.c: New file.
4944 * sysdeps/i386/fpu/w_exp.c: New file.
4945 * sysdeps/i386/fpu/w_exp2.c: New file.
4946 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4947 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4948 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4949 and add necessary aliases.
4950 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4951 and add necessary aliases.
4952 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4953 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4954 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4955 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4956 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4957 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4958 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4959 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4960 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4961 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4962 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4963 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4964 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4965 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4966 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4967 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4968 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4973 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4974 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4975 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4976 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4977 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4978 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4979 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4980 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4981 (__ieee754_exp): Rename to __exp.
4982 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4983 (__ieee754_exp): Rename to __exp.
4984 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4985 (__ieee754_exp): Rename to __exp.
4986 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4988 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4990 2018-11-20 DJ Delorie <dj@redhat.com>
4992 * malloc/malloc.c (tcache_entry): Add key field.
4993 (tcache_put): Set it.
4994 (tcache_get): Likewise.
4995 (_int_free): Check for double free in tcache.
4996 * malloc/tst-tcfree1.c: New.
4997 * malloc/tst-tcfree2.c: New.
4998 * malloc/Makefile: Run the new tests.
4999 * manual/probes.texi: Document memory_tcache_double_free probe.
5001 * dlfcn/dlerror.c (check_free): Prevent double frees.
5003 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5005 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5007 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5009 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5010 in tests. Use names for format arguments.
5011 (ConstantTest.run): Likewise.
5012 (SymbolTest.run): Likewise.
5013 (TypeTest.run): Likewise.
5014 (TagTest.run): Likewise.
5015 (FunctionTest.run): Likewise.
5016 (VariableTest.run): Likewise.
5017 (MacroFunctionTest.run): Likewise.
5018 (MacroStrTest.run): Likewise.
5019 (HeaderTests.__init__): Set self.num_tests.
5020 (HeaderTests.handle_test_line): Set test.num. Increment
5023 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5025 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5026 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5029 2018-11-19 Mao Han <han_mao@c-sky.com>
5031 * scripts/config.guess: Update to version 2018-08-29.
5032 * scripts/config.sub: Update to version 2018-08-29.
5034 2018-11-19 Florian Weimer <fweimer@redhat.com>
5036 support: Print timestamps in timeout handler.
5037 * support/support_test_main.c (print_timestamp): New function.
5038 (signal_handler): Use it to print the termination time and the
5039 time of the last write to standard output.
5041 2018-11-16 Zack Weinberg <zackw@panix.com>
5042 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5044 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5045 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5047 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5048 and add flags argument. Check flags instead of __ldbl_is_dbl when
5049 deciding whether to set is_long_double.
5050 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5051 passing zero for flags argument.
5052 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5054 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5055 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5056 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5057 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5058 variable names. Remove libc_hidden_def/libc_hidden_proto from
5059 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5060 longer called from within the library.
5061 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5062 for __nldbl___vstrfmon_l, declare it explicitly.
5064 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5066 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5068 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5070 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5071 F_SETLK64, F_SETLKW64, respectively.
5072 * sysdeps/mach/hurd/f_setlk.c: New file.
5073 * sysdeps/mach/hurd/f_setlk.h: New file.
5074 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5076 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5077 (__libc_fcntl): Move non-flock operations to...
5078 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5079 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5081 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5083 mktime: DEBUG_MKTIME cleanup
5084 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5085 And it’s no longer needed now that glibc and Gnulib both have
5086 their own testing mechanisms for mktime.
5087 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5089 mktime: fix non-EOVERFLOW errno handling
5091 mktime was not properly reporting failures when the underlying
5092 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5093 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5094 The problem could happen on non-glibc platforms, with Gnulib.
5095 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5096 (tm_diff): ... this simpler function, which does not change errno.
5097 All callers changed to deal with errno themselves.
5098 (ranged_convert, __mktime_internal): Return failure immediately if
5099 the underlying function reports any failure other than EOVERFLOW.
5100 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5103 mktime: fix bug with Y2038 DST transition
5105 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5106 mishandle a DST transition that jumps over the Y2038 boundary.
5107 No such DST transitions are known so this is only a theoretical
5108 bug, but we might as well do things right.
5110 mktime: make more room for overflow
5112 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5113 This is so that we can add tm_diff results to a previous guess,
5114 which will be useful in a later patch.
5116 mktime: simplify offset guess
5118 * time/mktime.c (__mktime_internal): Omit excess precision.
5120 mktime: new test for mktime failure
5122 Based on a test suggested by Albert Aribaud in:
5123 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5124 * time/Makefile (tests): Add bug-mktime4.
5125 * time/bug-mktime4.c: New file.
5127 mktime: fix EOVERFLOW bug
5129 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5130 Include libc-config.h, not config.h, for __set_errno.
5131 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5133 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5135 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5136 __attribute_copy__ to copy attributes from name. Drop static qualifier
5137 to avoid warnings about leaf attribute not having effect on static
5140 2018-11-13 Florian Weimer <fweimer@redhat.com>
5142 * malloc/malloc.c (fastbin_push_entry): New function.
5143 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5144 (REMOVE_FB): Remove macro.
5145 (_int_malloc): Use fastbin_pop_entry and reindent.
5146 (_int_free): Use fastbin_push_entry.
5147 (malloc_consolidate): Use atomic_exchange_acquire.
5149 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5151 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5152 alias attribute, not with strong_alias.
5154 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5155 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5156 with additional parameter thread.
5157 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5158 in terms of __hidden_ver2.
5159 (hidden_tls_def): New macro.
5160 (libc_hidden_tls_def): Likewise.
5161 (rtld_hidden_tls_def): Likewise.
5162 (libm_hidden_tls_def): Likewise.
5163 (libmvec_hidden_tls_def): Likewise.
5164 (libresolv_hidden_tls_def): Likewise.
5165 (librt_hidden_tls_def): Likewise.
5166 (libdl_hidden_tls_def): Likewise.
5167 (libnss_files_hidden_tls_def): Likewise.
5168 (libnsl_hidden_tls_def): Likewise.
5169 (libnss_nisplus_hidden_tls_def): Likewise.
5170 (libutil_hidden_tls_def): Likewise.
5171 (libutil_hidden_tls_def): Likweise.
5172 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5173 libc_hidden_tls_def.
5174 (__sim_disabled_exceptions_thread): Likewise.
5175 (__sim_round_mode_thread): Likewise.
5177 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5178 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5179 copy attributes from name.
5181 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5183 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5184 Use __attribute_copy__ to copy attributes from name.
5186 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5187 with __hidden_ver1 call.
5188 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5189 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5190 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5191 (__cosf): Do not declare here.
5192 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5193 (__sincosf): Do not declare here.
5194 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5195 (__sinf): Do not declare here.
5197 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5198 (__BIG_ENDIAN): Likewise.
5199 (__BYTE_ORDER): Likewise.
5200 (strong_alias): Likewise.
5201 (_strong_alias): Likewise.
5203 2018-11-12 Florian Weimer <fweimer@redhat.com>
5205 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5206 function. Move after the definition of in_smallbin_range. Do not
5207 use __builtin_expect for paths that lead to a noreturn function.
5208 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5209 because it is unclear whether this is in fact an unlikely
5211 (_int_malloc, _int_free): Adjust.
5212 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5214 * malloc/arena.c (heap_trim): Likewise.
5216 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5218 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5219 it, free it if needed.
5220 (reauthenticate): Test and use ccwdir.
5221 (child_init_port): In non-resetids case, test and use ccwdir.
5222 (child_chdir): New nested function to set ccwdir.
5223 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5224 * hurd/hurd/port.h (_hurd_port_move): New function.
5225 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5226 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5227 * hurd/Versions (_hurd_port_move): Export function.
5228 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5230 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5231 of dtablesize for allocating dtable_cloexec.
5233 2018-11-09 Martin Sebor <msebor@redhat.com>
5235 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5236 it's already defined.
5237 (_strong_alias): Use __attribute_copy__.
5238 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5239 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5240 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5241 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5242 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5243 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5244 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5245 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5246 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5247 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5248 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5249 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5250 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5251 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5252 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5253 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5254 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5255 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5256 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5258 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5260 * misc/tst-efgcvt.c: Include support/check.h and
5261 support/test-driver.c. Do not include test-skeleton.c.
5262 (error_count): Remove.
5263 (output_error): Replace increments to error_count with calls to
5264 support_record_failure.
5265 (output_r_error): Likewise.
5266 (special): Likewise.
5267 (do_test): Unconditionally return zero.
5268 (TEST_FUNCTION): Remove.
5270 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5272 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5274 ($(linknamespace-header-tests)): Likewise.
5276 * conform/conformtest.py: New file.
5277 * conform/conformtest.pl: Remove.
5278 * conform/GlibcConform.pm: Likewise.
5279 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5280 (KEYWORDS_C99): Likewise.
5281 (KEYWORDS): Likewise.
5282 * conform/Makefile ($(conformtest-header-tests)): Use
5283 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5284 option. Use --header instead of --headers.
5285 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5287 * conform/data/spawn.h-data: Likewise.
5288 * conform/data/fcntl.h-data (openat): Add space after function
5290 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5291 (wcscasecmp_l): Likewise.
5292 * conform/data/termios.h-data (c_cc): Add space after element
5295 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5297 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5298 instead of manually comparing and reporting mismatching strings.
5299 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5300 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5302 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5304 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5305 __ASSUME_SOCKETCALL.
5306 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5307 (__ASSUME_SOCKETCALL): Remove.
5308 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5309 (__ASSUME_SOCKETCALL): Likewise.
5310 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5311 (__ASSUME_SOCKETCALL): Likewise.
5312 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5313 (__ASSUME_SOCKETCALL): Likewise.
5314 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5315 (__ASSUME_SOCKETCALL): Likewise.
5316 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5317 (__ASSUME_SOCKETCALL): Likewise.
5318 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5319 (__ASSUME_SOCKETCALL): Likewise.
5321 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5324 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5325 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5326 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5327 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5328 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5331 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5334 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5336 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5339 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5340 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5341 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5342 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5344 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5346 * support/support_test_compare_string.c
5347 (support_test_compare_string): Fix printf format.
5349 2018-11-07 Florian Weimer <fweimer@redhat.com>
5351 Implement TEST_COMPARE_STRING.
5352 * support/check.h (TEST_COMPARE_STRING): Define.
5353 (support_test_compare_string): Declare.
5354 * support/Makefile (libsupport-routines): Add
5355 support_test_compare_string.
5356 (tests): Add tst-test_compare_string.
5357 * support/support_test_compare_string.c: New file.
5358 * support/tst-test_compare_string.c: Likewise.
5360 2018-11-07 Andreas Schwab <schwab@suse.de>
5363 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5364 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5367 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5370 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5371 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5372 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5373 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5376 2018-11-06 Florian Weimer <fweimer@redhat.com>
5379 * posix/Makefile (routines): Add spawn_faction_addchdir.
5380 (tests): Add tst-spawn-chdir.
5381 * posix/Versions (GLIBC_2.29): Add
5382 posix_spawn_file_actions_addchdir_np.
5383 * posix/spawn_faction_addchdir.c: New file.
5384 * posix/spawn_faction_destroy.c
5385 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5386 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5387 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5389 * posix/tst-spawn-chdir.c: New file.
5390 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5391 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5392 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5393 posix_spawn_file_actions_addchdir_np.
5394 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5396 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5398 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5399 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5401 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5403 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5405 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5407 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5409 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5411 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5412 (GLIBC_2.29): Likewise.
5413 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5414 (GLIBC_2.29): Likewise.
5415 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5416 (GLIBC_2.29): Likewise.
5417 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5418 (GLIBC_2.29): Likewise.
5419 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5422 (GLIBC_2.29): Likewise.
5423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5424 (GLIBC_2.29): Likewise.
5425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5426 (GLIBC_2.29): Likewise.
5427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5428 (GLIBC_2.29): Likewise.
5429 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5431 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5433 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5435 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5436 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5438 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5440 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5442 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5445 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5447 * misc/Makefile (tests): Add tst-ldbl-error.
5448 * misc/tst-ldbl-error.c: New file.
5450 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5452 * misc/Makefile (tests): Add tst-ldbl-warn.
5453 * misc/tst-ldbl-warn.c: New file.
5455 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5457 * argp/Makefile (tests): Add tst-ldbl-argp.
5458 * argp/tst-ldbl-argp.c: New file.
5460 2018-11-05 Arjun Shankar <arjun@redhat.com>
5462 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5463 __gconv_path_elem and call __gconv_get_path unconditionally.
5465 2018-11-05 Andreas Schwab <schwab@suse.de>
5468 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5469 creating the first helper thread failed.
5471 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5473 * sysdeps/mach/hurd/msync.c: New file.
5475 2018-11-02 Florian Weimer <fweimer@redhat.com>
5477 * support/shell-container.c (copy_func): Call
5478 support_copy_file_range instead of copy_file_range to support
5479 cross-device copies.
5481 2018-11-02 Florian Weimer <fweimer@redhat.com>
5483 * support/test-container.c: Include <libc-pointer-arith.h> for
5486 2018-11-01 Zong Li <zong@andestech.com>
5488 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5489 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5490 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5491 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5493 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5494 variable to avoid overlap arguments.
5496 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5498 * posix/bug-regex22.c (main): Use puts with distinct error
5499 messages for unexpected success of re_compile_pattern, not printf
5500 with NULL argument to %s.
5502 * stdio-common/bug22.c: Include <libc-diag.h>.
5503 (do_test): Disable -Wformat-overflow= warnings around fprintf
5504 calls outputting more than INT_MAX characters.
5505 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5506 around printf call with NULL %s argument.
5509 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5510 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5512 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5513 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5514 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5515 (__ASSUME_SENDTO_SYSCALL): Likewise.
5516 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5517 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5519 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5520 (__ASSUME_CONNECT_SYSCALL): Likewise.
5521 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5522 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5523 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5525 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5527 [__LINUX_KERNEL_VERSION >= 0x040400]
5528 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5529 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5532 (setsockopt): Likewise.
5534 2018-11-01 Fredrik Noring <noring@nocrew.org>
5536 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5537 with the ISA override.
5539 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5541 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5544 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5546 * manual/errno.texi (EIEIO): Document how translators should
5547 translate the error message.
5548 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5549 printing trailing whitespaces refused by git.
5550 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5551 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5552 * hurd/Makefile (user-interfaces): Add pci.
5554 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5556 * conform/linknamespace.py: New file.
5557 * conform/linknamespace.pl: Remove file.
5558 * conform/Makefile ($(linknamespace-header-tests)): Use
5559 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5562 2018-10-30 Florian Weimer <fweimer@redhat.com>
5564 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5567 2018-10-30 Florian Weimer <fweimer@redhat.com>
5569 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5571 2018-10-30 Florian Weimer <fweimer@redhat.com>
5573 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5574 support_blob_repeat.
5576 2018-10-30 Florian Weimer <fweimer@redhat.com>
5578 Avoid spurious test failures in stdlib/test-bz22786.
5579 * support/Makefile (libsupport-routines): Add blob_repeat.
5580 (tests): Add tst-support_blob_repeat.
5581 * support/blob_repeat.h: New file.
5582 * support/blob_repeat.c: Likewise.
5583 * support/tst-support_blob_repeat.c: Likewise.
5584 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5585 support_blob_repeat_allocate.
5587 2018-10-30 Andreas Schwab <schwab@suse.de>
5590 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5591 Don't use tail call.
5592 * elf/tst-unwind-main.c: New file.
5593 * elf/Makefile (tests): Add tst-unwind-main.
5594 (CFLAGS-tst-unwind-main.c): Define.
5596 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5599 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5601 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5603 2018-10-29 Joseph Myers <joseph@codesourcery.com>
5605 * conform/glibcconform.py: Do not import shutil.
5606 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5609 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5610 critic_missing for versions before 3.4.
5611 * configure: Regenerated.
5612 * manual/install.texi (Tools for Compilation): Document
5613 requirement for Python to build glibc.
5614 * INSTALL: Regenerated.
5615 * Rules [PYTHON]: Make code unconditional.
5616 * benchtests/Makefile [PYTHON]: Likewise.
5617 * conform/Makefile [PYTHON]: Likewise.
5618 * manual/Makefile [PYTHON]: Likewise.
5619 * math/Makefile [PYTHON]: Likewise.
5621 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5623 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5624 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5625 answer to interrupt_operation, return EIEIO instead of EINTR.
5626 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5627 _hurd_intr_rpc_msg_about_to global point to start of controlled
5628 assembly snippet. Make it check canceled flag.
5629 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5630 the _hurd_intr_rpc_msg_about_to point.
5631 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5632 issue, remove cancel flag check.
5634 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5636 * scripts/build-many-glibcs.py: Remove compatibility for missing
5637 os.cpu_count and re.fullmatch.
5639 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5642 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5643 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5644 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5646 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5648 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5651 2018-10-25 Florian Weimer <fweimer@redhat.com>
5655 XFAIL siginfo_t si_band conform test on sparc64.
5656 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5657 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5658 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5659 (conformtest-xfail-conds): Add sparc64-linux.
5660 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5662 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5664 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5666 * elf/elf.h (NT_MIPS_DSP): New macro.
5667 (NT_MIPS_FP_MODE): Likewise.
5669 2018-10-25 Zong Li <zong@andestech.com>
5671 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5672 name by adding the file extension (.so).
5674 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5676 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5677 (test-xfail-ISO11/threads.h/linknamespace,
5678 test-xfail-ISO11/threads.h/conform): Add.
5680 2018-10-24 Joseph Myers <joseph@codesourcery.com>
5682 * math/gen-libm-test.py: Import os.
5683 (ALL_FLOATS_MANUAL): New constant.
5684 (ALL_FLOATS_SUFFIX): Likewise.
5685 (Ulps.all_functions): New function.
5686 (real_all_ulps): Likewise.
5687 (generate_err_table_sub): Likewise.
5688 (generate_err_table): Likewise.
5689 (main): Handle -s and -m options.
5690 * manual/libm-err-tab.pl: Remove.
5691 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5692 instead of libm-err-tab.pl.
5693 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5695 * manual/install.texi (Tools for Compilation): Document
5696 requirement for Python to build manual.
5697 * INSTALL: Regenerated.
5699 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5701 * bits/time64.h: New file.
5702 * include/time.h: Replace internal_time_t with __time64_t.
5703 * posix/bits/types (__time64_t): Add.
5704 * stdlib/Makefile: Add bits/time64.h to includes.
5705 * time/tzfile.c: Replace internal_time_t with __time64_t.
5707 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5709 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5710 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5711 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5712 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5713 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5715 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5716 * posix/spawn_faction_addclose.c
5717 (__posix_spawn_file_actions_addclose): Add hidden definition.
5718 * posix/spawn_faction_adddup2.c
5719 (__posix_spawn_file_actions_adddup2): Likewise.
5720 * posix/spawn_faction_destroy.c
5721 (__posix_spawn_file_actions_destroy): Likewise.
5722 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5724 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5725 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5726 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5728 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5729 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5732 2018-10-24 Andreas Schwab <schwab@suse.de>
5735 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5737 * elf/cache.c (print_cache): Likewise.
5739 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5741 * bits/timesize.h: New file.
5742 * stdlib/Makefile (headers): Add bits/timesize.h.
5743 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5744 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5745 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5746 (__SEM_PAD_AFTER_TIME): Likewise.
5747 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5748 (__SHM_PAD_AFTER_TIME): Likewise.
5749 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5750 (__MSQ_PAD_BEFORE_TIME): Likewise.
5751 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5752 (__SEM_PAD_BEFORE_TIME): Likewise.
5753 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5754 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5755 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5756 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5757 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5758 (__MSQ_PAD_BEFORE_TIME): Likewise.
5759 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5760 (__SEM_PAD_BEFORE_TIME): Likewise.
5761 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5762 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5763 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5764 (__MSQ_PAD_BEFORE_TIME): Likewise.
5765 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5766 (__SEM_PAD_BEFORE_TIME): Likewise.
5767 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5768 (__SHM_PAD_BEFORE_TIME): Likewise.
5769 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5770 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5771 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5773 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5775 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5776 USE_RDTSCP is defined.
5777 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5778 USE_RDTSCP is defined.
5780 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5782 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5786 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5787 independently of other flags.
5789 2018-10-23 Florian Weimer <fweimer@redhat.com>
5791 * time/tst-mktime2.c (N_STRINGS): Remove.
5792 (set_timezone): New function.
5793 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5794 (mktime_test1): Report localtime failure and check errno value.
5796 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5797 (do_test): Remove alarm call. Use set_timezone and array_length.
5799 2018-10-23 Andreas Schwab <schwab@suse.de>
5801 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5802 (__start_context): Use END instead of PSEUDO_END.
5804 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5806 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5809 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5813 * wcsmbs/c32rtomb.c: New file.
5814 * wcsmbs/mbrtoc32.c: Likewise.
5815 * wcsmbs/tst-c32-state.c: Likewise.
5816 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5817 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5818 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5819 (tests): Add tst-c32-state.
5820 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5823 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5825 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5826 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5828 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5831 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5832 pair and return 0 in that case, and use saved character to
5833 interpret following character.
5834 * wcsmbs/tst-c16-surrogate.c: New file.
5835 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5836 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5837 Depend on $(gen-locales)
5839 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5842 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5843 (struct siginfo_t): Use correct type for si_band.
5845 2018-10-19 Florian Weimer <fweimer@redhat.com>
5848 * resource/bits/types/struct_rusage.h (struct rusage): Update
5849 comment on struct. Remove extraneous field comment.
5851 2018-10-18 David S. Miller <davem@davemloft.net>
5853 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5854 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5855 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5856 sysdep_routines in subdir elf.
5857 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5858 version for __vdso_clock_gettime.
5859 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5861 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5862 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5864 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5866 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5868 * sysdeps/i386/init-arch.h: Removed.
5869 * sysdeps/i386/i586/init-arch.h: Likewise.
5870 * sysdeps/i386/i686/init-arch.h: Likewise.
5871 * sysdeps/i386/i686/hp-timing.h: Likewise.
5872 * sysdeps/x86_64/hp-timing.h: Likewise.
5873 * sysdeps/i386/isa.h: New file.
5874 * sysdeps/i386/i586/isa.h: Likewise.
5875 * sysdeps/i386/i686/isa.h: Likewise.
5876 * sysdeps/x86_64/isa.h: Likewise.
5877 * sysdeps/x86/hp-timing.h: New file.
5878 * sysdeps/x86/init-arch.h: Include <isa.h>.
5880 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5882 * math/libm-test-pow.inc (pow_test_data): Do not allow
5883 divide-by-zero exception for pow(+/- 0, -Inf).
5885 2018-10-17 Zack Weinberg <zackw@panix.com>
5887 * manual/job.texi (Job Control is Optional): Remove node, as
5888 job control has not been optional in quite some time.
5889 (Job Control): Mention briefly that systems older than
5890 POSIX.1-2001 might not support job control.
5891 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5892 defined on systems conforming to POSIX.1-2001.
5894 2018-10-17 Arjun Shankar <arjun@redhat.com>
5897 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5899 * (__gconv_read_conf): Mark function static.
5900 * (once): New static variable.
5901 * (__gconv_load_conf): New function.
5902 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5903 * iconv/gconv_db.c (once): Remove static variable.
5904 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5906 * (__gconv_find_transform): Likewise.
5907 * iconv/tst-iconv-mt.c: New test.
5908 * iconv/Makefile: Add tst-iconv_mt.
5910 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5914 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5915 (shmatt_t): Define as __syscall_ulong_t.
5916 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5917 and [__SHM_PAD_AFTER_TIME].
5918 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5919 Define shm_segsz and associated padding based on
5920 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5921 Use __syscall_ulong_t instead of unsigned long int.
5922 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5924 [__USE_MISC] (struct shm_info): Likewise.
5925 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5926 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5927 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5928 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5929 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5930 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5931 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5932 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5933 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5934 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5935 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5939 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5940 (SHMLBA): Remove macro.
5941 (__getpagesize): Remove function declaration.
5942 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5944 (SHMLBA): Remove macro.
5945 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5947 (SHMLBA): Remove macro.
5948 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5950 (SHMLBA): Remove macro.
5951 (__getpagesize): Remove function declaration.
5952 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5954 (SHMLBA): Remove macro.
5955 (__getshmlba): Remove function declaration.
5956 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5957 (SHMLBA): Remove macro.
5958 (__getpagesize): Remove function declaration.
5959 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5960 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5961 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5962 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5963 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5964 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5965 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5966 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5967 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5968 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5970 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5973 * nptl/tst-mutex10.c: New File.
5974 * nptl/Makefile (tests): Add tst-mutex10.
5975 (tst-mutex10-ENV): New variable.
5976 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5977 Ensure that elision path is used if elision is available.
5978 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5980 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5982 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5983 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5984 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5985 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5987 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5988 (__pthread_mutex_cond_lock_adjust): Likewise.
5989 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5991 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5992 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5993 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5994 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5996 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5997 Use atomic_load_relaxed and atomic_store_relaxed.
5998 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5999 Use atomic_store_relaxed.
6001 2018-10-17 Andreas Schwab <schwab@suse.de>
6003 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6004 * crypt/badsalttest.c (TIMEOUT): Likewise.
6005 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6006 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6007 * io/test-lfs.c (TIMEOUT): Likewise.
6008 * libio/tst-atime.c (TIMEOUT): Likewise.
6009 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6010 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6011 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6012 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6013 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6014 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6015 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6016 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6017 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6018 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6019 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6020 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6021 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6022 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6023 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6024 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6025 * nptl/tst-once2.c (TIMEOUT): Likewise.
6026 * nptl/tst-once3.c (TIMEOUT): Likewise.
6027 * nptl/tst-once4.c (TIMEOUT): Likewise.
6028 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6029 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6030 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6031 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6032 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6033 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6034 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6035 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6036 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6037 * posix/tst-chmod.c (TIMEOUT): Likewise.
6038 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6039 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6040 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6041 * posix/tst-regex2.c (TIMEOUT): Likewise.
6042 * posix/tst-waitid.c (TIMEOUT): Likewise.
6043 * rt/tst-aio.c (TIMEOUT): Likewise.
6044 * rt/tst-aio10.c (TIMEOUT): Likewise.
6045 * rt/tst-aio4.c (TIMEOUT): Likewise.
6046 * rt/tst-aio5.c (TIMEOUT): Likewise.
6047 * rt/tst-aio6.c (TIMEOUT): Likewise.
6048 * rt/tst-aio64.c (TIMEOUT): Likewise.
6049 * rt/tst-aio7.c (TIMEOUT): Likewise.
6050 * rt/tst-aio9.c (TIMEOUT): Likewise.
6051 * rt/tst-clock.c (TIMEOUT): Likewise.
6052 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6053 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6054 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6055 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6056 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6057 * rt/tst-timer4.c (TIMEOUT): Likewise.
6058 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6059 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6060 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6061 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6062 * time/tst-ftime.c (TIMEOUT): Likewise.
6063 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6065 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6067 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6068 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6071 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6073 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6075 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6076 instead of <bits/wordsize.h>.
6077 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6078 and [__SEM_PAD_AFTER_TIME].
6079 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6080 __syscall_ulong_t instead of unsigned long int.
6081 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6082 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6083 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6084 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6085 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6086 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6087 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6088 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6089 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6090 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6091 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6093 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6095 regex: simplify by using intprops.h
6097 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6098 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6099 intprops.h defines them.
6101 regex: __builtin_expect → __glibc_unlikely
6103 This refactoring was prompted by a problem when the regex code is
6104 used as part of Gnulib and when the builder’s compiler does not grok
6105 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6106 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6107 Although this refactoring does not fix the problem directly,
6108 we might as well have Gawk use the now-preferred glibc style for when
6109 __builtin_expect is unavailable.
6110 * posix/regex_internal.h (BE): Remove.
6111 All uses replaced by __glibc_unlikely or __glibc_likely.
6113 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6117 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6118 instead of <bits/wordsize.h>.
6119 (msgqnum_t): Define as __syscall_ulong_t.
6120 (msglen_t): Likewise.
6121 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6122 and [__MSQ_PAD_AFTER_TIME].
6123 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6124 __syscall_ulong_t instead of unsigned long int.
6125 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6126 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6127 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6128 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6129 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6130 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6131 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6132 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6133 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6134 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6135 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6137 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6139 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6140 (struct shmid_ds): Condition padding after time fields on
6142 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6143 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6144 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6146 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6147 (struct semid_ds): Condition padding after time fields on
6149 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6150 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6151 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6152 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6154 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6155 (struct msqid_ds): Condition padding after time fields on
6157 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6158 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6159 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6160 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6162 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6164 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6166 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6168 * libio/tst-readline.c (TIMEOUT): Define.
6170 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6172 mktime fix for Gnulib + coreutils
6174 This fix affects only Gnulib. Problem discovered when
6175 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6177 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6178 Do not define since it is not used. Defining an unused static
6179 function prompts a warning from GCC when Coreutils is configured
6180 with --enable-gcc-warnings.
6182 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6184 * benchtests/scripts/compare_bench.py (main): set float type on
6187 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6190 * localedata/locales/kl_GL (mon): Update, the relative case.
6191 (alt_mon): Add, fill with month names in the nominative case.
6192 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6193 (d_fmt): Set to "%b %d %Y".
6195 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6197 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6198 <bits/mman-linux.h>.
6199 (PROT_READ): Don't define here.
6200 (PROT_WRITE): Likewise.
6201 (PROT_EXEC): Likewise.
6202 (PROT_NONE): Likewise.
6203 (PROT_GROWSDOWN): Likewise.
6204 (PROT_GROWSUP): Likewise.
6205 (MAP_SHARED): Likewise.
6206 (MAP_PRIVATE): Likewise.
6207 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6208 [__USE_MISC] (MAP_FILE): Likewise.
6209 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6210 [__USE_MISC] (MAP_ANON): Likewise.
6211 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6212 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6213 (MCL_CURRENT): Likewise.
6214 (MCL_FUTURE): Likewise.
6215 (MCL_ONFAULT): Likewise.
6216 [__USE_MISC] (MADV_NORMAL): Likewise.
6217 [__USE_MISC] (MADV_RANDOM): Likewise.
6218 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6219 [__USE_MISC] (MADV_WILLNEED): Likewise.
6220 [__USE_MISC] (MADV_DONTNEED): Likewise.
6221 [__USE_MISC] (MADV_FREE): Likewise.
6222 [__USE_MISC] (MADV_REMOVE): Likewise.
6223 [__USE_MISC] (MADV_DONTFORK): Likewise.
6224 [__USE_MISC] (MADV_DOFORK): Likewise.
6225 [__USE_MISC] (MADV_HWPOISON): Likewise.
6226 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6227 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6228 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6229 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6230 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6231 (__MAP_ANONYMOUS): New macro.
6232 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6233 <bits/mman-linux.h> inclusion.
6234 (MAP_FIXED): Likewise.
6235 (MS_SYNC): Likewise.
6236 (MS_ASYNC): Likewise.
6237 (MS_INVALIDATE): Likewise.
6238 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6239 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6240 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6241 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6242 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6243 [__USE_MISC] (MADV_DODUMP): Likewise.
6244 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6245 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6248 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6250 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6251 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6252 Add test-nldbl-redirect.
6253 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6254 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6255 $(objpfx)libnldbl_nonshared.a.
6257 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6259 * support/support.h (support_objdir_elf_ldso): New variable.
6260 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6261 * support/Makefile (CFLAGS-support_paths.c): Add definition
6262 for OBJDIR_ELF_LDSO_PATH.
6263 * support/test-container.c (main): Search for the ld.so
6264 which is also used by the testsuite.
6266 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6269 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6270 should be "sap" rather than "sab".
6271 (day): Fix spelling of Sunday, should be "sapaat" rather than
6274 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6276 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6278 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6281 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6282 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6283 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6285 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6287 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6289 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6291 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6293 (CFLAGS-elision-unlock.c): Likewise.
6294 (CFLAGS-elision-timed.c): Likewise.
6295 (CFLAGS-elision-trylock.c): Likewise.
6296 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6298 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6301 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6302 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6303 new fd_to_filename interface.
6304 * libio/freopen64.c (freopen64): Likewise.
6305 * libio/tst-memstream.h: New file.
6306 * libio/tst-memstream4.c: Likewise.
6307 * libio/tst-wmemstream4.c: Likewise.
6308 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6309 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6310 and remove internal dynamic allocation.
6312 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6314 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6315 (MREMAP_MAYMOVE): Do not define here.
6316 [__USE_GNU] (MREMAP_FIXED): Likewise.
6317 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6318 (MREMAP_MAYMOVE): Define here instead.
6319 [__USE_GNU] (MREMAP_FIXED): Likewise.
6320 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6321 (MREMAP_MAYMOVE): Remove.
6322 [__USE_GNU] (MREMAP_FIXED): Likewise.
6324 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6326 * math/fromfp.h: Do not include <math_private.h>.
6327 * math/s_cacosh_template.c: Likewise.
6328 * math/s_casin_template.c: Likewise.
6329 * math/s_casinh_template.c: Likewise.
6330 * math/s_ccos_template.c: Likewise.
6331 * math/s_cproj_template.c: Likewise.
6332 * math/s_fdim_template.c: Likewise.
6333 * math/s_fmaxmag_template.c: Likewise.
6334 * math/s_fminmag_template.c: Likewise.
6335 * math/s_iseqsig_template.c: Likewise.
6336 * math/s_ldexp_template.c: Likewise.
6337 * math/s_nextdown_template.c: Likewise.
6338 * math/w_log1p_template.c: Likewise.
6339 * math/w_scalbln_template.c: Likewise.
6340 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6341 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6342 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6343 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6344 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6345 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6346 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6347 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6348 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6349 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6350 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6351 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6352 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6353 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6354 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6355 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6356 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6357 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6358 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6359 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6361 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6362 * sysdeps/ieee754/k_standardf.c: Likewise.
6363 * sysdeps/ieee754/k_standardl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6366 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6372 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6373 * sysdeps/ieee754/s_signgam.c: Likewise.
6374 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6375 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6376 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6377 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6378 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6379 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6380 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6381 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6382 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6383 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6384 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6385 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6386 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6387 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6388 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6389 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6390 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6391 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6392 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6393 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6394 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6395 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6396 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6397 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6398 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6399 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6400 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6401 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6402 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6403 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6404 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6405 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6406 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6407 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6408 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6409 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6410 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6412 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6414 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6417 * sysdeps/i386/dl-cet.c: Removed.
6418 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6420 (_dl_runtime_profile_shstk): Likewise.
6421 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6422 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6424 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6427 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6428 do_test_with_invalid_iov): New tests.
6429 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6430 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6431 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6433 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6434 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6435 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6437 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6439 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6440 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6441 (MATH_REDIRECT_BINARY_ARGS): New macro.
6442 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6443 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6444 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6446 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6447 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6448 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6449 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6459 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6460 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6465 * sysdeps/generic/math_private_calls.h
6466 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6467 Do not declare and define as an inline function.
6468 * math/divtc3.c (__divtc3): Use copysign functions instead of
6469 __copysign variants.
6470 * math/multc3.c (__multc3): Likewise.
6471 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6472 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6473 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6474 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6476 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6477 (__ieee754_yn): Likewise.
6478 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6479 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6480 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6481 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6482 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6484 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6485 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6487 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6489 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6491 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6492 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6494 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6495 (__ieee754_ynf): Likewise.
6496 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6497 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6498 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6499 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6501 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6502 (__ieee754_ynl): Likewise.
6503 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6504 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6505 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6507 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6508 (__ieee754_ynl): Likewise.
6509 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6510 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6511 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6512 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6514 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6516 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6517 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6518 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6519 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6520 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6522 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6523 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6524 using MATH_REDIRECT.
6525 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6527 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6528 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6529 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6530 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6531 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6532 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6533 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6538 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6539 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6540 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6541 (round): Redirect to __round.
6542 (__roundl): Call round instead of __round.
6543 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6545 [_ARCH_PWR5X] (__roundf): Likewise.
6546 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6547 functions instead of __round variants.
6548 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6549 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6551 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6553 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6555 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6556 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6558 (__ieee754_expl): Call roundl instead of __roundl.
6560 2018-09-27 Andreas Schwab <schwab@suse.de>
6563 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6564 (do_test): Make st1 static.
6566 2018-09-26 Andreas Schwab <schwab@suse.de>
6569 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6570 * elf/Makefile (tests): Add tst-unwind-ctor.
6571 (modules-names): Add tst-unwind-ctor-lib.
6572 ($(objpfx)tst-unwind-ctor): Depend on
6573 $(objpfx)tst-unwind-ctor-lib.so.
6575 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6577 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6578 file. Most contents moved from ....
6579 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6580 and include <bits/mman-map-flags-generic.h>.
6581 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6582 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6583 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6584 <bits/mman-map-flags-generic.h>.
6585 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6586 macros defined in <bits/mman-map-flags-generic.h>.
6587 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6588 <bits/mman-map-flags-generic.h>.
6589 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6590 defined in <bits/mman-map-flags-generic.h>.
6592 2018-09-26 Andreas Schwab <schwab@suse.de>
6594 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6597 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6598 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6599 Fangrui Song <maskray@google.com>
6602 * config.make.in (have-textrel_ifunc): New define.
6603 * configure.ac: Add check if linker supports textrel relocation with
6605 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6607 (CFLAGS-tst-ifunc-textrel.c): New rule.
6608 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6609 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6610 * elf/tst-ifunc-textrel.c: New file.
6612 2018-09-25 Joseph Myers <joseph@codesourcery.com>
6614 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6615 <bits/procfs-prregset.h>.
6616 (prgregset_t): Define using __prgregset_t.
6617 (prfpregset_t): Define using __prfpregset_t.
6618 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6619 (sysdep_headers): Add bits/procfs-prregset.h.
6620 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6621 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6622 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6623 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6625 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6626 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6627 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6629 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6630 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6631 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6632 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6633 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6634 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6635 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6636 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6637 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6638 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6639 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6640 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6641 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6642 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6643 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6644 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6645 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6646 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6647 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6648 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6649 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6650 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6651 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6652 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6654 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6655 AArch64 version. Include <bits/procfs.h>.
6656 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6657 (sysdep_headers): Add bits/procfs.h.
6658 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6659 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6660 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6661 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6662 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6663 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6664 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6665 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6666 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6667 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6668 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6669 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6670 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6671 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6672 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6673 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6674 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6676 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6678 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6681 2018-09-25 Arjun Shankar <arjun@redhat.com>
6683 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6684 (__gconv_max_path_elem_len): Likewise.
6685 (__gconv_nmodules): Likewise.
6686 (__gconv_get_path): Likewise.
6687 (path_elem): Move to ...
6688 * iconv/gconv_conf.c: ... here.
6689 (__gconv_get_path): Mark function static.
6690 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6691 * iconv/gconv_open.c: ... here.
6693 2018-09-24 Andreas Schwab <schwab@suse.de>
6695 * scripts/haveversions.awk: New file.
6696 * Makerules ($(common-objpfx)Versions.def)
6697 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6698 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6700 * Makeconfig ($(common-objpfx)Versions.def)
6701 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6702 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6704 ($(common-objpfx)Versions.mk): New rule. Include it.
6705 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6706 Emit error if build-obsolete-nsl = yes.
6707 * manual/install.texi (Configuring and compiling): Describe
6708 --enable-obsolete-nsl as unavaiable after version 2.28.
6709 * INSTALL: Regenerate.
6711 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6713 * NEWS: Add note about new TLE support on powerpc64le.
6714 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6715 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6717 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6718 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6719 * sysdeps/powerpc/powerpc32/sysdep.h,
6720 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6721 ABORT_TRANSACTION): Remove macros.
6722 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6723 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6724 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6726 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6727 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6729 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6731 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6734 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6735 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6736 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6737 which is the same as in it_IT.
6738 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6739 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6741 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6743 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6744 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6745 using MATH_REDIRECT.
6746 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6748 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6749 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6750 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6751 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6752 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6753 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6758 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6759 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6760 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6761 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6762 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6763 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6764 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6765 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6766 (ceil): Redirect to __ceil.
6767 (floor): Redirect to __floor.
6768 (trunc): Redirect to __trunc.
6769 (__truncl): Call trunc instead of __trunc.
6770 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6772 [_ARCH_PWR5X] (__truncf): Likewise.
6773 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6774 trunc functions instead of __trunc variants.
6775 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6777 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6779 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6781 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6784 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6785 [__i586__ || __pentium__].
6786 [__i486__]: Handle explicitly.
6787 (HAS_CPUID): Define to 1 if above macros are undefined.
6788 (HAS_I586): Likewise.
6789 (HAS_I686): Likewise.
6791 2018-09-20 Florian Weimer <fweimer@redhat.com>
6793 * misc/tst-gethostid.c: New file.
6794 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6795 (tst-gethostid): Link with -ldl.
6797 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6799 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6800 value from gethostbyname_r.
6802 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6804 * stdlib/tst-setcontext9.c (f1): Rename to...
6806 (f1b): New function implementing lower half of f1 in alternate stack.
6808 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6810 Fix mktime localtime offset confusion
6812 * include/time.h (__mktime_internal): The localtime offset is now
6813 of type long int instead of time_t. This is the longstanding type
6814 in glibc, and it is more than enough to represent difference
6815 between localtime and gmtime even if it is 32 bits and time_t is
6816 64. Changing it now will let us avoid an unnecessary change when
6817 time_t is widened to 64 bits on 32-bit platforms.
6818 * time/mktime-internal.h (mktime_offset_t): Now long int.
6820 Merge mktime, timegm from upstream Gnulib
6821 [BZ #23603][BZ #16346]
6822 This fixes some obscure problems with integer overflow.
6823 Although it looks scary, it is almost all a byte-for-byte copy
6824 from Gnulib, and the Gnulib code has been tested reasonably well.
6825 * include/intprops.h: New file, copied from Gnulib.
6826 * include/verify.h, time/mktime-internal.h:
6827 New tiny files, simplified from Gnulib.
6828 * time/mktime.c: Copy from Gnulib. This has the following changes:
6829 Do not include config.h if DEBUG_MKTIME is nonzero.
6830 Include stdbool.h, intprops.h, verify.h.
6831 Include string.h only if needed.
6832 Include stdlib.h on MS-Windows.
6833 Include mktime-internal.h.
6834 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6835 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6836 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6837 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6838 simplify later conditionals; default the others to zero. Use
6839 these conditionals to express only the code needed on the current
6840 platform. In uses of these conditionals, explicitly spell out how
6841 _LIBC affects things, so it’s easier to review from a glibc
6843 (WRAPV): Remove; no longer needed now that we have
6844 systematic overflow checking.
6845 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6846 compartmentalize tzset issues. Move system-dependent tzsettish
6847 code here from mktime.
6848 (verify): Remove; now done by verify.h. All uses changed.
6849 (long_int): Use a more-conservative definition, to avoid
6851 (SHR): Remove, replacing with ...
6852 (shr): New function, which means we needn’t worry about side
6853 effects in args, and conversion analysis is simpler.
6854 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6855 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6856 (time_t_avg, time_t_add_ok): Remove.
6857 (mktime_min, mktime_max): New constants.
6858 (leapyear, isdst_differ): Use bool for booleans.
6859 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6860 Use long_int, not time_t, for mktime differences.
6861 (long_int_avg): New function, replacing time_t_avg.
6862 INT_ADD_WRAPV replaces time_t_add_ok.
6863 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6865 (convert_time): New function.
6866 (ranged_convert): Use it.
6867 (__mktime_internal): Last arg now points to mktime_offset_t, not
6868 time_t. All uses changed. This is a no-op on glibc, where
6869 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6870 offset guess. Directly check for integer overflow instead of
6871 using a heuristic that works only 99.9...% of the time.
6872 Access *OFFSET only once, to avoid an unlikely race if the
6873 compiler delays a load and if this cascades into a signed integer
6875 (mktime): Move tzsettish code to my_tzset, and move
6876 localtime_offset to within mktime so that it doesn’t
6877 need a separate ifdef.
6878 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6879 instead of localtime.
6880 * time/timegm.c: Copy from Gnulib. This has the following changes:
6881 Include mktime-internal.h.
6882 [!_LIBC]: Include config.h and time.h. Do not include
6883 timegm.h or time_r.h. Make __mktime_internal a macro,
6884 and include mktime-internal.h to get its declaration.
6885 (timegm): Temporary is now mktime_offset_t, not time_t.
6886 This affects only Gnulib.
6888 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6891 * string/test-strstr.c (pr23637): New function.
6892 (test_main): Add tests with longer needles.
6893 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6894 * string/strstr.c (AVAILABLE): Likewise.
6896 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6898 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6900 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6902 * NEWS: Mention pow improvements.
6903 * math/Makefile (type-double-routines): Add e_pow_log_data.
6904 * sysdeps/generic/math_private.h (__exp1): Remove.
6905 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6906 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6907 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6909 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6910 (exp_inline): Remove.
6911 (__ieee754_exp): Only single double input is handled.
6912 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6913 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6914 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6915 (__pow_log_data): Define.
6916 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6917 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6918 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6919 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6921 (CFLAGS-e_pow-fma4.c): Likewise.
6923 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6925 Simplify tzfile fstat failure code
6927 * time/tzfile.c (__tzfile_read): Simplify slightly.
6929 Fix tzfile low-memory assertion failure
6931 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6932 when registering time zone abbreviations.
6934 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6936 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6937 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6938 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6939 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6940 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6941 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6942 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6943 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6944 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6946 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6948 (__ceill): Call ceil instead of __ceil.
6949 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6951 (__floorl): Call floor instead of __floor.
6953 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6955 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6956 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6957 using MATH_REDIRECT.
6958 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6960 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6961 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6962 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6963 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6964 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6965 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6966 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6967 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6972 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6973 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6976 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6977 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6978 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6980 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6981 functions instead of __ceil variants.
6982 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6983 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6985 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6987 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6988 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6990 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6991 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6994 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6996 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6997 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6998 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6999 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7000 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7001 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7002 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7003 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7004 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7005 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7006 (ILL_BADIADDR): Remove constant.
7007 (TRAP_BRANCH): Likewise.
7008 (TRAP_HWBKPT): Likewise.
7010 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7013 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7014 Remove [_MIPS_SIM = _ABIN32] conditional case.
7015 (struct elf_prpsinfo): Likewise.
7018 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7019 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7020 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7022 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7023 elf_prpsinfo): Likewise.
7024 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7025 elf_prpsinfo): Likewise.
7026 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7029 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7030 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7031 using MATH_REDIRECT.
7032 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7034 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7035 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7036 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7037 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7038 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7039 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7040 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7041 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7042 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7043 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7044 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7045 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7046 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7047 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7048 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7049 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7050 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7051 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7052 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7055 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7056 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7057 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7058 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7059 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7060 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7062 * math/e_scalbf.c (invalid_fn): Likewise.
7063 * math/e_scalbl.c (invalid_fn): Likewise.
7064 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7066 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7068 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7069 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7070 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7072 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7074 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7076 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7077 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7079 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7080 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7082 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7083 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7084 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7085 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7086 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7087 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7088 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7089 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7090 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7091 && !NO_MATH_REDIRECT] (floor): Likewise.
7092 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7094 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7095 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7096 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7097 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7098 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7099 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7101 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7106 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7107 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7108 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7110 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7111 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7112 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7114 [_ARCH_PWR5X] (__floorf): Likewise.
7115 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7117 [__SSE4_1__] (__floorf): Likewise.
7118 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7119 instead of __floor variants.
7120 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7121 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7122 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7123 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7124 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7125 * math/w_tgamma_compat.c (__tgamma): Likewise.
7126 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7127 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7128 * math/w_tgammal_compat.c (__tgammal): Likewise.
7129 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7130 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7132 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7133 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7134 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7135 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7137 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7138 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7140 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7141 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7143 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7144 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7146 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7147 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7148 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7149 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7150 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7151 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7153 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7155 * elf/Makefile (modules-names-tests): New variable.
7157 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7159 * NEWS: Mention log2 improvements.
7160 * math/Makefile (type-double-routines): Add e_log2_data.
7161 * sysdeps/i386/fpu/e_log2_data.c: New file.
7162 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7163 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7164 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7165 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7166 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7167 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7169 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7171 * NEWS: Mention log improvement.
7172 * math/Makefile (type-double-routines): Add e_log_data.
7173 * sysdeps/i386/fpu/e_log_data.c: New file.
7174 * sysdeps/ia64/fpu/e_log_data.c: New file.
7175 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7176 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7177 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7178 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7179 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7180 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7182 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7183 Xuepeng Guo <xuepeng.guo@intel.com>
7186 * sysdeps/i386/start.S: Include <sysdep.h>
7187 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7188 enabled. Add cfi_undefined (eip).
7190 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7192 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7194 (EXTRACT_WORDS64): Likewise.
7195 (INSERT_WORDS64): Likewise.
7196 (GET_FLOAT_WORD): Likewise.
7197 (SET_FLOAT_WORD): Likewise.
7199 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7201 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7202 build, but not for second build if --full-gcc. Use
7203 --enable-languages=all for second build if --full-gcc.
7204 (get_parser): Add --full-gcc option.
7205 (main): Update call to Context.
7207 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7210 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7211 Single Quotation Mark).
7212 (thousands_sep): Likewise.
7213 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7214 * localedata/locales/it_IT (thousands_sep): Use ".".
7215 (grouping): Use "3;3".
7217 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7219 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7220 x86_64 and i686 configs using --enable-obsolete-rpc
7221 --enable-obsolete-nsl.
7223 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7225 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7227 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7229 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7230 Increment size of new_argv by one.
7232 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7235 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7236 * localedata/locales/ar_IN (d_fmt): Likewise.
7237 * localedata/locales/bhb_IN (d_fmt): Likewise.
7238 * localedata/locales/bho_IN (d_fmt): Likewise.
7239 * localedata/locales/bn_BD (d_fmt): Likewise.
7240 * localedata/locales/bn_IN (d_fmt): Likewise.
7241 * localedata/locales/doi_IN (d_fmt): Likewise.
7242 * localedata/locales/gu_IN (d_fmt): Likewise.
7243 * localedata/locales/hi_IN (d_fmt): Likewise.
7244 * localedata/locales/hne_IN (d_fmt): Likewise.
7245 * localedata/locales/kn_IN (d_fmt): Likewise.
7246 * localedata/locales/mag_IN (d_fmt): Likewise.
7247 * localedata/locales/mai_IN (d_fmt): Likewise.
7248 * localedata/locales/mjw_IN (d_fmt): Likewise.
7249 * localedata/locales/ml_IN (d_fmt): Likewise.
7250 * localedata/locales/mni_IN (d_fmt): Likewise.
7251 * localedata/locales/mr_IN (d_fmt): Likewise.
7252 * localedata/locales/pa_IN (d_fmt): Likewise.
7253 * localedata/locales/raj_IN (d_fmt): Likewise.
7254 * localedata/locales/sat_IN (d_fmt): Likewise.
7255 * localedata/locales/sd_IN (d_fmt): Likewise.
7256 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7257 * localedata/locales/ta_IN (d_fmt): Likewise.
7258 * localedata/locales/ta_LK (d_fmt): Likewise.
7259 * localedata/locales/tcy_IN (d_fmt): Likewise.
7260 * localedata/locales/ur_IN (d_fmt): Likewise.
7262 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7263 * localedata/locales/ks_IN (d_fmt): Likewise.
7264 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7266 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7267 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7268 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7269 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7271 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7273 * NEWS: Mention exp and exp2 improvements.
7274 * math/Makefile (libm-support): Remove t_exp.
7275 (type-double-routines): Add math_err and e_exp_data.
7276 * sysdeps/aarch64/libm-test-ulps: Update.
7277 * sysdeps/arm/libm-test-ulps: Update.
7278 * sysdeps/i386/fpu/e_exp_data.c: New file.
7279 * sysdeps/i386/fpu/math_err.c: New file.
7280 * sysdeps/i386/fpu/t_exp.c: Remove.
7281 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7282 * sysdeps/ia64/fpu/math_err.c: New file.
7283 * sysdeps/ia64/fpu/t_exp.c: Remove.
7284 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7285 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7286 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7287 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7288 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7289 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7290 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7291 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7292 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7293 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7294 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7295 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7296 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7297 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7301 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7303 * sysdeps/alpha/fpu/math_private.h: Remove.
7305 * sysdeps/generic/math_private.h
7306 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7307 Move this inline function ....
7308 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7309 * include/math.h [!_ISOMAC]: To here....
7311 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7313 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7315 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7316 * include/fenv.h [!_ISOMAC]: ... to here.
7317 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7318 (feraiseexcept): Likewise.
7319 * math/fromfp.h: Do not include <fenv_private.h>.
7320 * math/s_cexp_template.c: Likewise.
7321 * math/s_csin_template.c: Likewise.
7322 * math/s_csinh_template.c: Likewise.
7323 * math/s_ctan_template.c: Likewise.
7324 * math/s_ctanh_template.c: Likewise.
7325 * math/s_iseqsig_template.c: Likewise.
7326 * math/w_acos_compat.c: Likewise.
7327 * math/w_acosf_compat.c: Likewise.
7328 * math/w_acosl_compat.c: Likewise.
7329 * math/w_asin_compat.c: Likewise.
7330 * math/w_asinf_compat.c: Likewise.
7331 * math/w_asinl_compat.c: Likewise.
7332 * math/w_j0_compat.c: Likewise.
7333 * math/w_j0f_compat.c: Likewise.
7334 * math/w_j0l_compat.c: Likewise.
7335 * math/w_j1_compat.c: Likewise.
7336 * math/w_j1f_compat.c: Likewise.
7337 * math/w_j1l_compat.c: Likewise.
7338 * math/w_jn_compat.c: Likewise.
7339 * math/w_jnf_compat.c: Likewise.
7340 * math/w_log10_compat.c: Likewise.
7341 * math/w_log10f_compat.c: Likewise.
7342 * math/w_log10l_compat.c: Likewise.
7343 * math/w_log2_compat.c: Likewise.
7344 * math/w_log2f_compat.c: Likewise.
7345 * math/w_log2l_compat.c: Likewise.
7346 * math/w_log_compat.c: Likewise.
7347 * math/w_logf_compat.c: Likewise.
7348 * math/w_logl_compat.c: Likewise.
7349 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7350 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7351 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7352 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7353 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7354 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7355 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7356 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7357 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7358 * sysdeps/ieee754/k_standardl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7360 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7371 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7372 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7373 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7376 * math/w_ilogb_template.c: Include <fenv.h> instead of
7378 * math/w_llogb_template.c: Likewise.
7379 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7380 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7382 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7384 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7385 * math/fromfp.h: Include <fenv_private.h>.
7386 * math/math-narrow.h: Likewise.
7387 * math/s_cexp_template.c: Likewise.
7388 * math/s_csin_template.c: Likewise.
7389 * math/s_csinh_template.c: Likewise.
7390 * math/s_ctan_template.c: Likewise.
7391 * math/s_ctanh_template.c: Likewise.
7392 * math/s_iseqsig_template.c: Likewise.
7393 * math/w_acos_compat.c: Likewise.
7394 * math/w_acosf_compat.c: Likewise.
7395 * math/w_acosl_compat.c: Likewise.
7396 * math/w_asin_compat.c: Likewise.
7397 * math/w_asinf_compat.c: Likewise.
7398 * math/w_asinl_compat.c: Likewise.
7399 * math/w_ilogb_template.c: Likewise.
7400 * math/w_j0_compat.c: Likewise.
7401 * math/w_j0f_compat.c: Likewise.
7402 * math/w_j0l_compat.c: Likewise.
7403 * math/w_j1_compat.c: Likewise.
7404 * math/w_j1f_compat.c: Likewise.
7405 * math/w_j1l_compat.c: Likewise.
7406 * math/w_jn_compat.c: Likewise.
7407 * math/w_jnf_compat.c: Likewise.
7408 * math/w_llogb_template.c: Likewise.
7409 * math/w_log10_compat.c: Likewise.
7410 * math/w_log10f_compat.c: Likewise.
7411 * math/w_log10l_compat.c: Likewise.
7412 * math/w_log2_compat.c: Likewise.
7413 * math/w_log2f_compat.c: Likewise.
7414 * math/w_log2l_compat.c: Likewise.
7415 * math/w_log_compat.c: Likewise.
7416 * math/w_logf_compat.c: Likewise.
7417 * math/w_logl_compat.c: Likewise.
7418 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7419 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7420 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7421 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7422 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7423 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7424 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7425 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7426 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7427 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7428 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7429 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7430 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7431 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7432 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7433 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7434 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7435 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7436 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7437 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7438 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7439 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7440 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7441 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7442 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7443 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7444 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7445 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7446 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7447 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7448 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7449 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7450 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7451 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7452 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7453 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7454 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7455 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7456 * sysdeps/ieee754/k_standardl.c: Likewise.
7457 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7458 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7459 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7460 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7461 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7463 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7464 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7465 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7466 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7467 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7468 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7470 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7471 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7472 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7473 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7474 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7475 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7476 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7477 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7478 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7479 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7480 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7481 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7482 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7483 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7484 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7485 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7486 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7487 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7488 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7489 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7490 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7491 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7492 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7493 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7494 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7495 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7496 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7497 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7498 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7499 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7500 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7501 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7502 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7503 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7504 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7505 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7506 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7507 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7508 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7509 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7510 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7511 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7512 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7513 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7514 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7515 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7516 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7517 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7518 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7519 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7520 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7521 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7522 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7523 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7524 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7525 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7526 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7527 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7529 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7532 * include/stdio.h (__libc_fatal): Mention newline in comment.
7533 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7534 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7535 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7536 * nss/nsswitch.c (__nss_next2): Likewise.
7537 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7538 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7539 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7540 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7541 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7542 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7543 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7544 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7545 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7546 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7547 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7548 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7549 (__netlink_assert_response): Likewise.
7551 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7553 * conform/glibcconform.py: New file.
7554 * conform/list-header-symbols.py: Likewise.
7555 * conform/list-header-symbols.pl: Remove.
7556 * conform/Makefile (tests-special): Only add linknamespace tests
7558 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7560 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7563 * support/Makefile (libsupport-routines): Add
7564 support_copy_file_range and xcopy_file_range.
7565 * support/support.h: Include <sys/types.h>.
7566 (support_copy_file_range): New prototype.
7567 * support/support_copy_file_range.c: New file. Copied and
7568 modified from io/copy_file_range-compat.c.
7569 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7570 instead of copy_file_range.
7571 * support/xcopy_file_range.c: New file.
7572 * support/xunistd.h (xcopy_file_range): New prototype.
7574 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7576 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7577 xpthread_create and xpthread_join.
7579 2018-08-30 Florian Weimer <fweimer@redhat.com>
7581 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7583 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7585 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7588 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7590 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7591 and minus_oflow as non-finite.
7593 2018-08-28 Joseph Myers <joseph@codesourcery.com>
7595 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7596 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7597 moved to fenv_private.h except for ...
7598 (TOINT_INTRINSICS): Kept in math_private.h.
7599 (roundtoint): Likewise.
7600 (converttoint): Likewise.
7601 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7602 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7603 * sysdeps/arm/math_private.h: Remove.
7604 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7606 * sysdeps/generic/math_private.h: ... this file. Include
7607 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7608 Include <fenv_private.h>. Remove functions and macros moved to
7610 * sysdeps/i386/fpu/math_private.h: Remove.
7611 * sysdeps/mips/math_private.h: Move to ....
7612 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7613 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7614 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7615 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7616 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7617 * sysdeps/powerpc/fpu/math_private.h: Do not include
7619 * sysdeps/riscv/rvf/math_private.h: Move to ....
7620 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7621 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7623 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7624 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7625 * sysdeps/sparc/fpu/math_private.h: Remove.
7626 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7627 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7628 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7630 * sysdeps/x86_64/fpu/math_private.h: Do not include
7631 <sysdeps/i386/fpu/fenv_private.h>.
7633 2018-08-28 Florian Weimer <fweimer@redhat.com>
7636 * posix/tst-regcomp-truncated.c: New file.
7637 * posix/Makefile (tests): Add it.
7638 (tst-regcomp-truncated.out): Depend on generated locales.
7640 2018-08-28 Florian Weimer <fweimer@redhat.com>
7642 * support/test-container.c (main): Treat unshare failure with
7643 EPERM as an unsupported test.
7645 2018-08-28 Florian Weimer <fweimer@redhat.com>
7648 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7649 * nscd/netgroupcache.c
7650 (addgetnetgrentX): Add tofreep parameter. Do not free
7651 heap-allocated buffer.
7652 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7653 (addgetnetgrentX_ignore): New function.
7654 (addgetnetgrent): Call it.
7655 (readdgetnetgrent): Likewise.
7657 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7659 * string/memmem.c: Use memcmp for first match.
7661 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7664 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7666 2018-08-27 DJ Delorie <dj@redhat.com>
7668 * support/Makefile (others): Don't list programs explicitly as a
7669 dependency of "others".
7671 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7673 * sysdeps/generic/math-tests-trap-force.h: New file.
7674 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7675 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7676 * sysdeps/powerpc/math-tests.h: Remove file.
7677 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7679 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7680 Torvald Riegel <triegel@redhat.com>
7683 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7684 Update r to include the set wake-request flag if waiters are
7685 remaining after spinning.
7687 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7689 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7691 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7694 regex: fix uninitialized memory access
7695 I introduced this bug into gnulib in commit
7696 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7697 eventually it was merged into glibc. The bug was found by
7698 project-repo <bugs@feusi.co> and reported here:
7699 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7700 Diagnosis and draft fix reported by Assaf Gordon here:
7701 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7702 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7703 * posix/regex_internal.c (build_wcs_upper_buffer):
7704 Fix bug when mbrtowc returns 0.
7706 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7708 * po/be.po: Update translation.
7710 2018-08-24 DJ Delorie <dj@delorie.com>
7712 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7715 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7718 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7719 create temporary files in source tree.
7721 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7723 * sysdeps/generic/math-tests-trap.h: New file.
7724 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7725 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7726 * sysdeps/aarch64/math-tests.h: Remove file.
7727 * sysdeps/arm/math-tests.h: Likewise.
7728 * sysdeps/riscv/math-tests.h: Likewise.
7729 * sysdeps/aarch64/math-tests-trap.h: New file.
7730 * sysdeps/arm/math-tests-trap.h: Likewise.
7731 * sysdeps/riscv/math-tests-trap.h: Likewise.
7733 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7735 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7736 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7737 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7738 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7739 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7740 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7741 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7744 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7745 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7746 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7747 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7748 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7749 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7750 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7751 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7752 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7754 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7756 * sysdeps/generic/math-tests-exceptions.h: New file.
7757 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7758 (EXCEPTION_TESTS_float): Do not define here.
7759 (EXCEPTION_TESTS_double): Likewise.
7760 (EXCEPTION_TESTS_long_double): Likewise.
7761 (EXCEPTION_TESTS_float128): Likewise.
7762 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7764 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7765 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7766 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7767 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7768 * sysdeps/mips/math-tests.h: Likewise.
7769 * sysdeps/nios2/math-tests.h: Likewise.
7770 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7771 (EXCEPTION_TESTS_float): Do not define here.
7772 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7773 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7774 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7776 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7778 * NEWS: Move optimized sinf entry to 2.29.
7780 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7782 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7784 2018-08-22 DJ Delorie <dj@redhat.com>
7786 * Makefile (testroot.pristine): New rules to initialize the
7787 test-in-container "testroot".
7788 * Makerules (all-testsuite): Add tests-container.
7789 * Rules (tests-expected): Add tests-container.
7790 (binaries-all-tests): Likewise.
7791 (tests-container): New, run these tests in the testroot container.
7792 * support/Makefile (others): Add *-container, support_paths.c,
7793 xmkdirp, and links-dso-program.
7794 * support/links-dso-program-c.c: New.
7795 * support/links-dso-program.cc: New.
7796 * support/test-container.c: New.
7797 * support/shell-container.c: New.
7798 * support/echo-container.c: New.
7799 * support/true-container.c: New.
7800 * support/xmkdirp.c: New.
7801 * support/xsymlink.c: New.
7802 * support/support_paths.c: New.
7803 * support/support.h: Add support paths prototypes.
7804 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7806 * nss/tst-nss-test3.c: Convert to test-in-container.
7807 * nss/tst-nss-test3.root/: New.
7809 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7811 regex: port Gnulib code to z/OS POSIX environment
7812 Problem reported by Arnold Robbins in:
7813 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7814 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7817 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7819 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7820 (ROUNDING_TESTS_double): Remove.
7821 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7822 (ROUNDING_TESTS_double): Remove.
7823 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7824 (ROUNDING_TESTS_double): Remove.
7825 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7826 (ROUNDING_TESTS_float): Remove.
7827 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7828 (ROUNDING_TESTS_float): Remove.
7829 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7830 (ROUNDING_TESTS_float): Remove.
7831 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7833 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7834 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7836 * sysdeps/generic/math-tests-rounding.h: New file.
7837 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7838 (ROUNDING_TESTS_float): Do not define here.
7839 (ROUNDING_TESTS_double): Likewise.
7840 (ROUNDING_TESTS_long_double): Likewise.
7841 (ROUNDING_TESTS_float128): Likewise.
7842 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7843 (ROUNDING_TESTS_double): Undefine before defining.
7844 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7845 (ROUNDING_TESTS_double): Undefine before defining.
7846 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7847 (ROUNDING_TESTS_double): Undefine before defining.
7848 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7849 (ROUNDING_TESTS_float): Undefine before defining.
7850 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7851 (ROUNDING_TESTS_float): Undefine before defining.
7852 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7853 (ROUNDING_TESTS_float): Undefine before defining.
7854 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7855 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7857 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7858 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7859 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7860 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7861 (ROUNDING_TESTS_float): Do not define here.
7862 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7863 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7864 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7865 (ROUNDING_TESTS_float): Likewise.
7866 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7867 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7868 * sysdeps/mips/math-tests.h [__mips_soft_float]
7869 (ROUNDING_TESTS_float): Likewise.
7870 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7871 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7872 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7873 (ROUNDING_TESTS_double): Likewise.
7874 (ROUNDING_TESTS_long_double): Likewise.
7876 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7878 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7879 (PF_XDP): New macro.
7880 (AF_XDP): New macro.
7881 (SOL_XDP): New macro.
7883 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7885 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7886 (TCP_INQ): Likewise.
7887 (TCP_CM_INQ): Likewise.
7888 (TCP_REPAIR_ON): Likewise.
7889 (TCP_REPAIR_OFF): Likewise.
7890 (TCP_REPAIR_OFF_NO_WP): Likewise.
7891 (struct tcp_zerocopy_receive): New type.
7893 2018-08-21 Florian Weimer <fweimer@redhat.com>
7895 * support/support.h (support_descriptor_supports_holes): Declare.
7896 * support/Makefile (libsupport-routines): Add
7897 support_descriptor_supports_holes.
7898 * support/support_descriptor_supports_holes.c: New file.
7899 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7900 and stop testing if holes are not supported.
7901 * io/test-lfs.c (do_prepare): Likewise.
7902 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7904 * timezone/tst-tzset.c (create_tz_file): Likewise.
7905 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7907 (do_prepare): Set it.
7908 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7910 2018-08-21 Florian Weimer <fweimer@redhat.com>
7913 * Makeconfig (+cflags): Do not sort (and deduplicate).
7915 2018-08-21 Florian Weimer <fweimer@redhat.com>
7917 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7918 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7920 2018-08-20 Florian Weimer <fweimer@redhat.com>
7922 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7923 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7925 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7927 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7928 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7929 and ssi_arch members.
7931 * elf/elf.c (NT_VMCOREDD): New macro.
7932 (AT_MINSIGSTKSZ): Likewise.
7934 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7936 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7937 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7938 s_cosf-ppc64 and s_cosf-power8.
7939 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7940 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7941 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7942 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7949 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7950 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7952 2018-08-17 Florian Weimer <fweimer@redhat.com>
7954 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7956 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7958 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7960 2018-08-16 Florian Weimer <fweimer@redhat.com>
7962 * configure.ac: Add --with-nonshared-cflags option.
7963 * config.make.in (extra-nonshared-cflags): Set variable.
7964 * Makeconfig (CFLAGS-.oS): Use it.
7965 * manual/install.texi (Configuring and compiling): Document
7966 --with-nonshared-cflags.
7967 * configure: Regenerate.
7968 * INSTALL: Likewise.
7970 2018-08-16 Florian Weimer <fweimer@redhat.com>
7972 * Makeconfig (ASFLAGS): Always append required assembler flags.
7974 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7976 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7977 (malloc_consolidate): Likewise.
7979 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7981 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7983 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7985 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7988 * benchtests/bench-strlen.c: Print performance numbers in json.
7990 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7992 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7993 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7994 only for little endian.
7995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7996 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7997 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7998 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7999 Add check for little endian.
8000 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8001 (__strcmp_power9): Add check for little endian.
8002 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8003 Add check for little endian.
8004 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8005 (__strncmp_power9): Add check for little endian.
8006 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8007 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8008 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8009 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8010 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8012 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8014 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8015 [!STRLEN](STRLEN): Set to __strlen.
8016 * sysdeps/aarch64/multiarch/strlen.c: New file.
8017 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8018 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8019 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8020 (__libc_ifunc_impl_list): Add strlen.
8021 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8022 strlen_generic and strlen_asimd.
8024 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8026 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8027 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8028 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8030 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8032 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8034 2018-08-14 Florian Weimer <fweimer@redhat.com>
8037 * include/stdio.h (__vfxprintf): Declare.
8038 * stdio-common/fxprintf.c (__vfxprintf): New function.
8039 (__fxprintf): Call it.
8040 * misc/err.c (convert_and_print): Remove function.
8041 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8042 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8043 * misc/Makefile (tests): Add tst-warn-wide.
8044 * misc/tst-warn-wide.c: New file.
8046 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8047 Szabolcs Nagy <szabolcs.nagy@arm.com>
8049 * NEWS: Mention sinf, cosf, sincosf.
8050 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8051 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8052 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8053 constants rather than including generic sincosf.h.
8054 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8055 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8056 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8057 (reduced_cos): Remove.
8058 (sinf_poly): New function.
8059 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8061 2018-08-14 Florian Weimer <fweimer@redhat.com>
8065 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8066 processing, bail out if no room, and close the stream before
8068 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8069 (tst-nss-files-alias-leak): Link with libdl.
8070 (tst-nss-files-alias-leak.out): Depend on nss_files.
8072 * nss/tst-nss-files-alias-leak.c: New file.
8074 2018-08-14 Florian Weimer <fweimer@redhat.com>
8076 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8077 server_user, stat_user.
8079 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8081 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8083 (io_pgetevents): New syscall.
8086 * manual/install.texi (Configuring and compiling): Do not list
8087 tools used for testing pretty printers here.
8088 (Tools for Compilation): List Python, PExpect and GDB here.
8089 Update descriptions of uses of Perl and Python.
8090 * INSTALL: Regenerate.
8092 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8095 2018-08-13 Florian Weimer <fweimer@redhat.com>
8097 * misc/error.c (error): Add missing va_end call.
8098 (error_at_line): Likewise.
8100 2018-08-13 Florian Weimer <fweimer@redhat.com>
8102 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8104 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8106 * benchtests/scripts/benchout.schema.json (properties): Add
8109 * benchtests/bench-skeleton.c (main): Add duration and
8110 iterations attributes.
8112 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8114 regex: Gnulib unibyte RRI uses bytes not chars
8115 Adjust the non-glibc code to agree with what Gawk needs for
8116 rational range interpretation (RRI) for regular expression ranges.
8117 In unibyte locales, Gawk wants ranges to use the underlying byte
8118 rather than the character code point. This change does not affect
8120 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8121 In unibyte locales, use the byte value rather than
8122 running it through btowc.
8124 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8126 * sysdeps/generic/math-tests-snan.h: New file.
8127 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8128 (SNAN_TESTS_float): Do not define here.
8129 (SNAN_TESTS_double): Likewise.
8130 (SNAN_TESTS_long_double): Likewise.
8131 (SNAN_TESTS_float128): Likewise.
8132 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8133 * sysdeps/i386/fpu/math-tests.h: Remove file.
8134 * sysdeps/ia64/math-tests-snan.h: New file.
8135 * sysdeps/ia64/math-tests.h: Remove file.
8136 * sysdeps/x86/math-tests.h: Likewise.
8137 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8139 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8140 Szabolcs Nagy <szabolcs.nagy@arm.com>
8142 * math/Makefile: Add s_sincosf_data.c.
8143 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8144 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8145 (sincosf_poly): Likewise.
8146 (reduce_small): Likewise.
8147 (reduce_large): Likewise.
8148 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8149 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8150 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8151 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8153 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8154 Szabolcs Nagy <szabolcs.nagy@arm.com>
8156 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8157 (converttoint): Use lround.
8158 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8159 document the semantics when TOINT_INTRINSICS is set.
8160 (converttoint): Likewise.
8161 (TOINT_RINT): Remove.
8162 (TOINT_SHIFT): Remove.
8163 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8166 2018-08-10 Florian Weimer <fweimer@redhat.com>
8169 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8171 (__old_getdents64): Use getdents64. Convert entries without
8173 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8174 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8175 tst-readdir64-compat.
8177 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8179 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8182 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8184 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8185 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8186 code to s390x-mcount.h and #include it.
8187 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8188 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8191 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8193 * stdlib/Versions: Remove __fentry__.
8194 * sysdeps/i386/Versions: Add __fentry__.
8195 * sysdeps/x86_64/Versions: Add __fentry__.
8197 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8199 * sysdeps/s390/Makefile: Register the new tests.
8200 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8201 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8202 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8203 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8204 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8205 * sysdeps/s390/tst-dl-runtime.c: New file.
8207 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8209 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8212 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8214 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8217 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8219 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8222 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8224 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8227 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8229 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8230 Use symbolic offsets for stack variables.
8232 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8234 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8235 Use symbolic offsets for stack variables.
8237 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8239 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8240 Use symbolic offsets for stack variables.
8242 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8244 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8245 Use symbolic offsets for stack variables.
8247 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8249 * math/gen-libm-test.py: New file.
8250 * math/gen-libm-test.pl: Remove.
8251 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8252 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8254 ($(libm-test-c-noauto-obj)): Likewise.
8255 ($(libm-test-c-auto-obj)): Likewise.
8256 ($(libm-test-c-narrow-obj)): Likewise.
8257 (regen-ulps): Likewise.
8258 * math/README.libm-test: Update references to gen-libm-test.pl.
8259 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8260 referencing gen-libm-test.pl.
8261 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8262 * math/libm-test-support.c: Likewise.
8263 * math/libm-test-support.h: Likewise.
8264 * sysdeps/generic/libm-test-ulps: Likewise.
8266 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8268 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8271 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8273 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8274 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8276 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8278 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8280 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8281 __pthread_setspecific): Add hidden proto.
8282 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8283 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8285 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8287 * benchtests/bench-string.h (buf1_size, buf2_size): New
8289 (init_sizes): New function.
8290 (test_init): Use it.
8291 (alloc_buf, exit_error): New functions.
8292 (alloc_bufs): Use ALLOC_BUF.
8293 (realloc_bufs): Remove.
8294 * benchtests/bench-memcmp.c (do_test): Adjust.
8295 * benchtests/bench-memset-large.c (do_test): Likewise.
8296 * benchtests/bench-memset-walk.c (do_test): Likewise.
8297 * benchtests/bench-memset.c (do_test): Likewise.
8298 * benchtests/bench-strncmp.c (do_test): Likewise.
8300 2018-08-06 Andreas Schwab <schwab@suse.de>
8302 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8303 of CONST_THREAD_AREA.
8305 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8307 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8308 (STATE_SAVE_MASK): Likewise.
8309 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8310 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8311 (STATE_SAVE_MASK): Likewise.
8312 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8313 instead of <cpu-features.h>.
8315 2018-08-03 DJ Delorie <dj@redhat.com>
8317 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8318 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8320 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8322 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8324 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8326 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8327 * math/libm-test-logb.inc (logb_test_data): Likewise.
8329 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8331 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8332 * string/strstr.c (AVAILABLE): Likewise.
8334 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8336 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8338 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8339 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8340 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8342 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8344 * po/be.po: Update translation.
8346 * po/be.po: Update translation.
8348 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8350 * sysdeps/x86/cpu-features-offsets.sym
8351 (rtld_global_ro_offsetof): Removed.
8352 (CPU_FEATURES_SIZE): Likewise.
8353 (CPUID_OFFSET): Likewise.
8354 (CPUID_SIZE): Likewise.
8355 (CPUID_EAX_OFFSET): Likewise.
8356 (CPUID_EBX_OFFSET): Likewise.
8357 (CPUID_ECX_OFFSET): Likewise.
8358 (CPUID_EDX_OFFSET): Likewise.
8359 (FAMILY_OFFSET): Likewise.
8360 (MODEL_OFFSET): Likewise.
8361 (FEATURE_OFFSET): Likewise.
8362 (FEATURE_SIZ): Likewise.
8363 (COMMON_CPUID_INDEX_1): Likewise.
8364 (COMMON_CPUID_INDEX_7): Likewise.
8365 (FEATURE_INDEX_1): Likewise.
8366 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8368 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8370 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8371 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8372 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8373 (install-locales): Depend on install-locale-archive.
8374 (install-locale-archive): Define.
8375 (install-locale-files): Define.
8376 (build-one-locale): Define macro.
8377 * manual/install.texi (Running make install): Document.
8378 * manual/INSTALL: Regenerate.
8380 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8382 * benchtests/scripts/compare_strings.py: Import traceback.
8383 (parse_file): Pretty-print error.
8385 * NEWS: Mention the change.
8386 * elf/dl-tunables.list: Rename tune namespace to cpu.
8387 * sysdeps/powerpc/dl-tunables.list: Likewise.
8388 * sysdeps/x86/dl-tunables.list: Likewise.
8389 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8391 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8392 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8393 * manual/README.tunables: Likewise.
8394 * manual/tunables.texi: Likewise.
8395 * sysdeps/powerpc/cpu-features.c: Likewise.
8396 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8397 (init_cpu_features): Likewise.
8398 * sysdeps/x86/cpu-features.c: Likewise.
8399 * sysdeps/x86/cpu-features.h: Likewise.
8400 * sysdeps/x86/cpu-tunables.c: Likewise.
8401 * sysdeps/x86_64/Makefile: Likewise.
8402 * sysdeps/x86/dl-cet.c: Likewise.
8404 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8407 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8408 [__mips_hard_float].
8409 (FE_UNDERFLOW): Likewise.
8410 (FE_OVERFLOW): Likewise.
8411 (FE_DIVBYZERO): Likewise.
8412 (FE_INVALID): Likewise.
8413 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8414 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8415 (FE_UPWARD): Likewise.
8416 (FE_DOWNWARD): Likewise.
8417 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8418 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8419 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8420 [__mips_hard_float].
8421 (FP_ROUNDMODE): Likewise.
8422 (FP_RND_NEAREST): Likewise.
8423 (FP_RND_ZERO): Likewise.
8424 (FP_RND_PINF): Likewise.
8425 (FP_RND_MINF): Likewise.
8426 (FP_EX_INVALID): Likewise.
8427 (FP_EX_OVERFLOW): Likewise.
8428 (FP_EX_UNDERFLOW): Likewise.
8429 (FP_EX_DIVZERO): Likewise.
8430 (FP_EX_INEXACT): Likewise.
8431 (FP_INIT_ROUNDMODE): Likewise.
8432 * sysdeps/mips/nofpu/fesetenv.c: New file.
8433 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8435 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8437 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8438 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8439 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8440 conditional on [FE_UPWARD].
8442 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8444 regex: fix memory leak in Gnulib
8445 Problem and fix reported by Assaf Gordon in:
8446 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8447 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8448 range_ends members too, as they are defined in 'struct
8449 re_charset_t' even if not _LIBC. This affects only Gnulib.
8451 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8453 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8455 (get_common_indices): This.
8456 (init_cpu_features): Updated.
8458 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8460 * sysdeps/generic/math-tests-snan-payload.h: New file.
8461 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8462 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8463 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8464 * sysdeps/generic/math-tests.h: Include
8465 <math-tests-snan-payload.h>.
8466 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8467 * sysdeps/hppa/math-tests.h: Remove file.
8468 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8469 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8470 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8473 * sysdeps/generic/math-tests-snan-cast.h: New file.
8474 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8475 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8476 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8477 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8479 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8481 * version.h (RELEASE): Set to "development".
8482 (VERSION): Set to "2.28.9000".
8483 * NEWS (2.29): New section.
8485 * version.h (RELEASE): Set to "stable".
8486 (VERSION): Set to "2.28".
8487 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8488 * NEWS: Add the list of bugs fixed in 2.28.
8490 * po/ca.po: Update to latest version.
8491 * po/cs.po: Likewise
8492 * po/da.po: Likewise
8493 * po/el.po: Likewise
8494 * po/eo.po: Likewise
8495 * po/es.po: Likewise
8496 * po/fi.po: Likewise
8497 * po/fr.po: Likewise
8498 * po/gl.po: Likewise
8499 * po/hu.po: Likewise
8500 * po/ia.po: Likewise
8501 * po/id.po: Likewise
8502 * po/it.po: Likewise
8503 * po/ja.po: Likewise
8504 * po/ko.po: Likewise
8505 * po/lt.po: Likewise
8506 * po/nb.po: Likewise
8507 * po/nl.po: Likewise
8508 * po/pt_BR.po: Likewise
8509 * po/ru.po: Likewise
8510 * po/rw.po: Likewise
8511 * po/sk.po: Likewise
8512 * po/sl.po: Likewise
8513 * po/tr.po: Likewise
8514 * po/zh_CN.po: Likewise
8515 * po/zh_TW.po: Likewise
8517 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8519 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8521 (init): ... before initializing libpthread.
8523 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8524 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8525 (__mach_setup_tls): ... new function.
8526 (mach_setup_tls): New alias.
8527 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8528 __mach_setup_thread.
8529 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8530 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8531 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8532 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8534 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8536 * manual/install.texi: Update versions.
8537 * INSTALL: Regenerate.
8539 * manual/contrib.texi (Contributors): Update contributions.
8541 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8543 * po/be.po: Update translations.
8545 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8547 * sysdeps/sh/libm-test-ulps: Update.
8549 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8551 * po/bg.po: Update translations.
8552 * po/de.po: Likewise.
8553 * po/hr.po: Likewise.
8554 * po/pt_BR.po: Likewise.
8555 * po/sv.po: Likewise.
8556 * po/vi.po: Likewise.
8558 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8561 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8562 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8563 (CFLAGS-tst-cet-property-1.o): New.
8564 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8565 ($(objpfx)tst-cet-property-2): Likewise.
8566 ($(objpfx)tst-cet-property-2.out): Likewise.
8567 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8568 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8569 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8570 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8571 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8573 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8576 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8578 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8580 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8581 __sbrk): Do not set attribute_hidden.
8582 * sysdeps/mach/hurd/not-errno.h: New file.
8583 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8584 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8586 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8588 * po/uk.po: Update translations.
8589 * po/cs.po: Likewise.
8590 * po/pl.po: Likewise.
8592 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8594 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8595 parse beyond the note end.
8597 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8599 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8600 kernel does not support OFD locks.
8601 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8603 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8605 * sysdeps/mach/hurd/Versions (libc): Make __access and
8606 __access_noerrno external so they can override the ld symbols.
8607 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8608 __writev, __open64, __access_noerrno extern so they can be overrided.
8609 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8610 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8612 2018-07-26 Carlos O'Donell <carlos@redhat.com>
8614 * po/libc.pot: Regenerate.
8616 2018-07-26 Joseph Myers <joseph@codesourcery.com>
8618 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8620 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8623 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8625 (init_cpu_features): Call get_extended_indices for both Intel
8627 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8628 Remove "for AMD" comment.
8630 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8633 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8634 COMMON_CPUID_INDEX_80000001.
8636 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8638 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8639 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8641 2018-07-26 Florian Weimer <fweimer@redhat.com>
8643 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8644 aliases for symbols not in the implementation namespace.
8646 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8649 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8650 lowercase in LATIN script.
8651 * localedata/Makefile (test-input): Add en_US.UTF-8.
8652 * localedata/en_US.UTF-8.in: New file.
8653 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8654 and restore old tests.
8655 * posix/tst-regexloc.c (do_test): Add back range expression test.
8657 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8659 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8661 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8663 * nptl/threads.h: Move to ...
8664 * sysdeps/nptl/threads.h: ... here.
8665 * sysdeps/hurd/stdc-predef.h: New file.
8667 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8669 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8670 tst-cet-setcontext-1 if CET is enabled.
8671 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8672 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8674 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8676 * include/threads.h: Move to ...
8677 * sysdeps/nptl/threads.h: ... here.
8678 * sysdeps/htl/threads.h: New file.
8679 * conform/Makefile (linknamespace-libs-ISO11): Use
8680 static-thread-library instead of linking libpthread.
8681 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8683 2018-07-25 Florian Weimer <fweimer@redhat.com>
8685 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8686 nanoseconds into seconds.
8687 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8688 (do_test): Likewise.
8689 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8690 (do_test): Likewise. Avoid nanosecond overflow and spurious
8691 timeouts due to system load.
8692 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8693 (child_wait): Increment it.
8694 (do_test): Wait as long as necessary until all expected threads
8697 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8698 H.J. Lu <hongjiu.lu@intel.com>
8700 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8702 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8703 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8704 (__push___start_context): New.
8705 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8707 (__getcontext): Record the current shadow stack base. Save the
8708 caller's shadow stack pointer and base.
8709 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8710 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8711 (__push___start_context): New prototype.
8712 (__makecontext): Call __push___start_context to allocate a new
8713 shadow stack, push __start_context onto the new stack as well
8714 as the new shadow stack.
8715 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8717 (__setcontext): Restore the target shadow stack.
8718 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8720 (__swapcontext): Record the current shadow stack base. Save
8721 the caller's shadow stack pointer and base. Restore the target
8723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8724 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8725 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8727 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8729 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8730 tst-setcontext8 and tst-setcontext9.
8731 * stdlib/tst-setcontext6.c: New file.
8732 * stdlib/tst-setcontext7.c: Likewise.
8733 * stdlib/tst-setcontext8.c: Likewise.
8734 * stdlib/tst-setcontext9.c: Likewise.
8736 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8738 * stdlib/Makefile ((tests): Add tst-setcontext5.
8739 * stdlib/tst-setcontext5.c: New file.
8741 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8743 * stdlib/Makefile (tests): Add tst-setcontext4.
8744 * stdlib/tst-setcontext4.c: New file.
8746 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8748 * stdlib/Makefile (tests): Add tst-swapcontext1.
8749 * stdlib/tst-swapcontext1.c: New test.
8751 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8753 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8754 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8755 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8756 and tst-cet-legacy-4c.
8757 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8758 and tst-cet-legacy-mod-4.
8759 (CFLAGS-tst-cet-legacy-2.c): New.
8760 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8761 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8762 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8763 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8764 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8765 ($(objpfx)tst-cet-legacy-1): Likewise.
8766 ($(objpfx)tst-cet-legacy-2): Likewise.
8767 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8768 ($(objpfx)tst-cet-legacy-2a): Likewise.
8769 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8770 ($(objpfx)tst-cet-legacy-4): Likewise.
8771 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8772 ($(objpfx)tst-cet-legacy-4a): Likewise.
8773 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8774 (tst-cet-legacy-4a-ENV): Likewise.
8775 ($(objpfx)tst-cet-legacy-4b): Likewise.
8776 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8777 (tst-cet-legacy-4b-ENV): Likewise.
8778 ($(objpfx)tst-cet-legacy-4c): Likewise.
8779 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8780 (tst-cet-legacy-4c-ENV): Likewise.
8781 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8782 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8783 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8784 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8785 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8786 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8787 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8788 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8789 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8790 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8791 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8793 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8795 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8796 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8798 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8799 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8802 2018-07-25 Andreas Schwab <schwab@suse.de>
8805 * locale/weightwc.h (findidx): Handle the case where usrc is a
8806 prefix of cp but one character too short.
8808 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8810 * NEWS: Add ISO C threads addition.
8812 2018-07-24 Florian Weimer <fweimer@redhat.com>
8814 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8815 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8816 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8819 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8821 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8822 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8823 <sys/prctl.h> and <asm/prctl.h>.
8824 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8825 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8827 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8828 ARCH_CET_LEGACY_BITMAP.
8829 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8830 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8831 * sysdeps/x86/libc-start.c: Include <startup.h>.
8833 2018-07-24 Florian Weimer <fweimer@redhat.com>
8835 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8836 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8838 2018-07-24 Rical Jasan <rj@2c3t.io>
8839 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8840 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8843 * manual/debug.texi: Update adjacent chapter name.
8844 * manual/probes.texi: Likewise.
8845 * manual/threads.texi (ISO C Threads): New section.
8846 (POSIX Threads): Convert to a section.
8848 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8849 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8852 * nptl/Makefile (tests): Add new test files.
8853 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8854 * nptl/tst-cnd-basic.c: Likewise.
8855 * nptl/tst-cnd-broadcast.c: Likewise.
8856 * nptl/tst-cnd-timedwait.c: Likewise.
8857 * nptl/tst-mtx-basic.c: Likewise.
8858 * nptl/tst-mtx-recursive.c: Likewise.
8859 * nptl/tst-mtx-timedlock.c: Likewise.
8860 * nptl/tst-mtx-trylock.c: Likewise.
8861 * nptl/tst-thrd-basic.c: Likewise.
8862 * nptl/tst-thrd-detach.c: Likewise.
8863 * nptl/tst-thrd-sleep.c: Likewise.
8864 * nptl/tst-tss-basic.c: Likewise.
8866 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8869 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8870 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8872 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8873 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8874 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8875 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8876 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8877 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8878 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8879 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8880 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8881 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8882 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8883 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8891 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8892 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8893 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8894 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8895 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8896 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8897 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8898 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8899 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8900 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8901 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8902 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8903 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8905 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8906 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8907 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8908 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8909 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8910 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8911 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8912 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8913 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8914 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8915 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8916 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8923 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8924 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8925 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8926 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8927 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8928 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8929 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8930 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8933 * conform/data/threads.h-data (thread_local): New macro.
8934 (TSS_DTOR_ITERATIONS): Likewise.
8936 (tss_dtor_t): Likewise.
8937 (tss_create): New function.
8938 (tss_get): Likewise.
8939 (tss_set): Likewise.
8940 (tss_delete): Likewise.
8941 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8942 tss_get, and tss_set objects.
8943 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8944 * nptl/tss_create.c: New file.
8945 * nptl/tss_delete.c: Likewise.
8946 * nptl/tss_get.c: Likewise.
8947 * nptl/tss_set.c: Likewise.
8948 * sysdeps/nptl/threads.h (thread_local): New define.
8949 (TSS_DTOR_ITERATIONS): Likewise.
8950 (tss_t): New typedef.
8951 (tss_dtor_t): Likewise.
8952 (tss_create): New prototype.
8953 (tss_get): Likewise.
8954 (tss_set): Likewise.
8955 (tss_delete): Likewise.
8958 * conform/data/threads.h-data (cnd_t): New type.
8959 (cnd_init): New function.
8960 (cnd_signal): Likewise.
8961 (cnd_broadcast): Likewise.
8962 (cnd_wait): Likewise.
8963 (cnd_timedwait): Likewise.
8964 (cnd_destroy): Likewise.
8965 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8966 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8968 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8969 * nptl/cnd_broadcast.c: New file.
8970 * nptl/cnd_destroy.c: Likewise.
8971 * nptl/cnd_init.c: Likewise.
8972 * nptl/cnd_signal.c: Likewise.
8973 * nptl/cnd_timedwait.c: Likewise.
8974 * nptl/cnd_wait.c: Likewise.
8975 * sysdeps/nptl/threads.h (cnd_t): New type.
8976 (cnd_init): New prototype.
8977 (cnd_signa): Likewise.
8978 (cnd_broadcast): Likewise.
8979 (cnd_wait): Likewise.
8980 (cnd_timedwait): Likewise.
8981 (cnd_destroy): Likewise.
8984 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8985 (once_flag): New type.
8986 (call_once): New function.
8987 * nptl/Makefile (libpthread-routines): Add call_once object.
8988 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8989 * nptl/call_once.c: New file.
8990 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8991 (once_flag): New type.
8992 (call_once): New prototype.
8995 * conform/data/threads.h-data (mtx_plain): New constant.
8996 (mtx_recursive): Likewise.
8997 (mtx_timed): Likewise.
8999 (mtx_init): New function.
9000 (mtx_lock): Likewise.
9001 (mtx_timedlock): Likewise.
9002 (mtx_trylock): Likewise.
9003 (mtx_unlock): Likewise.
9004 (mtx_destroy): Likewise.
9005 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9006 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9007 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9008 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9009 * nptl/mtx_destroy.c: New file.
9010 * nptl/mtx_init.c: Likewise.
9011 * nptl/mtx_lock.c: Likewise.
9012 * nptl/mtx_timedlock.c: Likewise.
9013 * nptl/mtx_trylock.c: Likewise.
9014 * nptl/mtx_unlock.c: Likewise.
9015 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9016 (mtx_recursive): Likewise.
9017 (mtx_timed): Likewise.
9019 (mtx_init): New prototype.
9020 (mtx_lock): Likewise.
9021 (mtx_timedlock): Likewise.
9022 (mtx_trylock): Likewise.
9023 (mtx_unlock): Likewise.
9024 (mtx_destroy): Likewise.
9027 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9028 (linknamespace-libs-ISO11): Add libpthread.a.
9029 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9031 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9032 * nptl/Makefile (headers): Add threads.h.
9033 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9034 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9036 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9037 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9038 thrd_join, thrd_sleep, and thrd_yield symbols.
9039 * nptl/descr.h (struct pthread): Add c11 field.
9040 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9041 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9042 routine with expected function prototype.
9043 (__pthread_create_2_1): Add C11 threads check based on attribute
9045 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9046 * nptl/thrd_create.c: New file.
9047 * nptl/thrd_current.c: Likewise.
9048 * nptl/thrd_detach.c: Likewise.
9049 * nptl/thrd_equal.c: Likewise.
9050 * nptl/thrd_exit.c: Likewise.
9051 * nptl/thrd_join.c: Likewise.
9052 * nptl/thrd_priv.h: Likewise.
9053 * nptl/thrd_sleep.c: Likewise.
9054 * nptl/thrd_yield.c: Likewise.
9055 * include/threads.h: Likewise.
9057 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9059 * bits/indirect-return.h: New file.
9060 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9061 * sysdeps/x86/bits/indirect-return.h: Likewise.
9062 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9063 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9064 (swapcontext): Add __INDIRECT_RETURN.
9065 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9066 (prepare_test_buffer): Use it.
9068 2018-07-24 Andreas Schwab <schwab@suse.de>
9071 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9072 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9074 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9076 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9077 Redefine if shadow stack is enabled.
9078 (SYSCALL_ERROR_LABEL): Likewise.
9079 (__vfork): Pop shadow stack and jump back to to caller directly
9080 when shadow stack is in use.
9081 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9082 Redefine if shadow stack is enabled.
9083 (SYSCALL_ERROR_LABEL): Likewise.
9084 (__vfork): Pop shadow stack and jump back to to caller directly
9085 when shadow stack is in use.
9087 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9089 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9092 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9095 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9097 * scripts/build-many-glibcs.py (Context.checkout): Default
9098 binutils version to 2.31 branch.
9100 2018-07-20 Zong Li <zong@andestech.com>
9102 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9103 URL of gcc's tarball.
9105 2018-07-20 Florian Weimer <fweimer@redhat.com>
9108 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9109 not compare an extra byte after the end of the weights.
9111 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9113 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9115 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9117 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9118 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9119 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9120 list of libraries whose stack executability is expected.
9121 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9122 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9124 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9125 libc.so libpthread.so.
9127 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9129 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9131 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9133 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9135 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9137 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9139 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9140 library to improve command line parsing.
9141 (__main__): make schema file as optional parameter (--schema),
9142 defaulting to benchtests/scripts/benchout.schema.json.
9143 (main): move out of the parsing stuff to __main_ and leave it
9144 only as caller of main comparison functions.
9146 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9148 * NEWS: Add a note for Intel CET status.
9149 * manual/install.texi: Likewise.
9150 * INSTALL: Regenerated.
9152 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9155 * localedata/locales/oc_FR (mon): Rename to...
9156 (alt_mon): This, then update October (typo fix).
9157 (mon): New content (genitive case, month names preceded by
9161 * localedata/locales/oc_FR (abday): Update all items.
9162 (day): Update Wednesday and Saturday (typo fixes).
9163 (abmon): Update all items, except May.
9164 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9165 (LC_IDENTIFICATION): Bump the revision number and date.
9166 Keep the "category" entries in alphabetic order.
9167 (LC_ADDRESS): Remove no longer needed comment.
9168 (LC_COLLATE): Use “copy "ca_ES"”.
9169 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9172 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9174 * grp/tst_fgetgrent.c: Include <unistd.h>.
9175 (main): Use mkstemp instead of tmpnam.
9176 * io/test-utime.c (main): Likewise.
9177 * posix/annexc.c (macrofile): Change to modifiable array.
9178 (main): Remove macrofile here.
9179 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9181 (check_header): Do not remove macrofile here.
9182 * posix/bug-getopt1.c: Include <stdlib.h>.
9183 (do_test): Use mkstemp instead of tmpnam.
9184 * posix/bug-getopt2.c: Include <stdlib.h>.
9185 (do_test): Use mkstemp instead of tmpnam.
9186 * posix/bug-getopt3.c: Include <stdlib.h>.
9187 (do_test): Use mkstemp instead of tmpnam.
9188 * posix/bug-getopt4.c: Include <stdlib.h>.
9189 (do_test): Use mkstemp instead of tmpnam.
9190 * posix/bug-getopt5.c: Include <stdlib.h>.
9191 (do_test): Use mkstemp instead of tmpnam.
9192 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9193 (main): Use mkstemp instead of tmpnam.
9194 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9195 (main): Use mkstemp instead of tmpnam.
9196 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9197 (main): use mkstemp instead of tmpnam.
9198 * stdlib/isomac.c (macrofile): Change to modifiable array.
9199 (main): Remove macrofile here.
9200 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9202 (check_header): Do not remove macrofile here.
9204 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9206 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9207 glibc.tune.x86_shstk.
9209 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9211 * NEWS: Mention --enable-cet.
9212 * manual/install.texi: Document --enable-cet.
9213 * INSTALL: Regenerated.
9215 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9217 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9218 Add _CET_NOTRACK before indirect jump to jump table.
9220 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9222 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9223 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9226 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9228 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9229 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9232 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9234 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9235 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9238 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9240 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9241 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9244 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9246 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9247 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9249 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9251 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9253 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9254 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9257 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9259 * sysdeps/i386/i686/multiarch/memset-sse2.S
9260 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9263 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9265 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9266 indirect jump to jump table.
9268 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9270 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9271 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9275 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9277 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9278 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9282 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9284 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9285 _CET_NOTRACK before indirect jump to jump table.
9287 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9289 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9290 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9293 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9295 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9296 indirect jump to jump table.
9298 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9301 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9302 (LOCALES): Likewise.
9303 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9304 * localedata/locales/sah_RU: New file.
9305 * localedata/sah_RU.UTF-8.in: New file.
9307 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9309 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9311 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9312 _CET_ENDBR to indirect jump targets and adjust jump destination
9314 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9316 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9317 _CET_ENDBR to indirect jump targets and adjust jump destination
9319 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9321 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9322 _CET_ENDBR to indirect jump targets and adjust jump destination
9325 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9327 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9330 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9332 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9334 (_dl_tlsdesc_undefweak): Likewise.
9335 (_dl_tlsdesc_dynamic): Likewise.
9336 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9337 (_dl_tlsdesc_resolve_rel): Likewise.
9338 (_dl_tlsdesc_resolve_rela): Likewise.
9339 (_dl_tlsdesc_resolve_hold): Likewise.
9340 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9341 (_dl_tlsdesc_undefweak): Likewise.
9342 (_dl_tlsdesc_dynamic): Likewise.
9343 (_dl_tlsdesc_resolve_rela): Likewise.
9344 (_dl_tlsdesc_resolve_hold): Likewise.
9346 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9348 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9350 * sysdeps/x86_64/crti.S (_init): Likewise.
9353 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9356 * localedata/locales/os_RU (mon): Rename to...
9358 (mon): Import from CLDR (genitive case).
9360 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9362 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9363 cet-tunables.h> when CET is enabled.
9365 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9368 * configure.ac: Add --enable-cet.
9369 * configure: Regenerated.
9370 * elf/Makefille (all-built-dso): Add a comment.
9371 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9372 Include <dl-prop.h>.
9373 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9375 * elf/dl-open.c: Include <dl-prop.h>.
9376 (dl_open_worker): Call _dl_open_check.
9377 * elf/rtld.c: Include <dl-prop.h>.
9378 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9380 * sysdeps/generic/dl-prop.h: New file.
9381 * sysdeps/i386/dl-cet.c: Likewise.
9382 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9383 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9384 * sysdeps/x86/cet-tunables.h: Likewise.
9385 * sysdeps/x86/check-cet.awk: Likewise.
9386 * sysdeps/x86/configure: Likewise.
9387 * sysdeps/x86/configure.ac: Likewise.
9388 * sysdeps/x86/dl-cet.c: Likewise.
9389 * sysdeps/x86/dl-procruntime.c: Likewise.
9390 * sysdeps/x86/dl-prop.h: Likewise.
9391 * sysdeps/x86/libc-start.h: Likewise.
9392 * sysdeps/x86/link_map.h: Likewise.
9393 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9395 (_dl_runtime_profile): Likewise.
9396 (_dl_runtime_resolve_shstk): New.
9397 (_dl_runtime_profile_shstk): Likewise.
9398 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9400 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9401 (CFLAGS-.os): Likewise.
9402 (CFLAGS-.op): Likewise.
9403 (CFLAGS-.oS): Likewise.
9404 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9406 (tests-special): Add $(objpfx)check-cet.out.
9407 (cet-built-dso): New.
9408 (+$(cet-built-dso:=.note)): Likewise.
9409 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9410 ($(objpfx)check-cet.out): New.
9411 (generated): Add check-cet.out.
9412 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9414 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9415 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9416 (init_cpu_features): Call get_cet_status to check CET status
9417 and update dl_x86_feature_1 with CET status. Call
9418 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9419 (set_x86_shstk). Disable and lock CET in libc.a.
9420 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9421 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9422 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9423 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9424 (_CET_ENDBR): Define if not defined.
9425 (ENTRY): Add _CET_ENDBR.
9426 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9428 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9430 (_dl_runtime_profile): Likewise.
9432 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9435 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9436 restore r2 on longjmp.
9437 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9439 Added rules to build test tst-setjmp-bug21895-static.
9440 Added module setjmp-bug21895 and rules to build a shared object from it.
9441 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9442 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9444 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9446 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9447 * benchtests/bench-strstr.c: Likewise.
9448 * string/memmem.c (FASTSEARCH): Define.
9449 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9450 Add support for FASTSEARCH.
9451 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9452 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9453 (FASTSEARCH): Define.
9454 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9455 * string/test-strstr.c: Likewise.
9457 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9459 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9460 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9462 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9463 H.J. Lu <hongjiu.lu@intel.com>
9465 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9466 (__longjmp): Restore shadow stack pointer if shadow stack is
9467 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9468 isn't defined for __longjmp_cancel.
9469 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9470 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9471 and SHADOW_STACK_POINTER_OFFSET is defined.
9472 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9473 (setjmp): Save shadow stack pointer if shadow stack is enabled
9474 and SHADOW_STACK_POINTER_OFFSET is defined.
9475 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9476 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9477 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9478 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9480 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9481 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9482 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9483 Remove jmp_buf-ssp.sym.
9484 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9486 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9487 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9488 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9490 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9491 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9492 (__longjmp): Restore shadow stack pointer if shadow stack is
9493 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9494 isn't defined for __longjmp_cancel.
9495 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9496 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9497 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9499 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9502 * nptl/pthread_create.c: Include <tls-setup.h>.
9503 (__pthread_create_2_1): Call tls_setup_tcbhead.
9504 * sysdeps/generic/tls-setup.h: New file.
9505 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9506 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9507 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9509 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9511 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9512 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9513 (X86_FEATURE_1_SHSTK): Likewise.
9514 (CET_ENABLED): Likewise.
9515 (IBT_ENABLED): Likewise.
9516 (SHSTK_ENABLED): Likewise.
9518 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9521 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9522 (LOCALES): Likewise.
9523 * localedata/dsb_DE.UTF-8.in: New file.
9524 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9526 2018-07-12 Florian Weimer <fweimer@redhat.com>
9528 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9529 __mprotect, not mprotect.
9531 2018-07-11 Florian Weimer <fweimer@redhat.com>
9533 * io/Makefile (headers): Add bits/statx.h.
9535 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9537 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9538 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9540 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9541 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9544 2018-07-10 Florian Weimer <fweimer@redhat.com>
9546 * io/Makefile (routines): Add statx.
9547 (tests-internal): Add tst-statx.
9548 * io/Versions (GLIBC_2.28): Export statx.
9549 * io/bits/statx.h: New file.
9550 * io/sys/stat.h [__USE_GNU]: Include it.
9551 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9552 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9554 * io/statx.c: New file.
9555 * io/statx_generic.: Likewise.
9556 * io/tst-statx.: Likewise.
9557 * include/bits/statx.h: Likewise.
9558 * sysdeps/unix/sysv/linux/kernel-features.h
9559 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9560 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9561 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9562 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9564 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9565 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9566 * sysdeps/unix/sysv/linux/statx.c: New file.
9567 * manual/filesys.texi: Note that statx is undocumented.
9568 * sysdeps/**/libc*.abilist: Update.
9570 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9572 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9573 a kernel issue which lead to test failure in some cases.
9575 2018-07-10 Florian Weimer <fweimer@redhat.com>
9578 * posix/regexec.c (check_node_accept_bytes): When comparing
9579 weights, do not compare an extra byte after the end of the
9582 2018-07-10 Florian Weimer <fweimer@redhat.com>
9584 * libio/readline.c: Fix copyright year.
9585 * libio/tst-readline.c Likewise.
9586 * nss/tst-nss-files-hosts-getent.c: Likewise.
9588 2018-07-06 Florian Weimer <fweimer@redhat.com>
9591 * nss/nss_files/files-XXX.c (internal_getent): Use
9592 __libc_readline_unlocked. Seek back to the start of the line if
9593 parsing failes with ERANGE.
9594 (get_contents_ret, get_contents): Remove.
9595 * nss/tst-nss-files-hosts-getent.c: New file.
9596 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9597 (tst-nss-files-hosts-getent): Link with -ldl.
9599 2018-07-06 Florian Weimer <fweimer@redhat.com>
9601 * include/stdio.h (__libc_readline_unlocked): Declare.
9602 (__ftello64, __fseeko64): Declare aliases.
9603 * libio/readline.c: New file.
9604 * libio/tst-readline.c: Likewise.
9605 (routines): Add readline.
9606 (tests-internal): Add tst-readlime.
9607 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9608 __libc_readline_unlocked.
9609 * libio/fseeko.c (__fseeko): Rename from fseeko.
9610 (fseeko): Add alias.
9611 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9612 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9613 (fseeko64): Add alias.
9614 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9615 * libio/ftello64.c (__ftello64): Rename from ftello64.
9616 (ftello64): Add alias.
9618 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9620 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9623 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9625 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9626 Use dl_hwcap without masking.
9627 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9630 2018-07-06 Florian Weimer <fweimer@redhat.com>
9632 * conform/conformtest.pl (checknamespace): Escape literal braces
9633 in regular expressions.
9635 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9637 * sysdeps/x86/cpu-features.c (get_common_indeces):
9638 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9639 * sysdeps/x86/cpu-features.c (init_cpu_features):
9640 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9642 2018-07-05 Florian Weimer <fweimer@redhat.com>
9644 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9646 (CFLAGS-elf-init.oS): Likewise.
9648 2018-07-05 Florian Weimer <fweimer@redhat.com>
9649 Carlos O'Donell <carlos@redhat.com>
9651 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9652 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9653 with stack protector enabled because there is no risk of infinite
9656 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9660 * libc-abis (ABSOLUTE): New ABI.
9661 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9662 * NEWS: Mention the new ABI.
9664 2018-07-05 Florian Weimer <fweimer@redhat.com>
9667 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9668 (RENAME_WHITEOUT): Define.
9669 [__USE_GNU] (renameat2): Declare.
9670 * stdio-common/Makefile (routines): Add renameat2.
9671 (tests): Add tst-renameat2.
9672 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9673 * stdio-common/renameat2.c: New file.
9674 * stdio-common/tst-renameat2.c: Likewise.
9675 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9676 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9678 * sysdeps/unix/sysv/linux/kernel-features.h
9679 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9680 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9681 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9682 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9683 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9684 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9685 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9686 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9687 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9688 * include/stdio.h (__renameat): Add alias for renameat.
9689 * stdio-common/renameat.c (__renameat): Rename from renameat.
9690 Add hidden definition and alias.
9691 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9692 * sysdeps/mach/hurd/renameat.c: Likewise.
9693 * sysdeps/**/libc*.abilist: Add renameat2.
9695 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9697 * posix/bug-regex33.c: Fix build after regex sync.
9699 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9702 * localedata/tst-langinfo-setlocale.c: New file.
9703 * localedata/tst-langinfo-setlocale-static.c: New file.
9704 * localedata/tst-langinfo-newlocale.c: New file.
9705 * localedata/tst-langinfo-newlocale-static.c: New file.
9706 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9707 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9708 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9709 (tests-static): Remove tst-langinfo-static. Add
9710 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9711 (tests-special): Remove $(objpfx)tst-langinfo.out,
9712 $(objpfx)tst-langinfo-static.out. Add
9713 $(objpfx)tst-langinfo-setlocale.out,
9714 $(objpfx)tst-langinfo-newlocale.out,
9715 $(objpfx)tst-langinfo-setlocale-static.out,
9716 $(objpfx)tst-langinfo-newlocale-static.out.
9717 ($(objpfx)tst-langinfo.out): Remove.
9718 ($(objpfx)tst-langinfo-static.out): Remove.
9719 ($(objpfx)tst-langinfo-newlocale.out): New target.
9720 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9721 (test-xfail-tst-langinfo-newlocale-static): Add.
9722 ($(objpfx)tst-langinfo-setlocale.out): New target.
9723 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9724 * localedata/tst-langinfo.c: Call test_locale.
9725 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9728 2018-07-04 Florian Weimer <fweimer@redhat.com>
9730 testrun.sh: Implement --tool=strace, --tool=valgrind
9731 * Makefile (testrun-script): Define variable.
9732 (testrun.sh): Use variable.
9733 * manual/install.texi (Tools for Compilation): make 4.0 or later
9735 * configure.ac: Check for make 4.0 or later.
9736 * INSTALL: Regenerate.
9737 * configure: Likewise.
9739 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9745 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9746 * posix/PCRE.tests: Remove invalid test.
9747 * posix/bug-regex28.c: Fix expected values for used syntax.
9748 * posix/bug-regex37.c: New file.
9749 * posix/bug-regex38.c: Likewise.
9750 * posix/regcomp.c: Sync with gnulib.
9751 * posix/regex.c: Likewise.
9752 * posix/regex.h: Likewise.
9753 * posix/regex_internal.c: Likewise.
9754 * posix/regex_internal.h: Likewise.
9755 * posix/regexec.c: Likewise.
9757 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9760 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9761 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9762 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9763 * localedata/unicode-gen/PropList.txt: likewise.
9764 * localedata/unicode-gen/UnicodeData.txt: likewise.
9765 * localedata/charmaps/UTF-8: Regenerate.
9766 * localedata/locales/i18n_ctype: likewise.
9767 * localedata/locales/tr_TR: likewise.
9768 * localedata/locales/translit_circle: likewise.
9769 * localedata/locales/translit_cjk_compat: likewise.
9770 * localedata/locales/translit_combining: likewise.
9771 * localedata/locales/translit_compat: likewise.
9772 * localedata/locales/translit_font: likewise.
9773 * localedata/locales/translit_fraction: likewise.
9775 2018-07-03 Florian Weimer <fweimer@redhat.com>
9778 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9779 * stdio-common/tst-printf.sh: Adjust expected output.
9782 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9784 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9787 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9789 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9790 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9791 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9792 * stdio-common/tst-printfsz-islongdouble.c: New file.
9793 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9794 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9795 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9796 [subdir == stdio-common] (tests-internal): Add
9797 test-printf-size-ieee128, and test-printf-size-ibm128.
9798 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9799 (CFLAGS-test-printf-size-ibm128.c): New variables.
9800 [subdir == stdio-common] (tests-special): Add
9801 $(objpfx)test-printf-size-ieee128.out and
9802 $(objpfx)test-printf-size-ibm128.out.
9803 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9804 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9805 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9806 __printf_sizeieee128.
9807 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9809 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9811 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9814 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9816 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9817 (exp2f_inline): Likewise.
9818 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9819 (__math_uflowf): Likewise.
9820 (__math_may_uflowf): Likewise.
9821 (__math_divzerof): Likewise.
9822 (__math_invalidf): Likewise.
9823 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9824 (__math_oflowf): Likewise.
9825 (__math_uflowf): Likewise.
9826 (__math_may_uflowf): Likewise.
9827 (__math_divzerof): Likewise.
9828 (__math_invalidf): Likewise.
9830 2018-06-29 DJ Delorie <dj@redhat.com>
9831 Carlos O'Donell <carlos@redhat.com>
9834 * include/libc-symbols.h: Comment the freeres framework.
9835 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9836 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9837 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9838 * dlfcn/dlerror.c: Include libc-symbols.h
9839 (__dlerror_main_freeres): New function.
9840 * dlfcn/dlfreeres.c: New file.
9841 * dlfcn/sdlfreeres.c: New file.
9842 * include/dlfcn.h: Declare __dlerror_main_freeres.
9843 * malloc/set-freeres.c: Declare __libdl_freeres, and
9844 __libpthread_freeres.
9845 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9846 the releavant libraries are loaded.
9847 * malloc/thread-freeres.c: Add comments.
9848 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9849 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9850 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9851 (__free_stacks): Rename to...
9852 (free_stacks): ...this. Mark static.
9853 (queue_stack): Call free_stacks.
9854 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9855 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9856 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9857 ptr_freeres element from struct.
9858 (pthread_functions): Remove .ptr_freeres from struct initializer.
9859 [SHARED] (nptl_freeres): Remove.
9860 * nptl/nptlfreeres.c: New file.
9862 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9863 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9865 (__free_stacks): Rename to...
9866 (__nptl_stacks_freeres): ...this.
9867 (__shm_directory_freeres): Declare.
9868 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9869 (__nptl_unwind_freeres): ...this.
9870 * resolv/res-close.c: Add comment.
9871 * resolv/resolv_conf.c: Include libc-symbols.h.
9872 * string/strerror_l.c: Include libc-symbols.h.
9873 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9874 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9875 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9876 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9878 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9880 * stdlib/tst-strfmon_l.c: Add tests for long double.
9882 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9885 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9886 * localedata/locales/dsb_DE: New file.
9888 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9891 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9893 (alt_mon): New entry, import from CLDR (nominative case).
9895 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9898 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9900 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9902 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9903 Use vector registers.
9905 * sysdeps/aarch64/multiarch/memmove_falkor.S
9906 (__memcpy_falkor): Use vector registers.
9908 2018-06-29 Martin Sebor <msebor@redhat.com>
9910 * manual/stdio.texi (Customizing Printf): Mention interaction
9913 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9916 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9917 `st_value' is 0 if `st_shndx' is SHN_ABS.
9918 * elf/tst-absolute-zero.c: New file.
9919 * elf/tst-absolute-zero-lib.c: New file.
9920 * elf/tst-absolute-zero-lib.lds: New file.
9921 * elf/Makefile (tests): Add `tst-absolute-zero'.
9922 (modules-names): Add `tst-absolute-zero-lib'.
9923 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9924 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9925 ($(objpfx)tst-absolute-zero: New dependency.
9927 2018-06-29 Zack Weinberg <zackw@panix.com>
9929 * configure.ac: New command-line option --disable-crypt.
9930 Force --disable-nss-crypt when --disable-crypt is given, with a
9931 warning if it was explicitly enabled.
9932 * configure: Regenerate.
9933 * config.make.in: New boolean substitution variable $(build-crypt).
9934 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9935 when $(build-crypt).
9936 * manual/install.texi: Document --disable-crypt.
9937 * INSTALL: Regenerate.
9939 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9941 * conform/Makefile: Only include libcrypt.a in
9942 linknamespace-libs-xsi and linknamespace-libs-XPG4
9943 when $(build-crypt).
9944 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9945 USE_CRYPT to 1 when $(build-crypt).
9946 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9947 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9948 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9950 2018-06-29 Zack Weinberg <zackw@panix.com>
9952 * crypt/crypt.h, posix/unistd.h: Update comments and
9953 prototypes for crypt and crypt_r.
9955 * manual/crypt.texi (Cryptographic Functions): New initial
9957 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9958 (Unpredictable Bytes): Improve initial exposition. Clarify error
9959 behavior of getentropy and getrandom.
9960 * manual/examples/genpass.c: Generate a salt using getentropy
9961 instead of the current time. Use hash $5$ (SHA-2-256).
9962 * manual/examples/testpass.c: Demonstrate validation against
9963 hashes generated with three different one-way functions.
9965 * manual/intro.texi: crypt.texi does not need an overview
9968 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9969 * manual/terminal.texi: Consistently refer to "passphrases"
9970 * instead of "passwords", and to the "user database" instead
9971 * of the "password database".
9972 * manual/users.texi: Similarly. Add notes about how actual
9973 passphrase hashes are now stored in the shadow database.
9974 Remove 20-year-old junk todo note.
9976 2018-06-29 Zack Weinberg <zackw@panix.com>
9978 * manual/crypt.texi: Use a normal top-level @node declaration.
9979 Move most of the introductory text to the 'crypt' section.
9980 Move the example programs below the @deftypefun for 'crypt_r'.
9981 Move the 'getpass' section...
9982 * manual/terminal.texi: ...here.
9984 2018-06-29 Zack Weinberg <zackw@panix.com>
9985 Florian Weimer <fweimer@redhat.com>
9987 * posix/unistd.h: Do not declare encrypt.
9988 (_XOPEN_CRYPT): Remove macro definition.
9989 (crypt): Declare only for _USE_MISC.
9990 * stdlib/stdlib.h: Do not declare setkey.
9991 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9992 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9994 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9995 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9996 into compat symbols. Don't define initial_perm if it's not
9998 * crypt/cert.c: Link explicitly with the expected versions for
9999 setkey and encrypt. If they are not available at all, mark
10000 the test as unsupported.
10002 * sunrpc/des_crypt.c: Unconditionally block linkage with
10003 cbc_crypt and ecb_crypt for new binaries.
10004 * sunrpc/des_soft.c: Unconditionally block linkage with
10005 des_setparity for new binaries.
10007 * manual/crypt.texi: Remove the entire "DES Encryption"
10008 section. Also remove the paragraph talking about FIPS 140-2
10009 from the introduction.
10010 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10011 of libgcrypt for "real" encryption, not DES.
10012 * manual/conf.texi (Constants for Sysconf): Mention that
10013 _XOPEN_CRYPT is no longer impelemented.
10015 * conform/data/unistd.h-data: Remove crypt function declaration.
10017 2018-06-29 Florian Weimer <fweimer@redhat.com>
10020 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10021 (disallow_malloc_check): Remove variable.
10022 (__malloc_check_init): Adjust.
10023 (malloc_set_state): Update comment.
10024 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10027 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10030 * localedata/locales/ast_ES (mon): Rename to...
10032 (mon): Import from CLDR (genitive case).
10034 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10035 Jakub Sitnicki <jkbs@redhat.com>
10038 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10039 on NLM_F_DUMP_INTR.
10041 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10043 * manual/llio.texi: Remove spurious space.
10045 2018-06-28 Florian Weimer <fweimer@redhat.com>
10048 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10051 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10053 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10054 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10055 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10056 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10057 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10058 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10059 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10061 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10064 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10065 Copy and null-terminate entries that are not terminated, in
10066 addition to empty ones.
10068 2018-06-27 Florian Weimer <fweimer@redhat.com>
10071 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10072 (extend_alloca_account): Remove.
10073 * manual/stdio.texi (Variable Arguments Output): Update comment.
10075 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10077 * nptl/sockperf.c: Remove file.
10079 2018-06-27 Florian Weimer <fweimer@redhat.com>
10082 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10083 scratch_buffer instead of extend_alloca.
10085 2018-06-27 Florian Weimer <fweimer@redhat.com>
10088 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10089 scratch_buffer instead of extend_alloca. Update comments.
10091 2018-06-27 Florian Weimer <fweimer@redhat.com>
10094 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10095 instead of extend_alloca.
10097 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10100 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10101 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10103 * scripts/test-installation.pl: Put temporary files in build
10104 directory, not /tmp.
10105 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10106 (CFLAGS-bug4.c): Likewise.
10107 (CFLAGS-bug5.c): Likewise.
10108 (CFLAGS-test-fseek.c): Likewise.
10109 (CFLAGS-test-popen.c): Likewise.
10110 (CFLAGS-test_rdwr.c): Likewise.
10111 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10113 * stdio-common/bug4.c (main): Likewise.
10114 * stdio-common/bug5.c (main): Likewise.
10115 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10116 * stdio-common/test-popen.c (do_test): Likewise.
10117 * stdio-common/test_rdwr.c (main): Likewise.
10119 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10121 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10122 (sem_open): Set sem.newsem.pad to zero for valgrind.
10124 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10127 * NEWS: Mention fcntl64 addition.
10128 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10129 * login/utmp_file.c: Likewise.
10130 * sysdeps/posix/fdopendir.c: Likewise.
10131 * sysdeps/posix/opendir.c: Likewise.
10132 * sysdeps/unix/pt-fcntl.c: Likewise.
10133 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10134 __fcntl64_nocancel_adjusted): New prototype.
10135 (__fcntl_nocancel_adjusted): Remove prototype.
10136 * io/Makefile (routines): Add fcntl64.
10137 (CFLAGS-fcntl64.c): New rule.
10138 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10139 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10140 * io/fcntl.h (fcntl64): Add prototype and redirect if
10141 __USE_FILE_OFFSET64 is defined.
10142 * io/fcntl64.c: New file.
10143 * manual/llio.text: Add a note for which commands fcntl acts a
10144 cancellation point.
10145 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10146 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10147 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10149 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10150 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10152 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10153 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10154 to __fcntl64_nocancel.
10155 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10156 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10157 to __fcntl64_nocancel.
10158 * sysdeps/generic/not-cancel.h: Likewise.
10159 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10160 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10161 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10162 (fcntl64): New symbol.
10163 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10164 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10165 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10168 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10169 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10170 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10171 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10172 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10173 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10174 fcntl64): Likewise.
10175 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10176 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10177 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10178 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10179 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10180 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10181 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10182 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10183 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10188 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10189 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10190 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10192 2018-06-26 Florian Weimer <fweimer@redhat.com>
10194 Run thread shutdown functions in an explicit order.
10195 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10197 (__libc_thread_freeres): Call thread shutdown functions
10199 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10200 * include/string.h (__strerror_thread_freeres): Declare.
10201 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10202 arena_thread_freeres. No longer static. Remove thread shutdown
10204 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10206 * resolv/res-close.c (__res_thread_freeres): Renamed from
10207 res_thread_freeres. No longer static. Remove thread shutdown
10209 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10210 * resolv/resolv_conf.c (freeres): Remove incorrect section
10211 attribute and use libc_freeres_fn.
10212 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10213 strerror_thread_freeres. No longer static. Remove thread
10214 shutdown hook registration.
10215 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10216 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10217 shutdown hook registration.
10218 * Makerules (shlib.lds): Do not provide section boundary symbols
10219 for __libc_thread_subfreeres.
10220 * manual/memory.texi (Basic Allocation): Update comment.
10222 2018-06-26 Florian Weimer <fweimer@redhat.com>
10224 Remove always-defined _RPC_THREAD_SAFE_ macro.
10225 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10226 Do not define _RPC_THREAD_SAFE_.
10227 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10229 * sunrpc/clnt_perr.c: Likewise.
10230 * sunrpc/clnt_raw.c: Likewise.
10231 * sunrpc/clnt_simp.c: Likewise.
10232 * sunrpc/key_call.c: Likewise.
10233 * sunrpc/rpc_common.c: Likewise.
10234 * sunrpc/rpc_main.c: Likewise.
10235 * sunrpc/rpc_thread.c: Likewise.
10236 * sunrpc/svc.c: Likewise.
10237 * sunrpc/svc_raw.c: Likewise.
10238 * sunrpc/svc_simple.c: Likewise.
10239 * sumrpc/svcauth_des.c: Likewise.
10241 2018-06-26 Florian Weimer <fweimer@redhat.com>
10243 * libio/Makefile (tests-internal): Add tst-vtables,
10244 tst-vtables-interposed.
10245 * libio/tst-vtables.c: New file.
10246 * libio/tst-vtables-common.c: Likewise.
10247 * libio/tst-vtables-interposed.c: Likewise.
10249 2018-06-26 Florian Weimer <fweimer@redhat.com>
10251 * support/support_test_main.c (support_test_main): Only call
10252 setvbuf if not disables.
10253 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10254 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10256 2018-06-26 Florian Weimer <fweimer@redhat.com>
10259 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10261 2018-06-25 Florian Weimer <fweimer@redhat.com>
10264 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10265 Use struct scratch_buffer instead of extend_alloca.
10267 2018-06-25 Florian Weimer <fweimer@redhat.com>
10270 * nss/getent.c (initgroups_keys): Use dynarray instead of
10273 2018-06-25 Florian Weimer <fweimer@redhat.com>
10276 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10277 Use struct scratch_buffer instead of extend_alloca.
10279 2018-06-25 Florian Weimer <fweimer@redhat.com>
10282 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10283 back to malloc directly, without stack allocations.
10285 2018-06-25 Florian Weimer <fweimer@redhat.com>
10288 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10291 2018-06-25 Florian Weimer <fweimer@redhat.com>
10294 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10296 * nscd/hstcache.c (addhstbyX): Likewise.
10297 * nscd/pwdcache.c (addpwbyX): Likewise.
10298 * nscd/servicescache.c (addservbyX): Likewise.
10300 2018-06-25 Florian Weimer <fweimer@redhat.com>
10303 * nscd/connections.c (read_cmdline): New function.
10304 (restart): Use it. Update comment.
10306 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10309 * localedata/locales/csb_PL (mon): Rename to...
10311 (abmon): Rename to...
10312 (ab_alt_mon): This.
10313 (mon): Add with proper genitive forms, copy from Wikipedia.
10316 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10319 * localedata/locales/csb_PL (mon): Fix typos:
10320 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10321 (yesstr): Add, value is "jo".
10322 (nostr): Add, value is "nié".
10324 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10326 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10327 all log1p and significand functions on m680x0.
10328 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10329 of s_significand.c..
10330 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10331 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10332 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10333 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10334 s_log1p.c and include it..
10336 2018-06-21 Vincent Chen <vincentc@andestech.com>
10338 * elf/elf.h (R_NDS32_NONE): New define.
10339 (R_NDS32_32_RELA): Likewise.
10340 (R_NDS32_COPY): Likewise.
10341 (R_NDS32_GLOB_DAT): Likewise.
10342 (R_NDS32_JUMP_SLOT): Likewise.
10343 (R_NDS32_RELATIVE): Likewise.
10344 (R_NDS32_TLS_TPOFF): Likewise.
10345 (R_NDS32_TLS_DESC): Likewise.
10347 2018-06-21 Mark Wielaard <mark@klomp.org>
10349 * elf/elf.h (R_BPF_MAP_FD): Removed.
10350 (R_BPF_64_64, R_BPF_64_32): New.
10352 2018-06-21 Florian Weimer <fweimer@redhat.com>
10355 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10356 Renamed from libc_feholdsetround_ctx.
10357 (default_libc_feresetround_ctx): Renamed from
10358 libc_feresetround_ctx.
10359 (default_libc_feholdsetround_noex_ctx): Renamed from
10360 libc_feholdsetround_noex_ctx.
10361 (default_libc_feresetround_noex_ctx): Renamed from
10362 libc_feresetround_noex_ctx.
10363 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10364 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10365 forwardning to the old implementations under the new names.
10366 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10367 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10368 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10369 (libc_feresetround_ctx): Forward to default implements for i386
10370 and MATH_SET_BOTH_ROUNDING_MODES.
10371 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10372 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10374 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10376 * string/tst-cmp.c: Include <libc-diag.h>.
10377 (strncmp_max): Disable -Wstringop-overflow= around call to
10379 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10382 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10383 (main): Disable -Wunused-value around call to strpbrk.
10384 * string/bug-strspn1.c: Include <libc-diag.h>.
10385 (main): Disable -Wunused-value around call to strspn.
10387 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10388 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10390 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10391 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10393 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10395 * math/Makefile (libm-calls): Move s_significandF to...
10396 (gen-libm-calls): ... here.
10397 * math/s_significand_template.c: New file.
10398 * math/s_significand.c: Removed.
10399 * math/s_significandf.c: Removed.
10400 * math/s_significandl.c: Removed.
10401 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10402 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10404 * math/e_exp2_template.c (declare_mgen_finite_alias,
10405 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10406 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10407 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10409 2018-06-20 Florian Weimer <fweimer@redhat.com>
10411 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10413 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10416 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10417 floating-point number to strtod functions rather than possibly
10418 negating result of those functions.
10419 * stdio-common/tst-scanf-round.c: New file.
10420 * stdio-common/Makefile (tests): Add tst-scanf-round.
10421 ($(objpfx)tst-scanf-round): Depend on $(libm).
10423 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10425 * sysdeps/mach/hurd/localplt.data: Move to...
10426 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10427 R_386_GLOB_DAT like on Linux i386.
10429 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10431 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10432 (SHM_STAT_ANY): New macro.
10433 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10434 (SHM_STAT_ANY): Likewise.
10435 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10436 (SHM_STAT_ANY): Likewise.
10437 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10438 (SHM_STAT_ANY): Likewise.
10439 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10440 (SHM_STAT_ANY): Likewise.
10441 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10442 (SHM_STAT_ANY): Likewise.
10443 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10444 (SHM_STAT_ANY): Likewise.
10445 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10446 (SHM_STAT_ANY): Likewise.
10447 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10448 (SHM_STAT_ANY): Likewise.
10449 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10450 (SHM_STAT_ANY): Likewise.
10451 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10452 (SHM_STAT_ANY): Likewise.
10453 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10454 (SHM_STAT_ANY): Likewise.
10456 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10457 (SEM_STAT_ANY): New macro.
10458 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10459 (SEM_STAT_ANY): Likewise.
10460 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10461 (SEM_STAT_ANY): Likewise.
10462 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10463 (SEM_STAT_ANY): Likewise.
10464 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10465 (SEM_STAT_ANY): Likewise.
10466 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10467 (SEM_STAT_ANY): Likewise.
10468 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10469 (SEM_STAT_ANY): Likewise.
10470 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10471 (SEM_STAT_ANY): Likewise.
10472 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10473 (SEM_STAT_ANY): Likewise.
10474 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10475 (SEM_STAT_ANY): Likewise.
10477 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10478 (MSG_STAT_ANY): New macro.
10479 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10480 (MSG_STAT_ANY): Likewise.
10481 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10482 (MSG_STAT_ANY): Likewise.
10483 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10484 (MSG_STAT_ANY): Likewise.
10485 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10486 (MSG_STAT_ANY): Likewise.
10487 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10488 (MSG_STAT_ANY): Likewise.
10489 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10490 (MSG_STAT_ANY): Likewise.
10491 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10492 (MSG_STAT_ANY): Likewise.
10493 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10494 (MSG_STAT_ANY): Likewise.
10495 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10496 (MSG_STAT_ANY): Likewise.
10498 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10499 (MAP_TYPE): Change value to 0x2b.
10501 2018-06-18 Florian Weimer <fweimer@redhat.com>
10504 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10505 socket with SOCK_CLOEXEC.
10507 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10510 * sysdeps/powerpc/powerpc64/le/Makefile
10511 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10512 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10513 (gnulib-tests): Also add $(f128-loader-link) for
10514 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10516 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10518 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10519 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10521 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10522 (sendfile64): New strong alias.
10523 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10524 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10525 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10526 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10528 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10529 ___pthread_get_cleanup_stack.
10530 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10531 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10532 * mach/shortcut.awk: Make syscall stubs include
10533 <mach-shortcuts-hidden.h> and add hidden definition.
10534 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10535 (__mach_msg): Add hidden prototype.
10536 * mach/msg.c: Include <mach.h>.
10537 (__mach_msg): Add hidden definition.
10538 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10539 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10540 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10541 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10542 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10543 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10544 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10545 prototype and definition.
10546 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10547 hidden target for _hurd_self_sigstate.
10549 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10552 * stdlib/tst-strtod-nan-sign-main.c: New file.
10553 * stdlib/tst-strtod-nan-sign.c: Likewise.
10554 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10555 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10556 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10557 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10558 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10560 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10563 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10566 2018-06-14 Florian Weimer <fweimer@redhat.com>
10569 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10570 that the result stays within the ISO-8859-1 range.
10571 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10572 characters are defined in IBM273.
10574 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10576 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10577 __mach_task_self): Remove attribute_hidden.
10579 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10581 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10582 ignore -Wrestrict for one test.
10584 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10585 Szabolcs Nagy <szabolcs.nagy@arm.com>
10587 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10589 2018-06-14 Florian Weimer <fweimer@redhat.com>
10591 * scripts/update-abilist.sh: Accept empty list of files to patch.
10593 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10595 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10596 test-xfail-check-abi-libmachuser): Add.
10597 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10598 __libc_read and __libc_write to __read and __write.
10599 * sysdeps/hurd/include/hurd/port.h: New file.
10600 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10601 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10602 __thread_switch, __evc_wait): Move declarations to...
10603 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10605 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10606 use PLT to call _hurd_self_sigstate.
10608 2018-06-13 Joseph Myers <joseph@codesourcery.com>
10611 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10612 MAX_EXP as overflowing.
10613 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10615 (round_str): Output also whether result overflows in each rounding
10617 * stdlib/tst-strtod-round-data: Add more tests.
10618 * stdlib/tst-strtod-round-data.h: Regenerated.
10619 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10620 (TEST): Handle extra arguments for overflow flags.
10621 (struct test_overflow): New type.
10622 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10623 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10624 (test_in_one_mode): Take argument with overflow information.
10625 (do_test): Update calls to test_in_one_mode.
10627 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10629 * elf/dl-load (_dl_dst_substitute): Correct comment.
10630 (_dl_dst_count): Likewise.
10632 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10633 lll_futex_timed_wait.
10635 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10638 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10640 * math/test-nan-const.c: New file.
10641 * math/Makefile (tests): Add test-nan-const.
10642 (CFLAGS-test-nan-const.c): New variable.
10644 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10646 * benchtests/scripts/compare_strings.py (process_results): Add
10647 funcs argument. Compare only functions which are selected.
10648 (main): Check if base function is among selected functions.
10649 Pass selected functions to process_results.
10650 (__main__): Add -f/--functions argument.
10652 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10653 Hongbo Zhang <hongbo.zhang@linaro.org>
10655 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10656 __memcpy_falkor for phecda core.
10657 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10658 __memmove_falkor for phecda core.
10659 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10660 __memset_falkor for phecda core.
10661 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10663 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10664 macro to identify phecda core.
10666 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10667 Andreas Schwab <schwab@suse.de>
10668 Dmitry V. Levin <ldv@altlinux.org>
10669 Florian Weimer <fweimer@redhat.com>
10676 * elf/dl-dst.h: Remove DL_DST_COUNT.
10677 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10678 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10679 (is_dst): Comment. Support ELF gABI.
10680 (_dl_dst_count): Comment. Simplify and count DSTs.
10681 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10682 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10685 2018-06-12 Zack Weinberg <zackw@panix.com>
10687 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10688 * sysdeps/unix/sysv/linux/dl-sysdep.c
10689 Include not-cancel.h. Use __close_nocancel instead of __close,
10690 __open64_nocancel instead of __open, __read_nocancel instead of
10691 __libc_read, and __write_nocancel instead of __libc_write.
10693 * csu/check_fds.c (check_one_fd)
10694 * sysdeps/posix/fdopendir.c (__fdopendir)
10695 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10696 instead of __fcntl and/or __libc_fcntl.
10698 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10699 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10700 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10701 Use __open64_nocancel instead of __open_nocancel.
10703 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10704 hidden_proto declarations to the end and issue them if either
10705 IS_IN(libc) or IS_IN(rtld).
10706 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10707 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10708 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10709 read_nocancel, waitpid_nocancel, write_nocancel.
10711 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10712 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10713 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10715 * nptl/pt-fcntl.c: New file.
10716 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10717 (libpthread-routines): Add pt-fcntl.
10718 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10719 (__libc_fcntl): Remove attribute_hidden.
10720 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10721 __fcntl_nocancel_adjusted, not fcntl_common.
10722 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10723 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10724 to fcntl_nocancel.c.
10725 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10728 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10730 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10731 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10732 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10733 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10734 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10735 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10736 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10737 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10738 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10739 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10740 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10741 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10742 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10743 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10744 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10745 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10746 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10747 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10748 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10749 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10751 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10752 libpthread-routines.
10753 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10756 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10757 __libc_read, and __write instead of __libc_write. Define
10758 __open64 in addition to __open.
10760 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10764 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10765 to _private_tm[3] and add __glibc_reserved2.
10766 Add _Static_assert of offset of __private_ss == 0x30.
10767 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10768 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10770 2018-06-12 Florian Weimer <fweimer@redhat.com>
10772 x86: Make strncmp usable from rtld.
10773 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10774 __strncmp_ia32 if in libc (and not in rtld).
10775 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10776 strncmp if not in libc (and not to __strncmp_sse2).
10778 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10781 * localedata/locales/gd_GB (mon): Rename to...
10783 (mon): Import from CLDR (genitive case).
10784 * localedata/locales/hsb_DE (mon): Rename to...
10786 (mon): Import from CLDR (genitive case).
10787 * localedata/locales/wa_BE (mon): Rename to...
10789 (mon): Add, fill with the proper genitive forms, but CLDR data
10790 is incomplete; completed according to the comments in this file.
10791 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10793 * localedata/locales/wa_BE (country_name): Reword
10794 "Beljike" -> "Beldjike".
10796 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10799 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10800 cases of non-finite arguments.
10801 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10803 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10806 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10808 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10811 * include/unistd.h (__execvpex): New prototype.
10812 * posix/Makefile (tests): Add tst-spawn4.
10813 (tests-internal): Add tst-spawn4-compat.
10814 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10815 * posix/tst-spawn4-compat.c: New file.
10816 * posix/tst-spawn4.c: Likewise.
10817 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10818 binaries as shell scripts.
10819 * sysdeps/posix/spawni.c (__spawni): Likewise.
10821 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10824 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10825 ($(all-built-dso:=.dynsym): New target.
10826 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10827 ($(objpfx)check-initfini.out): New target.
10828 (generated): Add check-initfini.out.
10829 * scripts/check-initfini.awk: New file.
10830 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10832 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10834 * sysdeps/arm/crti.S (_init): Mark as hidden.
10836 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10838 * sysdeps/i386/crti.S (_init): Mark as hidden.
10840 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10842 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10844 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10846 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10848 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10850 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10852 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10854 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10856 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10858 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10860 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10862 * sysdeps/sh/crti.S (_init): Mark as hidden.
10864 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10866 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10869 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10871 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10872 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10873 and TF redirection to KFtype and KF only when the default
10874 long double type is not the IEEE 128-bit floating point type.
10876 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10878 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10880 (HWCAP_USCAT): Likewise.
10881 (HWCAP_ILRCPC): Likewise.
10882 (HWCAP_FLAGM): Likewise.
10883 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10885 (_dl_aarch64_cap_flags): Add new flag names.
10887 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10888 (MAP_FIXED_NOREPLACE): New macro.
10889 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10890 (MAP_FIXED_NOREPLACE): Likewise.
10891 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10892 (MAP_FIXED_NOREPLACE): Likewise.
10893 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10894 (MAP_FIXED_NOREPLACE): Likewise.
10895 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10896 (MAP_FIXED_NOREPLACE): Likewise.
10897 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10898 (MAP_FIXED_NOREPLACE): Likewise.
10899 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10900 (MAP_FIXED_NOREPLACE): Likewise.
10901 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10902 (MAP_FIXED_NOREPLACE): Likewise.
10903 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10904 (MAP_FIXED_NOREPLACE): Likewise.
10905 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10906 (MAP_FIXED_NOREPLACE): Likewise.
10907 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10908 (MAP_FIXED_NOREPLACE): Likewise.
10909 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10910 (MAP_FIXED_NOREPLACE): Likewise.
10911 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10912 (MAP_FIXED_NOREPLACE): Likewise.
10913 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10914 (MAP_FIXED_NOREPLACE): Likewise.
10915 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10916 (MAP_FIXED_NOREPLACE): Likewise.
10918 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10921 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10923 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10926 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10928 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10930 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10932 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10934 * benchtests/scripts/compare_string.py: (process_results) Catch
10935 exception in non-existent base_func and catch exception in
10936 non-existent attribute.
10937 (parse_file) Catch exception if input file does not exist.
10939 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10941 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10942 options to avoid diff calculation and omit header, respectively.
10943 (main): process --no-diff and --no-header
10945 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10946 H.J. Lu <hongjiu.lu@intel.com>
10948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10949 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10951 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10952 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10953 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10954 and __wcsncmp_sse2.
10955 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10956 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10957 AVX unaligned load is fast and vzeroupper is preferred.
10958 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10959 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10960 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10961 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10962 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10963 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10964 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10965 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10966 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10967 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10970 2018-06-01 Florian Weimer <fweimer@redhat.com>
10972 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10973 configuring with --disable-multi-arch, building with
10974 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10977 2018-06-01 Florian Weimer <fweimer@redhat.com>
10979 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10980 results from building with “-march=x86-64 -mtune=generic
10981 -mfpmath=sse” and running on a Haswell-era CPU.
10983 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10986 * soft-fp/sqrttf2.c: Remove file.
10987 * soft-fp/sqrtdf2.c: Move to ....
10988 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10990 (__sqrtdf2): Make conditional on
10991 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10993 * soft-fp/sqrtsf2.c: Move to ....
10994 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10996 (__sqrtsf2): Make conditional on
10997 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10999 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11000 (gcc-double-routines): Remove sqrtdf2.
11001 (gcc-quad-routines): Remove sqrttf2.
11002 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11003 Do not filter out sqrtsf2 and sqrtdf2.
11004 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11005 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11007 2018-06-01 Florian Weimer <fweimer@redhat.com>
11009 * sysdeps/generic/libcidn.abilist: Remove file.
11011 2018-06-01 Florian Weimer <fweimer@redhat.com>
11014 * libio/strfile.h (struct _IO_str_fields): Rename members to
11015 discourage their use and add comment.
11016 (_IO_STR_DYNAMIC): Remove unused macro.
11017 * libio/strops.c (_IO_str_init_static_internal): Do not use
11018 callback pointers. Call malloc and free.
11019 (_IO_str_overflow): Do not use callback pointers. Call malloc
11021 (enlarge_userbuf): Likewise.
11022 (_IO_str_finish): Call free.
11023 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11024 _allocate_buffer_unused.
11025 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11027 (enlarge_userbuf): Likewise.
11028 (_IO_wstr_finish): Call free.
11029 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11030 _allocate_buffer_unused, _free_buffer_unused.
11031 * libio/memstream.c (__open_memstream): Likewise.
11032 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11033 * libio/wmemstream.c (open_wmemstream): Likewise.
11035 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11037 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11040 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11042 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11043 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11044 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11046 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11048 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11050 2018-05-29 Florian Weimer <fweimer@redhat.com>
11052 * support/Makefile (libsupport-routines): Add
11053 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11054 xpthread_barrierattr_setpshared.
11055 * support/xpthread_barrierattr_destroy.c: New file.
11056 * support/xpthread_barrierattr_init.c: Likewise.
11057 * support/xpthread_barrierattr_setpshared.c: Likewise.
11059 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11062 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11063 _r_debug and update DT_DEBUG for debugger.
11065 2018-05-29 Florian Weimer <fweimer@redhat.com>
11067 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11068 (tst-strtod5i.out): Likewise.
11070 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11072 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11073 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11074 (sparc64-quad-routines): New variable. Moved from ....
11075 [$(subdir) = soft-fp] (sysdep_routines): Add
11076 $(sparc64-quad-routines). Moved from ....
11077 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11078 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11079 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11081 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11082 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11083 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11084 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11085 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11086 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11087 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11088 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11089 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11090 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11091 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11092 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11093 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11094 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11095 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11096 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11097 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11098 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11099 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11100 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11101 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11102 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11103 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11104 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11105 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11106 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11107 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11108 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11109 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11110 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11111 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11112 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11113 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11114 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11115 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11116 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11117 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11118 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11119 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11120 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11121 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11122 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11123 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11124 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11125 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11126 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11127 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11128 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11129 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11130 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11131 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11132 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11133 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11134 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11135 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11136 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11137 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11138 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11140 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11141 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11142 (sparc32-quad-routines): New variable. Moved from ....
11143 [$(subdir) = soft-fp] (sysdep_routines): Add
11144 $(sparc32-quad-routines). Moved from ....
11145 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11146 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11148 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11149 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11150 * sysdeps/sparc/sparc32/q_add.c: ... here.
11151 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11152 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11153 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11154 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11155 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11156 * sysdeps/sparc/sparc32/q_div.c: ... here.
11157 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11158 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11159 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11160 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11161 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11162 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11163 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11164 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11165 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11166 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11167 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11168 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11169 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11170 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11171 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11172 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11173 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11174 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11175 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11176 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11177 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11178 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11179 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11180 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11181 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11182 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11183 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11184 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11185 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11186 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11187 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11188 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11189 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11190 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11191 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11192 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11193 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11194 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11195 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11196 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11197 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11198 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11199 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11200 * sysdeps/sparc/sparc32/q_util.c: ... here.
11201 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11202 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11203 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11204 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11206 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11207 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11209 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11210 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11211 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11212 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11214 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11220 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11221 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11223 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11226 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11229 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11231 * sysdeps/sh/Implies: Remove sh/soft-fp.
11232 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11233 * sysdeps/sh/sfp-machine.h: ... here.
11235 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11237 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11238 (__mempcpy_erms): Skip zero length.
11239 (__memmove_erms): Likewise.
11240 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11241 (__memset_erms): Likewise.
11243 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11245 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11246 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11247 Add functions moved from ....
11248 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11249 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11250 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11252 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11253 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11254 * sysdeps/alpha/e_sqrtl.c: ... here.
11255 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11256 * sysdeps/alpha/local-soft-fp.h: ... here.
11257 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11258 * sysdeps/alpha/ots_add.c: ... here.
11259 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11260 * sysdeps/alpha/ots_cmp.c: ... here.
11261 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11262 * sysdeps/alpha/ots_cmpe.c: ... here.
11263 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11264 * sysdeps/alpha/ots_cvtqux.c: ... here.
11265 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11266 * sysdeps/alpha/ots_cvtqx.c: ... here.
11267 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11268 * sysdeps/alpha/ots_cvttx.c: ... here.
11269 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11270 * sysdeps/alpha/ots_cvtxq.c: ... here.
11271 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11272 * sysdeps/alpha/ots_cvtxt.c: ... here.
11273 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11274 * sysdeps/alpha/ots_div.c: ... here.
11275 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11276 * sysdeps/alpha/ots_mul.c: ... here.
11277 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11278 * sysdeps/alpha/ots_nintxq.c: ... here.
11279 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11280 * sysdeps/alpha/ots_sub.c: ... here.
11281 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11282 * sysdeps/alpha/sfp-machine.h: ... here.
11284 2018-05-23 Florian Weimer <fweimer@redhat.com>
11292 Switch to extern IDNA implementation (libidn2).
11293 * libidn: Remove subdirectory.
11294 * LICENSES: Do not mention licensing conditions for the removed
11296 * config.h.in (HAVE_LIBIDN): Remove.
11297 * include/dlfcn.h (__libc_dlopen): Update comment.
11298 * include/idna.h: Remove file.
11299 * inet/Makefile (routines): Add idna.
11300 (tests-static, tests-internal): Add tst-idna_name_classify.
11301 (LOCALES): Generate locales for tests.
11302 (tst-idna_name_classify.out): Depend on generated locales.
11303 * inet/idna_name_classify.c: New file.
11304 * inet/tst-idna_name_classify.c: Likewise.
11305 * inet/net-internal.h (__idna_to_dns_encoding)
11306 (__idna_from_dns_encoding): Declare.
11307 * inet/net-internal.h (enum idna_name_classification): Define.
11308 (__idna_name_classify): Declare.
11309 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11310 __idna_from_dns_encoding.
11311 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11312 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11313 name as a fallback in case of encoding errors.
11314 (getnameinfo): Use DEPRECATED_NI_IDN.
11315 * inet/idna.c: New file.
11316 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11317 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11318 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11319 (modules-names): Add tst-no-libidn2.
11320 (extra-test-objs): Add tst-no-libidn2.os.
11321 (LDFLAGS-tst-no-libidn2.so): Set soname.
11322 (LOCALES): Set, and generate locales.
11323 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11324 (tst-resolv-ai_idn-latin1): Likewise.
11325 (tst-resolv-ai_idn-nolibidn2): Likewise.
11326 (tst-resolv-ai_idn.out): Depend on locales.
11327 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11328 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11330 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11331 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11332 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11333 * resolv/tst-resolv-ai_idn.c: New file.
11334 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11335 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11336 * resolv/tst-no-libidn2.c: Likewise.
11337 * support/support_format_addrinfo.c (format_ai_flags): Do not
11338 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11339 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11340 (gaih_inet): Call __idna_to_dns_encoding and
11341 __idna_from_dns_encoding, and use the original (punycode) name if
11342 __idna_from_dns_encoding fails due to an encoding error.
11343 (getaddrinfo): Use DEPRECATED_AI_IDN.
11344 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11345 * sysdeps/unix/inet/configure: Remove file.
11346 * sysdeps/unix/inet/configure.ac: Likewise.
11348 2018-05-23 Florian Weimer <fweimer@redhat.com>
11350 Implement allocate_once.
11351 * include/allocate_once.h: New file.
11352 * misc/allocate_once.c: Likewise.
11353 * misc/tst-allocate_once.c: Likewise.
11354 * misc/Makefile (routines): Add allocate_once.
11355 (tests-internal): Add tst-allocate_once.
11356 (generated): Add tst-allocate_once.mtrace,
11357 tst-allocate_once-mem.out.
11358 (tests-special): Add tst-allocate_once-mem.out.
11359 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11360 (tst-allocate_once-mem.out): Call mtrace.
11361 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11363 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11366 * string/test-memcpy.c (do_test1): New function.
11367 (test_main): Call it.
11369 2018-05-23 Andreas Schwab <schwab@suse.de>
11373 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11374 (L(preloop_large)): Save initial destination pointer in %r11 and
11375 use it instead of %rax after the loop.
11376 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11378 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11380 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11381 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11382 -I../soft-fp. Moved from ....
11383 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11384 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11385 * sysdeps/aarch64/e_sqrtl.c: ... here.
11386 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11387 * sysdeps/aarch64/sfp-machine.h: ... here.
11389 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11390 -Wmaybe-uninitialized around access to fq[0].
11391 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11395 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11396 aliases for non-libc case of versioned symbols.
11397 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11398 (llseek): Define as compat symbol if
11399 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11401 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11402 Make into a compat symbol, disabled for minimum symbol version
11403 GLIBC_2.28 and later.
11404 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11406 2018-05-22 Florian Weimer <fweimer@redhat.com>
11408 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11409 not add -mpreferred-stack-boundary=4.
11410 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11411 (stack-align-test-flags): Likewise.
11412 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11414 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11415 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11416 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11417 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11418 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11419 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11420 (CFLAGS-tst-align2.c): Likewise.
11422 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11424 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11425 (index_arch_Prefer_FSRM): Likewise.
11426 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11427 Also check Prefer_FSRM.
11428 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11429 Also return OPTIMIZE (erms) for Prefer_FSRM.
11431 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11433 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11434 (index_cpu_FSRM): Likewise.
11435 (reg_FSRM): Likewise.
11437 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11439 * math/gen-tgmath-tests.py: Import sys.
11440 (Tests.__init__): Initialize macros_seen.
11441 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11442 if requested to do so for this macro.
11443 (Tests.add_all_tests): Take argument for macro for which to
11445 (Tests.check_macro_list): New function.
11446 (main): Handle check-list argument and argument specifying macro
11447 for which to generate tests.
11448 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11449 [PYTHON] (tgmath3-macro-tests): Likewise.
11450 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11451 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11452 not test-tgmath3.c.
11453 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11454 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11456 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11457 [PYTHON] ($(foreach
11458 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11460 [PYTHON] (tests-special): Add
11461 $(objpfx)test-tgmath3-macro-list.out.
11462 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11464 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11465 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11469 * time/tzset.c (SECSPERDAY): Cast to time_t.
11470 * time/tst-y2039.c: New file.
11471 * time/Makefile (tests): Add tst-y2039.
11473 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11475 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11476 (PREFETCH_ONE_SET): Remove duplicate line.
11478 2018-05-17 Florian Weimer <fweimer@redhat.com>
11480 * sysdeps/generic/math-type-macros-double.h: Include
11481 <math-nan-payload-double.h> after <libm-alias-double.h>.
11482 * sysdeps/generic/math-type-macros-float.h: Include
11483 <math-nan-payload-float.h> after <libm-alias-float.h>.
11484 * sysdeps/generic/math-type-macros-float128.h: Include
11485 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11486 * sysdeps/generic/math-type-macros-ldouble.h: Include
11487 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11489 2018-05-17 Andreas Schwab <schwab@suse.de>
11491 * resolv/res_send.c (__res_context_send): Don't set errno when
11492 returing error after malloc failure.
11494 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11496 * nptl/allocatestack.c (allocate_stack): Remove the
11497 !__ASSUME_PRIVATE_FUTEX paths.
11498 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11499 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11501 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11502 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11503 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11504 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11505 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11506 !__ASSUME_PRIVATE_FUTEX path.
11507 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11508 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11509 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11510 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11511 !__ASSUME_PRIVATE_FUTEX macros.
11512 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11513 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11514 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11515 * sysdeps/unix/sysv/linux/kernel-features.h
11516 (__ASSUME_PRIVATE_FUTEX): Removed.
11518 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11520 * math/Makefile (libm-narrow-fns): Add div.
11521 (libm-test-funcs-narrow): Likewise.
11522 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11523 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11524 * math/gen-auto-libm-tests.c (test_functions): Add div.
11525 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11526 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11527 (NARROW_DIV_TRIVIAL): Likewise.
11528 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11530 (__ddivl): Likewise.
11531 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11533 (CFLAGS-nldbl-ddiv.c): New variable.
11534 (CFLAGS-nldbl-fdiv.c): Likewise.
11535 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11537 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11539 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11540 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11541 * math/auto-libm-test-in: Add tests of div.
11542 * math/auto-libm-test-out-narrow-div: New generated file.
11543 * math/libm-test-narrow-div.inc: New file.
11544 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11545 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11546 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11547 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11548 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11549 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11557 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11558 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11559 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11560 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11561 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11563 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11564 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11565 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11566 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11567 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11568 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11569 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11570 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11571 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11572 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11573 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11574 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11580 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11581 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11582 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11583 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11584 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11585 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11586 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11587 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11589 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11592 * nscd/nscd-client.h (sendfileall): Remove prototype.
11593 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11594 (handle_request): Use writeall instead of sendfileall.
11595 * nscd/aicache.c (addhstaiX): Likewise.
11596 * nscd/grpcache.c (cache_addgr): Likewise.
11597 * nscd/hstcache.c (cache_addhst): Likewise.
11598 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11599 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11600 * nscd/pwdcache.c (cache_addpw): Likewise.
11601 * nscd/servicescache.c (cache_addserv): Likewise.
11602 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11603 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11604 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11607 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11609 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11610 Include <string/strncat.c>.
11611 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11613 (__GI___strncat): New hidden alias.
11615 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11617 * sysdeps/mips/mips32/libm-test-ulps: Update.
11618 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11620 2018-05-16 Florian Weimer <fweimer@redhat.com>
11622 * support/Makefile (libsupport-routines): Add support_quote_blob,
11623 support_test_compare_blob.
11624 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11625 * support/check.h (TEST_COMPARE_BLOB): Define.
11626 (support_test_compare_blob): Declare.
11627 * support/support.h (support_quote_blob): Declare.
11628 * support/support_quote_blob.c: New file.
11629 * support/support_test_compare_blob.c: Likewise.
11630 * support/tst-support_quote_blob.c: Likewise.
11631 * support/tst-test_compare_blob.c: Likewise.
11633 2018-05-16 Florian Weimer <fweimer@redhat.com>
11635 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11636 of <strtod_nan_double.h>.
11637 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11638 instead of SET_MANTISSA.
11639 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11640 of include <strtod_nan_float.h>.
11641 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11642 instead of <strtod_nan_ldouble.h>.
11643 * stdlib/strtod_nan_double.h: Move to ...
11644 * sysdeps/generic/math-nan-payload-double.h: ... here.
11645 (FLOAT): Remove definition.
11646 (SET_MANTISSA): Rename to ...
11647 (SET_NAN_PAYLOAD): ... this.
11648 * stdlib/strtod_nan_float.h: Move to ...
11649 * sysdeps/generic/math-nan-payload-float.h: ... here.
11650 (FLOAT): Remove definition.
11651 (SET_MANTISSA): Rename to ...
11652 (SET_NAN_PAYLOAD): ... this.
11653 * sysdeps/generic/math-type-macros-double.h: Include
11654 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11655 instead of <math-svid-compat.h>.
11656 * sysdeps/generic/math-type-macros-float.h: Include
11657 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11658 instead of <math-svid-compat.h>.
11659 * sysdeps/generic/math-type-macros-float128.h: Include
11660 <math-nan-payload-float128.h>.
11661 * sysdeps/generic/math-type-macros-ldouble.h: Include
11662 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11663 instead of <math-svid-compat.h>.
11664 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11665 check for definition.
11666 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11667 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11668 Include <ieee754_float128.h>.
11669 (FLOAT): Remove definition.
11670 (SET_MANTISSA): Rename to ...
11671 (SET_NAN_PAYLOAD): ... this.
11672 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11673 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11674 Do not include <float128_private.h>.
11675 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11676 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11677 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11678 (FLOAT): Remove definition.
11679 (SET_MANTISSA): Rename to ...
11680 (SET_NAN_PAYLOAD): ... this.
11681 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11682 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11683 (FLOAT): Remove definition.
11684 (SET_MANTISSA): Rename to ...
11685 (SET_NAN_PAYLOAD): ... this.
11686 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11687 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11688 (FLOAT): Remove definition.
11689 (SET_MANTISSA): Rename to ...
11690 (SET_NAN_PAYLOAD): ... this.
11691 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11692 of "../stdlib/strtod_nan_double.h".
11693 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11694 of "../stdlib/strtod_nan_float.h".
11695 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11696 instead of "../stdlib/strtod_nan_ldouble.h".
11697 * manual/arith.texi (Parsing of Floats): Adjust comment.
11699 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11701 * math/Makefile (libm-narrow-fns): Add mul.
11702 (libm-test-funcs-narrow): Likewise.
11703 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11704 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11705 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11706 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11707 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11708 (NARROW_MUL_TRIVIAL): Likewise.
11709 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11710 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11712 (__dmull): Likewise.
11713 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11715 (CFLAGS-nldbl-dmul.c): New variable.
11716 (CFLAGS-nldbl-fmul.c): Likewise.
11717 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11719 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11721 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11722 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11723 * math/auto-libm-test-in: Add tests of mul.
11724 * math/auto-libm-test-out-narrow-mul: New generated file.
11725 * math/libm-test-narrow-mul.inc: New file.
11726 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11727 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11728 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11729 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11730 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11731 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11732 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11733 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11734 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11735 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11736 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11737 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11738 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11739 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11740 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11741 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11742 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11743 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11745 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11746 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11747 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11748 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11749 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11750 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11751 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11752 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11753 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11754 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11755 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11756 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11757 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11762 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11763 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11764 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11765 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11766 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11767 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11768 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11769 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11771 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11773 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11774 with *%eax in call.
11776 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11778 * sysdeps/i386/ldsodefs.h: Removed.
11779 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11780 * sysdeps/x86/ldsodefs.h: This.
11781 (La_i86_regs): New.
11782 (La_i86_retval): Likewise.
11783 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11784 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11786 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11788 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11791 2018-05-13 Alan Modra <amodra@gmail.com>
11793 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11794 R_PARISC_TLS_DTPOFF32 reloc addend.
11796 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11798 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11799 * math/math.h: Restrict the prototype definition for the functions
11800 issignaling(_Float128) and iszero(_Float128); and template
11801 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11802 __HAVE_FLOAT128_UNLIKE_LDBL.
11803 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11804 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11805 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11806 __f128() constants; define the type _Float128 as long double;
11807 and reuse long double in __CFLOAT128.
11809 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11811 * sysdeps/generic/math_private.h: Do not include
11813 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11815 * math/fromfp.h: Include <math-barriers.h>.
11816 * math/math-narrow.h: Likewise.
11817 * math/s_nextafter.c: Likewise.
11818 * math/s_nexttowardf.c: Likewise.
11819 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11820 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11821 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11822 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11823 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11824 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11825 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11826 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11827 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11829 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11830 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11831 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11832 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11833 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11834 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11835 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11836 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11837 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11838 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11839 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11840 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11841 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11842 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11843 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11844 * sysdeps/ieee754/k_standardl.c: Likewise.
11845 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11846 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11847 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11848 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11849 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11850 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11851 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11852 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11853 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11854 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11855 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11856 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11857 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11858 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11859 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11860 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11861 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11862 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11863 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11864 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11865 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11866 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11868 2018-05-11 Florian Weimer <fweimer@redhat.com>
11870 Use 64-bit epoch values in the time zone file parser.
11871 * include/time.h (internal_time_t): Define.
11872 (__tzfile_compute): Use it.
11873 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11875 (transitions): Switch to internal_time_t.
11876 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11878 (__tzfile_compute): Use internal_time_t for timer argument. Check
11879 for truncation before calling __offtime.
11881 2018-05-11 Florian Weimer <fweimer@redhat.com>
11884 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11885 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11887 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11888 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11889 export without --enable-obsolete-rpc.
11890 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11891 symbol. This should not have been exported, ever.
11893 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11896 * localedata/locales/gd_GB (abmon): Fix typo in May:
11897 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11899 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11901 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11902 Use multiple registers to copy data in loop tail.
11904 * sysdeps/aarch64/multiarch/memmove_falkor.S
11905 (__memmove_falkor): Use multiple registers to move data in
11908 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11910 * math/math-underflow.h: New file.
11911 * sysdeps/generic/math_private.h: Do not include <float.h>.
11912 (fabs_tg): Remove macro. Moved to math-underflow.h.
11913 (min_of_type_f): Likewise.
11914 (min_of_type_): Likewise.
11915 (min_of_type_l): Likewise.
11916 (min_of_type_f128): Likewise.
11917 (min_of_type): Likewise.
11918 (math_check_force_underflow): Likewise.
11919 (math_check_force_underflow_nonneg): Likewise.
11920 (math_check_force_underflow_complex): Likewise.
11921 * math/e_exp2_template.c: Include <math-underflow.h>.
11922 * math/k_casinh_template.c: Likewise.
11923 * math/s_catan_template.c: Likewise.
11924 * math/s_catanh_template.c: Likewise.
11925 * math/s_ccosh_template.c: Likewise.
11926 * math/s_cexp_template.c: Likewise.
11927 * math/s_clog10_template.c: Likewise.
11928 * math/s_clog_template.c: Likewise.
11929 * math/s_csin_template.c: Likewise.
11930 * math/s_csinh_template.c: Likewise.
11931 * math/s_csqrt_template.c: Likewise.
11932 * math/s_ctan_template.c: Likewise.
11933 * math/s_ctanh_template.c: Likewise.
11934 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11935 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11936 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11937 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11938 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11939 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11940 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11941 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11942 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11943 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11944 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11945 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11946 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11947 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11948 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11949 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11950 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11951 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11952 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11953 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11954 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11955 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11956 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11957 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11958 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11959 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11960 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11961 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11962 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11963 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11964 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11965 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11966 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11967 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11968 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11969 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11970 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11971 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11972 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11973 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11974 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11975 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11976 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11977 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11978 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11979 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11980 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11981 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11982 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11983 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11984 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11985 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11986 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11987 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11988 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11989 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11990 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11991 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11992 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11993 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11994 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11995 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11996 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11997 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11998 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11999 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12000 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12001 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12002 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12003 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12004 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12005 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12006 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12007 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12008 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12009 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12010 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12011 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12012 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12013 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12014 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12015 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12016 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12017 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12019 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12021 * sysdeps/generic/math-barriers.h: New file.
12022 * sysdeps/generic/math_private.h [!math_opt_barrier]
12023 (math_opt_barrier): Move to math-barriers.h.
12024 [!math_opt_barrier] (math_force_eval): Likewise.
12025 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12026 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12028 (math_force_eval): Likewise.
12029 * sysdeps/alpha/fpu/math-barriers.h: New file.
12030 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12032 (math_force_eval): Likewise.
12033 * sysdeps/x86/fpu/math-barriers.h: New file.
12034 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12036 (math_force_eval): Likewise.
12037 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12038 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12039 multiple-include guard for rename.
12040 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12041 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12043 (math_force_eval): Likewise.
12045 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12049 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12051 * stdlib/Makefile (test-bz22786): New test.
12052 * stdlib/test-bz22786.c: New test.
12054 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12056 * include/math-narrow-eval.h: New file. Contents moved from ....
12057 * sysdeps/generic/math_private.h: ... here.
12058 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12059 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12060 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12061 * stdlib/strtod_l.c: Likewise.
12062 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12063 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12064 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12065 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12066 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12067 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12068 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12069 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12070 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12071 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12072 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12073 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12074 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12075 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12076 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12077 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12078 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12079 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12080 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12081 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12082 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12083 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12084 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12085 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12086 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12087 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12088 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12089 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12090 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12092 2018-05-08 Andreas Schwab <schwab@suse.de>
12094 * sysdeps/nptl/internaltypes.h: Fix comment.
12096 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12098 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12099 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12102 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12104 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12105 of I into loop header.
12106 * benchtests/bench-memmove-walk.c
12107 (test_main): Likewise.
12109 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12112 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12113 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12115 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12118 * elf/dl-load.c (open_verify): Fix stack overflow.
12119 * elf/Makefile (tst-big-note): New test.
12120 * elf/tst-big-note-lib.S: New.
12121 * elf/tst-big-note.c: New.
12123 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12125 * scripts/abilist.awk: Ignore absolute symbols.
12126 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12127 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12128 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12129 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12130 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12131 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12132 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12133 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12134 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12135 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12136 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12137 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12138 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12139 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12140 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12141 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12144 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12145 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12146 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12147 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12148 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12149 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12150 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12151 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12152 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12156 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12164 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12169 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12170 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12171 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12172 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12173 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12174 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12175 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12176 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12177 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12178 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12179 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12180 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12181 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12182 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12183 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12184 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12185 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12186 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12187 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12188 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12189 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12190 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12191 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12192 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12193 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12194 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12195 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12196 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12197 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12198 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12199 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12200 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12201 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12202 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12203 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12204 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12205 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12206 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12207 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12208 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12209 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12210 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12211 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12212 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12213 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12214 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12215 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12216 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12217 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12219 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12220 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12221 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12222 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12223 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12224 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12225 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12226 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12227 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12228 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12229 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12230 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12231 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12233 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12234 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12235 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12236 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12237 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12238 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12239 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12240 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12241 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12242 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12243 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12244 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12245 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12246 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12247 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12248 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12249 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12250 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12251 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12252 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12253 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12254 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12255 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12256 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12257 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12258 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12259 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12261 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12262 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12263 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12264 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12265 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12266 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12267 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12268 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12269 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12270 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12271 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12272 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12273 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12274 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12275 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12276 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12277 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12278 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12279 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12280 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12282 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12283 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12284 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12285 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12286 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12287 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12288 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12289 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12290 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12291 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12292 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12293 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12294 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12295 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12296 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12297 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12298 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12299 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12300 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12301 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12302 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12303 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12304 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12305 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12306 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12307 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12308 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12309 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12369 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12370 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12372 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12373 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12374 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12375 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12376 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12377 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12378 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12379 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12380 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12381 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12382 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12383 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12384 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12385 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12387 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12388 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12389 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12390 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12391 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12392 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12393 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12394 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12395 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12396 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12397 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12398 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12400 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12401 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12402 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12403 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12404 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12405 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12406 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12407 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12408 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12409 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12410 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12411 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12412 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12413 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12414 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12415 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12416 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12417 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12418 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12419 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12420 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12421 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12422 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12424 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12426 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12427 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12428 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12429 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12430 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12431 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12432 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12433 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12434 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12435 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12436 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12437 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12438 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12440 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12441 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12442 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12443 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12444 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12445 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12446 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12447 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12448 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12449 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12450 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12451 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12452 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12453 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12454 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12455 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12456 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12457 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12458 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12459 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12460 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12461 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12462 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12463 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12464 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12465 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12466 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12467 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12468 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12469 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12470 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12471 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12472 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12473 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12474 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12475 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12476 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12477 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12479 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12482 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12483 Use atomic_load_acquire to load __tid.
12485 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12487 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12488 Restore the pointer into %rdx, after syscall and use %rdx,
12489 instead of %rsi, to restore context.
12491 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12493 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12494 Pop the pointer into %rdx after syscall and use %rdx, instead
12495 of %rsi, to restore context.
12497 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12499 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12500 handlers after setjmp.
12501 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12503 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12504 <libc-pointer-arith.h>.
12505 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12506 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12507 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12508 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12509 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12510 * sysdeps/x86/__longjmp_cancel.S: New file.
12511 * sysdeps/x86/longjmp.c: Likewise.
12512 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12514 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12516 * NEWS: Add ustat.h deprecation entry.
12517 * bits/ustat.h: Remove file.
12518 * misc/sys/ustat.h: Likewise.
12519 * misc/ustat.h: Likewise.
12520 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12521 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12522 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12523 compatibility mode.
12524 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12525 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12526 generic Linux implementation.
12528 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12530 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12531 * math/w_expl_compat.c: Likewise.
12532 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12534 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12536 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12538 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12540 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12541 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12542 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12544 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12546 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12547 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12548 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12551 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12553 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12555 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12556 * math/w_asin_template.c: Likewise.
12557 * math/w_atanh_template.c: Likewise.
12559 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12561 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12562 to powerpc/powerpc64/be for big-endian.
12563 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12566 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12567 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12568 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12569 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12570 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12571 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12572 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12573 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12574 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12575 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12576 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12577 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12578 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12579 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12580 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12581 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12582 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12583 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12584 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12585 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12586 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12587 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12588 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12589 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12590 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12591 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12592 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12593 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12594 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12595 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12596 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12597 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12599 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12600 adjusted to imply powerpc64 and older processors on powerpc64/be.
12601 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12602 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12603 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12604 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12605 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12606 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12607 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12608 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12609 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12610 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12611 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12612 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12613 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12614 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12615 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12616 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12617 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12618 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12619 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12620 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12621 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12622 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12623 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12624 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12625 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12626 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12627 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12628 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12629 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12630 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12631 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12633 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12634 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12635 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12636 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12638 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12639 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12640 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12641 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12643 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12644 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12645 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12646 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12647 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12648 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12649 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12650 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12651 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12652 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12653 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12655 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12656 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12657 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12658 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12659 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12660 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12661 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12662 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12663 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12664 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12665 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12667 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12668 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12669 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12670 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12671 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12672 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12673 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12674 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12675 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12676 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12677 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12678 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12680 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12681 and adjusted to imply olders processors.
12682 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12683 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12684 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12685 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12686 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12687 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12688 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12689 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12690 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12691 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12692 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12694 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12696 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12697 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12711 powerpc64 and adjusted.
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12717 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12719 * sysdeps/tile: Remove.
12720 * sysdeps/unix/sysv/linux/tile: Likewise.
12721 * README (tilegx-*-linux-gnu): Remove from list of supported
12723 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12724 contribution of support for generic Linux kernel syscall
12726 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12727 tilegx configurations.
12728 (Config.install_linux_headers): Do not handle tile.
12729 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12731 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12732 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12733 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12734 conditional undefine and redefine.
12735 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12737 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12738 conditional undefine and redefine.
12740 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12742 * signal/tst-sigaction.c: New file to test BZ #23069.
12743 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12745 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12748 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12749 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12750 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12751 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12753 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12755 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12756 _DIRENT_MATCHES_DIRENT64 is not defined.
12757 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12758 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12760 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12761 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12763 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12765 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12766 version to GCC 8 branch.
12768 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12770 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12771 (check_no_hidden): Use type of original function when declaring
12774 * sysdeps/unix/sysv/linux/sys/ptrace.h
12775 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12776 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12777 (struct __ptrace_seccomp_metadata): New type.
12778 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12779 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12780 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12781 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12782 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12783 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12784 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12785 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12786 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12787 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12788 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12789 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12790 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12791 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12792 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12793 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12795 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12797 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12799 * dirent/versionsort.c (versionsort): Likewise.
12800 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12801 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12802 * dirent/versionsort64.c (versionsort64): Likewise.
12803 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12804 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12805 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12806 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12807 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12808 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12809 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12810 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12811 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12812 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12815 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12816 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12818 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12820 * elf/elf.h (NT_PPC_PKEY): New macro.
12822 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12825 * localedata/locales/hr_HR: fix thousands_sep and
12828 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12830 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12831 (XTABS): Define to TAB3.
12833 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12835 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12837 * dirent/scandir-tail-common.c: New file.
12838 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12839 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12840 * dirent/scandir.c: Use scandir-tail-common.c.
12841 * dirent/scandirat.c: Likewise.
12842 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12843 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12844 if _DIRENT_MATCHES_DIRENT64 is defined.
12845 * dirent/scandirat64.c (scandirat64): Likewise.
12846 * include/dirent.h (__scandir_tail): Only define iff
12847 _DIRENT_MATCHES_DIRENT64 is not defined.
12848 (__scandir64_tail): Define regardless.
12849 (__scandirat, scandirat64): Remove libc_hidden_proto.
12850 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12851 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12853 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12854 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12855 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12856 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12858 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12860 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12862 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12864 (_dl_aarch64_cap_flags): Add asimdfhm.
12866 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12868 * sysdeps/nios2/libm-test-ulps: Update.
12870 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12872 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12873 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12875 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12877 (_DIRENT_MATCHES_DIRENT64): Undef
12878 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12879 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12880 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12881 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12882 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12883 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12884 use getdents64 syscalls as base.
12885 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12886 symbol if required.
12887 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12888 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12889 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12890 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12891 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12892 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12893 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12894 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12895 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12896 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12897 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12899 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12901 * scripts/test_printers_common.py (init_test): Disable lock elision.
12903 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12905 * math/test-tgmath.c (count_double, count_float,
12906 count_ldouble, count_cdouble, count_cfloat,
12907 count_cldouble): Use volatile int.
12909 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12911 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12912 (conformtest-xfail-conds): Add i386-gnu.
12913 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12915 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12916 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12917 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12918 msqid_ds.msg_lrpid): Likewise.
12919 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12921 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12922 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12923 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12924 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12926 (struct statvfs64): Likewise.
12927 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12929 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12930 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12931 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12932 instead of wait_queue.
12933 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12934 instead of vm_area_struct.
12935 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12936 struct sched_param definition to it.
12937 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12938 * bits/types/struct_sched_param.h: New file.
12939 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12940 <bits/types/struct_sched_param.h> instead of <sched.h>.
12941 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12942 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12943 generic version but include <bits/pthreadtypes.h> to make struct
12944 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12945 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12947 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12948 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12949 [__USE_XOPEN] (OFDEL): New macro.
12950 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12951 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12952 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12954 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12955 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12956 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12958 * sysdeps/i386/sys/ucontext.h: Likewise.
12959 * sysdeps/m68k/sys/ucontext.h: Likewise.
12960 * sysdeps/mips/sys/ucontext.h: Likewise.
12961 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12962 * sysdeps/mach/hurd/i386/Makefile
12963 (test-xfail-POSIX/fcntl.h/conform): Add.
12964 (test-xfail-POSIX/signal.h/conform): Add.
12965 (test-xfail-POSIX/semaphore.h/conform): Add.
12966 (test-xfail-POSIX/regex.h/conform): Add.
12967 (test-xfail-POSIX/aio.h/conform): Add.
12968 (test-xfail-POSIX/mqueue.h/conform): Add.
12969 (test-xfail-POSIX/sys/types.h/conform): Add.
12970 (test-xfail-UNIX98/fcntl.h/conform): Add.
12971 (test-xfail-UNIX98/netdb.h/conform): Add.
12972 (test-xfail-UNIX98/signal.h/conform): Add.
12973 (test-xfail-UNIX98/semaphore.h/conform): Add.
12974 (test-xfail-UNIX98/regex.h/conform): Add.
12975 (test-xfail-UNIX98/aio.h/conform): Add.
12976 (test-xfail-UNIX98/ftw.h/conform): Add.
12977 (test-xfail-UNIX98/mqueue.h/conform): Add.
12978 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12979 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12980 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12981 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12982 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12983 (test-xfail-UNIX98/sys/types.h/conform): Add.
12984 (test-xfail-UNIX98/stdlib.h/conform): Add.
12985 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12986 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12987 (test-xfail-POSIX2008/netdb.h/conform): Add.
12988 (test-xfail-POSIX2008/signal.h/conform): Add.
12989 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12990 (test-xfail-POSIX2008/regex.h/conform): Add.
12991 (test-xfail-POSIX2008/aio.h/conform): Add.
12992 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12993 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12994 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12995 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12996 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12997 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12998 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12999 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13000 (test-xfail-XOPEN2K/signal.h/conform): Add.
13001 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13002 (test-xfail-XOPEN2K/regex.h/conform): Add.
13003 (test-xfail-XOPEN2K/aio.h/conform): Add.
13004 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13005 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13006 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13007 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13008 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13009 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13010 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13011 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13012 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13013 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13014 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13015 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13016 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13017 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13018 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13019 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13020 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13021 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13022 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13023 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13024 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13025 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13026 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13027 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13028 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13029 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13030 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13032 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13033 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13035 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13037 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13038 --enable-obsolete for powerpc-linux-gnuspe.
13040 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13042 * conform/data/sys/un.h-data: Allow sun_ prefix.
13043 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13045 * sysdeps/mach/include/mach.h: Likewise.
13046 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13047 * sysdeps/mach/include/mach_error.h: Likewise.
13049 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13051 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13052 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13053 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13054 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13056 2018-04-16 Andreas Schwab <schwab@suse.de>
13059 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13061 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13063 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13064 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13066 2018-04-12 DJ Delorie <dj@redhat.com>
13068 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13071 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13073 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13074 (struct kernel_sigaction): Use the same definition on 31bit as is used
13077 2018-04-09 Florian Weimer <fweimer@redhat.com>
13080 * resolv/res_send.c (send_dg): Use designated initializers instead
13081 of assignment to zero-initialize other fields of struct mmsghdr.
13083 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13085 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13086 __READDIR_ALIAS): Undefine after usage.
13087 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13088 __READDIR_R_ALIAS): Likewise.
13089 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13090 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13091 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13092 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13093 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13094 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13095 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13096 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13097 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13098 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13099 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13100 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13101 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13102 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13103 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13104 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13105 * sysdeps/unix/sysv/linux/readdir.c: New file.
13106 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13107 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13108 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13110 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13112 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13114 * manual/charset.texi (Converting a Character): Fix typo.
13116 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13120 * sysdeps/arm/libm-test-ulps: Update.
13122 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13123 as base implementation.
13124 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13125 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13126 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13127 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13128 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13129 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13130 remove unrequired definitions and update comments.
13131 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13132 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13133 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13134 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13135 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13136 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13137 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13138 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13139 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13140 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13141 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13142 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13143 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13144 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13145 and RESET_SA_RESTORER hooks.
13147 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13149 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13151 2018-04-05 Florian Weimer <fweimer@redhat.com>
13153 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13154 integer overflow, memory leak on error, and indeterminate errno
13155 value. Add a null wide character to terminate the result string.
13156 * manual/charset.texi (Converting a Character): Mention embedded
13157 null bytes in the mbrtowc input string. Explain what happens in
13158 the -2 result case. Do not claim that mbrtowc is simple or
13159 obvious to use. Adjust the description of the code example. Use
13160 @code, not @var, for concrete variables.
13162 2018-04-05 Florian Weimer <fweimer@redhat.com>
13164 * manual/examples/mbstouwcs.c: New file.
13165 * manual/charset.texi (Converting a Character): Include it.
13167 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13169 * include/dirent.h (dirfd): Add hidden proto.
13170 * dirent/dirfd.c (dirfd): Add hidden def.
13171 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13172 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13174 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13176 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13177 sin, cos and sincos to 1 ULP.
13179 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13182 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13184 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13185 * elf/tst-absolute-sym.c: New file.
13186 * elf/tst-absolute-sym-lib.c: New file.
13187 * elf/tst-absolute-sym-lib.lds: New file.
13188 * elf/Makefile (tests): Add `tst-absolute-sym'.
13189 (modules-names): Add `tst-absolute-sym-lib'.
13190 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13191 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13192 ($(objpfx)tst-absolute-sym): New dependency.
13195 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13197 (SYMBOL_ADDRESS): New macro.
13198 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13199 SYMBOL_ADDRESS for symbol address calculation.
13200 * elf/dl-runtime.c (_dl_fixup): Likewise.
13201 (_dl_profile_fixup): Likewise.
13202 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13203 * elf/rtld.c (dl_main): Likewise.
13204 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13205 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13206 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13207 (elf_machine_rela): Likewise.
13208 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13209 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13210 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13211 (elf_machine_rela): Likewise.
13212 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13213 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13214 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13215 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13217 (elf_machine_reloc): Likewise.
13218 (elf_machine_got_rel): Likewise.
13219 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13220 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13221 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13223 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13225 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13226 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13228 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13230 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13231 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13233 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13235 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13236 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13238 2018-04-04 Zack Weinberg <zackw@panix.com>
13240 * sysdeps/generic/internal-signals.h: Include signal.h,
13241 sigsetops.h, and stdbool.h.
13242 (__libc_signal_block_all): Actually block all signals.
13243 (__libc_signal_block_app): Likewise.
13244 (__libc_signal_restore_set): Actually restore the signal mask.
13246 2018-04-04 Florian Weimer <fweimer@redhat.com>
13248 inet: Actually build and run tst-deadline.
13249 * inet/Makefile (tests-internal): Add tst-deadline and do not
13250 overwrite the variable.
13251 (tests-static-internal): Remove variable.
13253 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13256 * bits/uio-ext.h (RWF_APPEND): New.
13257 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13258 * manual/llio.texi: Document RWF_APPEND.
13259 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13260 (RWF_SUPPORTED): Add RWF_APPEND.
13262 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13265 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13266 check for internal nptl signals.
13267 * nptl/sigaction.c (__sigaction): Likewise.
13268 * signal/sigaddset.c (sigaddset): Likewise.
13269 * signal/sigdelset.c (sigdelset): Likewise.
13270 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13271 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13273 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13274 to filter out internal nptl signals.
13275 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13276 also check realtime signals using standard macros.
13277 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13278 __is_internal_signal, __libc_signal_block_all,
13279 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13280 * sysdeps/nptl/sigfillset.c: Remove file.
13281 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13282 Change return to bool.
13283 (__clear_internal_signals): Remove SIGTIMER clean since it is
13284 equal to SIGCANEL on Linux.
13285 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13286 signal set was constructed using standard functions.
13288 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13290 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13291 ifname is too long.
13292 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13293 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13294 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13296 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13297 * signal/sigaddset.c: Include <sigsetopts.h>.
13298 * signal/sigdelset.c: Likewise.
13300 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13302 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13304 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13305 logic as sin and cos.
13307 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13309 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13310 inputs. Return correct sign.
13311 (do_sincos): Remove small input check before do_sin, let do_sin set
13316 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13318 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13319 (do_cos_slow): Likewise.
13320 (do_sin_slow): Likewise.
13321 (reduce_and_compute): Likewise.
13326 (sloww1): Likewise.
13327 (sloww2): Likewise.
13329 (bslow1): Likewise.
13330 (bslow2): Likewise.
13331 (cslow2): Likewise.
13333 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13335 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13336 (do_cos): Remove corp parameter and calculations.
13337 (do_sin): Likewise.
13338 (do_sincos): Remove cor variable.
13339 (__sin): Use do_sincos for huge inputs.
13341 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13342 (reduce_and_compute_sincos): Remove unused function.
13344 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13346 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13347 reduce_sincos, improve accuracy to 136 bits.
13348 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13349 (__sin): Use improved reduction and simplified do_sincos calculation.
13351 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13353 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13355 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13356 (do_sincos_2): Likewise.
13357 (__sin): Remove middle range reduction case.
13359 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13362 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13364 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13365 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13368 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13370 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13372 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13375 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13377 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13378 Remove definitions.
13379 (opendir_oflags): Use O_DIRECTORY regardless.
13380 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13381 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13383 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13385 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13386 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13388 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13389 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13390 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13391 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13392 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13393 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13395 * htl/Makefile: Bump licence to LGPL 2.1+.
13396 * htl/alloca_cutoff.c: Likewise.
13397 * htl/cthreads-compat.c: Likewise.
13398 * htl/lockfile.c: Likewise.
13399 * htl/pt-alloc.c: Likewise.
13400 * htl/pt-cancel.c: Likewise.
13401 * htl/pt-cleanup.c: Likewise.
13402 * htl/pt-create.c: Likewise.
13403 * htl/pt-dealloc.c: Likewise.
13404 * htl/pt-detach.c: Likewise.
13405 * htl/pt-exit.c: Likewise.
13406 * htl/pt-getattr.c: Likewise.
13407 * htl/pt-initialize.c: Likewise.
13408 * htl/pt-internal.h: Likewise.
13409 * htl/pt-join.c: Likewise.
13410 * htl/pt-self.c: Likewise.
13411 * htl/pt-setcancelstate.c: Likewise.
13412 * htl/pt-setcanceltype.c: Likewise.
13413 * htl/pt-sigmask.c: Likewise.
13414 * htl/pt-spin-inlines.c: Likewise.
13415 * htl/pt-testcancel.c: Likewise.
13416 * htl/pt-yield.c: Likewise.
13417 * htl/tests/test-1.c: Likewise.
13418 * htl/tests/test-10.c: Likewise.
13419 * htl/tests/test-11.c: Likewise.
13420 * htl/tests/test-12.c: Likewise.
13421 * htl/tests/test-13.c: Likewise.
13422 * htl/tests/test-14.c: Likewise.
13423 * htl/tests/test-15.c: Likewise.
13424 * htl/tests/test-16.c: Likewise.
13425 * htl/tests/test-17.c: Likewise.
13426 * htl/tests/test-2.c: Likewise.
13427 * htl/tests/test-3.c: Likewise.
13428 * htl/tests/test-4.c: Likewise.
13429 * htl/tests/test-5.c: Likewise.
13430 * htl/tests/test-6.c: Likewise.
13431 * htl/tests/test-7.c: Likewise.
13432 * htl/tests/test-8.c: Likewise.
13433 * htl/tests/test-9.c: Likewise.
13434 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13435 * sysdeps/htl/bits/cancelation.h: Likewise.
13436 * sysdeps/htl/bits/pthread-np.h: Likewise.
13437 * sysdeps/htl/bits/pthread.h: Likewise.
13438 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13439 * sysdeps/htl/bits/semaphore.h: Likewise.
13440 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13441 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13442 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13443 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13444 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13445 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13446 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13447 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13448 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13449 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13450 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13451 * sysdeps/htl/old_pt-atfork.c: Likewise.
13452 * sysdeps/htl/pt-atfork.c: Likewise.
13453 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13454 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13455 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13456 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13457 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13458 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13459 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13460 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13461 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13462 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13463 * sysdeps/htl/pt-attr-init.c: Likewise.
13464 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13465 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13466 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13467 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13468 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13469 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13470 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13471 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13472 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13473 * sysdeps/htl/pt-attr.c: Likewise.
13474 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13475 * sysdeps/htl/pt-barrier-init.c: Likewise.
13476 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13477 * sysdeps/htl/pt-barrier.c: Likewise.
13478 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13479 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13480 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13481 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13482 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13483 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13484 * sysdeps/htl/pt-cond-init.c: Likewise.
13485 * sysdeps/htl/pt-cond-signal.c: Likewise.
13486 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13487 * sysdeps/htl/pt-cond-wait.c: Likewise.
13488 * sysdeps/htl/pt-cond.c: Likewise.
13489 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13490 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13491 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13492 * sysdeps/htl/pt-condattr-init.c: Likewise.
13493 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13494 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13495 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13496 * sysdeps/htl/pt-equal.c: Likewise.
13497 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13498 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13499 * sysdeps/htl/pt-getschedparam.c: Likewise.
13500 * sysdeps/htl/pt-getspecific.c: Likewise.
13501 * sysdeps/htl/pt-init-specific.c: Likewise.
13502 * sysdeps/htl/pt-key-create.c: Likewise.
13503 * sysdeps/htl/pt-key-delete.c: Likewise.
13504 * sysdeps/htl/pt-key.h: Likewise.
13505 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13506 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13507 * sysdeps/htl/pt-mutex-init.c: Likewise.
13508 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13509 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13510 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13511 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13512 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13513 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13514 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13515 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13516 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13517 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13518 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13519 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13520 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13521 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13522 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13523 * sysdeps/htl/pt-mutexattr.c: Likewise.
13524 * sysdeps/htl/pt-once.c: Likewise.
13525 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13526 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13527 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13528 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13529 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13530 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13531 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13532 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13533 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13534 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13535 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13536 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13537 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13538 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13539 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13540 * sysdeps/htl/pt-setschedparam.c: Likewise.
13541 * sysdeps/htl/pt-setschedprio.c: Likewise.
13542 * sysdeps/htl/pt-setspecific.c: Likewise.
13543 * sysdeps/htl/pt-spin.c: Likewise.
13544 * sysdeps/htl/pt-startup.c: Likewise.
13545 * sysdeps/htl/pthread.h: Likewise.
13546 * sysdeps/htl/sem-close.c: Likewise.
13547 * sysdeps/htl/sem-destroy.c: Likewise.
13548 * sysdeps/htl/sem-getvalue.c: Likewise.
13549 * sysdeps/htl/sem-init.c: Likewise.
13550 * sysdeps/htl/sem-open.c: Likewise.
13551 * sysdeps/htl/sem-post.c: Likewise.
13552 * sysdeps/htl/sem-timedwait.c: Likewise.
13553 * sysdeps/htl/sem-trywait.c: Likewise.
13554 * sysdeps/htl/sem-unlink.c: Likewise.
13555 * sysdeps/htl/sem-wait.c: Likewise.
13556 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13557 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13558 * sysdeps/mach/htl/pt-block.c: Likewise.
13559 * sysdeps/mach/htl/pt-spin.c: Likewise.
13560 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13561 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13562 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13563 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13564 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13565 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13566 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13567 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13568 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13569 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13570 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13571 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13572 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13573 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13574 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13575 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13576 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13577 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13578 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13579 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13580 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13581 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13582 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13583 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13584 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13585 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13586 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13587 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13588 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13589 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13590 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13591 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13592 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13593 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13594 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13595 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13596 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13597 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13598 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13599 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13600 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13601 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13602 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13604 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13605 * README: Remove the mention of out-of-tree patches needed for
13608 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13609 (UTIME_NOW, UTIME_OMIT): Define macros.
13611 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13612 instead of pthread_detach.
13613 (__cthread_fork): Call __pthread_create instead of pthread_create.
13614 (__cthread_keycreate): Call __pthread_key_create instead of
13615 pthread_key_create.
13616 (__cthread_getspecific): Call __pthread_getspecific instead of
13617 pthread_getspecific.
13618 (__cthread_setspecific): Call __pthread_setspecific instead of
13619 pthread_setspecific.
13620 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13621 __pthread_mutex_unlock instead of pthread_mutex_lock and
13622 pthread_mutex_unlock.
13623 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13624 ___pthread_get_cleanup_stack.
13625 (__pthread_get_cleanup_stack): New strong alias.
13626 * htl/pt-create.c: Include <pthreadP.h>.
13627 (entry_point): Call __pthread_exit instead of pthread_exit.
13628 (pthread_create): Rename to __pthread_create.
13629 (pthread_create): New strong alias.
13630 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13631 (pthread_detach): New strong alias.
13632 (__pthread_detach): Call __pthread_cond_broadcast instead of
13633 pthread_cond_broadcast.
13634 * htl/pt-exit.c: Include <pthreadP.h>.
13635 (__pthread_exit): Call __pthread_setcancelstate and
13636 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13637 __pthread_get_cleanup_stack.
13638 * htl/pt-testcancel.c: Include <pthreadP.h>.
13639 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13640 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13641 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13642 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13643 pthread_attr_getstacksize.
13644 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13645 Rename to __pthread_attr_getstackaddr.
13646 (pthread_attr_getstackaddr): New strong alias.
13647 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13648 Rename to __pthread_attr_getstacksize.
13649 (pthread_attr_getstacksize): New strong alias.
13650 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13651 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13652 (pthread_attr_setstack): New strong alias.
13653 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13654 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13655 pthread_attr_getstacksize, pthread_attr_setstacksize and
13656 pthread_attr_setstackaddr.
13657 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13658 Rename to __pthread_attr_setstackaddr.
13659 (pthread_attr_setstackaddr): New strong alias.
13660 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13661 Rename to __pthread_attr_setstacksize.
13662 (pthread_attr_setstacksize): New strong alias.
13663 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13664 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13666 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13667 (__pthread_key_create): New hidden def.
13668 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13669 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13670 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13671 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13672 __pthread_setspecific, __pthread_setcancelstate,
13673 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13674 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13675 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13677 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13678 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13679 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13680 (pthread_attr_setstackaddr): New strong alias.
13681 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13682 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13683 (pthread_attr_setstacksize): New strong alias.
13684 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13685 (call_exit): Call __pthread_exit instead of pthread_exit.
13686 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13687 (_pthread_mutex_init): New hidden definition.
13688 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13689 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13690 instead of pthread_attr_init and pthread_attr_setstack.
13692 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13693 __vm_deallocate instead of vm_allocate and vm_deallocate.
13694 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13696 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13698 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13700 * hurd/siginfo.c: Include <libioP.h>.
13701 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13702 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13704 * mach/devstream.c: Include <libioP.h>.
13705 (dealloc_ref): Call __mach_port_deallocate instead of
13706 mach_port_deallocate.
13707 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13708 Call __mach_port_deallocate instead of mach_port_deallocate.
13709 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13711 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13713 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13714 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13715 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13717 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13719 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13720 instead of sysconf.
13721 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13722 __clock_gettime instead of clock_gettime.
13723 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13724 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13725 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13726 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13727 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13729 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13730 __clock_gettime and __nanosleep instead of clock_gettime and
13732 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13733 __hurd_catch_signal.
13734 (hurd_catch_signal): New strong alias.
13735 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13736 __hurd_catch_signal instead of hurd_catch_signal.
13737 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13738 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13739 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13740 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13741 (_hurd_thread_sigstate): Add hidden def.
13742 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13744 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13745 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13746 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13747 __hurd_file_name_path_lookup.
13748 (hurd_file_name_path_lookup): New strong alias.
13749 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13750 hurd_file_name_path_lookup.
13751 * mach/errstring.c (mach_error_type): Add hidden def.
13752 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13753 * mach/mutex-init.c (__mutex_init): Add hidden def.
13754 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13755 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13756 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13757 * sysdeps/mach/hurd/getcwd.c
13758 (_hurd_canonicalize_directory_name_internal): Rename to
13759 __hurd_canonicalize_directory_name_internal.
13760 (_hurd_canonicalize_directory_name_internal): New strong alias.
13761 (__canonicalize_directory_name_internal, __getcwd): Call
13762 __hurd_canonicalize_directory_name_internal instead of
13763 _hurd_canonicalize_directory_name_internal.
13764 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13765 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13767 * sysdeps/hurd/include/hurd.h: New file.
13768 * sysdeps/hurd/include/hurd/fd.h: New file.
13769 * sysdeps/hurd/include/hurd/signal.h: New file.
13770 * sysdeps/mach/include/lock-intern.h: New file.
13771 * sysdeps/mach/include/mach.h: New file.
13772 * sysdeps/mach/include/mach/mig_support.h: New file.
13773 * sysdeps/mach/include/mach_error.h: New file.
13774 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13776 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13777 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13778 _HEADER_H_HIDDEN_DEF macro.
13779 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13780 _hurd_fd_error_signal): Add hidden prototype.
13781 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13783 * libio/iolibio.h (_IO_puts): New hidden prototype.
13784 * libio/ioputs.c (_IO_puts): New hidden def.
13785 * sysdeps/mach/hurd/localplt.data: New file.
13787 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13788 Amos Jeffries <squid3@treenet.co.nz>
13789 David Michael <fedora.dm0@gmail.com>
13790 Marco Gerards <marco@gnu.org>
13791 Marcus Brinkmann <marcus@gnu.org>
13792 Neal H. Walfield <neal@gnu.org>
13793 Pino Toscano <toscano.pino@tiscali.it>
13794 Richard Braun <rbraun@sceen.net>
13795 Roland McGrath <roland@gnu.org>
13796 Samuel Thibault <samuel.thibault@ens-lyon.org>
13797 Thomas DiModica <ricinwich@yahoo.com>
13798 Thomas Schwinge <tschwinge@gnu.org>
13800 * htl: New directory.
13801 * sysdeps/htl: New directory.
13802 * sysdeps/hurd/htl: New directory.
13803 * sysdeps/i386/htl: New directory.
13804 * sysdeps/mach/htl: New directory.
13805 * sysdeps/mach/hurd/htl: New directory.
13806 * sysdeps/mach/hurd/i386/htl: New directory.
13807 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13808 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13809 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13811 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13813 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13814 signals in thread created for runing timers.
13816 2018-04-01 Florian Weimer <fweimer@redhat.com>
13818 * support/support_format_addrinfo.c (support_format_addrinfo):
13819 Include unknown error number in formatted result.
13821 2018-03-29 Florian Weimer <fweimer@redhat.com>
13823 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13826 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13828 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13829 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13830 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13831 (__ASSUME_CLONE_BACKWARDS): Define.
13833 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13836 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13837 early when linux sentinel value is set.
13839 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13841 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13843 2018-03-27 Andreas Schwab <schwab@suse.de>
13846 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13847 allocation of private copy of nsaddr_list fails.
13849 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13852 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13853 * sysdeps/unix/sysv/linux/umount.c: ... here.
13854 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13855 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13856 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13857 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13859 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13860 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13862 2018-03-26 Andreas Schwab <schwab@suse.de>
13864 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13865 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13866 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13867 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13868 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13869 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13870 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13871 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13872 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13873 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13874 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13875 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13876 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13877 (R_RISCV_NUM): Define.
13879 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13881 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13882 TLS declaration of errno.
13883 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13885 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13886 (ARCH_SETUP_TLS): Likewise.
13887 * sysdeps/mach/hurd/libc-start.h: New file copied from
13888 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13889 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13890 instead of __libc_setup_tls.
13891 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13892 __libc_setup_tls before initializing libpthread and running _hurd_init
13893 which starts the signal thread.
13894 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13896 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13898 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13901 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13902 after it is defined.
13904 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13905 Max Horn <max@quendi.de>
13909 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13911 * string/test-memmove.c (do_test2): New testcase.
13913 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13915 * sysdeps/generic/frame.h: Remove file.
13916 * sysdeps/arm/frame.h: Likewise.
13917 * sysdeps/hppa/frame.h: Likewise.
13918 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13920 (GET_FRAME): Likewise.
13921 (GET_STACK): Likewise.
13922 (CALL_SIGHANDLER): Likewise.
13923 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13925 (GET_FRAME): Likewise.
13926 (GET_STACK): Likewise.
13927 (CALL_SIGHANDLER): Likewise.
13928 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13929 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13930 (GET_FRAME): Likewise.
13931 (GET_STACK): Likewise.
13932 (CALL_SIGHANDLER): Likewise.
13933 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13934 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13935 (GET_FRAME): Likewise.
13936 (GET_STACK): Likewise.
13937 (ADVANCE_STACK_FRAME): Likewise.
13938 (CALL_SIGHANDLER): Likewise.
13939 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13940 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13941 (GET_FRAME): Likewise.
13942 (GET_STACK): Likewise.
13943 (CALL_SIGHANDLER): Likewise.
13944 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13945 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13946 (GET_FRAME): Likewise.
13947 (GET_STACK): Likewise.
13948 (CALL_SIGHANDLER): Likewise.
13949 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13950 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13951 (GET_FRAME): Likewise.
13952 (GET_STACK): Likewise.
13953 (CALL_SIGHANDLER): Likewise.
13954 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13955 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13956 (GET_FRAME): Likewise.
13957 (GET_STACK): Likewise.
13958 (CALL_SIGHANDLER): Likewise.
13959 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13960 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13961 (GET_FRAME): Likewise.
13962 (GET_STACK): Likewise.
13963 (CALL_SIGHANDLER): Likewise.
13964 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13965 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13966 (GET_FRAME): Likewise.
13967 (GET_STACK): Likewise.
13968 (CALL_SIGHANDLER): Likewise.
13969 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13970 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13971 (GET_FRAME): Likewise.
13972 (GET_STACK): Likewise.
13973 (CALL_SIGHANDLER): Likewise.
13974 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13975 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13976 (GET_FRAME): Likewise.
13977 (GET_STACK): Likewise.
13978 (CALL_SIGHANDLER): Likewise.
13979 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13980 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13981 (GET_FRAME): Likewise.
13982 (GET_STACK): Likewise.
13983 (CALL_SIGHANDLER): Likewise.
13984 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13985 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13986 (FIRST_FRAME_POINTER): Likewise.
13987 (ADVANCE_STACK_FRAME): Likewise.
13988 (GET_STACK): Likewise.
13989 (GET_FRAME): Likewise.
13990 (CALL_SIGHANDLER): Likewise.
13991 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13992 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13993 (ADVANCE_STACK_FRAME): Likewise.
13994 (GET_STACK): Likewise.
13995 (GET_FRAME): Likewise.
13996 (CALL_SIGHANDLER): Likewise.
13997 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13998 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13999 (GET_FRAME): Likewise.
14000 (GET_STACK): Likewise.
14001 (CALL_SIGHANDLER): Likewise.
14002 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14003 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14004 (GET_FRAME): Likewise.
14005 (GET_STACK): Likewise.
14006 (CALL_SIGHANDLER): Likewise.
14008 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14010 * sysdeps/x86_64/backtrace.c: Move to ....
14011 * debug/backtrace.c: ... here.
14012 * sysdeps/aarch64/backtrace.c: Remove file.
14013 * sysdeps/alpha/backtrace.c: Likewise.
14014 * sysdeps/hppa/backtrace.c: Likewise.
14015 * sysdeps/ia64/backtrace.c: Likewise.
14016 * sysdeps/mips/backtrace.c: Likewise.
14017 * sysdeps/nios2/backtrace.c: Likewise.
14018 * sysdeps/riscv/backtrace.c: Likewise.
14019 * sysdeps/sh/backtrace.c: Likewise.
14020 * sysdeps/tile/backtrace.c: Likewise.
14022 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14025 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14028 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14031 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14032 possibly overflowing computations.
14034 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14036 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14037 values from Linux-specific section now that it is in the GNU section.
14038 * sysdeps/gnu/errlist.c: Regenerate.
14040 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14042 * math/Makefile (libm-narrow-fns): Add sub.
14043 (libm-test-funcs-narrow): Likewise.
14044 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14045 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14046 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14047 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14048 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14049 (NARROW_SUB_TRIVIAL): Likewise.
14050 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14052 (__dsubl): Likewise.
14053 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14055 (CFLAGS-nldbl-dsub.c): New variable.
14056 (CFLAGS-nldbl-fsub.c): Likewise.
14057 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14059 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14061 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14062 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14063 * math/auto-libm-test-in: Add tests of sub.
14064 * math/auto-libm-test-out-narrow-sub: New generated file.
14065 * math/libm-test-narrow-sub.inc: New file.
14066 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14067 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14068 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14069 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14070 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14071 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14072 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14073 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14074 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14075 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14076 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14077 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14078 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14079 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14080 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14081 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14082 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14083 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14085 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14086 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14087 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14088 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14089 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14090 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14091 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14092 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14093 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14094 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14095 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14096 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14097 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14102 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14103 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14104 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14105 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14106 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14107 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14108 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14109 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14110 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14111 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14113 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14116 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14118 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14120 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14122 2018-03-18 Richard Braun <rbraun@sceen.net>
14124 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14127 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14129 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14130 (__libc_cleanup_fct): Define function.
14131 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14132 __libc_cleanup_end): Rewrite implementation using
14133 __attribute__ ((__cleanup__)).
14134 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14135 * hurd/Makefile (routines): Add hurdlock.
14136 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14138 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14139 * hurd/hurdpid.c: Include <lowlevellock.h>
14140 (_S_msg_proc_newids): Use lll_wait to synchronize.
14141 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14142 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14143 * mach/Makefile (lock-headers): Remove machine-lock.h.
14144 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14146 (__spin_lock_t): New type.
14147 (__SPIN_LOCK_INITIALIZER): New macro.
14148 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14149 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14150 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14151 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14152 (__mutex_init): Initialize with lll.
14153 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14154 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14156 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14157 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14158 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14159 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14160 (__setpgid): Use lll for synchronization.
14161 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14162 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14163 instead of <cthreads.h>.
14164 (_IO_lock_inexpensive): New macro
14165 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14166 (__libc_lock_self0): New declaration.
14167 (__libc_lock_owner_self): New macro.
14168 (__libc_key_t): Remove type.
14169 (_LIBC_LOCK_INITIALIZER): New macro.
14170 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14171 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14172 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14173 __libc_lock_define_initialized_recursive,
14174 __rtld_lock_define_initialized_recursive,
14175 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14176 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14177 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14178 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14179 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14180 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14181 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14183 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14184 * hurd/hurdlock.c: New file.
14185 * hurd/hurdlock.h: New file.
14186 * mach/lowlevellock.h: New file
14188 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14190 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14191 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14192 when opening a symlink with O_NOFOLLOW.
14193 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14194 path when flags contains O_NOFOLLOW.
14195 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14196 if flags contains O_DIRECTORY and the result is a directory.
14197 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14198 oneself when the pointer given in D is nul (as set by ext2fs).
14199 * sysdeps/mach/hurd/mlockall.c: New file.
14200 * sysdeps/mach/hurd/munlockall.c: New file.
14202 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14204 * hurd/hurdsig.c: Include <pthread.h>.
14205 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14206 get the signal thread stack layout.
14207 * hurd/Makefile (headers): Remove threadvar.h.
14208 (inline-headers): Remove threadvar.h.
14209 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14210 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14211 __hurd_threadvar_max, __hurd_errno_location.
14212 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14213 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14214 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14215 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14216 unless TLS is not initialized yet, in which case we do not need a
14217 critical section yet anyway.
14218 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14220 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14222 (__hurd_threadvar_index): Remove enum.
14223 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14224 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14226 (__hurd_reply_port0): New variable declaration.
14227 (__hurd_local_reply_port): New macro.
14228 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14229 (interrupted_reply_port_location): Add thread_t parameter. Use it
14230 with THREAD_TCB to access thread-local variables.
14231 (_hurdsig_abort_rpcs): Pass ss->thread to
14232 interrupted_reply_port_location.
14233 (_hurd_internal_post_signal): Likewise.
14234 (_hurdsig_init): Use presence of cthread_fork instead of
14235 __hurd_threadvar_stack_mask to start signal thread by hand.
14236 Remove signal thread threadvar initialization.
14237 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14238 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14239 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14241 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14243 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14244 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14245 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14246 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14247 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14248 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14249 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14251 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14252 <hurd/threadvar.h>.
14253 [IS_IN(rtld)] (rtld_errno): New variable.
14254 [IS_IN(rtld)] (__errno_location): New weak function.
14255 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14256 * sysdeps/mach/hurd/errno.c: Remove file.
14257 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14258 (__fork): Remove THREADVAR_SPACE macro and its use.
14259 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14261 (init): Do not initialize threadvar.
14262 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14264 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14265 __hurd_local_reply_port instead of threadvar.
14266 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14267 _hurd_sigstate fields.
14268 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14269 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14270 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14271 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14272 instead of threadvar.
14273 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14274 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14275 (use_threadvar, global_reply_port): Remove variables.
14276 (__hurd_reply_port0): New variable.
14277 (__mig_get_reply_port): Use __hurd_local_reply_port and
14278 __hurd_reply_port0 instead of threadvar.
14279 (__mig_dealloc_reply_port): Likewise.
14280 (__mig_init): Do not initialize threadvar.
14281 * sysdeps/mach/hurd/profil.c: Fix comment.
14282 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14283 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14284 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14285 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14286 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14287 __cthread_setspecific.
14288 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14289 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14290 __cthread_t instead of cthread_fork, cthread_detach,
14291 pthread_getattr_np, pthread_attr_getstack.
14292 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14293 __cthread_keycreate.
14294 (cthread_getspecific): Rename to __cthread_getspecific.
14295 (cthread_setspecific): Rename to __cthread_setspecific.
14296 (__libc_getspecific): Use __cthread_getspecific instead of
14297 cthread_getspecific.
14298 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14299 __cthread_keycreate instead of cthread_keycreate.
14300 (__libc_setspecific): Use __cthread_setspecific instead of
14301 cthread_setspecific.
14302 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14305 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14306 testing whether it is defined.
14308 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14310 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14312 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14313 * sysdeps/mach/i386/thread_state.h
14314 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14316 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14318 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14320 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14321 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14323 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14325 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14326 descriptor instead of creating a new one.
14327 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14329 * mach/setup-thread.c: Include <ldsodefs.h>.
14330 (__mach_setup_thread): Call _dl_allocate_tls, pass
14331 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14332 MACHINE_THREAD_STATE_FLAVOR, before getting
14333 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14334 MACHINE_THREAD_STATE_FLAVOR with the result.
14335 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14336 MACHINE_THREAD_STATE_FIX_NEW.
14337 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14338 too. Add original thread parameter.
14340 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14342 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14343 Remove inline function.
14345 * sysdeps/i386/fpu/libm-test-ulps: Update.
14346 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14348 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14350 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14353 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14355 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14356 (__sincos_code): Remove define and undefine.
14357 [__FAST_MATH__] (__sincos): Remove inline function.
14358 [__FAST_MATH__] (__sincosf): Remove inline function.
14359 [__FAST_MATH__] (__sincosl): Remove inline function.
14360 (__atan2l): Remove inline functions.
14361 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14362 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14364 (floor): Remove inline function.
14366 [__FAST_MATH__] (__ldexp_code): Remove macro.
14367 [__FAST_MATH__] (ldexp): Remove inline function.
14368 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14369 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14370 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14371 [__USE_ISOC99] (__lrint_code): Remove macro.
14372 [__USE_ISOC99] (__llrint_code): Likewise.
14373 [__USE_ISOC99] (lrintf): Remove inline function.
14374 [__USE_ISOC99] (lrint): Likewise.
14375 [__USE_ISOC99] (lrintl): Likewise.
14376 [__USE_ISOC99] (llrint): Likewise.
14377 [__USE_ISOC99] (llrintf): Likewise.
14378 [__USE_ISOC99] (llrintl): Likewise.
14380 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14382 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14383 (__ieee754_sqrtf): Remove.
14384 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14385 (__ieee754_sqrtf): Remove.
14386 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14387 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14388 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14389 (__ieee754_sqrtf): Remove.
14390 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14391 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14394 (__ieee754_sqrt): Remove.
14395 (__ieee754_sqrtf): Remove.
14396 (__ieee754_sqrtl): Remove.
14397 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14398 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14399 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14400 (__ieee754_sqrtf): Remove.
14401 (__ieee754_sqrtl): Remove.
14403 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14405 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14406 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14407 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14408 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14409 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14410 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14411 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14412 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14414 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14415 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14416 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14417 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14418 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14419 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14420 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14421 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14422 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14423 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14424 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14425 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14426 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14427 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14428 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14429 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14430 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14431 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14432 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14433 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14434 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14435 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14436 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14437 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14438 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14439 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14440 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14442 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14443 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14444 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14445 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14446 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14447 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14448 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14449 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14450 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14451 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14452 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14453 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14455 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14457 * include/math.h (sqrt): Declare with asm redirect.
14460 (sqrtf128): Likewise.
14461 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14462 nonlib and libnldbl with -fmath-errno.
14463 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14464 * math/w_sqrt_template.c: Likewise.
14465 * math/w_sqrtf_compat.c: Likewise.
14466 * math/w_sqrtl_compat.c: Likewise.
14467 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14468 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14469 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14472 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14474 * benchtests/Makefile: Define _ISOMAC.
14475 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14476 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14477 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14478 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14479 * benchtests/bench-timing.h: Define attribute_hidden.
14481 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14483 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14486 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14489 * localedata/locales/cs_CZ (mon): Rename to...
14491 (mon): Import from CLDR (genitive case).
14493 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14496 * localedata/locales/el_CY (abmon): Rename to...
14497 (ab_alt_mon): This.
14498 (abmon): Import from CLDR (abbreviated genitive case).
14499 * localedata/locales/el_GR (abmon): Rename to...
14500 (ab_alt_mon): This.
14501 (abmon): Import from CLDR (abbreviated genitive case).
14503 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14506 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14508 2018-03-15 Robert Buj <robert.buj@gmail.com>
14511 * localedata/locales/ca_ES (abmon): Rename to...
14512 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14513 (mon): Rename to...
14515 (abmon): Import from CLDR (genitive case, month names preceded by
14518 (abday): Synchronize with CLDR.
14519 (d_t_fmt): Likewise.
14523 (LC_TIME): Improve indentation.
14524 (LC_TELEPHONE): Likewise.
14525 (LC_NAME): Likewise.
14526 (LC_ADDRESS): Likewise.
14528 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14530 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14531 (lrintf): Remove definitions used only with old GCC.
14532 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14533 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14534 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14535 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14536 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14537 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14538 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14539 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14540 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14541 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14542 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14543 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14544 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14545 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14546 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14547 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14548 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14549 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14550 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14551 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14552 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14553 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14554 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14555 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14556 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14557 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14558 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14559 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14561 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14563 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14564 instruction to unbreak builds with binutils 2.26 and older.
14566 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14568 * sysdeps/aarch64/strncmp.S (count): New macro.
14569 (strncmp): Store misaligned length in SRC1 in COUNT.
14570 (mutual_align): Adjust.
14571 (misaligned8): Load dword at a time when it is safe.
14573 2018-03-12 Zack Weinberg <zackw@panix.com>
14577 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14578 if the _IO_EOF_SEEN bit is already set; update commentary.
14579 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14580 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14582 * support/support_openpty.c, support/tty.h: New files.
14583 * support/Makefile (libsupport-routines): Add support_openpty.
14585 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14587 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14588 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14590 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14592 * po/pt_BR.po: Update translations.
14594 2018-03-12 David Michael <fedora.dm0@gmail.com>
14596 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14597 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14598 get a port to the startup server.
14600 2018-03-11 Zack Weinberg <zackw@panix.com>
14602 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14603 before nldbl-compat.h.
14605 2018-03-10 Zack Weinberg <zackw@panix.com>
14607 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14608 math.h or math_private.h.
14610 * sysdeps/alpha/fpu/s_isnan.c
14611 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14612 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14613 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14614 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14615 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14616 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14617 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14618 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14619 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14622 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14623 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14624 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14625 Include math_private.h.
14627 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14628 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14629 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14630 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14631 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14632 * sysdeps/powerpc/power7/fpu/s_logb.c:
14633 Include math.h and math_private.h.
14635 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14636 uses of $at in .set noat / .set at.
14638 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14640 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14641 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14642 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14643 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14646 2018-03-09 Florian Weimer <fweimer@redhat.com>
14648 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14651 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14654 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14655 Add nop before __startcontext, add explaining comments.
14657 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14660 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14662 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14663 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14664 Do not build hardware transactional code for __SPE__.
14665 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14666 (__lll_trylock_elision): Likewise.
14667 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14668 (__lll_unlock_elision): Likewise.
14670 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14671 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14672 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14673 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14674 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14675 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14676 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14677 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14678 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14679 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14680 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14681 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14682 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14683 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14684 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14685 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14686 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14687 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14688 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14689 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14690 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14691 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14692 (__ASSUME_CLONE_BACKWARDS): Define.
14693 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14694 __clone2 if __NR_clone2 is defined.
14695 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14696 (__ASSUME_CLONE_BACKWARDS): Likewise.
14697 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14698 (__ASSUME_CLONE_BACKWARDS): Likewise.
14699 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14700 (__ASSUME_CLONE2): Likewise.
14701 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14702 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14703 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14704 variants and the define architecture can use.
14705 (__ASSUME_CLONE_DEFAULT): Define as default.
14706 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14707 (__ASSUME_CLONE_BACKWARDS): Likewise.
14708 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14709 (__ASSUME_CLONE_BACKWARDS): Likewise.
14710 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14711 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14713 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14715 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14717 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14720 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14721 (do_test_limit): Likewise.
14723 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14724 for every implementation.
14725 (do_test): Likewise.
14727 * benchtests/bench-strncmp.c: Convert output to json.
14729 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14731 * io/futimens.c: Add missing start-of-file descriptive comment.
14732 * io/utime.c: Likewise.
14733 * misc/futimesat.c: Likewise.
14734 * misc/utimes.c: Likewise.
14735 * sysdeps/mach/hurd/futimesat.c: Likewise.
14736 * sysdeps/mach/hurd/utimes.c: Likewise.
14737 * sysdeps/posix/utime.c: Likewise.
14738 * sysdeps/posix/utimes.c: Likewise.
14739 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14740 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14741 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14742 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14744 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14746 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14748 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14749 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14750 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14751 (__futimens): Move implementation to...
14752 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14753 utime_tvalue_from_tspec): ... new helper functions.
14754 (hurd_futimens): New function.
14755 * sysdeps/mach/hurd/futimesat.c: New file.
14756 * sysdeps/mach/hurd/utimensat.c: New file.
14758 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14760 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14761 UTIME_OMIT): New macros.
14762 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14763 before reverting to converting time spec to time value and calling
14765 * sysdeps/mach/hurd/utime-helper.c: New file.
14766 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14767 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14768 reverting to utime_tvalue_from_tval and __file_utimes.
14769 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14770 (__lutimes): Just call hurd_futimens after lookup.
14771 * sysdeps/mach/hurd/utimes.c: Likewise.
14773 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14775 * bits/sigaction.h: Add include guard.
14776 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14777 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14778 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14779 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14780 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14781 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14782 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14783 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14784 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14786 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14788 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14789 -Wmaybe-uninitialized for -Os.
14790 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14793 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14795 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14796 __INO_T_MATCHES_INO64_T is defined.
14797 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14798 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14800 * dirent/alphasort64.c: Likewise.
14801 * dirent/scandir.c: Likewise.
14802 * dirent/scandir64-tail.c: Likewise.
14803 * dirent/scandir64.c: Likewise.
14804 * dirent/scandirat.c: Likewise.
14805 * dirent/scandirat64.c: Likewise.
14806 * dirent/versionsort.c: Likewise.
14807 * dirent/versionsort64.c: Likewise.
14808 * include/dirent.h: Likewise.
14810 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14811 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14812 for socketpair endpoint.
14813 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14814 WRITE_BUFFER_SIZE as buffer size for sending socket.
14815 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14816 issue on system where send is implemented with sendto syscall.
14817 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14818 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14819 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14820 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14823 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14824 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14825 sa_restorer for vDSO case.
14826 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14828 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14830 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14831 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14832 * hurd/hurd/ioctl.h: Include <mach/port.h>
14833 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14834 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14835 <mach/mach_types.h> and <mach/message.h>.
14836 (headers): Move mach/param.h to bits/mach/param.h.
14837 * sysdeps/mach/i386/mach/param.h: Move file to ...
14838 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14839 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14841 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14842 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14843 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14844 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14845 trivial, for C++ conformity.
14846 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14847 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14848 Process mig output through $(migheadersed).
14849 * hurd/Makefile (migheadersed): Define variable.
14850 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14851 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14853 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14854 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14855 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14856 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14857 <bits/types/sigset_t.h>.
14858 [!defined __USE_GNU]: Do not #error out.
14859 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14860 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14861 Include <stddef.h> and <bits/types/sigset_t.h>
14862 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14863 instead of sighandler_t.
14864 * stdlib/errno.h (error_t): Move definition to...
14865 * bits/types/error_t.h: ... new header.
14866 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14867 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14868 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14869 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14870 * hurd/hurd.h: Include <bits/types/error_t.h>
14871 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14872 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14873 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14874 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14875 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14876 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14877 * sysdeps/mach/hurd/futimens.c: New file.
14879 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14882 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14883 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14884 * nscd/gai.c (__nss_hosts_database): Readd definition.
14885 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14886 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14887 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14889 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14891 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14892 (ifunc_one): Likewise.
14894 2018-03-01 DJ Delorie <dj@delorie.com>
14897 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14900 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14902 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14903 `match_pid' parameter.
14904 (td_ta_thr_iter): Update accordingly.
14906 2018-03-01 Florian Weimer <fweimer@redhat.com>
14908 * nptl/Makefile (install-lib-ldscripts): Remove.
14909 (install): Remove rule.
14910 ($(inst_libdir)/libpthread.so): Likewise.
14912 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14915 * localedata/locales/an_ES: update month and day names,
14916 improve d_fmt, improve postal_fmt, add country_post,
14919 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14921 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14922 Ukrainian instead of Bulgarian.
14924 2018-03-01 Florian Weimer <fweimer@redhat.com>
14926 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14929 2018-03-01 Florian Weimer <fweimer@redhat.com>
14931 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14932 * nptl/Makefile (routines): Add pthread_atfork.
14933 (static-only-routines): Set to pthread_atfork.
14934 (libpthread-routines): Remove pthread_atfork.
14935 (libpthread-static-only-routines): Remove.
14936 (install): Update comment.
14937 (libpthread.so): Do not install libpthread_nonshared.a.
14938 (tests): Do not link with libpthread_nonshared.a.
14939 (generated): Remove libpthread_nonshared.a.
14940 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14941 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14942 with libpthread_nonshared.a.
14944 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14947 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14948 (libc_feholdexcept_setroundf128): New macro.
14949 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14952 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14954 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14955 * include/inttypes.h: New file.
14957 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14959 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14960 -Os in two more places.
14962 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14964 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14965 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14966 be sorted correctly at the moment because of a bug.
14968 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14970 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14971 treat ñ as a primary different character, sync the collation
14972 for Spanish with CLDR.
14973 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14974 * localedata/Makefile: Add new test files.
14975 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14976 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14978 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14979 * localedata/am_ET.UTF-8.in: New test file.
14980 * localedata/az_AZ.UTF-8.in: Likewise.
14981 * localedata/be_BY.UTF-8.in: Likewise.
14982 * localedata/ber_DZ.UTF-8.in: Likewise.
14983 * localedata/ber_MA.UTF-8.in: Likewise.
14984 * localedata/bg_BG.UTF-8.in: Likewise.
14985 * localedata/br_FR.UTF-8.in: Likewise.
14986 * localedata/cmn_TW.UTF-8.in: Likewise.
14987 * localedata/crh_UA.UTF-8.in: Likewise.
14988 * localedata/csb_PL.UTF-8.in: Likewise.
14989 * localedata/cv_RU.UTF-8.in: Likewise.
14990 * localedata/cy_GB.UTF-8.in: Likewise.
14991 * localedata/dz_BT.UTF-8.in: Likewise.
14992 * localedata/eo.UTF-8.in: Likewise.
14993 * localedata/es_ES.UTF-8.in: Likewise.
14994 * localedata/fa_IR.UTF-8.in: Likewise.
14995 * localedata/fi_FI.UTF-8.in: Likewise.
14996 * localedata/fil_PH.UTF-8.in: Likewise.
14997 * localedata/fur_IT.UTF-8.in: Likewise.
14998 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14999 * localedata/ha_NG.UTF-8.in: Likewise.
15000 * localedata/ig_NG.UTF-8.in: Likewise.
15001 * localedata/ik_CA.UTF-8.in: Likewise.
15002 * localedata/kk_KZ.UTF-8.in: Likewise.
15003 * localedata/ku_TR.UTF-8.in: Likewise.
15004 * localedata/ky_KG.UTF-8.in: Likewise.
15005 * localedata/ln_CD.UTF-8.in: Likewise.
15006 * localedata/mi_NZ.UTF-8.in: Likewise.
15007 * localedata/ml_IN.UTF-8.in: Likewise.
15008 * localedata/mn_MN.UTF-8.in: Likewise.
15009 * localedata/mr_IN.UTF-8.in: Likewise.
15010 * localedata/mt_MT.UTF-8.in: Likewise.
15011 * localedata/nb_NO.UTF-8.in: Likewise.
15012 * localedata/om_KE.UTF-8.in: Likewise.
15013 * localedata/os_RU.UTF-8.in: Likewise.
15014 * localedata/ps_AF.UTF-8.in: Likewise.
15015 * localedata/ro_RO.UTF-8.in: Likewise.
15016 * localedata/ru_RU.UTF-8.in: Likewise.
15017 * localedata/sc_IT.UTF-8.in: Likewise.
15018 * localedata/se_NO.UTF-8.in: Likewise.
15019 * localedata/sq_AL.UTF-8.in: Likewise.
15020 * localedata/sv_SE.UTF-8.in: Likewise.
15021 * localedata/szl_PL.UTF-8.in: Likewise.
15022 * localedata/tg_TJ.UTF-8.in: Likewise.
15023 * localedata/tk_TM.UTF-8.in: Likewise.
15024 * localedata/tt_RU.UTF-8.in: Likewise.
15025 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15026 * localedata/ug_CN.UTF-8.in: Likewise.
15027 * localedata/uz_UZ.UTF-8.in: Likewise.
15028 * localedata/vi_VN.UTF-8.in: Likewise.
15029 * localedata/yi_US.UTF-8.in: Likewise.
15030 * localedata/yo_NG.UTF-8.in: Likewise.
15031 * localedata/zh_CN.UTF-8.in: Likewise.
15032 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15033 file and fix bugs in the collation.
15034 * localedata/locales/az_AZ: Likewise.
15035 * localedata/locales/be_BY: Likewise.
15036 * localedata/locales/ber_DZ: Likewise.
15037 * localedata/locales/ber_MA: Likewise.
15038 * localedata/locales/bg_BG: Likewise.
15039 * localedata/locales/br_FR: Likewise.
15040 * localedata/locales/br_FR@euro: Likewise.
15041 * localedata/locales/ca_ES: Likewise.
15042 * localedata/locales/cns11643_stroke: Likewise.
15043 * localedata/locales/crh_UA: Likewise.
15044 * localedata/locales/cs_CZ: Likewise.
15045 * localedata/locales/csb_PL: Likewise.
15046 * localedata/locales/cv_RU: Likewise.
15047 * localedata/locales/cy_GB: Likewise.
15048 * localedata/locales/da_DK: Likewise.
15049 * localedata/locales/dz_BT: Likewise.
15050 * localedata/locales/en_CA: Likewise.
15051 * localedata/locales/eo: Likewise.
15052 * localedata/locales/es_CU: Likewise.
15053 * localedata/locales/es_EC: Likewise.
15054 * localedata/locales/es_ES: Likewise.
15055 * localedata/locales/es_US: Likewise.
15056 * localedata/locales/et_EE: Likewise.
15057 * localedata/locales/fa_IR: Likewise.
15058 * localedata/locales/fi_FI: Likewise.
15059 * localedata/locales/fil_PH: Likewise.
15060 * localedata/locales/fur_IT: Likewise.
15061 * localedata/locales/gez_ER@abegede: Likewise.
15062 * localedata/locales/ha_NG: Likewise.
15063 * localedata/locales/hr_HR: Likewise.
15064 * localedata/locales/hsb_DE: Likewise.
15065 * localedata/locales/hu_HU: Likewise.
15066 * localedata/locales/ig_NG: Likewise.
15067 * localedata/locales/ik_CA: Likewise.
15068 * localedata/locales/is_IS: Likewise.
15069 * localedata/locales/iso14651_t1_pinyin: Likewise.
15070 * localedata/locales/kk_KZ: Likewise.
15071 * localedata/locales/ku_TR: Likewise.
15072 * localedata/locales/ky_KG: Likewise.
15073 * localedata/locales/ln_CD: Likewise.
15074 * localedata/locales/lt_LT: Likewise.
15075 * localedata/locales/lv_LV: Likewise.
15076 * localedata/locales/mi_NZ: Likewise.
15077 * localedata/locales/ml_IN: Likewise.
15078 * localedata/locales/mn_MN: Likewise.
15079 * localedata/locales/mr_IN: Likewise.
15080 * localedata/locales/mt_MT: Likewise.
15081 * localedata/locales/nb_NO: Likewise.
15082 * localedata/locales/om_KE: Likewise.
15083 * localedata/locales/os_RU: Likewise.
15084 * localedata/locales/pl_PL: Likewise.
15085 * localedata/locales/ps_AF: Likewise.
15086 * localedata/locales/ro_RO: Likewise.
15087 * localedata/locales/ru_RU: Likewise.
15088 * localedata/locales/ru_UA: Likewise.
15089 * localedata/locales/sc_IT: Likewise.
15090 * localedata/locales/se_NO: Likewise.
15091 * localedata/locales/si_LK: Likewise.
15092 * localedata/locales/sq_AL: Likewise.
15093 * localedata/locales/sv_FI: Likewise.
15094 * localedata/locales/sv_FI@euro: Likewise.
15095 * localedata/locales/sv_SE: Likewise.
15096 * localedata/locales/szl_PL: Likewise.
15097 * localedata/locales/tg_TJ: Likewise.
15098 * localedata/locales/ti_ER: Likewise.
15099 * localedata/locales/tk_TM: Likewise.
15100 * localedata/locales/tl_PH: Likewise.
15101 * localedata/locales/tr_TR: Likewise.
15102 * localedata/locales/tt_RU: Likewise.
15103 * localedata/locales/tt_RU@iqtelif: Likewise.
15104 * localedata/locales/ug_CN: Likewise.
15105 * localedata/locales/uk_UA: Likewise.
15106 * localedata/locales/uz_UZ: Likewise.
15107 * localedata/locales/uz_UZ@cyrillic: Likewise.
15108 * localedata/locales/vi_VN: Likewise.
15109 * localedata/locales/yi_US: Likewise.
15110 * localedata/locales/yo_NG: Likewise.
15112 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15114 * gen-locales.mk: Make test files which contain @ modifiers in their
15116 * localedata/gen-locale.sh: Likewise.
15118 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15120 * posix/tst-fnmatch.input: Fix results for range expressions
15122 * posix/tst-regexloc.c: Do not use a range expression for
15123 de_DE.ISO-8859-1 locale.
15125 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15127 * posix/bug-regex5.c: Fix test case because with the new
15128 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15129 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15132 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15134 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15135 downloaded from ISO, the collation order of @-. and space has changed.
15136 Therefore, this test file needed to be adapted.
15137 * localedata/fr_CA.UTF-8.in: Likewise.
15138 * localedata/fr_FR.UTF-8.in: Likewise.
15139 * localedata/uk_UA.UTF-8.in: Likewise.
15141 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15143 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15144 order of ȥ in the new iso14651_t1_common file.
15145 * localedata/pl_PL.UTF-8.in: Likewise.
15147 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15149 * localedata/locales/iso14651_t1_common: Add sections for various
15150 scripts to the iso14651_t1_common file.
15152 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15154 * localedata/locales/iso14651_t1_common: Use the code point of a
15155 character in the fourth collation level instead of IGNORE for all
15156 entries which have IGNORE on all 4 levels.
15158 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15160 * localedata/locales/iso14651_t1_common: Add some convenient collation
15161 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15162 rules similar to those in CLDR.
15164 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15166 * localedata/locales/iso14651_t1_common: The new version of this
15167 file downloaded from ISO contained several syntax errors which
15168 are fixed by this patch.
15170 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15172 * localedata/locales/iso14651_t1_common: replace all <U.....>
15173 with <U000.....> because glibc understands only 4 digit or 8 digit
15175 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15177 * localedata/locales/iso14651_t1_common: Necessary changes
15178 to make the file downloaded from ISO usable by glibc.
15180 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15183 * localedata/locales/iso14651_t1_common: Update file to
15184 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15186 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15188 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15189 of <nptl/pthreadP.h>
15190 (thread_attr_compare): Move function to...
15191 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15192 * sysdeps/nptl/timer_routines.h: ... new header.
15193 * sysdeps/mach/hurd/gai_misc.h: New file.
15195 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15197 * string/strcoll_l.c: Include <libc-diag.h>.
15198 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15199 declarations of seq1 and seq2.
15202 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15203 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15205 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15209 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15210 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15211 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15212 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15213 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15214 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15216 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15218 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15219 macros used in __ptrace_request.
15221 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15224 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15226 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15227 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15228 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15231 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15234 * ctype/ctype.c (tolower): Use libc_hidden_def.
15235 (toupper): Likewise.
15236 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15237 [!_ISOMAC] (toupper): Likewise.
15239 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15241 * localedata/Makefile: Remove --quiet argument when
15244 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15247 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15249 * localedata/locales/pt_PT (LC_TIME): likewise
15251 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15254 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15255 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15256 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15258 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15262 * nptl/Makefile (routines): Remove unregister-atfork.
15263 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15264 (fork_handler_alloc): Remove function.
15265 (fork_handlers, fork_handler_init): New variables.
15266 (__fork_lock): Rename to atfork_lock.
15267 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15268 to use a dynamic array to add/remove atfork handlers.
15269 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15270 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15271 Remove declaration.
15272 (fork_handler): Remove next, refcntr, and need_signal member.
15273 (__run_fork_handler_type): New enum.
15274 (__run_fork_handlers): New prototype.
15275 * nptl/register-atfork.c: Remove file.
15276 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15278 * sysdeps/nptl/nptl-signals.h: Move to ...
15279 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15281 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15282 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15283 unnecessary check for SIGTIMER.
15284 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15285 remove unnecessary removal of SIGTIMER.
15286 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15287 include-signals.h rename.
15288 * nptl/pthreadP.h: Likewise.
15289 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15290 __is_internal_signal instead of __nptl_is_internal_signal.
15292 2018-02-22 Andrew Waterman <andrew@sifive.com>
15295 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15296 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15297 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15298 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15300 2018-02-22 DJ Delorie <dj@delorie.com>
15302 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15304 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15306 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15307 do_misaligned, not misaligned8.
15309 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15311 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15312 Add memcpy_thunderx2.
15313 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15315 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15316 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15317 and IS_THUNDERX2PA checks.
15318 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15319 Use macro to set name appropriately.
15320 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15321 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15322 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15324 (IS_THUNDERX2): New macro.
15326 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15328 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15330 2018-02-21 Zack Weinberg <zackw@panix.com>
15332 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15333 Define here, unconditionally.
15334 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15335 * libio/libioP.h: Remove #if 0 blocks.
15336 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15337 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15338 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15340 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15341 Assume weak_alias is always defined.
15343 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15344 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15345 Remove #if 0 and #ifdef TODO blocks.
15346 Assume text_set_element is always defined.
15348 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15349 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15350 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15352 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15353 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15354 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15355 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15356 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15357 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15358 Reformat bit flags for _flags field to make occupancy clearer.
15360 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15361 Keep definitions consistent with those in libio/libio.h.
15363 * libio/libio.h (_IO_file_flags): Remove macro.
15364 All uses changed to _flags.
15366 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15367 (__HAVE_COLUMN, _IO_BE): Don't define.
15368 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15369 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15370 * libio/libioP.h (EOF): Don't define.
15371 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15372 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15373 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15374 testing _IO_UNIFIED_JUMPTABLES.
15376 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15377 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15378 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15379 (_IO_size_t): Delete; all uses changed to size_t.
15380 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15381 (_IO_off_t): Delete; all uses changed to off_t.
15382 (_IO_off64_t): Delete; all uses changed to off64_t.
15383 (_IO_pid_t): Delete; all uses changed to pid_t.
15384 (_IO_uid_t): Delete; all uses changed to uid_t.
15385 (_IO_wint_t): Delete; all uses changed to wint_t.
15386 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15387 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15388 (_IO_cookie_io_functions_t): Delete; all uses changed to
15389 cookie_io_functions_t.
15390 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15391 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15392 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15393 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15395 * libio/iofopncook.c: Remove unnecessary forward declarations.
15396 * libio/iolibio.h: Correct outdated commentary.
15397 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15398 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15399 Remove unnecessary casts.
15400 * stdio-common/getline.c: Use _IO_getdelim directly.
15401 Don't redefine ssize_t.
15402 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15403 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15404 Remove outdated comments.
15405 * stdio-common/vfscanf.c: Don't redefine va_list.
15407 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15408 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15409 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15410 which are always true, and __cplusplus, which is always false.
15412 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15416 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15417 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15418 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15419 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15421 [!_ISOMAC] (putc_unlocked): Likewise.
15422 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15423 define inline if [__USE_EXTERN_INLINES].
15424 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15429 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15430 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15431 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15432 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15433 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15435 * time/tzfile.c (__tzfile_read): Likewise.
15437 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15440 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15442 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15444 * io/fcntl.h: Fix a typo in a comment.
15446 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15449 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15450 define _DEFAULT_SOURCE.
15451 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15453 2018-02-21 Florian Weimer <fweimer@redhat.com>
15456 * elf/cache.c (save_cache): Call fsync on temporary file before
15458 (save_aux_cache): Call fdatasync on temporary file before renaming
15461 2018-02-21 Florian Weimer <fweimer@redhat.com>
15464 * include/caller.h: Remove file.
15465 * elf/dl-caller.c: Likewise.
15466 * elf/Makefile (dl-routines): Remove dl-caller.
15467 (shared-only-routines): Do not add dl-caller.
15468 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15470 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15472 (dl_open_worker): Do not call __check_caller.
15473 (_dl_open): Do not set caller_dl_open member.
15474 * elf/rtld.c (_rtld_global_ro): Do not initialize
15475 _dl_check_caller member.
15476 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15477 _dl_check_caller member.
15478 (_dl_check_caller): Remove declaration.
15479 * sysdeps/unix/sysv/linux/dl-execstack.c
15480 (_dl_make_stack_executable): Do not call __check_caller.
15482 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15484 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15485 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15487 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15489 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15492 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15495 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15496 of 199606L, 200112L, and 200809L.
15497 (_XOPEN_SOURCE): Document special values of 600 and 700.
15498 (_ISOC11_SOURCE): Document macro.
15499 (_ATFILE_SOURCE): Likewise.
15500 (_FORTIFY_SOURCE): Likewise.
15502 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15506 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15507 and define as weak alias of __ferror_unlocked. Use
15509 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15511 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15512 function if [__USE_EXTERN_INLINES].
15513 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15516 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15519 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15521 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15524 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15525 the GLIBC_2.1 version.
15527 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15530 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15531 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15532 intl/tst-gettext-de.po from po/de.po by removing the
15533 POT-Creation-Date line.
15534 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15536 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15539 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15541 * mach/Makefile (headers): Add mach/param.h.
15542 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15543 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15544 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15545 (__ptsname_r): Move implementation to...
15546 (__ptsname_internal): ... new function. Add filling the STP
15549 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15551 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15554 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15556 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15559 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15561 * nptl/Makefile (tst-mutex8-ENV): Delete.
15562 * nptl/tst-mutex8.c (check_type):
15563 Add runtime check if mutex will be elided.
15565 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15569 * manual/install.texi (Configuring and compiling): Describe
15570 passing CC and CFLAGS on configure command line, not as
15571 environment variables. Use @code markup on those variables.
15572 Specify what options go in CC and what go in CFLAGS. Note the
15573 requirement to compile with optimization.
15574 * INSTALL: Regenerated.
15577 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15578 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15579 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15580 __sigprocmask instead of sigprocmask.
15581 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15583 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15584 __sigsetjmp and sigprocmask.
15587 * include/argz.h (argz_next): Use libc_hidden_proto.
15588 (__argz_next): Likewise.
15589 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15590 (argz_next): Use libc_hidden_weak.
15593 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15595 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15599 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15601 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15605 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15606 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15607 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15608 (__feof_unlocked): New declaration, and inline function if
15609 [__USE_EXTERN_INLINES].
15610 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15611 instead of feof_unlocked.
15612 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15613 * nss/nsswitch.c (nss_parse_file): Likewise.
15614 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15616 * time/getdate.c (__getdate_r): Likewise.
15617 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15618 Define as macro to call __feof_unlocked.
15620 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15622 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15624 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15626 * math/Makefile: Remove mpexp.c and mplog.c
15627 * sysdeps/i386/fpu/mpexp.c: Delete file.
15628 * sysdeps/i386/fpu/mplog.c: Likewise.
15629 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15630 * sysdeps/ia64/fpu/mplog.c: Likewise.
15631 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15632 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15633 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15634 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15635 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15636 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15637 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15638 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15639 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15640 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15641 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15642 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15643 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15644 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15645 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15646 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15648 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15650 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15652 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15654 * sysdeps/sh/libm-test-ulps: Update.
15656 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15658 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15661 2018-02-12 Zack Weinberg <zackw@panix.com>
15664 * posix/sys/types.h: Don't include sys/sysmacros.h.
15665 * misc/sys/sysmacros.h: Remove the conditional deprecation
15666 warnings for the macros defined by this header.
15668 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15670 * manual/probes.texi: Remove slowexp probes.
15671 * math/Makefile: Remove slowexp.
15672 * sysdeps/generic/math_private.h (__slowexp): Remove.
15673 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15674 document error bounds.
15675 * sysdeps/i386/fpu/slowexp.c: Remove.
15676 * sysdeps/ia64/fpu/slowexp.c: Remove.
15677 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15678 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15679 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15680 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15681 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15682 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15683 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15684 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15685 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15686 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15687 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15689 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15692 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15693 * benchtests/pow-inputs: Update comment for slow path cases.
15694 * manual/probes.texi (slowpow_p10): Delete removed probe.
15695 (slowpow_p10): Likewise.
15696 * math/Makefile: Remove halfulp.c and slowpow.c.
15697 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15698 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15699 (__halfulp): Remove.
15700 (__slowpow): Remove.
15701 * sysdeps/i386/fpu/halfulp.c: Delete file.
15702 * sysdeps/i386/fpu/slowpow.c: Likewise.
15703 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15704 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15705 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15706 improve comments and add error analysis.
15707 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15708 (power1): Remove function:
15709 (log1): Remove error argument, add error analysis.
15710 (my_log2): Remove function.
15711 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15712 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15713 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15714 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15715 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15716 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15717 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15718 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15719 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15720 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15721 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15722 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15723 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15724 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15726 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15728 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15729 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15731 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15734 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15735 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15736 and PTRACE_SETHBPREGS.
15738 2018-02-10 Zack Weinberg <zackw@panix.com>
15741 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15743 * malloc/tst-malloc-stats-cancellation.c: New test case.
15744 * malloc/Makefile: Add new test case.
15746 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15748 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15750 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15752 * math/Makefile (libm-narrow-fns): Add add.
15753 (libm-test-funcs-narrow): Likewise.
15754 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15755 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15756 * math/gen-auto-libm-tests.c (test_functions): Add add.
15757 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15758 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15759 (NARROW_ADD_TRIVIAL): Likewise.
15760 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15762 (__daddl): Likewise.
15763 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15765 (CFLAGS-nldbl-dadd.c): New variable.
15766 (CFLAGS-nldbl-fadd.c): Likewise.
15767 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15769 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15771 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15772 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15773 * math/auto-libm-test-in: Add tests of add.
15774 * math/auto-libm-test-out-narrow-add: New generated file.
15775 * math/libm-test-narrow-add.inc: New file.
15776 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15777 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15778 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15779 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15780 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15781 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15782 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15784 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15786 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15787 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15788 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15789 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15790 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15791 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15792 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15793 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15795 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15796 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15797 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15798 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15799 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15800 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15801 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15802 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15803 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15804 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15805 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15806 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15807 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15812 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15813 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15814 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15815 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15816 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15817 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15818 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15819 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15820 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15821 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15823 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15824 (f128-pairs): New variable.
15825 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15826 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15828 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15829 Also make tests add $(f128-loader-link) to gnulib-tests.
15831 2018-02-09 DJ Delorie <dj@redhat.com>
15834 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15835 64-bit ELF type for 64-bit ELF objects.
15837 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15839 * math/libm-test-driver.c (snan_tests_arg): New variable.
15840 * math/libm-test-support.h (snan_tests_arg): New declaration.
15841 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15843 * math/Makefile (test-type-pairs): New variable.
15844 (test-type-pairs-f64xf128-yes): Likewise.
15845 (tests): Add test-narrow-macros.
15846 (libm-test-funcs-narrow): New variable.
15847 (libm-test-c-narrow): Likewise.
15848 (generated): Add $(libm-test-c-narrow).
15849 (libm-tests-base-narrow): New variable.
15850 (libm-tests-narrow): Likewise.
15851 (libm-tests): Add $(libm-tests-narrow).
15852 (libm-tests-for-type): Handle $(libm-tests-narrow).
15853 (libm-test-c-narrow-obj): New variable.
15854 ($(libm-test-c-narrow-obj)): New rule.
15855 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15856 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15857 $(o-iterator) to set dependencies and CFLAGS.
15858 * math/gen-auto-libm-tests.c: Document use for narrowing
15860 (output_for_one_input_case): Take argument NARROW.
15861 (generate_output): Likewise. Update call to
15862 output_for_one_input_case.
15863 (main): Take --narrow option. Update call to generate_output.
15864 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15865 (apply_lit): Update call to _apply_lit.
15866 (apply_arglit): New function.
15867 (parse_args): Handle "a" arguments.
15868 (parse_auto_input): Handle format names using ":".
15869 * math/README.libm-test: Document "a" parameter type.
15870 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15871 (ARG_TYPE_TRUE_MIN): Likewise.
15872 (ARG_TYPE_MAX): Likwise.
15873 (ARG_MIN_EXP): Likewise.
15874 (ARG_MAX_EXP): Likewise.
15875 (ARG_MANT_DIG): Likewise.
15876 (TEST_COND_arg_ibm128): Likewise.
15877 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15878 (TEST_COND_arg_fmt): New macro.
15879 (init_max_error): Update prototype.
15880 * math/libm-test-support.c (test_ibm128): New variable.
15881 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15882 instead of using [TEST_COND_ibm128] conditional.
15883 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15884 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15885 [TEST_NARROW] (TEST_MSG): New definition.
15886 (arg_plus_zero): New macro.
15887 (arg_minus_zero): Likewise.
15888 (arg_plus_infty): Likewise.
15889 (arg_minus_infty): Likewise.
15890 (arg_qnan_value_pl): Likewise.
15891 (arg_qnan_value): Likewise.
15892 (arg_snan_value_pl): Likewise.
15893 (arg_snan_value): Likewise.
15894 (arg_max_value): Likewise.
15895 (arg_min_value): Likewise.
15896 (arg_min_subnorm_value): Likewise.
15897 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15898 (RUN_TEST_LOOP_aa_f): New macro.
15899 (TEST_SUFF): New macro.
15900 (TEST_SUFF_STR): Likewise.
15901 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15902 (TEST_COND_any_ibm128): New macro.
15903 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15904 this_func. Update call to init_max_error.
15905 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15906 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15907 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15908 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15909 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15910 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15911 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15912 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15913 * math/test-math-vector.h (TEST_NARROW): Likewise.
15914 * math/test-arg-double.h: New file.
15915 * math/test-arg-float128.h: Likewise.
15916 * math/test-arg-float32x.h: Likewise.
15917 * math/test-arg-float64.h: Likewise.
15918 * math/test-arg-float64x.h: Likewise.
15919 * math/test-arg-ldouble.h: Likewise.
15920 * math/test-math-narrow.h: Likewise.
15921 * math/test-narrow-macros.c: Likewise.
15922 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15923 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15924 test-narrow-macros-ldbl-64.
15925 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15927 * math/bits/mathcalls-narrow.h: New file.
15928 * include/bits/mathcalls-narrow.h: Likewise.
15929 * math/math-narrow.h: Likewise.
15930 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15931 (__MATHCALL_NARROW_ARGS_2): Likewise.
15932 (__MATHCALL_NARROW_ARGS_3): Likewise.
15933 (__MATHCALL_NARROW_NORMAL): Likewise.
15934 (__MATHCALL_NARROW_REDIR): Likewise.
15935 (__MATHCALL_NARROW): Likewise.
15936 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15937 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15939 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15940 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15941 (libm-narrow-fns): New variable.
15942 (libm-narrow-types-basic): Likewise.
15943 (libm-narrow-types-ldouble-yes): Likewise.
15944 (libm-narrow-types-float128-yes): Likewise.
15945 (libm-narrow-types-float128-alias-yes): Likewise.
15946 (libm-narrow-types): Likewise.
15947 (libm-routines): Add narrowing functions.
15948 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15949 (libc_feholdexcept_setroundf128): New macro.
15950 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15951 * sysdeps/ieee754/float128/float128_private.h: Include
15952 <math/math-narrow.h>.
15953 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15954 Undefine and redefine.
15955 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15956 (libm_alias_float_ldouble): Undefine and redefine.
15957 (libm_alias_double_ldouble): Likewise.
15959 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15961 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15963 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15966 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15968 * manual/creature.texi: Convert references to gcc.info to gcc.
15969 * manual/stdio.texi: Likewise.
15970 * manual/string.texi: Likewise.
15972 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15975 * posix/bits/types.h (__int_least8_t): New typedef.
15976 (__uint_least8_t): Likewise.
15977 (__int_least16_t): Likewise.
15978 (__uint_least16_t): Likewise.
15979 (__int_least32_t): Likewise.
15980 (__uint_least32_t): Likewise.
15981 (__int_least64_t): Likewise.
15982 (__uint_least64_t): Likewise.
15983 * sysdeps/generic/stdint.h (int_least8_t): Define using
15985 (int_least16_t): Define using __int_least16_t.
15986 (int_least32_t): Define using __int_least32_t.
15987 (int_least64_t): Define using __int_least64_t.
15988 (uint_least8_t): Define using __uint_least8_t.
15989 (uint_least16_t): Define using __uint_least16_t.
15990 (uint_least32_t): Define using __uint_least32_t.
15991 (uint_least64_t): Define using __uint_least64_t.
15992 * wcsmbs/uchar.h: Include <bits/types.h>.
15993 (char16_t): Define using __uint_least16_t conditional only on
15995 (char32_t): Define using __uint_least32_t conditional only on
15997 * wcsmbs/test-char-types.c: New file.
15998 * wcsmbs/Makefile (tests): Add test-char-types.
16000 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16003 2018-02-07 Zack Weinberg <zackw@panix.com>
16005 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16006 Delete all contents except for definitions of _G_HAVE_MMAP and
16007 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16008 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16009 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16012 * libio/libio.h: Don't include bits/_G_config.h here.
16013 Include stddef.h with __need_wchar_t defined. Include
16014 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16015 Define _IO_iconv_t here, directly.
16016 Don't define _IO_HAVE_ST_BLKSIZE.
16017 * libio/libioP.h: Include _G_config.h here. Move include of
16018 shlib-compat.h up with rest of includes. Simplify conditionals
16019 controlling definition of _IO_JUMPS_OFFSET.
16021 * csu/init.c: Remove always-true #if around entire file.
16022 Don't include stdio.h. Set _IO_stdin_used to hardwired
16023 constant 0x20001, and update commentary.
16024 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16025 Replace all uses of _G_va_list with __gnuc_va_list.
16026 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16027 instead of #if _IO_HAVE_ST_BLKSIZE.
16028 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16029 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16032 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16033 multiple-include guard to match.
16034 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16036 Remove preprocessor conditionals that are always true and/or
16037 redundant to other preprocessor conditionals in the same nest.
16038 Include shlib-compat.h unconditionally.
16039 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16040 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16041 defined after including stdio.h.
16042 Use __BEGIN_DECLS/__END_DECLS.
16044 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16045 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16046 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16048 2018-02-07 Zack Weinberg <zackw@panix.com>
16050 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16051 New single-type headers split from _G_config.h.
16052 * libio/bits/types/cookie_io_functions_t.h
16053 * libio/bits/types/struct_FILE.h
16054 New single-type headers split from libio.h.
16056 * libio/Makefile: Install the above new headers. Don't install
16057 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16059 * libio/_G_config.h, libio/libio.h: Delete file.
16061 * libio/bits/libio.h: Remove improper-inclusion guard.
16062 Include stdio.h and don't repeat anything that it does.
16063 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16064 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16065 __io_read_fn as cookie_read_function_t,
16066 __io_write_fn as cookie_write_function_t,
16067 __io_seek_fn as cookie_seek_function_t,
16068 __io_close_fn as cookie_close_function_t,
16069 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16070 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16071 here, in the "compatibility defines" section. Remove an #if 0
16072 block. Use the "body" macros from bits/types/struct_FILE.h to
16073 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16074 and _IO_ferror_unlocked.
16075 Move prototypes of __uflow and __overflow...
16077 * libio/stdio.h: ...here. Don't include bits/libio.h.
16078 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16079 directly from stdarg.h. Include bits/types/__fpos_t.h,
16080 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16081 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16082 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16083 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16084 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16085 __ssize_t, not _IO_ssize_t. Unconditionally define
16086 BUFSIZ as 8192 and EOF as (-1).
16088 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16089 macros from bits/types/struct_FILE.h instead of _IO_* macros
16090 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16091 instead of _IO_ssize_t.
16092 * libio/bits/stdio2.h: Similarly.
16094 * libio/iolibio.h: Add multiple-include guard.
16095 Include bits/libio.h after stdio.h.
16096 * libio/libioP.h: Add multiple-include guard.
16097 Include stdio.h and bits/libio.h before iolibio.h.
16099 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16100 * include/bits/types/cookie_io_functions_t.h
16101 * include/bits/types/struct_FILE.h: New wrappers.
16103 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16104 Get definitions of _G_fpos_t and _G_fpos64_t from
16105 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16106 respectively. Remove improper-inclusion guards.
16108 * conform/data/stdio.h-data: Update expectations of va_list.
16109 * scripts/check-installed-headers.sh: Remove special case for
16110 libio.h and _G_config.h.
16112 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16116 * include/sys/sysmacros.h [!_ISOMAC]
16117 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16118 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16119 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16120 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16122 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16123 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16125 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16126 Undefine and redefine to add use __gnu_dev_ prefix.
16127 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16129 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16130 and define as hidden inline function.
16131 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16133 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16135 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16136 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16137 (gnu_dev_minor): Likewise.
16138 (gnu_dev_makedev): Likewise.
16139 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16141 * posix/wordexp.c (exec_comm_child): Likewise.
16142 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16143 instead of minor and __gnu_dev_major instead of major.
16144 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16145 __gnu_dev_major instead of major.
16146 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16147 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16148 instead of gnu_dev_minor.
16149 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16150 (SLAVE_P): Likewise.
16151 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16152 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16156 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16158 * locale/weightwc.h (findidx): Likewise.
16160 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16162 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16163 (slowlog_inexact): Likewise
16164 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16165 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16167 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16170 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16171 missing second underscore to parameter name.
16173 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16179 * bits/byteswap.h: Update file comment. Do not include
16180 <bits/byteswap-16.h>.
16181 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16183 (__bswap_16): Define as inline function.
16184 (__bswap_constant_32): Reformat definition.
16185 (__bswap_32): Always define as inline function, not macro, using
16186 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16187 otherwise __bswap_constant_32.
16188 (__bswap_constant_64): Reformat definition. Do not use
16189 __extension__ here.
16190 (__bswap_64): Always define as inline function, not macro. Use
16191 __extension__ on function definition. Use __builtin_bswap64 if
16192 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16193 * string/test-endian-file-scope.c: New file.
16194 * string/test-endian-sign-conversion.c: Likewise.
16195 * string/Makefile (headers): Remove bits/byteswap-16.h.
16196 (tests): Add test-endian-file-scope and
16197 test-endian-sign-conversion.
16198 (CFLAGS-test-endian-sign-conversion.c): New variable.
16199 * bits/byteswap-16.h: Remove file.
16200 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16201 * sysdeps/ia64/bits/byteswap.h: Likewise.
16202 * sysdeps/m68k/bits/byteswap.h: Likewise.
16203 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16204 * sysdeps/s390/bits/byteswap.h: Likewise.
16205 * sysdeps/tile/bits/byteswap.h: Likewise.
16206 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16207 * sysdeps/x86/bits/byteswap.h: Likewise.
16210 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16211 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16212 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16213 199901L] (__restrict): Define to restrict.
16216 * string/testcopy.c: Include <support/support.h>. Do not include
16217 <malloc.h>. Use <support/test-driver.c>.
16218 (main): Rename to do_test. Make static. Use xmalloc instead of
16222 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16223 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16224 (SSIZE_MAX): Define to INT_MAX.
16225 * posix/test-ssize-max.c: New file.
16226 * posix/Makefile (tests): Add test-ssize-max.
16229 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16230 <support/support.h>. Do not include <malloc.h>.
16231 (query_auxv): Use xmalloc instead of malloc.
16234 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16235 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16238 2018-02-06 Florian Weimer <fweimer@redhat.com>
16241 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16242 Use scratch_buffer instead of extend_alloca.
16244 2018-02-06 Zack Weinberg <zackw@panix.com>
16246 * libio/stdio.h: Don't define getc or putc as macros.
16247 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16248 not _IO_getc and _IO_putc.
16250 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16251 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16253 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16255 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16256 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16258 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16261 * elf/elf.h (NT_PRFPREG): New macro.
16262 (NT_S390_VXRS_LOW): Likewise.
16263 (NT_S390_VXRS_HIGH): Likewise.
16264 (NT_S390_GS_CB): Likewise.
16265 (NT_S390_GS_BC): Likewise.
16266 (NT_S390_RI_CB): Likewise.
16268 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16269 (MAP_SYNC): New macro.
16270 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16272 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16273 (MAP_SYNC): Likewise.
16274 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16275 (MAP_SYNC): Likewise.
16276 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16277 (MAP_SYNC): Likewise.
16278 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16279 (MAP_SYNC): Likewise.
16280 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16281 (MAP_SYNC): Likewise.
16282 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16283 (MAP_SYNC): Likewise.
16284 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16286 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16289 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16290 (MAP_SHARED_VALIDATE): New macro.
16291 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16292 (MAP_SHARED_VALIDATE): Likewise.
16294 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16296 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16297 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16298 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16300 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16302 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16303 (DT_NUM): Updated to 35.
16305 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16307 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16308 __builtin_expect with __glibc_likely and __glibc_unlikely.
16309 (elf_machine_rela): Likewise.
16310 (elf_machine_lazy_rel): Likewise.
16312 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16314 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16315 __builtin_expect with __glibc_likely and __glibc_unlikely.
16316 (elf_machine_lazy_rel): Likewise.
16318 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16321 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16323 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16325 2018-02-05 Andreas Schwab <schwab@suse.de>
16328 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16331 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16333 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16334 not check against PTHREAD_STACK_MIN.
16336 2018-02-02 Sean McKean <smckean83@gmail.com>
16339 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16341 2018-02-02 Florian Weimer <fweimer@redhat.com>
16344 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16345 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16346 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16347 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16348 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16349 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16350 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16351 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16352 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16353 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16354 * misc/tst-preadvwritev2.c (do_test): Call it.
16355 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16357 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16359 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16361 * benchtests/bench-memcmp.c: Print json instead of plain text.
16363 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16366 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16368 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16370 (s390_sthyi): New syscall.
16372 * sysdeps/generic/ldbl-classify-compat.h: New file.
16373 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16374 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16375 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16376 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16377 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16378 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16379 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16380 <ldbl-classify-compat.h>.
16381 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16382 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16383 <ldbl-classify-compat.h>.
16384 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16385 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16386 <ldbl-classify-compat.h>.
16387 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16388 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16389 <ldbl-classify-compat.h>.
16390 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16392 <ldbl-classify-compat.h>.
16393 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16395 <ldbl-classify-compat.h>.
16396 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16397 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16398 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16399 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16400 * sysdeps/microblaze/math_private.h: Likewise.
16401 * sysdeps/nios2/math_private.h: Likewise.
16402 * sysdeps/sh/math_private.h: Likewise.
16404 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16405 * sysdeps/m68k/coldfire/math_private.h: ... here.
16406 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16407 * sysdeps/tile/math_private.h: Likewise.
16408 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16410 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16413 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16415 (libc_fetestexcept): Likewise.
16416 (libc_feupdateenv_test): Likewise.
16417 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16418 (libc_fetestexcept): Likewise.
16419 (libc_feupdateenv_test): Likewise.
16420 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16421 (libc_fetestexcept): Likewise.
16422 (libc_feupdateenv_test): Likewise.
16423 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16424 (libc_fetestexcept): Likewise.
16425 (libc_feupdateenv_test): Likewise.
16427 * sysdeps/generic/math_private.h
16428 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16429 New inline function.
16430 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16433 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16434 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16435 * sysdeps/generic/math_private.h
16436 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16438 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16440 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16442 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16444 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16446 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16448 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16449 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16450 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16451 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16452 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16453 (__fegetenv): Likewise.
16454 (fesetenv): Likewise.
16455 (__fesetenv): Likewise.
16456 (feupdateenv): Likewise.
16457 (__feupdateenv): Likewise.
16458 (fegetround): Likewise.
16459 (__fegetround): Likewise.
16460 (fesetround): Likewise.
16461 (__fesetround): Likewise.
16463 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16464 (feraiseexcept): New macro.
16465 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16466 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16468 (__feraiseexcept): Likewise.
16469 (feclearexcept): Likewise.
16470 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16471 (__feraiseexcept): Likewise.
16472 (feclearexcept): Likewise.
16473 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16474 (__feraiseexcept): Likewise.
16475 (feclearexcept): Likewise.
16476 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16477 (__feraiseexcept): Likewise.
16478 (feclearexcept): Likewise.
16479 (fetestexcept): Likewise.
16481 * sysdeps/m68k/coldfire/math-tests.h: New file.
16483 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16484 * sysdeps/m68k/bits/fenv.h: ... here.
16485 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16487 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16489 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16491 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16493 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16495 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16497 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16498 (__FE_UNDEFINED): New enum constant.
16499 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16501 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16503 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16505 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16506 to match generic bits/fenv.h.
16507 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16510 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16512 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16513 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16514 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16515 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16517 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16518 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16519 Joseph Myers <joseph@codesourcery.com>
16522 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16523 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16524 computation using c.
16525 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16526 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16527 computation using c.
16529 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16531 * version.h (RELEASE): Set to "development".
16532 (VERSION): Set to "2.27.9000".
16533 * NEWS (2.28): New section.
16535 * version.h (RELEASE): Set to "stable".
16536 (VERSION): Set to "2.27".
16537 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16539 * NEWS: Add the list of bugs fixed in 2.27.
16541 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16543 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16544 against PTHREAD_STACK_MIN.
16546 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16548 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16550 (Rafal Luzynski, Andreas Schwab): Update.
16552 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16555 * NEWS: List the languages which actually use the alternative
16556 months feature in this release. Also explain that "alt_mon" and
16557 "ab_alt_mon" are optional.
16559 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16562 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16564 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16566 * manual/install.texi (Tools for Compilation): Update the newest
16567 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16568 * INSTALL: Regenerated.
16570 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16572 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16573 instead of __builtin_expect.
16575 2018-01-30 Florian Weimer <fweimer@redhat.com>
16577 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16579 * nss/tst-nss-getpwent.c (do_test): Likewise.
16581 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16584 * localedata/locales/hr_HR (mon): Rename to...
16586 (mon): Import from CLDR (genitive case).
16587 (d_t_fmt): Update the comment.
16589 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16591 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16592 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16593 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16595 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16597 * mach/Versions: Fix version when __mach_host_self_ was added.
16598 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16599 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16600 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16601 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16602 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16603 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16604 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16605 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16606 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16607 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16608 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16609 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
16610 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16611 || to respect codestyle.
16612 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16613 (do_test_bz20181): Rename accordingly.
16614 * malloc/malloc.c: Include <assert.h>.
16615 (assert): Do not define.
16616 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
16617 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16618 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16619 * sysdeps/mach/hurd/hp-timing.h: New file.
16620 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16622 2018-01-29 Darius Rad <darius@bluespec.com>
16624 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16626 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16628 * sysdeps/init_array/crti.S (.section .init_array): Add
16629 PREINIT_FUNCTION when defined.
16630 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16631 * config.h.in: Regenerate.
16632 * manual/platform.texi: Add RISC-V documenation for
16633 __riscv_flush_icache.
16634 * sysdeps/riscv/__longjmp.S: New file.
16635 * sysdeps/riscv/backtrace.c: Likewise.
16636 * sysdeps/riscv/bits/endian.h: Likewise.
16637 * sysdeps/riscv/bits/setjmp.h: Likewise.
16638 * sysdeps/riscv/bits/wordsize.h: Likewise.
16639 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16640 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16641 * sysdeps/riscv/dl-trampoline.S: Likewise.
16642 * sysdeps/riscv/gccframe.h: Likewise.
16643 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16644 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16645 * sysdeps/riscv/machine-gmon.h: Likewise.
16646 * sysdeps/riscv/memusage.h: Likewise.
16647 * sysdeps/riscv/setjmp.S: Likewise.
16648 * sysdeps/riscv/sys/asm.h: Likewise.
16649 * sysdeps/riscv/tls-macros.h: Likewise.
16650 * sysdeps/riscv/dl-tls.h: New file.
16651 * sysdeps/riscv/libc-tls.c: Likewise.
16652 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16653 * sysdeps/riscv/nptl/tls.h: Likewise.
16654 * sysdeps/riscv/stackinfo.h: Likewise.
16655 * sysdeps/riscv/bits/fenv.h: New file.
16656 * sysdeps/riscv/e_sqrtl.c: Likewise.
16657 * sysdeps/riscv/fpu_control.h: Likewise.
16658 * sysdeps/riscv/math-tests.h: Likewise.
16659 * sysdeps/riscv/nofpu/Implies: Likewise.
16660 * sysdeps/riscv/sfp-machine.h: Likewise.
16661 * sysdeps/riscv/tininess.h: Likewise.
16662 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16663 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16664 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16665 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16666 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16667 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16668 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16669 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16670 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16671 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16672 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16673 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16674 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16675 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16676 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16677 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16678 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16679 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16680 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16681 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16682 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16683 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16684 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16685 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16686 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16687 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16688 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16689 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16690 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16691 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16692 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16693 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16694 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16695 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16696 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16697 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16698 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16699 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16700 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16701 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16702 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16703 * sysdeps/riscv/rvf/math_private.h: Likewise.
16704 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16705 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16706 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16707 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16708 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16709 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16710 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16711 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16712 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16713 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16714 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16715 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16716 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16717 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16718 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16719 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16720 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16721 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16722 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16723 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16724 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16725 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16726 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16727 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16728 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16729 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16730 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16731 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16732 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16733 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16734 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16735 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16736 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16737 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16738 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16739 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16740 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16741 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16742 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16743 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16744 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16745 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16746 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16747 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16748 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16749 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16750 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16751 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16752 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16753 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16754 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16755 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16756 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16757 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16758 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16759 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16760 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16761 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16762 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16763 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16764 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16765 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16766 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16767 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16768 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16769 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16770 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16771 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16772 * sysdeps/riscv/Implies: New file.
16773 * sysdeps/riscv/Makefile: Likewise.
16774 * sysdeps/riscv/configure: Likewise.
16775 * sysdeps/riscv/configure.ac: Likewise.
16776 * sysdeps/riscv/nptl/Makefile: Likewise.
16777 * sysdeps/riscv/preconfigure: Likewise.
16778 * sysdeps/riscv/rv64/Implies-after: Likewise.
16779 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16780 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16781 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16782 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16783 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16784 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16785 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16786 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16787 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16788 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16789 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16790 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16791 (Config): Likewise.
16793 2018-01-29 Florian Weimer <fweimer@redhat.com>
16796 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16797 libnsl_hidden_proto.
16798 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16799 libnsl_hidden_proto.
16800 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16801 * nis/Makefile (libnsl-routines): Add nss-default only for
16802 build-obsolete-nsl.
16803 * nis/nis_defaults.c (__nis_default_ttl): Add
16804 libnsl_hidden_nolink_def.
16805 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16807 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16808 * nis/ypclnt.c (yp_maplist): Likewise.
16810 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16812 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16813 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16815 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16817 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16818 clean -dxfq for git updates when replacing sources.
16820 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16821 --disable-libcilkrts unconditionally, not just for the final GCC
16824 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16827 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16830 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16833 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16836 * localedata/locales/be_BY (mon): Rename to...
16837 (alt_mon): This, then synchronize with CLDR (nominative case).
16838 (abmon): Rename to...
16839 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16840 (mon): Import from CLDR (genitive case).
16842 * localedata/locales/be_BY@latin (mon): Rename to...
16844 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16846 * localedata/locales/be_BY@latin (lang_name): Reworded to
16847 "biełaruskaja mova".
16849 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16852 * localedata/locales/el_CY (mon): Renamed to...
16854 (mon): Import from CLDR (genitive case).
16855 * localedata/locales/el_GR: Likewise.
16857 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16860 * localedata/locales/ru_RU (mon): Rename to...
16862 (abmon): Rename to...
16863 (ab_alt_mon): This.
16864 (mon): Import from CLDR (genitive case).
16865 (abmon): Copy from the old content except the 5th month which is
16866 now in the genitive case, even when abbreviated.
16867 * localedata/locales/ru_UA: Likewise.
16868 * time/tst-strptime.c (day_tests): Add an actual example of
16869 a difference between %b and %Ob in Russian.
16871 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16873 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16874 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16876 * resolv/res-close.c: Include <stdlib.h>.
16877 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16878 <sys/wait.h>, <time.h>, <sys/uio.h>.
16879 (NOT_CANCEL_H): Add inclusion guard.
16880 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16881 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16882 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16884 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16885 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16886 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16888 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16889 timer_ptr2id to cast struct timer_node * to void *.
16890 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16891 --disable-libcilkrts to gcc configure.
16892 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16893 and make them the default for now.
16894 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16895 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16896 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16897 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16898 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16900 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16901 __task_terminate would ever return successfully.
16902 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16904 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16905 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16906 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16907 critical section to make code simpler and avoid warning.
16908 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16909 critical section to make code simpler and avoid warning.
16910 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16911 const char * instead of char *.
16912 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16913 __hurd_file_name_split, hurd_file_name_split,
16914 __hurd_directory_name_split, hurd_directory_name_split,
16915 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16916 hurd_file_name_path_lookup): Make lookup function parameter take a
16917 const char *name instead of char *name.
16918 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16919 __hurd_directory_name_split): Likewise.
16920 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16921 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16922 * sysdeps/mach/hurd/check_native.c: New file.
16923 * sysdeps/mach/hurd/check_pf.c: New file.
16924 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16925 (__freeifaddrs): Define macro to freeifaddrs.
16926 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16927 * sysdeps/mach/libmachuser.abilist: New file.
16928 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16929 (do_test_bz20181): Rename accordingly.
16930 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16931 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16933 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16934 version only if __USE_EXTERN_INLINES is defined.
16935 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16936 __hurd_sockfail): Likewise.
16937 (_hurd_fd_get): Always declare functions, and provide inline versions
16938 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16939 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16940 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16941 _hurd_port_set): Always declare functions, and provide inline versions
16942 only if __USE_EXTERN_INLINES and _LIBC are defined and
16944 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16945 _hurd_critical_section_unlock): Likewise.
16946 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16947 * __hurd_threadvar_location): Likewise.
16948 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16949 _hurd_userlink_clear): Likewise.
16950 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16951 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16952 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16953 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16954 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16955 __spin_lock_locked): Likewise.
16956 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16957 __spin_lock_locked): Likewise.
16958 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16959 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16960 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16961 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16962 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16963 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16964 _POSIX_NO_TRUNC): Define to 0.
16965 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16966 check size against PTHREAD_STACK_MIN.
16967 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16968 IS_IN(libpthread)]: Include <sigsetops.h>.
16969 * mach/Makefile (user-interfaces): Add mach/gnumach.
16970 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16971 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16972 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16973 instead of invalid -1.
16974 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16975 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16976 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16979 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16981 * hurd/fcntl-internal.h: New file.
16983 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16985 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16987 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16989 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16992 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16993 Build only shared objects.
16995 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16997 * README: Update for hppa.
16999 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17001 * sysdeps/sparc/fpu/libm-test-ulps: Update
17002 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17004 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17008 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17011 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17012 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17013 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17014 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17017 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17020 * bits/types/__cancel_jmp_buf_tag.h: New file.
17021 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17022 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17023 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17024 * nptl/Makefile (headers): Add
17025 bits/types/__cancel_jmp_buf_tag.h.
17026 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17027 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17028 * sysdeps/nptl/pthread.h: Include
17029 <bits/types/__cancel_jmp_buf_tag.h>.
17030 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17032 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17034 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17037 * localedata/locales/uk_UA (mon): Renamed to...
17039 (alt_digits): "0" removed and then renamed to...
17041 (date_fmt): Definition changed not to use the alternative
17044 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17046 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17047 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17048 * elf/elf.h (EF_RISCV_RVC): New define.
17049 (EF_RISCV_FLOAT_ABI): Likewise.
17050 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17051 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17052 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17053 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17054 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17056 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17058 2018-01-25 Andreas Schwab <schwab@suse.de>
17060 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17062 * sysdeps/gnu/configure: Regenerate.
17063 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17064 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17066 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17067 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17068 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17069 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17070 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17072 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17074 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17075 URL, and run autoconf, make it the default for now.
17077 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17079 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17080 soft-float ColdFire configuration.
17082 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17083 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17084 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17086 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17089 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17091 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17093 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17096 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17097 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17098 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17101 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17104 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17105 Rename to __reserved and add comment.
17106 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17107 Rename to __reserved.
17109 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17111 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17112 i686-gnu configurations.
17113 (Context.run_builds): Include mig, gnumach and hurd in components
17115 (Context.checkout): Add mig, gnumach and hurd to components.
17116 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17118 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17119 (Config.build): Install gnumach headers, build mig and install
17120 hurd headers for 'gnu' OS.
17121 (Config.install_gnumach_headers): New function.
17122 (Config.install_hurd_headers): Likewise.
17123 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17124 when building for 'gnu' OS.
17126 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17128 * manual/tunables.texi (Hardware Capability Tunables): Fix
17131 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17133 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17134 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17135 (ALTMON_11, ALTMON_12): Improve documentation.
17136 * manual/time.texi (strftime): Likewise.
17138 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17141 * localedata/locales/pl_PL: Alternative month names added,
17142 primary month names are genitive now.
17143 * time/tst-strptime.c (day_tests): Actually use a genitive case
17144 of a month name in Polish language.
17146 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17149 * manual/locale.texi: Document ALTMON_1..12 constants for
17150 nl_langinfo. Specify when to use ALTMON instead of MON.
17151 * manual/time.texi (strftime, strptime): Document GNU extension
17152 permitting O modifier with %B and %b. Specify when to use
17155 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17158 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17159 names, define them as the same as abbreviated month names explicitly.
17160 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17161 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17162 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17163 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17164 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17165 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17166 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17167 _NL_WABALTMON_12): New enum constants.
17168 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17169 wab_alt_mon, and ab_alt_mon_defined members.
17170 (time_output): Output ab_alt_mon and wab_alt_mon members.
17171 (time_read): Read them, initialize them as copies of abmon and wabmon
17172 respectively if they are missing, initialize ab_alt_mon_defined.
17173 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17174 * locale/programs/locfile-kw.h: Regenerate.
17175 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17176 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17178 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17179 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17180 (__strftime_internal): Handle %Ob and %Oh formats.
17181 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17182 (__strptime_internal): Handle %Ob and %Oh formats.
17183 * time/tst-strptime.c (day_tests): Add more tests to parse different
17184 forms of month names including the new %Ob format specifier.
17186 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17189 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17190 define them as the same as primary full month names explicitly.
17191 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17192 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17193 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17194 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17195 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17196 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17197 _NL_WALTMON_12): New enum constants.
17198 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17199 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17201 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17202 walt_mon, and alt_mon_defined members.
17203 (time_output): Output alt_mon and walt_mon members.
17204 (time_read): Read them, initialize them as copies of mon and wmon
17205 respectively if they are missing, initialize alt_mon_defined.
17206 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17207 * locale/programs/locfile-kw.h: Regenerate.
17208 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17209 * localedata/tst-langinfo.c (map): Add tests for the new constants
17210 ALTMON_1 .. ALTMON_12.
17211 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17213 * time/strftime_l.c (f_altmonth): New macro.
17214 (__strftime_internal): Handle %OB format.
17215 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17216 (__strptime_internal): Handle %OB format.
17217 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17218 of month names including the new %OB format specifier.
17220 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17223 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17224 from ABORT_TRANSACTION.
17225 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17226 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17227 ABORT_TRANSACTION_IMPL): Likewise.
17228 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17229 Linux code, but remove the code that aborts transactions.
17231 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17233 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17235 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17237 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17238 in date: "2004-14-09" should be "2004-09-14".
17239 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17240 "2003-15-09" should be "2003-09-15".
17242 2018-01-18 Arjun Shankar <arjun@redhat.com>
17248 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17250 (_int_memalign): check for integer overflow before calling
17252 * malloc/tst-malloc-too-large.c: New test.
17253 * malloc/Makefile: Add tst-malloc-too-large.
17255 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17257 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17258 in date: "2017-24-07" should be "2017-07-24".
17259 * localedata/locales/mai_IN: Likewise.
17260 * localedata/locales/mai_NP: Likewise.
17262 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17264 * po/ru.po: Update translations.
17266 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17269 * sysdeps/hppa/backtrace.c: New file.
17271 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17274 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17275 align La_x86_64_retval to VEC_SIZE.
17277 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17279 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17280 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17282 2018-01-16 Florian Weimer <fweimer@redhat.com>
17284 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17285 Move tst-thread-exit-clobber ...
17286 [$(CXX)] (tests-unsupported): ... to here.
17288 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17290 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17291 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17292 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17293 (_dl_aarch64_cap_flags): Update.
17294 (_DL_HWCAP_COUNT): Update.
17296 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17298 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17299 (_DL_HWCAP_LAST): Remove.
17300 (_DL_HWCAP_COUNT): Move to ...
17301 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17302 (_DL_HWCAP_COUNT): ... here.
17304 2018-01-16 Florian Weimer <fweimer@redhat.com>
17306 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17307 mode with GNU extensions.
17309 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17311 * elf/elf.h (NT_ARM_SVE): Define.
17313 2018-01-15 Florian Weimer <fweimer@redhat.com>
17316 * nptl/tst-minstack-throw.cc: New file.
17317 * nptl/Makefile (tests): Add tst-minstack-throw.
17318 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17319 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17321 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17323 * scripts/build-many-glibcs.py (Context.checkout): Default
17324 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17327 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17330 * elf/elf.h (DF_1_STUB): Define.
17331 (DF_1_PIE): Define.
17333 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17336 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17337 Do not add 0.5 to integer or out-of-range arguments.
17339 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17341 * po/bg.po: Update translations.
17342 * po/cs.po: Likewise.
17343 * po/de.po: Likewise.
17344 * po/ko.po: Likewise.
17345 * po/pl.po: Likewise.
17346 * po/sv.po: Likewise.
17347 * po/uk.po: Likewise.
17348 * po/vi.po: Likewise.
17350 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17352 * aarch64/start.S (_start): Use __wrap_main.
17353 (__wrap_main): New local symbol.
17355 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17359 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17360 generic_getcwd if the path returned by getcwd syscall is not absolute.
17361 * io/tst-getcwd-abspath.c: New test.
17362 * io/Makefile (tests): Add tst-getcwd-abspath.
17364 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17366 * malloc/malloc.c (malloc_consolidate): Add size check.
17368 2018-01-12 Florian Weimer <fweimer@redhat.com>
17370 * support/write_message.c (write_message): Preserve errno.
17371 * support/check.c (print_failure): Likewise.
17372 * support/support_test_verify_impl.c (support_test_verify_impl):
17374 * support/support_test_compare_failure.c
17375 (support_test_compare_failure): Likewise.
17377 2018-01-12 Florian Weimer <fweimer@redhat.com>
17380 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17381 Prevent installation of libnsl.so.
17382 (libnsl-inhibit-o): Do not build (or install) static libraries.
17384 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17387 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17388 before the day number which may produce a double space.
17389 (date_fmt): Likewise.
17391 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17393 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17394 instead of fegetenv.
17396 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17399 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17400 comment to say exceptions are discarded.
17401 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17403 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17406 2018-01-11 Florian Weimer <fweimer@redhat.com>
17408 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17411 2018-01-11 Florian Weimer <fweimer@redhat.com>
17414 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17415 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17417 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17420 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17421 negative arguments in test for NaN or infinity argument.
17423 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17425 * po/libc.pot: Regenerate.
17427 2018-01-10 Florian Weimer <fweimer@redhat.com>
17430 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17431 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17433 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17435 * hurd/hurd/fd.h: Include <fcntl.h>
17436 (__hurd_at_flags): New function.
17437 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17438 with call to __hurd_at_flags.
17439 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17440 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17442 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17443 (__access_noerrno): Use __faccessat_common instead of access_common.
17444 (__access): Likewise.
17445 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17446 with a call to __faccessat.
17447 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17448 (__faccessat_common): ... this. Move implementation of __access into it when
17449 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17450 reauthenticate_cwdir_at helper to implement AT mechanism.
17451 (__faccessat_noerrno): New function, just calls __faccessat_common.
17452 (__faccessat): New function, just calls __faccessat_common.
17453 (faccessat): Define weak alias.
17455 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17458 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17459 (CFLAGS-s_fmaxmagl.c): New variable.
17460 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17464 long int for arguments of possibly overflowing addition or
17466 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17468 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17471 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17472 (CFLAGS-e_remainderl.c): New variable.
17475 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17477 (CFLAGS-s_cacoshl.c): Likewise.
17478 (CFLAGS-s_casinhl.c): Likewise.
17479 (CFLAGS-s_catanl.c): Likewise.
17480 (CFLAGS-s_catanhl.c): Likewise.
17481 (CFLAGS-s_cexpl.c): Likewise.
17482 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17483 (CFLAGS-s_csinhl.c): Likewise.
17484 (CFLAGS-s_clogl.c): Likewise.
17485 (CFLAGS-s_clog10l.c): Likewise.
17486 (CFLAGS-s_csinl.c): Likewise.
17487 (CFLAGS-s_csqrtl.c): Likewise.
17489 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17490 2017-01-09 Svante Signell <svante.signell@gmail.com>
17492 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17493 (_hurd_exec_paths): New function.
17494 * hurd/hurd.h (_hurd_exec): Deprecate function.
17495 (_hurd_exec_paths): Declare function.
17496 * hurd/Versions: Export _hurd_exec_paths.
17497 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17498 (__execve): Use __getcwd to build absolute path, and use
17499 _hurd_exec_paths instead of _hurd_exec.
17500 * sysdeps/mach/hurd/spawni.c: Likewise.
17501 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17504 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17506 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17507 test instead of failing in case of ENOENT returned by posix_openpt.
17509 2018-01-08 Florian Weimer <fweimer@redhat.com>
17511 resolv: Support binary labels in test framework.
17512 * support/resolv_test.c (struct to_be_freed): Remove.
17513 (struct compressed_name): New.
17514 (allocate_compressed_name, ascii_tolower)
17515 (compare_compressed_name): New functions.
17516 (struct resolv_response_builder): Update type of
17517 compression_offsets for use with tsearch. Rempve to_be_freed.
17518 (response_push_pointer_to_free): Remove function.
17519 (resolv_response_add_name): Rewrite using struct compressed_name
17520 and tsearch instead of hsearch_r.
17521 (response_builder_allocate): Remove initialization of
17522 compression_offsets.
17523 (response_builder_free): Update for removal of to_be_freed. Use
17524 tdestroy instead of hdestroy_r.
17525 * resolv/Makefile (tests): Add tst-resolv-binary.
17526 (tst-resolv-binary): Link with -lresolv -lpthread.
17528 2018-01-08 Florian Weimer <fweimer@redhat.com>
17530 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17531 time. Pass positive flag instead of negative flag to
17532 support_test_compare_failure.
17533 (support_test_compare_failure): Change negative parameter to
17535 * support/support_test_compare_failure.c (report)
17536 (support_test_compare_failure): Likewise.
17537 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17538 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17540 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17543 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17544 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17545 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17547 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17549 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17551 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17552 Add s_sincosf-sse2 and s_sincosf-fma.
17553 (CFLAGS-s_sincosf-fma.c): New.
17554 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17555 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17556 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17557 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17558 __sincosf is defined.
17560 2018-01-08 Florian Weimer <fweimer@redhat.com>
17562 * nptl/tst-thread-exit-clobber.cc: New file.
17563 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17565 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17566 (tests): Add tst-thread-exit-clobber.
17567 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17569 2018-01-08 Florian Weimer <fweimer@redhat.com>
17571 * support/check.h (support_static_assert): Define.
17572 (TEST_COMPARE): Use it.
17574 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17576 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17577 [!__RLIM_T_MATCHES_RLIM64_T]
17578 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17579 __getrlimit64. Add libc_hidden_weak.
17581 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17583 * elf/elf.h (R_RISCV_NONE): New define.
17584 (R_RISCV_32): Likewise.
17585 (R_RISCV_64): Likewise.
17586 (R_RISCV_RELATIVE): Likewise.
17587 (R_RISCV_COPY): Likewise.
17588 (R_RISCV_JUMP_SLOT): Likewise.
17589 (R_RISCV_TLS_DTPMOD32): Likewise.
17590 (R_RISCV_TLS_DTPMOD64): Likewise.
17591 (R_RISCV_TLS_DTPREL32): Likewise.
17592 (R_RISCV_TLS_DTPREL64): Likewise.
17593 (R_RISCV_TLS_TPREL32): Likewise.
17594 (R_RISCV_TLS_TPREL64): Likewise.
17595 * Makerules (make-link-multidir): Make directories before linking into
17597 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17599 (VDSO_HASH_LINUX_4_15): Likewise.
17600 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17601 in subdirectories of lib.
17602 * nptl/Makefile (/librt.so): Always depend on
17603 "$(shared-thread-library)".
17605 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17607 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
17608 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17609 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17611 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
17612 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17614 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
17615 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17616 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17617 * sysdeps/gnu/glob-lstat-compat.c: New file.
17618 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17619 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17621 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17623 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17624 Reserve 16 chars to reloc_addr before calling _itoa_word.
17626 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17629 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17630 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17632 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17633 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17635 * resource/tst-getrlimit.c: Add copyright header.
17637 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17638 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17640 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17641 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17642 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17643 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17645 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17646 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17647 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17648 RLIM64_INFINITY): Fix values to match the kernel ones.
17649 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17650 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17651 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17652 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17653 getrlimit64@@GLIBC_2_27.
17654 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17656 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17657 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17658 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17659 setrlimit, getrlimit64 and setrlimit64.
17661 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17664 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17665 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17667 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17669 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17670 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17671 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17673 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17677 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17678 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17682 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17683 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17684 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17685 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17687 2018-01-04 Florian Weimer <fweimer@redhat.com>
17690 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17691 Align the stack before calling exit.
17692 * stdlib/tst-makecontext-align.c: New file.
17693 * stdlib/Makefile (tests): Add tst-makecontext-align.
17695 2018-01-04 Florian Weimer <fweimer@redhat.com>
17697 Add support for calling dlvsym from libc.so.
17698 * include/dlfcn.h (__libc_dlvsym): Declare.
17699 * elf/Makefile (tests-static-internal): Add
17700 tst-libc_dlvsym-static.
17701 (tests-internal): Add tst-libc_dlvsym.
17702 (modules-names): Add tst-libc_dlvsym-dso.
17703 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17704 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17705 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17706 object tst-libc_dlvsym-dso.so needs to be built before running
17708 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17709 * elf/Versions: Export __libc_dlvsym.
17710 * elf/dl-libc.c (struct do_dlvsym_args): New.
17711 (do_dlvsym, __libc_dlvsym): New functions.
17712 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17713 (_dl_open_hook2): New variable.
17714 (__libc_register_dl_open_hook): Set it.
17715 * elf/tst-libc_dlvsym-dso.c: New file.
17716 * elf/tst-libc_dlvsym-static.c: Likewise.
17717 * elf/tst-libc_dlvsym.c: Likewise.
17718 * elf/tst-libc_dlvsym.h: Likewise.
17720 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17722 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17723 include <sys/mount.h>.
17725 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17727 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17728 Add __NO_MATH_ERRNO__ check.
17730 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17732 * sysdeps/mips/mips32/libm-test-ulps: Update.
17733 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17735 2018-01-02 Florian Weimer <fweimer@redhat.com>
17737 * misc/tst-pselect.c: Add copyright header.
17739 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17741 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17743 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17745 (settrlimit): Rename into setrlimit.
17746 (__sttrlimit): Rename into __setrlimit.
17748 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17749 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17750 never defined in that case.
17752 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17754 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17756 * sysdeps/arm/libm-test-ulps: Update.
17758 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17759 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17761 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17763 * NEWS: Add cosf and sincosf to list of optimized functions.
17765 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17768 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17769 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17770 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17771 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17773 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17776 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17778 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17779 making a copy of it.
17781 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17783 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17784 trailing whitespace removed.
17785 * scripts/config.guess: Update to version 2018-01-01.
17786 * scripts/config.sub: Update to version 2018-01-01.
17787 * scripts/move-if-change: Update from gnulib.
17789 * NEWS: Update copyright dates.
17790 * catgets/gencat.c (print_version): Likewise.
17791 * csu/version.c (banner): Likewise.
17792 * debug/catchsegv.sh: Likewise.
17793 * debug/pcprofiledump.c (print_version): Likewise.
17794 * debug/xtrace.sh (do_version): Likewise.
17795 * elf/ldconfig.c (print_version): Likewise.
17796 * elf/ldd.bash.in: Likewise.
17797 * elf/pldd.c (print_version): Likewise.
17798 * elf/sotruss.sh: Likewise.
17799 * elf/sprof.c (print_version): Likewise.
17800 * iconv/iconv_prog.c (print_version): Likewise.
17801 * iconv/iconvconfig.c (print_version): Likewise.
17802 * locale/programs/locale.c (print_version): Likewise.
17803 * locale/programs/localedef.c (print_version): Likewise.
17804 * login/programs/pt_chown.c (print_version): Likewise.
17805 * malloc/memusage.sh (do_version): Likewise.
17806 * malloc/memusagestat.c (print_version): Likewise.
17807 * malloc/mtrace.pl: Likewise.
17808 * manual/libc.texinfo: Likewise.
17809 * nptl/version.c (banner): Likewise.
17810 * nscd/nscd.c (print_version): Likewise.
17811 * nss/getent.c (print_version): Likewise.
17812 * nss/makedb.c (print_version): Likewise.
17813 * posix/getconf.c (main): Likewise.
17814 * scripts/test-installation.pl: Likewise.
17815 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17817 * All files with FSF copyright notices: Update copyright dates
17818 using scripts/update-copyrights.
17819 * locale/programs/charmap-kw.h: Regenerated.
17820 * locale/programs/locfile-kw.h: Likewise.
17822 2017-12-31 Zack Weinberg <zackw@panix.com>
17824 * libio/bits/libio-ldbl.h: Correct check for improper
17825 inclusion. Add own multiple include guard.
17827 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17828 Dmitry V. Levin <ldv@altlinux.org>
17832 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17833 string token expansion. Check for NULL pointer or empty string possibly
17834 returned by expand_dynamic_string_token.
17835 (decompose_rpath): Check for empty path after dynamic string
17838 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17841 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17843 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17844 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17845 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17846 and PTRACE_SYSCALL.
17847 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17848 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17849 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17850 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17851 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17852 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17854 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17855 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17856 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17857 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17859 bits/ptrace-shared.h.
17860 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17861 <bits/ptrace-shared.h>.
17862 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17863 __ptrace_peeksiginfo_flags, ptrace): Remove.
17864 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17865 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17866 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17867 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17868 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17870 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17873 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17874 end of the loop. Improve comments.
17876 2017-12-29 Zack Weinberg <zackw@panix.com>
17879 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17880 might be set on success.
17882 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17885 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17886 is unchanged on success.
17888 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17890 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17892 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17893 expand_dynamic_string_token): Likewise.
17894 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17897 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17900 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17901 is set and name contains ':', and all code depending on these checks.
17903 2017-12-24 Zack Weinberg <zackw@panix.com>
17905 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17906 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17908 * libio/libio.h: Rename the original version of this file to
17909 libio/bits/libio.h. Error out if not included by stdio.h or the
17911 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17912 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17913 if not included by bits/libio.h or the stub _G_config.h.
17914 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17915 sysdeps/unix/sysv/linux/bits. Error out if not included by
17916 bits/libio.h or the stub _G_config.h.
17917 * libio/stdio.h: Include bits/libio.h, not libio.h.
17918 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17919 well as libio.h and _G_config.h.
17921 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17922 * libio/strfile.h, stdio-common/vfscanf.c
17923 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17924 Include stdio.h, not _G_config.h nor libio.h.
17925 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17926 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17928 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17930 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17933 * stdlib/getrandom.c (getrandom): Fix comment.
17934 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17936 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17939 * manual/arith.texi (strtoul): Fix a typo.
17942 * manual/arith.texi (finite): Fix the description of the return
17945 2017-12-22 Eric Blake <ebb9@byu.net>
17947 Avoid gcc warnings on cygwin
17948 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17949 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17950 Avoid unused variable.
17952 2017-12-22 Florian Weimer <fweimer@redhat.com>
17954 * io/Makefile (routines): Add copy_file_range.
17955 (tests): Add tst-copy_file_range.
17956 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17957 * io/Versions (GLIBC_2.27): Export copy_file_range.
17958 * io/copy_file_range-compat.c: New file.
17959 * io/copy_file_range.c: Likewise.
17960 * io/tst-copy_file_range-compat.c: Likewise.
17961 * io/tst-copy_file_range.c: Likewise.
17962 * manual/llio.texi (Copying File Data): New section.
17963 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17964 * support/Makefile (libsupport-routines): Add support-xfstat,
17965 xftruncate, xlseek.
17966 * support/support-xfstat.c: New file.
17967 * support/xftruncate.c: Likewise.
17968 * support/xlseek.c: Likewise.
17969 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17970 * sysdeps/unix/sysv/linux/**.abilist: Update.
17971 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17973 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17975 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17976 disable-multi-arch variant to aarch64-linux-gnu.
17978 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17980 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17981 trailing whitespace removed.
17982 * scripts/config.guess: Update to version 2017-12-17.
17983 * scripts/config.sub: Update to version 2017-11-23.
17984 * scripts/install-sh: Update to version 2017-09-23.17.
17985 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17987 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17989 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17990 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17991 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17992 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17993 * sysdeps/tile/crtn.S: Likewise.
17994 * sysdeps/tile/dl-start.S (_start): Likewise.
17995 * sysdeps/tile/dl-trampoline.S: Likewise.
17996 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17997 * sysdeps/tile/start.S (_start): Likewise.
17998 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17999 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18000 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18001 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18002 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18003 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18004 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18006 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18008 * sysdeps/tile/preconfigure: Remove tilegx folder.
18009 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18010 * sysdeps/tile/Implies: ... here.
18011 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18012 * sysdeps/tile/Makefile: ... here.
18013 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18014 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18015 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18016 * sysdeps/tile/bits/wordsize.h: ... here.
18017 * sysdeps/tile/tilegx/*: Move to ...
18018 * sysdeps/tile/*: ... here.
18019 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18020 * sysdeps/tile/tilegx32/Implies: ... here.
18021 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18022 * sysdeps/tile/tilegx64/Implies: ... here.
18023 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18025 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18026 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18027 * sysdeps/unix/sysv/linux/tile/*: ... here.
18028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18029 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18031 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18033 * README: Remove tilepro-*-linux-gnu from supported architecture.
18034 * scripts/build-many-glibcs.py: Likewise.
18035 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18036 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18037 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18038 elf_machine_matches_host, elf_machine_dynamic,
18039 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18040 howto, elf_machine_rela): Likewise.
18041 * sysdeps/tile/dl-start.S (_start): Likewise.
18042 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18043 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18044 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18045 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18046 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18047 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18049 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18050 * sysdeps/tile/preconfigure: Likewise.
18051 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18052 POINTER_CHK_GUARD): Likewise.
18053 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18054 * sysdeps/tile/start.S (_start): Likewise.
18055 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18057 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18058 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18060 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18061 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18062 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18064 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18065 * sysdeps/tile/tilepro/Implies: Remove file.
18066 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18067 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18068 * sysdeps/tile/tilepro/memchr.c: Likewise.
18069 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18070 * sysdeps/tile/tilepro/memset.c: Likewise.
18071 * sysdeps/tile/tilepro/memusage.h: Likewise.
18072 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18073 * sysdeps/tile/tilepro/strchr.c: Likewise.
18074 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18075 * sysdeps/tile/tilepro/strlen.c: Likewise.
18076 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18077 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18078 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18079 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18080 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18081 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18082 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18084 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18085 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18086 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18087 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18088 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18089 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18090 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18091 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18092 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18093 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18094 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18095 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18096 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18097 tilepro mention in comment.
18099 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18100 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18101 * nptl/pthread_join_common.c: New file: common function used on
18102 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18103 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18104 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18105 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18106 (cleanup): Move definition to pthread_join_common.c.
18107 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18108 Remove superflous checks.
18109 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18112 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18114 * sysdeps/aarch64/libm-test-ulps: Update.
18116 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18118 * sysdeps/aarch64/memset.S (MEMSET): Define.
18120 2017-12-20 Florian Weimer <fweimer@redhat.com>
18123 nptl: Provide full implementation of pthread_self in libc.so.
18124 * nptl/Makefile (routines): Add pthread_self.
18125 (libpthread-routines): Replace pthread_self with
18126 compat-pthread_self.
18127 * nptl/forward.c (pthread_self): Remove.
18128 * nptl/nptl-init.c (pthread_functions): Do not initialize
18130 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18131 * nptl/compat-pthread_self.c: New file.
18132 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18133 Remove ptr_pthread_self.
18135 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18137 * posix/regcomp.c: Fix spelling in comments.
18138 * posix/regex.h: Likewise.
18139 * posix/regex_internal.c: Likewise.
18140 * posix/regexec.c: Likewise.
18142 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18145 * math/Makefile [C++] (tests): Add test for iseqsig.
18146 * math/math.h [C++] (iseqsig): New implementation, which does
18147 not rely on __MATH_TG/__builtin_types_compatible_p.
18148 * math/test-math-iseqsig.cc: New file.
18149 * sysdeps/powerpc/powerpc64le/Makefile
18150 (CFLAGS-test-math-iseqsig.cc): New variable.
18152 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18154 * elf/dl-load.c (is_trusted_path): Remove.
18155 (fillin_rpath): Remove check_trusted argument and its use,
18156 all callers changed.
18158 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18161 * Makeconfig (link-pie-before-libc): Replace -pie with
18162 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18163 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18164 (tst-dlopen-aout-no-pie): New.
18165 (LDFLAGS-tst-prelink): Removed.
18166 (tst-prelink-no-pie): New.
18167 (LDFLAGS-tst-main1): Removed.
18168 (tst-main1-no-pie): New.
18169 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18170 (tst-gmon-no-pie): New.
18172 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18174 * manual/install.texi: Document that --enable-static-pie
18176 * INSTALL: Regenerated.
18178 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18181 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18184 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18188 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18192 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18194 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18195 <errno.h>. Include "eexp.tbl".
18196 (half): New constant.
18198 (__ieee754_exp): Rewrite.
18199 (__slowexp): Remove prototype.
18200 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18201 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18202 * sysdeps/i386/fpu/slowexp.c: Likewise.
18203 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18204 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18205 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18206 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18207 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18208 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18209 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18211 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18212 (CPPFLAGS-slowexp.c): Remove variable.
18213 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18214 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18215 (CFLAGS-slowexp-fma.c): Remove variable.
18216 (CFLAGS-slowexp-fma4.c): Likewise.
18217 (CFLAGS-slowexp-avx.c): Likewise.
18218 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18220 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18221 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18222 * math/Makefile (type-double-routines): Remove slowexp.
18223 * manual/probes.texi (slowexp_p6): Remove.
18224 (slowexp_p32): Likewise.
18226 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18228 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18231 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18233 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18237 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18239 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18240 <errno.h>. Include "eexp.tbl".
18241 (half): New constant.
18243 (__ieee754_exp): Rewrite.
18244 (__slowexp): Remove prototype.
18245 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18246 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18247 * sysdeps/i386/fpu/slowexp.c: Likewise.
18248 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18249 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18250 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18251 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18252 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18253 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18254 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18256 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18257 (CPPFLAGS-slowexp.c): Remove variable.
18258 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18259 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18260 (CFLAGS-slowexp-fma.c): Remove variable.
18261 (CFLAGS-slowexp-fma4.c): Likewise.
18262 (CFLAGS-slowexp-avx.c): Likewise.
18263 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18265 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18266 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18267 * math/Makefile (type-double-routines): Remove slowexp.
18268 * manual/probes.texi (slowexp_p6): Remove.
18269 (slowexp_p32): Likewise.
18271 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18272 James Clarke <jrtc27@jrtc27.com>
18275 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18278 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18281 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18284 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18287 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18288 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18289 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18290 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18293 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18296 * bits/types/__cancel_jmp_buf_tag.h: New file.
18297 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18298 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18299 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18300 * nptl/Makefile (headers): Add
18301 bits/types/__cancel_jmp_buf_tag.h.
18302 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18303 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18304 * sysdeps/nptl/pthread.h: Include
18305 <bits/types/__cancel_jmp_buf_tag.h>.
18306 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18308 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18310 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18312 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18313 --enable-static-pie variants to x86_64, x32 and i686.
18315 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18318 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18319 argument for attrubutes. All callers changed.
18320 (__inline_mathop1): Likewise. All callers changed.
18321 (__inline_mathop): Likewise. All callers changed.
18322 [__USE_MISC] (scalbn): Use __inline_forward instead of
18323 __inline_forward_c.
18324 [__USE_ISOC99] (scalbln): Likewise.
18325 [__USE_ISOC99] (nearbyint): Likewise.
18326 [__USE_ISOC99] (lrint): Likewise.
18327 [__USE_MISC] (scalbnf): Likewise.
18328 [__USE_ISOC99] (scalblnf): Likewise.
18329 [__USE_ISOC99] (nearbyintf): Likewise.
18330 [__USE_ISOC99] (lrintf): Likewise.
18331 [__USE_MISC] (scalbnl): Likewise.
18332 [__USE_ISOC99] (scalblnl): Likewise.
18333 [__USE_ISOC99] (nearbyintl): Likewise.
18334 [__USE_ISOC99] (lrintl): Likewise.
18335 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18336 __inline_mathop and __m81_defun changed.
18338 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18339 CPU or FPU for ARM hard-float configurations.
18341 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18343 * nptl/tst-attr3.c: Include <libc-diag.h>.
18344 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18346 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18348 * string/tester.c (test_strncat): Also disable -Warray-bounds
18349 warnings for two tests.
18351 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18354 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18355 $(cc-pie-default) == yes.
18356 * config.make.in (cc-pie-default): New.
18357 * configure.ac (libc_cv_pie_default): Renamed to ...
18358 (libc_cv_cc_pie_default): This.
18359 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18360 * configure: Regenerated.
18362 2017-12-18 Florian Weimer <fweimer@redhat.com>
18365 ld.so: Harden dl-libc/libdl hooks.
18366 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18367 (rtld_active): New function.
18368 * dlfcn/dladdr.c (__dladdr): Call it.
18369 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18370 * dlfcn/dlclose.c (__dlcose): Likewise.
18371 * dlfcn/dlerror.c (__dlerror): Likewise.
18372 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18373 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18374 * dlfcn/dlopen.c (__dlopen): Likewise.
18375 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18376 * dlfcn/dlsym.c (__dlsym): Likewise.
18377 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18378 * libio/vtables.c (_IO_vtable_check): Likewise.
18379 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18380 (__libc_dlclose): Likewise.
18381 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18384 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18387 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18388 buffers for readlink input and output.
18390 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18393 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18394 inhibit_stack_protector.
18397 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18398 inhibit_stack_protector.
18400 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18403 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18404 code and invocation.
18406 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18408 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18410 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18413 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18415 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18417 * sysdeps/s390/fpu/libm-test-ulps: Update.
18419 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18423 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18425 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18426 constants to s_sincosf.h file.
18427 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18428 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18430 * sysdeps/ieee754/flt-32/s_sincosf.h:
18433 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18436 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18439 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18442 * INSTALL: Regenerated.
18443 * Makeconfig (real-static-start-installed-name): New.
18444 (pic-default): Updated for --enable-static-pie.
18445 (pie-default): New for --enable-static-pie.
18446 (default-pie-ldflag): Likewise.
18447 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18448 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18449 Replace $(static-start-installed-name) with
18450 $(real-static-start-installed-name).
18451 (+prectorT): Updated for --enable-static-pie.
18452 (+postctorT): Likewise.
18453 (CFLAGS-.o): Add $(pie-default).
18454 (CFLAGS-.op): Likewise.
18455 * NEWS: Mention --enable-static-pie.
18456 * config.h.in (ENABLE_STATIC_PIE): New.
18457 * configure.ac (--enable-static-pie): New configure option.
18458 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18459 (have-static-pie): Likewise.
18460 Enable static PIE if linker supports --no-dynamic-linker.
18461 (ENABLE_STATIC_PIE): New AC_DEFINE.
18462 (enable-static-pie): New LIBC_CONFIG_VAR.
18463 * configure: Regenerated.
18464 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18465 gr$(start-installed-name) for --enable-static-pie.
18466 (extra-objs): Likewise.
18467 (install-lib): Likewise.
18468 (extra-objs): Add static-reloc.o and static-reloc.os
18469 ($(objpfx)$(start-installed-name)): Also depend on
18470 $(objpfx)static-reloc.o.
18471 ($(objpfx)r$(start-installed-name)): New.
18472 ($(objpfx)g$(start-installed-name)): Also depend on
18473 $(objpfx)static-reloc.os.
18474 ($(objpfx)gr$(start-installed-name)): New.
18475 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18477 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18479 * csu/static-reloc.c: New file.
18480 * elf/Makefile (routines): Add dl-reloc-static-pie.
18481 (elide-routines.os): Likewise.
18482 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18483 (tst-tls1-static-non-pie-no-pie): New.
18484 * elf/dl-reloc-static-pie.c: New file.
18485 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18486 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18487 STATIC_PIE_BOOTSTRAP.
18488 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18489 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18490 (tests-static): Likewise.
18491 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18492 (tst-gmon-static-no-pie): New.
18493 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18494 (CRT-tst-gmon-static-pie): Likewise.
18495 (tst-gmon-static-pie-ENV): Likewise.
18496 (tests-special): Likewise.
18497 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18498 (clean-tst-gmon-static-pie-data): Likewise.
18499 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18500 * gmon/tst-gmon-static-pie.c: New file.
18501 * manual/install.texi: Document --enable-static-pie.
18502 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18503 (_dl_get_dl_main_map): Likewise.
18504 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18505 * sysdeps/x86_64/configure.ac: Likewise.
18506 * sysdeps/i386/configure: Regenerated.
18507 * sysdeps/x86_64/configure: Likewise.
18508 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18509 (ASFLAGS-.op): Likewise.
18511 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18513 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18514 * posix/tst-mmap-offset.c (fname): Use /tmp.
18515 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18517 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18519 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18521 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18523 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18526 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18528 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18529 --with-float=hard for arm-linux-gnueabihf configurations.
18532 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18533 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18534 ($(mo-installed)): Use $(objpfx)%.mo.
18535 (realclean): Remove rule.
18537 * po/Makefile (linguas): Remove rule and dependencies.
18538 (linguas.mo): Likewise.
18539 (.PHONY): Do not depend on linguas and linguas.mo.
18540 (podir): Remove variable.
18541 (pofiles): Likewise.
18542 [$(pofiles)] (%.po): Remove rule.
18544 * sysdeps/sparc/sparc32/Makefile
18545 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18546 start-of-line whitespace in argument of echo.
18547 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18548 with whitespace. Generate __wrap_.udiv alias.
18549 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18550 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18551 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18552 * sysdeps/sparc/sparc32/urem.S: Likewise.
18554 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18556 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18557 for aligned inputs.
18559 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18561 * benchtests/bench-strcmp.c: Print output in JSON format.
18563 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18565 2017-12-14 Florian Weimer <fweimer@redhat.com>
18569 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18570 the expanded path string.
18572 2017-12-14 Florian Weimer <fweimer@redhat.com>
18576 * elf/dl-load.c (system_dirs): Update comment.
18577 (nsystem_dirs_len): Use array_length.
18578 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18580 2017-12-14 Florian Weimer <fweimer@redhat.com>
18582 Simplify compiling most of support/ outside of glibc.
18583 * support/check_addrinfo.c: Include <string.h>.
18584 * support/check_dns_packet.c: Likewise.
18585 * support/check_hostent.c: Likewise.
18586 * support/support_can_chroot.c: Include <support/xunistd.h>.
18587 * support/support_format_addrinfo.c: Include <stdlib.h>
18588 * support/support_format_dns_packet.c: Include <stdbool.h>.
18589 * support/support_format_hostent.c: Include <stdlib.h>.
18590 * support/support_format_netent.c: Likewise.
18591 * support/support_write_string.c: Include <support/xunistd.h>.
18592 * support/xdlfcn.c: Include <stddef.h>.
18594 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18596 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18598 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18599 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18601 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18602 (sysdeps_routines): Add memset-niagara7.
18603 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18605 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18607 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18608 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18609 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18610 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18611 Add niagara7 option.
18612 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18615 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18616 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18617 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18619 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18621 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18622 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18623 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18624 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18625 and __memmove_niagara7.
18626 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18627 Add niagara7 option.
18628 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18629 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18630 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18631 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18632 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18634 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18636 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18637 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18638 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18639 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18641 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18642 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18643 _dl_sparc_cap_flags array.
18644 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18646 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18648 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18649 time whenever possible.
18651 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18653 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18654 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18656 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18658 * soft-fp/fmadf4.c: Move to ....
18659 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18660 * soft-fp/fmasf4.c: Move to ....
18661 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18662 * soft-fp/fmatf4.c: Move to ....
18663 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18664 * sysdeps/ieee754/soft-fp/Makefile: New file.
18665 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18666 * sysdeps/arm/preconfigure: Regenerated.
18667 * sysdeps/arm/nofpu/Implies: New file.
18668 * sysdeps/arm/s_fma.c: Remove file.
18669 * sysdeps/arm/s_fmaf.c: Likewise.
18670 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18671 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18672 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18673 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18674 * sysdeps/microblaze/s_fma.c: Remove file.
18675 * sysdeps/microblaze/s_fmaf.c: Likewise.
18676 * sysdeps/mips/mips32/nofpu/Implies: New file.
18677 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18678 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18679 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18680 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18681 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18682 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18683 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18685 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18686 * sysdeps/nios2/s_fma.c: Remove file.
18687 * sysdeps/nios2/s_fmaf.c: Likewise.
18688 * sysdeps/sh/nofpu/Implies: New file.
18689 * sysdeps/sh/s_fma.c: Remove file.
18690 * sysdeps/sh/s_fmaf.c: Likewise.
18691 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18692 * sysdeps/tile/s_fma.c: Remove file.
18693 * sysdeps/tile/s_fmaf.c: Likewise.
18695 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18697 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18698 Add s_cosf-sse2 and s_cosf-fma.
18699 (CFLAGS-s_cosf-fma.c): New.
18700 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18701 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18702 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18704 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18706 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18708 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18710 * libio/Makefile (tests): Add tst-bz22415.
18711 (tst-bz22415-ENV): New rule.
18712 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18713 (tests-special): Add tst-bz22415-mem.out.
18714 ($(objpfx)tst-bz22415-mem.out): New rule.
18715 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18716 in case of a successful seek operation.
18717 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18718 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18719 buffer is required.
18720 * libio/tst-bz22415.c: New test.
18722 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18724 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18726 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18727 __IPC_64 to 0 to avoid IPC_64 being set.
18729 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18732 * math/bits/mathcalls.h (nextafter): Remove const.
18733 (nexttoward): Likewise.
18735 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18737 * configure.ac (--with-fp): Remove configure option.
18738 (with_fp_cond): New variable.
18739 (libc_cv_with_fp): New configure test. Use this variable instead
18741 * configure: Regenerated.
18742 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18743 * manual/install.texi (Configuring and compiling): Remove
18745 * INSTALL: Regenerated.
18746 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18747 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18748 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18749 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18750 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18751 use --without-fp to configure glibc.
18753 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18755 * manual/locale.texi (nl_langinfo): Fix a typo.
18757 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18760 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18762 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18764 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18765 (CFLAGS-argp-parse.c): Likewise.
18766 (CFLAGS-argp-fmtstream.c): Likewise.
18767 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18768 (CPPFLAGS-sha512-crypt.c): Likewise.
18769 (CPPFLAGS-md5-crypt.c): Likewise.
18770 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18771 (CFLAGS-stack_chk_fail_local.c): Likewise.
18772 (CFLAGS-backtrace.c): Likewise.
18773 (CFLAGS-sprintf_chk.c): Likewise.
18774 (CFLAGS-snprintf_chk.c): Likewise.
18775 (CFLAGS-vsprintf_chk.c): Likewise.
18776 (CFLAGS-vsnprintf_chk.c): Likewise.
18777 (CFLAGS-asprintf_chk.c): Likewise.
18778 (CFLAGS-vasprintf_chk.c): Likewise.
18779 (CFLAGS-obprintf_chk.c): Likewise.
18780 (CFLAGS-dprintf_chk.c): Likewise.
18781 (CFLAGS-vdprintf_chk.c): Likewise.
18782 (CFLAGS-printf_chk.c): Likewise.
18783 (CFLAGS-fprintf_chk.c): Likewise.
18784 (CFLAGS-vprintf_chk.c): Likewise.
18785 (CFLAGS-vfprintf_chk.c): Likewise.
18786 (CFLAGS-gets_chk.c): Likewise.
18787 (CFLAGS-fgets_chk.c): Likewise.
18788 (CFLAGS-fgets_u_chk.c): Likewise.
18789 (CFLAGS-fread_chk.c): Likewise.
18790 (CFLAGS-fread_u_chk.c): Likewise.
18791 (CFLAGS-swprintf_chk.c): Likewise.
18792 (CFLAGS-vswprintf_chk.c): Likewise.
18793 (CFLAGS-wprintf_chk.c): Likewise.
18794 (CFLAGS-fwprintf_chk.c): Likewise.
18795 (CFLAGS-vwprintf_chk.c): Likewise.
18796 (CFLAGS-vfwprintf_chk.c): Likewise.
18797 (CFLAGS-fgetws_chk.c): Likewise.
18798 (CFLAGS-fgetws_u_chk.c): Likewise.
18799 (CFLAGS-read_chk.c): Likewise.
18800 (CFLAGS-pread_chk.c): Likewise.
18801 (CFLAGS-pread64_chk.c): Likewise.
18802 (CFLAGS-recv_chk.c): Likewise.
18803 (CFLAGS-recvfrom_chk.c): Likewise.
18804 (CFLAGS-tst-longjmp_chk.c): Likewise.
18805 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18806 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18807 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18808 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18809 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18810 (CFLAGS-tst-chk1.c): Likewise.
18811 (CFLAGS-tst-chk2.c): Likewise.
18812 (CFLAGS-tst-chk3.c): Likewise.
18813 (CFLAGS-tst-chk4.cc): Likewise.
18814 (CFLAGS-tst-chk5.cc): Likewise.
18815 (CFLAGS-tst-chk6.cc): Likewise.
18816 (CFLAGS-tst-lfschk1.c): Likewise.
18817 (CFLAGS-tst-lfschk2.c): Likewise.
18818 (CFLAGS-tst-lfschk3.c): Likewise.
18819 (CFLAGS-tst-lfschk4.cc): Likewise.
18820 (CFLAGS-tst-lfschk5.cc): Likewise.
18821 (CFLAGS-tst-lfschk6.cc): Likewise.
18822 (CFLAGS-tst-ssp-1.c): Likewise.
18823 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18824 (CFLAGS-scandir64.c): Likewise.
18825 (CFLAGS-scandir-tail.c): Likewise.
18826 (CFLAGS-scandir64-tail.c): Likewise.
18827 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18828 (CFLAGS-dl-tunables.c): Likewise.
18829 (CFLAGS-dl-runtime.c): Likewise.
18830 (CFLAGS-dl-lookup.c): Likewise.
18831 (CFLAGS-dl-iterate-phdr.c): Likewise.
18832 (CFLAGS-vismain.c): Likewise.
18833 (CFLAGS-tst-linkall-static.c): Likewise.
18834 (CFLAGS-tst-linkall-static.c): Likewise.
18835 (CPPFLAGS-dl-load.c): Likewise.
18836 (CFLAGS-ldconfig.c): Likewise.
18837 (CFLAGS-dl-cache.c): Likewise.
18838 (CFLAGS-cache.c): Likewise.
18839 (CFLAGS-rtld.c): Likewise.
18840 (CFLAGS-multiload.c): Likewise.
18841 (CFLAGS-filtmod1.c): Likewise.
18842 (CFLAGS-tst-align.c): Likewise.
18843 (CFLAGS-tst-align2.c): Likewise.
18844 (CFLAGS-tst-alignmod.c): Likewise.
18845 (CFLAGS-tst-alignmod2.c): Likewise.
18846 (CPPFLAGS-tst-execstack.c): Likewise.
18847 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18848 (CFLAGS-tst-latepthreadmod.c): Likewise.
18849 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18850 (CFLAGS-getgrnam_r.c): Likewise.
18851 (CFLAGS-getgrent_r.c): Likewise.
18852 (CFLAGS-getgrent.c): Likewise.
18853 (CFLAGS-fgetgrent.c): Likewise.
18854 (CFLAGS-fgetgrent_r.c): Likewise.
18855 (CFLAGS-putgrent.c): Likewise.
18856 (CFLAGS-initgroups.c): Likewise.
18857 (CFLAGS-getgrgid.c): Likewise.
18858 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18859 (CFLAGS-getsgent.c): Likewise.
18860 (CFLAGS-fgetsgent.c): Likewise.
18861 (CFLAGS-fgetsgent_r.c): Likewise.
18862 (CFLAGS-putsgent.c): Likewise.
18863 (CFLAGS-getsgnam.c): Likewise.
18864 (CFLAGS-getsgnam_r.c): Likewise.
18865 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18866 (CFLAGS-iconv_charmap.c): Likewise.
18867 (CFLAGS-dummy-repertoire.c): Likewise.
18868 (CFLAGS-charmap.c): Likewise.
18869 (CFLAGS-linereader.c): Likewise.
18870 (CFLAGS-simple-hash.c): Likewise.
18871 (CFLAGS-gconv_conf.c): Likewise.
18872 (CFLAGS-iconvconfig.c): Likewise.
18873 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18874 (CFLAGS-gethstbyad.c): Likewise.
18875 (CFLAGS-gethstbynm_r.c): Likewise.
18876 (CFLAGS-gethstbynm.c): Likewise.
18877 (CFLAGS-gethstbynm2_r.c): Likewise.
18878 (CFLAGS-gethstbynm2.c): Likewise.
18879 (CFLAGS-gethstent_r.c): Likewise.
18880 (CFLAGS-gethstent.c): Likewise.
18881 (CFLAGS-rcmd.c): Likewise.
18882 (CFLAGS-getnetbynm_r.c): Likewise.
18883 (CFLAGS-getnetbynm.c): Likewise.
18884 (CFLAGS-getnetbyad_r.c): Likewise.
18885 (CFLAGS-getnetbyad.c): Likewise.
18886 (CFLAGS-getnetent_r.c): Likewise.
18887 (CFLAGS-getnetent.c): Likewise.
18888 (CFLAGS-getaliasent_r.c): Likewise.
18889 (CFLAGS-getaliasent.c): Likewise.
18890 (CFLAGS-getrpcent_r.c): Likewise.
18891 (CFLAGS-getrpcent.c): Likewise.
18892 (CFLAGS-getservent_r.c): Likewise.
18893 (CFLAGS-getservent.c): Likewise.
18894 (CFLAGS-getprtent_r.c): Likewise.
18895 (CFLAGS-getprtent.c): Likewise.
18896 (CFLAGS-either_ntoh.c): Likewise.
18897 (CFLAGS-either_hton.c): Likewise.
18898 (CFLAGS-getnetgrent.c): Likewise.
18899 (CFLAGS-getnetgrent_r.c): Likewise.
18900 (CFLAGS-tst-checks-posix.c): Likewise.
18901 (CFLAGS-tst-sockaddr.c): Likewise.
18902 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18903 (CFLAGS-tst-translit.c): Likewise.
18904 (CFLAGS-tst-gettext2.c): Likewise.
18905 (CFLAGS-tst-codeset.c): Likewise.
18906 (CFLAGS-tst-gettext3.c): Likewise.
18907 (CFLAGS-tst-gettext4.c): Likewise.
18908 (CFLAGS-tst-gettext5.c): Likewise.
18909 (CFLAGS-tst-gettext6.c): Likewise.
18910 * io/Makefile (CFLAGS-open.c): Likewise.
18911 (CFLAGS-open64.c): Likewise.
18912 (CFLAGS-creat.c): Likewise.
18913 (CFLAGS-creat64.c): Likewise.
18914 (CFLAGS-fcntl.c): Likewise.
18915 (CFLAGS-poll.c): Likewise.
18916 (CFLAGS-ppoll.c): Likewise.
18917 (CFLAGS-lockf.c): Likewise.
18918 (CFLAGS-statfs.c): Likewise.
18919 (CFLAGS-fstatfs.c): Likewise.
18920 (CFLAGS-statvfs.c): Likewise.
18921 (CFLAGS-fstatvfs.c): Likewise.
18922 (CFLAGS-fts.c): Likewise.
18923 (CFLAGS-fts64.c): Likewise.
18924 (CFLAGS-ftw.c): Likewise.
18925 (CFLAGS-ftw64.c): Likewise.
18926 (CFLAGS-lockf.c): Likewise.
18927 (CFLAGS-posix_fallocate.c): Likewise.
18928 (CFLAGS-posix_fallocate64.c): Likewise.
18929 (CFLAGS-fallocate.c): Likewise.
18930 (CFLAGS-fallocate64.c): Likewise.
18931 (CFLAGS-read.c): Likewise.
18932 (CFLAGS-write.c): Likewise.
18933 (CFLAGS-test-stat.c): Likewise.
18934 (CFLAGS-test-lfs.c): Likewise.
18935 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18936 (CFLAGS-fputc.c): Likewise.
18937 (CFLAGS-fputwc.c): Likewise.
18938 (CFLAGS-freopen64.c): Likewise.
18939 (CFLAGS-freopen.c): Likewise.
18940 (CFLAGS-fseek.c): Likewise.
18941 (CFLAGS-fseeko64.c): Likewise.
18942 (CFLAGS-fseeko.c): Likewise.
18943 (CFLAGS-ftello64.c): Likewise.
18944 (CFLAGS-ftello.c): Likewise.
18945 (CFLAGS-fwide.c): Likewise.
18946 (CFLAGS-genops.c): Likewise.
18947 (CFLAGS-getc.c): Likewise.
18948 (CFLAGS-getchar.c): Likewise.
18949 (CFLAGS-getwc.c): Likewise.
18950 (CFLAGS-getwchar.c): Likewise.
18951 (CFLAGS-iofclose.c): Likewise.
18952 (CFLAGS-iofflush.c): Likewise.
18953 (CFLAGS-iofgetpos64.c): Likewise.
18954 (CFLAGS-iofgetpos.c): Likewise.
18955 (CFLAGS-iofgets.c): Likewise.
18956 (CFLAGS-iofgetws.c): Likewise.
18957 (CFLAGS-iofputs.c): Likewise.
18958 (CFLAGS-iofputws.c): Likewise.
18959 (CFLAGS-iofread.c): Likewise.
18960 (CFLAGS-iofsetpos64.c): Likewise.
18961 (CFLAGS-iofsetpos.c): Likewise.
18962 (CFLAGS-ioftell.c): Likewise.
18963 (CFLAGS-iofwrite.c): Likewise.
18964 (CFLAGS-iogetdelim.c): Likewise.
18965 (CFLAGS-iogetline.c): Likewise.
18966 (CFLAGS-iogets.c): Likewise.
18967 (CFLAGS-iogetwline.c): Likewise.
18968 (CFLAGS-ioputs.c): Likewise.
18969 (CFLAGS-ioseekoff.c): Likewise.
18970 (CFLAGS-ioseekpos.c): Likewise.
18971 (CFLAGS-iosetbuffer.c): Likewise.
18972 (CFLAGS-iosetvbuf.c): Likewise.
18973 (CFLAGS-ioungetc.c): Likewise.
18974 (CFLAGS-ioungetwc.c): Likewise.
18975 (CFLAGS-oldfileops.c): Likewise.
18976 (CFLAGS-oldiofclose.c): Likewise.
18977 (CFLAGS-oldiofgetpos64.c): Likewise.
18978 (CFLAGS-oldiofgetpos.c): Likewise.
18979 (CFLAGS-oldiofsetpos64.c): Likewise.
18980 (CFLAGS-oldiofsetpos.c): Likewise.
18981 (CFLAGS-peekc.c): Likewise.
18982 (CFLAGS-putc.c): Likewise.
18983 (CFLAGS-putchar.c): Likewise.
18984 (CFLAGS-putwc.c): Likewise.
18985 (CFLAGS-putwchar.c): Likewise.
18986 (CFLAGS-rewind.c): Likewise.
18987 (CFLAGS-wfileops.c): Likewise.
18988 (CFLAGS-wgenops.c): Likewise.
18989 (CFLAGS-oldiofopen.c): Likewise.
18990 (CFLAGS-iofopen.c): Likewise.
18991 (CFLAGS-iofopen64.c): Likewise.
18992 (CFLAGS-oldtmpfile.c): Likewise.
18993 (CFLAGS-tst_putwc.c): Likewise.
18994 * locale/Makefile (CFLAGS-md5.c): Likewise.
18995 (CFLAGS-charmap.c): Likewise.
18996 (CFLAGS-locfile.c): Likewise.
18997 (CFLAGS-charmap-dir.c): Likewise.
18998 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18999 (CFLAGS-getpt.c): Likewise.
19000 (CFLAGS-pt_chown.c): Likewise.
19001 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19002 (CFLAGS-obstack.c): Likewise.
19003 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19004 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19005 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19006 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19007 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19008 (CFLAGS-test-tgmath.c): Likewise.
19009 (CFLAGS-test-tgmath2.c): Likewise.
19010 (CFLAGS-test-tgmath-ret.c): Likewise.
19011 (CFLAGS-test-powl.c): Likewise.
19012 (CFLAGS-test-snan.c): Likewise.
19013 (CFLAGS-test-signgam-finite.c): Likewise.
19014 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19015 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19016 (CFLAGS-test-signgam-uchar.c): Likewise.
19017 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19018 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19019 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19020 (CFLAGS-test-signgam-uint.c): Likewise.
19021 (CFLAGS-test-signgam-uint-init.c): Likewise.
19022 (CFLAGS-test-signgam-uint-static.c): Likewise.
19023 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19024 (CFLAGS-test-signgam-ullong.c): Likewise.
19025 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19026 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19027 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19028 (CFLAGS-test-math-cxx11.cc): Likewise.
19029 (CFLAGS-test-math-isinff.cc): Likewise.
19030 (CFLAGS-test-math-iszero.cc): Likewise.
19031 (CFLAGS-test-math-issignaling.cc): Likewise.
19032 (CFLAGS-test-math-iscanonical.cc): Likewise.
19033 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19034 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19035 (CFLAGS-test-flt-eval-method.c): Likewise.
19036 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19037 (CFLAGS-test-finite-macros.c): Likewise.
19038 * misc/Makefile (CFLAGS-select.c): Likewise.
19039 (CFLAGS-tsearch.c): Likewise.
19040 (CFLAGS-lsearch.c): Likewise.
19041 (CFLAGS-pselect.c): Likewise.
19042 (CFLAGS-readv.c): Likewise.
19043 (CFLAGS-writev.c): Likewise.
19044 (CFLAGS-preadv.c): Likewise.
19045 (CFLAGS-preadv64.c): Likewise.
19046 (CFLAGS-pwritev.c): Likewise.
19047 (CFLAGS-pwritev64.c): Likewise.
19048 (CFLAGS-preadv2.c): Likewise.
19049 (CFLAGS-preadv64v2.c): Likewise.
19050 (CFLAGS-pwritev2.c): Likewise.
19051 (CFLAGS-pwritev64v2.c): Likewise.
19052 (CFLAGS-usleep.c): Likewise.
19053 (CFLAGS-syslog.c): Likewise.
19054 (CFLAGS-error.c): Likewise.
19055 (CFLAGS-getpass.c): Likewise.
19056 (CFLAGS-mkstemp.c): Likewise.
19057 (CFLAGS-mkstemp64.c): Likewise.
19058 (CFLAGS-getsysstats.c): Likewise.
19059 (CFLAGS-getusershell.c): Likewise.
19060 (CFLAGS-err.c): Likewise.
19061 (CFLAGS-tst-tsearch.c): Likewise.
19062 (CFLAGS-msync.c): Likewise.
19063 (CFLAGS-fdatasync.c): Likewise.
19064 (CFLAGS-fsync.c): Likewise.
19065 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19066 (CFLAGS-unwind.c): Likewise.
19067 (CFLAGS-unwind-forcedunwind.c): Likewise.
19068 (CFLAGS-pthread_cancel.c): Likewise.
19069 (CFLAGS-pthread_setcancelstate.c): Likewise.
19070 (CFLAGS-pthread_setcanceltype.c): Likewise.
19071 (CFLAGS-cancellation.c): Likewise.
19072 (CFLAGS-libc-cancellation.c): Likewise.
19073 (CFLAGS-pthread_exit.c): Likewise.
19074 (CFLAGS-forward.c): Likewise.
19075 (CFLAGS-pthread_testcancel.c): Likewise.
19076 (CFLAGS-pthread_join.c): Likewise.
19077 (CFLAGS-pthread_timedjoin.c): Likewise.
19078 (CFLAGS-pthread_once.c): Likewise.
19079 (CFLAGS-pthread_cond_wait.c): Likewise.
19080 (CFLAGS-sem_wait.c): Likewise.
19081 (CFLAGS-sem_timedwait.c): Likewise.
19082 (CFLAGS-fcntl.c): Likewise.
19083 (CFLAGS-lockf.c): Likewise.
19084 (CFLAGS-pread.c): Likewise.
19085 (CFLAGS-pread64.c): Likewise.
19086 (CFLAGS-pwrite.c): Likewise.
19087 (CFLAGS-pwrite64.c): Likewise.
19088 (CFLAGS-wait.c): Likewise.
19089 (CFLAGS-waitpid.c): Likewise.
19090 (CFLAGS-sigwait.c): Likewise.
19091 (CFLAGS-msgrcv.c): Likewise.
19092 (CFLAGS-msgsnd.c): Likewise.
19093 (CFLAGS-tcdrain.c): Likewise.
19094 (CFLAGS-open.c): Likewise.
19095 (CFLAGS-open64.c): Likewise.
19096 (CFLAGS-pause.c): Likewise.
19097 (CFLAGS-recv.c): Likewise.
19098 (CFLAGS-send.c): Likewise.
19099 (CFLAGS-accept.c): Likewise.
19100 (CFLAGS-sendto.c): Likewise.
19101 (CFLAGS-connect.c): Likewise.
19102 (CFLAGS-recvfrom.c): Likewise.
19103 (CFLAGS-recvmsg.c): Likewise.
19104 (CFLAGS-sendmsg.c): Likewise.
19105 (CFLAGS-close.c): Likewise.
19106 (CFLAGS-read.c): Likewise.
19107 (CFLAGS-write.c): Likewise.
19108 (CFLAGS-nanosleep.c): Likewise.
19109 (CFLAGS-sigsuspend.c): Likewise.
19110 (CFLAGS-msync.c): Likewise.
19111 (CFLAGS-fdatasync.c): Likewise.
19112 (CFLAGS-fsync.c): Likewise.
19113 (CFLAGS-pt-system.c): Likewise.
19114 (CFLAGS-tst-cleanup2.c): Likewise.
19115 (CFLAGS-tst-cleanupx2.c): Likewise.
19116 (CFLAGS-flockfile.c): Likewise.
19117 (CFLAGS-ftrylockfile.c): Likewise.
19118 (CFLAGS-funlockfile.c): Likewise.
19119 (CFLAGS-tst-initializers1.c): Likewise.
19120 (CFLAGS-tst-initializers1-c89.c): Likewise.
19121 (CFLAGS-tst-initializers1-c99.c): Likewise.
19122 (CFLAGS-tst-initializers1-c11.c): Likewise.
19123 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19124 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19125 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19126 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19127 (CFLAGS-nscd_getgr_r.c): Likewise.
19128 (CFLAGS-nscd_gethst_r.c): Likewise.
19129 (CFLAGS-nscd_getai.c): Likewise.
19130 (CFLAGS-nscd_initgroups.c): Likewise.
19131 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19132 (CFLAGS-pause.c): Likewise.
19133 (CFLAGS-pread.c): Likewise.
19134 (CFLAGS-pread64.c): Likewise.
19135 (CFLAGS-pwrite.c): Likewise.
19136 (CFLAGS-pwrite64.c): Likewise.
19137 (CFLAGS-sleep.c): Likewise.
19138 (CFLAGS-wait.c): Likewise.
19139 (CFLAGS-waitid.c): Likewise.
19140 (CFLAGS-waitpid.c): Likewise.
19141 (CFLAGS-getopt.c): Likewise.
19142 (CFLAGS-wordexp.c): Likewise.
19143 (CFLAGS-sysconf.c): Likewise.
19144 (CFLAGS-pathconf.c): Likewise.
19145 (CFLAGS-fpathconf.c): Likewise.
19146 (CFLAGS-spawn.c): Likewise.
19147 (CFLAGS-spawnp.c): Likewise.
19148 (CFLAGS-spawni.c): Likewise.
19149 (CFLAGS-glob.c): Likewise.
19150 (CFLAGS-glob64.c): Likewise.
19151 (CFLAGS-getconf.c): Likewise.
19152 (CFLAGS-nanosleep.c): Likewise.
19153 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19154 (CFLAGS-getpwent.c): Likewise.
19155 (CFLAGS-getpw.c): Likewise.
19156 (CFLAGS-fgetpwent_r.c): Likewise.
19157 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19158 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19159 (CFLAGS-mq_timedreceive.c): Likewise.
19160 (CFLAGS-mq_timedsend.c): Likewise.
19161 (CFLAGS-clock_nanosleep.c): Likewise.
19162 (CFLAGS-librt-cancellation.c): Likewise.
19163 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19164 (CFLAGS-getspent.c): Likewise.
19165 (CFLAGS-fgetspent.c): Likewise.
19166 (CFLAGS-fgetspent_r.c): Likewise.
19167 (CFLAGS-putspent.c): Likewise.
19168 (CFLAGS-getspnam.c): Likewise.
19169 (CFLAGS-getspnam_r.c): Likewise.
19170 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19171 (CFLAGS-sigsuspend.c): Likewise.
19172 (CFLAGS-sigtimedwait.c): Likewise.
19173 (CFLAGS-sigwait.c): Likewise.
19174 (CFLAGS-sigwaitinfo.c): Likewise.
19175 (CFLAGS-sigreturn.c): Likewise.
19176 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19177 (CFLAGS-vfwprintf.c): Likewise.
19178 (CFLAGS-tmpfile.c): Likewise.
19179 (CFLAGS-tmpfile64.c): Likewise.
19180 (CFLAGS-tempname.c): Likewise.
19181 (CFLAGS-psignal.c): Likewise.
19182 (CFLAGS-vprintf.c): Likewise.
19183 (CFLAGS-cuserid.c): Likewise.
19184 (CFLAGS-errlist.c): Likewise.
19185 (CFLAGS-siglist.c): Likewise.
19186 (CFLAGS-scanf15.c): Likewise.
19187 (CFLAGS-scanf17.c): Likewise.
19188 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19189 (CFLAGS-msort.c): Likewise.
19190 (CFLAGS-qsort.c): Likewise.
19191 (CFLAGS-system.c): Likewise.
19192 (CFLAGS-fmtmsg.c): Likewise.
19193 (CFLAGS-strfmon.c): Likewise.
19194 (CFLAGS-strfmon_l.c): Likewise.
19195 (CFLAGS-strfromd.c): Likewise.
19196 (CFLAGS-strfromf.c): Likewise.
19197 (CFLAGS-strfroml.c): Likewise.
19198 (CFLAGS-tst-bsearch.c): Likewise.
19199 (CFLAGS-tst-qsort.c): Likewise.
19200 (CFLAGS-tst-makecontext2.c): Likewise.
19201 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19202 (CFLAGS-xnlm_prot.c): Likewise.
19203 (CFLAGS-xrstat.c): Likewise.
19204 (CFLAGS-xyppasswd.c): Likewise.
19205 (CFLAGS-xklm_prot.c): Likewise.
19206 (CFLAGS-xrex.c): Likewise.
19207 (CFLAGS-xsm_inter.c): Likewise.
19208 (CFLAGS-xmount.c): Likewise.
19209 (CFLAGS-xrusers.c): Likewise.
19210 (CFLAGS-xspray.c): Likewise.
19211 (CFLAGS-xnfs_prot.c): Likewise.
19212 (CFLAGS-xrquota.c): Likewise.
19213 (CFLAGS-xkey_prot.c): Likewise.
19214 (CFLAGS-auth_unix.c): Likewise.
19215 (CFLAGS-key_call.c): Likewise.
19216 (CFLAGS-pmap_rmt.c): Likewise.
19217 (CFLAGS-clnt_perr.c): Likewise.
19218 (CFLAGS-openchild.c): Likewise.
19219 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19220 (CFLAGS-msgsnd.c): Likewise.
19221 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19222 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19223 (CFLAGS-tzset.c): Likewise.
19224 (CFLAGS-getdate.c): Likewise.
19225 (CFLAGS-test_time.c): Likewise.
19226 (CPPFLAGS-tst-tzname.c): Likewise.
19227 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19228 (CFLAGS-zic.c): Likewise.
19229 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19230 (CFLAGS-wcswidth.c): Likewise.
19231 (CFLAGS-wcstol.c): Likewise.
19232 (CFLAGS-wcstoul.c): Likewise.
19233 (CFLAGS-wcstoll.c): Likewise.
19234 (CFLAGS-wcstoull.c): Likewise.
19235 (CFLAGS-wcstod.c): Likewise.
19236 (CFLAGS-wcstold.c): Likewise.
19237 (CFLAGS-wcstof128.c): Likewise.
19238 (CFLAGS-wcstof.c): Likewise.
19239 (CFLAGS-wcstol_l.c): Likewise.
19240 (CFLAGS-wcstoul_l.c): Likewise.
19241 (CFLAGS-wcstoll_l.c): Likewise.
19242 (CFLAGS-wcstoull_l.c): Likewise.
19243 (CFLAGS-wcstod_l.c): Likewise.
19244 (CFLAGS-wcstold_l.c): Likewise.
19245 (CFLAGS-wcstof128_l.c): Likewise.
19246 (CFLAGS-wcstof_l.c): Likewise.
19247 (CPPFLAGS-tst-wchar-h.c): Likewise.
19248 (CPPFLAGS-wcstold_l.c): Likewise.
19250 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19252 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19254 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19255 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19257 * manual/tunables.texi (Hardware Capability Tunables): Document
19258 glibc.tune.cached_memopt.
19259 * sysdeps/powerpc/cpu-features.c: New file.
19260 * sysdeps/powerpc/cpu-features.h: New file.
19261 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19262 _dl_powerpc_cpu_features.
19263 * sysdeps/powerpc/dl-tunables.list: New file.
19264 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19265 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19266 (INIT_ARCH): Initialize use_aligned_memopt.
19267 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19268 IS_IN(rtld))]: Restrict dl_platform_init availability and
19269 initialize CPU features used by tunables.
19270 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19271 Add memcpy-power8-cached.
19272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19273 __memcpy_power8_cached.
19274 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19275 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19278 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19280 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19281 (CFLAGS-noinl-tester.c): Likewise.
19282 (CFLAGS-tst-strlen.c): Likewise.
19283 (CFLAGS-stratcliff.c): Likewise.
19284 (CFLAGS-test-ffs.c): Likewise.
19285 (CFLAGS-tst-inlcall.c): Likewise.
19286 (CFLAGS-tst-xbzero-opt.c): Likewise.
19287 (CFLAGS-memcpy.c): Likewise.
19288 (CFLAGS-wordcopy.c): Likewise.
19290 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19292 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19293 Store r15 on stack and add cfi rule.
19294 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19297 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19300 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19303 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19305 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19306 Add s_sinf-sse2 and s_sinf-fma.
19307 (CFLAGS-s_sinf-fma.c): New.
19308 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19309 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19310 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19312 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19314 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19316 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19319 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19320 part of result to imaginary part of argument if it is zero and the
19321 real part of the argument is not finite.
19322 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19323 of result to real part of argument if it is zero and the imaginary
19324 part of the argument is not finite.
19326 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19329 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19330 and to the list of locales to be built for testing.
19331 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19332 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19333 and build the collation rules upon that.
19335 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19337 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19338 * manual/math.texi (Mathematics): Document support for _Float32.
19339 * math/Makefile (test-types): Add float32.
19340 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19341 * stdlib/Versions (GLIBC_2.27): Likewise.
19342 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19343 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19344 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19345 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19346 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19347 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19348 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19349 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19350 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19351 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19352 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19353 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19354 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19355 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19356 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19357 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19358 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19359 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19360 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19361 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19362 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19363 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19365 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19366 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19367 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19368 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19369 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19387 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19388 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19389 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19390 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19391 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19392 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19393 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19394 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19395 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19396 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19405 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19406 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19407 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19408 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19409 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19410 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19411 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19412 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19414 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19416 * stdlib/strtof.c: Include <bits/floatn.h>
19417 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19418 and later undefine as macro. Define as weak alias if
19420 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19421 and later undefine as macro. Define as weak alias if
19423 * stdlib/strtof_l.c: Include <bits/floatn.h>
19424 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19425 and later undefine as macro. Define as weak alias if
19427 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19428 and later undefine as macro. Define as weak alias if
19431 * stdlib/strfromf.c: Include <bits/floatn.h>.
19432 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19433 and later undefine as macro and define as weak alias.
19435 * math/test-float32.h: New file.
19437 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19438 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19439 (libm_alias_float_other_r): Create f32 alias.
19440 (libm_alias_float_r): Use semicolon before call to
19441 libm_alias_float_other_r.
19443 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19444 second argument to libm_alias_float_other.
19445 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19446 second argument to libm_alias_float_other.
19447 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19448 argument to libm_alias_float_other.
19451 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19452 real part of result for argument 0 + i * NaN.
19453 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19454 results for tests of 0 + i * NaN.
19456 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19458 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19460 2017-12-06 David S. Miller <davem@davemloft.net>
19462 * sysdeps/sparc/fpu/libm-test-ulps: Update
19463 exp_{downward,towardzero,upward} ulps.
19465 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19467 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19470 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19472 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19474 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19476 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19479 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19482 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19483 and to the list of locales to be built for testing.
19484 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19485 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19486 and build the collation rules upon that.
19488 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19490 * NEWS: Add sinf to list of optimized functions.
19492 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19494 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19495 (__HAVE_FLOAT32X): Likewise.
19496 * manual/math.texi (Mathematics): Document support for _Float64
19498 * math/Makefile (test-types): Add float64 and float32x.
19499 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19501 * stdlib/Versions (GLIBC_2.27): Likewise.
19502 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19503 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19504 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19505 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19506 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19507 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19508 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19509 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19510 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19511 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19512 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19513 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19514 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19515 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19516 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19517 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19518 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19519 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19520 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19521 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19522 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19523 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19525 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19526 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19527 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19528 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19529 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19546 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19547 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19548 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19549 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19550 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19551 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19552 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19553 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19554 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19555 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19564 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19565 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19566 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19567 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19568 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19569 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19570 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19571 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19573 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19575 * bits/floatn-common.h: Include <bits/long-double.h>.
19576 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19577 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19578 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19579 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19580 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19581 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19582 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19583 (__builtin_huge_valf64): Use __builtin_huge_vall.
19584 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19585 (__builtin_inff64): Use __builtin_infl.
19586 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19587 (__builtin_nanf64): Use __builtin_nanl.
19588 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19589 (__builtin_nansf64): Use __builtin_nansl.
19591 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19592 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19593 Carlos O'Donnell <carlos@redhat.com>
19595 * elf/dl-tunables.list: Add elision parameters.
19596 * manual/tunables.texi: Add entries about elision tunable.
19597 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19598 Add callback functions to dynamically enable/disable elision.
19599 Add multiple callbacks functions to set elision parameters.
19600 Deleted __libc_enable_secure check.
19601 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19602 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19603 * configure: Regenerated.
19604 * configure.ac: Option enable_lock_elision was deleted.
19605 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19606 * config.make.in: Remove references to enable_lock_elision.
19607 * manual/install.texi: Elision configure option was removed.
19608 * INSTALL: Regenerated to remove enable_lock_elision.
19610 Disable elision so it can verify error case for destroying a mutex.
19611 * sysdeps/powerpc/nptl/elide.h:
19612 Cleanup ENABLE_LOCK_ELISION check.
19613 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19614 * sysdeps/s390/configure: Regenerated.
19615 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19616 * nptl/tst-mutex8.c:
19617 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19618 * sysdeps/powerpc/powerpc32/sysdep.h:
19619 Deleted all ENABLE_LOCK_ELISION checks.
19620 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19621 * sysdeps/powerpc/sysdep.h: Likewise.
19622 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19623 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19624 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19625 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19626 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19627 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19628 enable-lock-elision.
19630 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19632 * stdlib/strtod.c: Include <bits/floatn.h>.
19633 (BUILD_DOUBLE): New macro.
19634 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19635 (strtof64): Define and later undefine as macro. Define as weak
19636 alias if [!USE_WIDE_CHAR].
19637 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19638 (wcstof64): Define and later undefine as macro. Define as weak
19639 alias if [USE_WIDE_CHAR].
19640 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19641 (strtof32x): Define and later undefine as macro. Define as weak
19642 alias if [!USE_WIDE_CHAR].
19643 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19644 (wcstof32x): Define and later undefine as macro. Define as weak
19645 alias if [USE_WIDE_CHAR].
19646 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19647 (BUILD_DOUBLE): New macro.
19648 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19649 (strtof64_l): Define and later undefine as macro. Define as weak
19650 alias if [!USE_WIDE_CHAR].
19651 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19652 (wcstof64_l): Define and later undefine as macro. Define as weak
19653 alias if [USE_WIDE_CHAR].
19654 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19655 (strtof32x_l): Define and later undefine as macro. Define as weak
19656 alias if [!USE_WIDE_CHAR].
19657 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19658 (wcstof32x_l): Define and later undefine as macro. Define as weak
19659 alias if [USE_WIDE_CHAR].
19661 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19663 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19664 (reduced): Use ones as double instead of integer.
19666 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19668 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19670 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19672 * stdlib/strfromd.c: Include <bits/floatn.h>.
19673 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19674 and later undefine as macro and define as weak alias.
19675 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19678 * math/test-float32x.h: New file.
19679 * math/test-float64.h: Likewise.
19681 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19682 (libm_alias_double_other_r_f64): New macro.
19683 (libm_alias_double_other_r_f32x): Likewise.
19684 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19685 libm_alias_double_other_r_f32x.
19686 (libm_alias_double_r): Use semicolon before call to
19687 libm_alias_double_other_r.
19688 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19690 (libm_alias_double_other_r_f64): New macro.
19691 (libm_alias_double_other_r_f32x): Likewise.
19692 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19693 libm_alias_double_other_r_f32x.
19695 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19697 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19699 (SINF_FUNC): Likewise. Replace floor with simple casts.
19701 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19704 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19705 and to the list of locales to be built for testing.
19706 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19707 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19708 and build the collation rules upon that.
19710 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19712 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19713 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19714 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19715 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19716 instead of __insn__xxx.
19717 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19718 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19719 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19720 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19721 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19722 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19724 2017-12-05 Florian Weimer <fweimer@redhat.com>
19726 Linux: Implement interfaces for memory protection keys
19727 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19729 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19730 * support/xunistd.h (xsysconf): Declare.
19731 * support/xraise.c: New file.
19732 * support/xsigaction.c: Likewise.
19733 * support/xsignal.c: Likewise.
19734 * support/xsysconf.c: Likewise.
19735 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19736 pkey_set, pkey_get, pkey_mprotect.
19737 [misc] (tests): Add tst-pkey.
19738 (tst-pkey): Link with -lpthread.
19739 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19740 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19741 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19742 (PKEY_DISABLE_WRITE): Define.
19743 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19745 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19746 (SEGV_PKUERR): Add.
19747 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19748 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19749 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19750 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19752 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19753 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19754 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19755 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19756 * sysdeps/unix/sysv/linux/**.abilist: Update.
19758 2017-12-05 Florian Weimer <fweimer@redhat.com>
19760 * support/tst-test_compare.c (subprocess): Use long long instead
19761 of long argument for consistent type width across 32-bit and
19762 64-bit architectures.
19763 (do_test): Adjust expected output.
19765 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19767 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19768 (cosf): Define using libm_alias_float.
19769 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19770 (fabsf): Define using libm_alias_float.
19771 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19772 (fmaf): Define using libm_alias_float.
19773 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19774 (rintf): Define using libm_alias_float.
19775 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19776 (sinf): Define using libm_alias_float.
19777 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19778 <libm-alias-float.h>.
19779 (modff): Define using libm_alias_float.
19780 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19781 <libm-alias-float.h>.
19782 (logbf): Define using libm_alias_float.
19783 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19784 <libm-alias-float.h>.
19785 (ceilf): Define using libm_alias_float.
19786 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19787 <libm-alias-float.h>.
19788 (copysignf): Define using libm_alias_float.
19789 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19790 <libm-alias-float.h>.
19791 (floorf): Define using libm_alias_float.
19792 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19793 <libm-alias-float.h>.
19794 (llrintf): Define using libm_alias_float.
19795 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19796 <libm-alias-float.h>.
19797 (llroundf): Define using libm_alias_float.
19798 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19799 <libm-alias-float.h>.
19800 (lrintf): Define using libm_alias_float.
19801 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19802 <libm-alias-float.h>.
19803 (lroundf): Define using libm_alias_float.
19804 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19805 <libm-alias-float.h>.
19806 (nearbyintf): Define using libm_alias_float.
19807 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19808 <libm-alias-float.h>.
19809 (rintf): Define using libm_alias_float.
19810 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19811 <libm-alias-float.h>.
19812 (roundf): Define using libm_alias_float.
19813 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19814 <libm-alias-float.h>.
19815 (truncf): Define using libm_alias_float.
19816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19817 Include <libm-alias-float.h>.
19818 (ceilf): Define using libm_alias_float.
19819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19820 Include <libm-alias-float.h>.
19821 (copysignf): Define using libm_alias_float.
19822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19823 Include <libm-alias-float.h>.
19824 (floorf): Define using libm_alias_float.
19825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19826 Include <libm-alias-float.h>.
19827 (llrintf): Define using libm_alias_float.
19828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19829 Include <libm-alias-float.h>.
19830 (llroundf): Define using libm_alias_float.
19831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19832 Include <libm-alias-float.h>.
19833 (logbf): Define using libm_alias_float.
19834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19835 Include <libm-alias-float.h>.
19836 (lrintf): Define using libm_alias_float.
19837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19838 Include <libm-alias-float.h>.
19839 (lroundf): Define using libm_alias_float.
19840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19841 Include <libm-alias-float.h>.
19842 (modff): Define using libm_alias_float.
19843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19844 Include <libm-alias-float.h>.
19845 (roundf): Define using libm_alias_float.
19846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19847 Include <libm-alias-float.h>.
19848 (truncf): Define using libm_alias_float.
19849 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19850 <libm-alias-float.h>.
19851 (llrintf): Define using libm_alias_float.
19852 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19853 <libm-alias-float.h>.
19854 (llroundf): Define using libm_alias_float.
19855 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19856 <libm-alias-float.h>.
19857 (ceilf): Define using libm_alias_float.
19858 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19859 <libm-alias-float.h>.
19860 (floorf): Define using libm_alias_float.
19861 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19862 <libm-alias-float.h>.
19863 (llroundf): Define using libm_alias_float.
19864 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19865 <libm-alias-float.h>.
19866 (lroundf): Define using libm_alias_float.
19867 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19868 <libm-alias-float.h>.
19869 (roundf): Define using libm_alias_float.
19870 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19871 <libm-alias-float.h>.
19872 (truncf): Define using libm_alias_float.
19873 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19874 <libm-alias-float.h>.
19875 (copysignf): Define using libm_alias_float.
19876 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19877 <libm-alias-float.h>.
19878 (llrintf): Define using libm_alias_float.
19879 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19880 <libm-alias-float.h>.
19881 (llroundf): Define using libm_alias_float.
19882 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19883 <libm-alias-float.h>.
19884 (lrintf): Define using libm_alias_float.
19885 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19886 <libm-alias-float.h>.
19887 (lroundf): Define using libm_alias_float.
19888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19889 <libm-alias-float.h>.
19890 (ceilf): Define using libm_alias_float.
19891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19892 <libm-alias-float.h>.
19893 (copysignf): Define using libm_alias_float.
19894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19895 <libm-alias-float.h>.
19896 (cosf): Define using libm_alias_float.
19897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19898 <libm-alias-float.h>.
19899 (floorf): Define using libm_alias_float.
19900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19901 <libm-alias-float.h>.
19902 (llrintf): Define using libm_alias_float.
19903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19904 <libm-alias-float.h>.
19905 (llroundf): Define using libm_alias_float.
19906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19907 <libm-alias-float.h>.
19908 (logbf): Define using libm_alias_float.
19909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19910 <libm-alias-float.h>.
19911 (modff): Define using libm_alias_float.
19912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19913 <libm-alias-float.h>.
19914 (roundf): Define using libm_alias_float.
19915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19916 <libm-alias-float.h>.
19917 (sinf): Define using libm_alias_float.
19918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19919 <libm-alias-float.h>.
19920 (truncf): Define using libm_alias_float.
19921 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19922 <libm-alias-float.h>.
19923 (ceilf): Define using libm_alias_float.
19924 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19925 <libm-alias-float.h>.
19926 (copysignf): Define using libm_alias_float.
19927 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19928 <libm-alias-float.h>.
19929 (floorf): Define using libm_alias_float.
19930 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19931 <libm-alias-float.h>.
19932 (llrintf): Define using libm_alias_float.
19933 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19934 <libm-alias-float.h>.
19935 (llroundf): Define using libm_alias_float.
19936 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19937 <libm-alias-float.h>.
19938 (nearbyintf): Define using libm_alias_float.
19939 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19940 <libm-alias-float.h>.
19941 (rintf): Define using libm_alias_float.
19942 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19943 <libm-alias-float.h>.
19944 (roundf): Define using libm_alias_float.
19945 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19946 <libm-alias-float.h>.
19947 (truncf): Define using libm_alias_float.
19948 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19949 <libm-alias-float.h>.
19950 (ceilf): Define using libm_alias_float.
19951 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19952 <libm-alias-float.h>.
19953 (floorf): Define using libm_alias_float.
19954 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19955 <libm-alias-float.h>.
19956 (llroundf): Define using libm_alias_float.
19957 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19958 <libm-alias-float.h>.
19959 (roundf): Define using libm_alias_float.
19960 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19961 <libm-alias-float.h>.
19962 (truncf): Define using libm_alias_float.
19963 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19964 <libm-alias-float.h>.
19965 (copysignf): Define using libm_alias_float.
19966 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19967 <libm-alias-float.h>.
19968 (llrintf): Define using libm_alias_float.
19969 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19970 <libm-alias-float.h>.
19971 (llroundf): Define using libm_alias_float.
19972 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19973 <libm-alias-float.h>.
19974 (cosf): Define using libm_alias_float.
19975 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19976 <libm-alias-float.h>.
19977 (llrintf): Define using libm_alias_float.
19978 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19979 <libm-alias-float.h>.
19980 (llroundf): Define using libm_alias_float.
19981 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19982 <libm-alias-float.h>.
19983 (sinf): Define using libm_alias_float.
19985 2017-12-04 Florian Weimer <fweimer@redhat.com>
19987 * support/check.h (TEST_COMPARE): Define.
19988 (support_test_compare_failure): Declare.
19989 * support/Makefile (libsupport-routines): Add
19990 support_test_compare_failure.
19991 (tests): Add tst-test_compare.
19992 * support /support_test_compare_failure.c: New file.
19993 * support/tst-test_compare.c: Likewise.
19995 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19998 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19999 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20000 available, this rewrite of the collation rules does reproduce
20001 the test file in the same order.
20003 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20006 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20007 digraphs in the month and day names. Using single code points for
20008 digraphs is deprecated. While there are dedicated Unicode
20009 codepoints, for the digraphs, these are included for backwards
20010 compatibility and modern texts use a sequence of Basic Latin
20011 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20012 This makes the month and day names agree exactly with CLDR now,
20013 CLDR does not use the single code points for the digraphs either.
20015 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20017 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20019 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20021 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20024 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20026 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20027 Define only for libc.so.
20029 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20031 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20032 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20033 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20034 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20035 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20037 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20040 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20042 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20045 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20046 PREINIT_FUNCTION_WEAK is nonzero.
20047 (gmon_initializer): New function. Put procedure label for it in
20048 .init_array section.
20049 (_init): Don't call PREINIT_FUNCTION.
20050 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20051 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20052 value when map argument is null.
20054 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20055 depi instruction from PIC pc-relative sequence.
20056 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20057 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20058 (elf_machine_load_address): Likewise.
20059 (elf_machine_runtime_setup): Likewise.
20061 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20063 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20064 <libm-alias-double.h>.
20065 (logb): Define using libm_alias_double.
20066 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20067 <libm-alias-double.h>.
20068 (copysign): Define using libm_alias_double.
20069 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20070 <libm-alias-double.h>.
20071 (llrint): Define using libm_alias_double.
20072 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20073 <libm-alias-double.h>.
20074 (llround): Define using libm_alias_double.
20075 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20076 <libm-alias-double.h>.
20077 (lrint): Define using libm_alias_double.
20078 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20079 <libm-alias-double.h>.
20080 (lround): Define using libm_alias_double.
20081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20082 Include <libm-alias-double.h>.
20083 (copysign): Define using libm_alias_double.
20084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20085 Include <libm-alias-double.h>.
20086 (llrint): Define using libm_alias_double.
20087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20088 Include <libm-alias-double.h>.
20089 (llround): Define using libm_alias_double.
20090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20091 <libm-alias-double.h>.
20092 (logb): Define using libm_alias_double.
20093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20094 Include <libm-alias-double.h>.
20095 (lrint): Define using libm_alias_double.
20096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20097 Include <libm-alias-double.h>.
20098 (lround): Define using libm_alias_double.
20099 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20100 <libm-alias-double.h>.
20101 (llrint): Define using libm_alias_double.
20102 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20103 <libm-alias-double.h>.
20104 (llround): Define using libm_alias_double.
20105 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20106 <libm-alias-double.h>.
20107 (llround): Define using libm_alias_double.
20108 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20109 <libm-alias-double.h>.
20110 (lround): Define using libm_alias_double.
20111 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20112 <libm-alias-double.h>.
20113 (copysign): Define using libm_alias_double.
20114 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20115 <libm-alias-double.h>.
20116 (llrint): Define using libm_alias_double.
20117 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20118 <libm-alias-double.h>.
20119 (llround): Define using libm_alias_double.
20120 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20121 <libm-alias-double.h>.
20122 (lrint): Define using libm_alias_double.
20123 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20124 <libm-alias-double.h>.
20125 (lround): Define using libm_alias_double.
20126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20127 <libm-alias-double.h>.
20128 (copysign): Define using libm_alias_double.
20129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20130 <libm-alias-double.h>.
20131 (llrint): Define using libm_alias_double.
20133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20134 <libm-alias-double.h>.
20135 (llround): Define using libm_alias_double.
20136 (lround): Likewise.
20137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20138 <libm-alias-double.h>.
20139 (logb): Define using libm_alias_double.
20140 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20141 <libm-alias-double.h>.
20142 (copysign): Define using libm_alias_double.
20143 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20144 <libm-alias-double.h>.
20145 (llrint): Define using libm_alias_double.
20147 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20148 <libm-alias-double.h>.
20149 (llround): Define using libm_alias_double.
20150 (lround): Likewise.
20151 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20152 <libm-alias-double.h>.
20153 (llround): Define using libm_alias_double.
20154 (lround): Likewise.
20155 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20156 <libm-alias-double.h>.
20157 (copysign): Define using libm_alias_double.
20158 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20159 <libm-alias-double.h>.
20160 (llrint): Define using libm_alias_double.
20162 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20163 <libm-alias-double.h>.
20164 (llround): Define using libm_alias_double.
20165 (lround): Likewise.
20166 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20167 <libm-alias-double.h>.
20168 (llrint): Define using libm_alias_double.
20170 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20171 <libm-alias-double.h>.
20172 (llround): Define using libm_alias_double.
20173 (lround): Likewise.
20175 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20178 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20179 compat symbol based on llround.
20181 * sysdeps/powerpc/power7/fpu/s_logb.c
20182 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20183 symbol based on __logb, not on logb.
20184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20185 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20187 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20189 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20190 (rint): Define using libm_alias_double.
20191 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20192 <libm-alias-double.h>.
20193 (modf): Define using libm_alias_double.
20194 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20195 <libm-alias-double.h>.
20196 (ceil): Define using libm_alias_double.
20197 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20198 <libm-alias-double.h>.
20199 (floor): Define using libm_alias_double.
20200 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20201 <libm-alias-double.h>.
20202 (nearbyint): Define using libm_alias_double.
20203 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20204 <libm-alias-double.h>.
20205 (rint): Define using libm_alias_double.
20206 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20207 <libm-alias-double.h>.
20208 (round): Define using libm_alias_double.
20209 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20210 <libm-alias-double.h>.
20211 (trunc): Define using libm_alias_double.
20212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20213 <libm-alias-double.h>.
20214 (ceil): Define using libm_alias_double.
20215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20216 Include <libm-alias-double.h>.
20217 (floor): Define using libm_alias_double.
20218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20219 <libm-alias-double.h>.
20220 (modf): Define using libm_alias_double.
20221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20222 Include <libm-alias-double.h>.
20223 (round): Define using libm_alias_double.
20224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20225 Include <libm-alias-double.h>.
20226 (trunc): Define using libm_alias_double.
20227 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20228 <libm-alias-double.h>.
20229 (ceil): Define using libm_alias_double.
20230 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20231 <libm-alias-double.h>.
20232 (floor): Define using libm_alias_double.
20233 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20234 <libm-alias-double.h>.
20235 (round): Define using libm_alias_double.
20236 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20237 <libm-alias-double.h>.
20238 (trunc): Define using libm_alias_double.
20239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20240 <libm-alias-double.h>.
20241 (ceil): Define using libm_alias_double.
20242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20243 <libm-alias-double.h>.
20244 (floor): Define using libm_alias_double.
20245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20246 <libm-alias-double.h>.
20247 (modf): Define using libm_alias_double.
20248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20249 <libm-alias-double.h>.
20250 (round): Define using libm_alias_double.
20251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20252 <libm-alias-double.h>.
20253 (trunc): Define using libm_alias_double.
20254 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20255 <libm-alias-double.h>.
20256 (ceil): Define using libm_alias_double.
20257 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20258 <libm-alias-double.h>.
20259 (floor): Define using libm_alias_double.
20260 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20261 <libm-alias-double.h>.
20262 (nearbyint): Define using libm_alias_double.
20263 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20264 <libm-alias-double.h>.
20265 (rint): Define using libm_alias_double.
20266 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20267 <libm-alias-double.h>.
20268 (round): Define using libm_alias_double.
20269 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20270 <libm-alias-double.h>.
20271 (trunc): Define using libm_alias_double.
20272 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20273 <libm-alias-double.h>.
20274 (ceil): Define using libm_alias_double.
20275 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20276 <libm-alias-double.h>.
20277 (floor): Define using libm_alias_double.
20278 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20279 <libm-alias-double.h>.
20280 (round): Define using libm_alias_double.
20281 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20282 <libm-alias-double.h>.
20283 (trunc): Define using libm_alias_double.
20285 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20286 (fabs): Define using libm_alias_double.
20287 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20288 (fma): Define using libm_alias_double.
20289 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20290 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20291 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20292 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20294 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20296 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20298 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20299 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20300 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20303 due redirect macro.
20305 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20307 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20309 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20311 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20312 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20313 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20314 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20317 (libm-sysdep_routines): Add s_nearbyintf-generic and
20318 s_nearbyint-generic.
20319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20332 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20343 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20354 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20365 (sysdep_calls): New rule.
20366 (sysdep_routines): Use sysdep_calls as base.
20367 (libm-sysdep_routines): Add generic rule for symbols shared with
20368 libc. Add s_copysign-generic and s_copysign-generic objects.
20369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20378 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20381 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20382 the list of locales to be built for testing.
20383 * localedata/is_IS.UTF-8.in: New file.
20384 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20387 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20389 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20390 <libm-alias-float.h>.
20391 (fabsf): Define using libm_alias_float.
20393 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20395 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20397 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20399 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20400 <libm-alias-float.h>.
20401 (fabsf): Define using libm_alias_float.
20402 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20403 <libm-alias-float.h>.
20404 (lrintf): Define using libm_alias_float.
20405 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20406 <libm-alias-float.h>.
20407 (rintf): Define using libm_alias_float.
20409 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20410 <libm-alias-double.h>.
20411 (fabs): Define using libm_alias_double.
20412 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20413 <libm-alias-double.h>.
20414 (lrint): Define using libm_alias_double.
20415 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20416 <libm-alias-double.h>.
20417 (rint): Define using libm_alias_double.
20419 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20420 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20421 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20422 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20423 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20424 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20425 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20426 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20427 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20428 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20429 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20430 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20431 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20432 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20433 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20434 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20435 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20436 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20438 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20439 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20440 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20442 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20443 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20444 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20446 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20447 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20448 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20449 s_expm1_template.c.
20450 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20451 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20452 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20454 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20455 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20456 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20457 s_floor_template.c.
20458 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20459 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20460 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20461 s_frexp_template.c.
20462 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20463 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20464 s_lrint_template.c.
20465 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20466 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20467 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20469 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20470 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20471 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20472 s_nearbyint_template.c.
20473 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20474 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20475 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20476 s_remquo_template.c.
20477 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20478 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20479 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20481 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20482 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20483 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20485 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20486 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20487 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20488 s_sincos_template.c.
20489 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20490 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20491 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20493 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20494 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20495 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20497 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20498 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20499 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20500 s_trunc_template.c.
20501 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20502 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20503 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20504 s_atan.c instead of including s_atan.c.
20505 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20506 s_atanf.c instead of including s_atanf.c.
20507 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20508 s_atanl.c instead of including s_atanl.c.
20509 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20510 instead of s_atan.c.
20511 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20512 instead of s_atanf.c.
20513 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20514 instead of s_atanl.c.
20516 * scripts/update-copyrights: Do not handle intl/plural.c
20519 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20522 * configure.ac (BISON): Require to be present.
20523 * configure: Regenerated.
20524 * intl/Makefile (generated): Add plural.c.
20525 [$(BISON) != no]: Make code unconditional.
20526 (plural.c): Change rule to $(objpfx)plural.c.
20527 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20528 * intl/plural.c: Remove.
20529 * manual/install.texi (Tools for Compilation): Document bison as
20531 * INSTALL: Regenerated.
20533 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20535 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20536 <libm-alias-double.h>.
20537 (llrint): Define using libm_alias_double.
20538 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20539 <libm-alias-float.h>.
20540 (llrintf): Define using libm_alias_float.
20541 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20542 <libm-alias-ldouble.h>.
20543 (llrintl): Define using libm_alias_ldouble.
20545 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20546 declare_mgen_alias instead of weak_alias.
20547 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20548 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20549 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20551 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20553 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20555 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20556 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20557 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20559 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20560 Add submul_1-generic.
20561 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20562 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20563 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20565 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20566 Add addmul_1-generic.
20567 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20568 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20569 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20571 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20573 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20574 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20575 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20577 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20579 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20580 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20581 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20583 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20585 According to CLDR, collation rules for Serbian and Bosnian
20586 should be the same as for Croatian.
20589 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20590 and to the list of locales to be built for testing.
20591 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20592 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20593 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20594 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20596 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20598 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20599 to make test case pass.
20600 * localedata/hr_HR.UTF-8.in: Add more test strings.
20602 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20604 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20606 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20608 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20609 the list of locales to built for testing.
20610 * localedata/hr_HR.UTF-8.in: New file.
20612 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20615 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20617 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20618 CLDR (except use ligatures for the digraphs, CLDR does not use
20619 the ligatures), add first_workday, some fixes in the date and time
20621 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20623 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20624 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20625 Add int_p_cs_precedes and int_n_cs_precedes.
20626 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20627 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20629 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20630 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20632 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20633 and lang_lib. Change postal_fmt.
20635 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20637 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20639 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20640 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20641 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20642 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20643 * sysdeps/generic/setjmpP.h: New file.
20644 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20645 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20646 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20647 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20648 Add jmp_buf-ssp.sym.
20649 (tests): Add tst-saved_mask-1.
20651 2017-11-30 Arjun Shankar <arjun@redhat.com>
20655 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20656 instead of request2size.
20658 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20661 (__lllrint): Remove alias.
20662 (lllrint): Likewise.
20663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20664 (__lllrintf): Likewise.
20665 (lllrintf): Likewise.
20667 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20668 <libm-alias-float.h>.
20669 (copysignf): Define using libm_alias_float.
20670 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20671 <libm-alias-float.h>.
20672 (fabsf): Define using libm_alias_float.
20673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20674 Include <libm-alias-float.h>.
20675 (copysignf): Define using libm_alias_float.
20676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20677 <libm-alias-float.h>.
20678 (fabsf): Define using libm_alias_float.
20679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20680 <libm-alias-float.h>.
20681 (fdimf): Define using libm_alias_float.
20682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20683 <libm-alias-float.h>.
20684 (fmaf): Define using libm_alias_float.
20685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20686 <libm-alias-float.h>.
20687 (llrintf): Define using libm_alias_float.
20688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20689 Include <libm-alias-float.h>.
20690 (nearbyintf): Define using libm_alias_float.
20691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20692 <libm-alias-float.h>.
20693 (rintf): Define using libm_alias_float.
20694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20695 <libm-alias-float.h>.
20696 (llrintf): Define using libm_alias_float.
20697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20698 <libm-alias-float.h>.
20699 (lrintf): Define using libm_alias_float.
20700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20701 <libm-alias-float.h>.
20702 (nearbyintf): Define using libm_alias_float.
20703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20704 <libm-alias-float.h>.
20705 (rintf): Define using libm_alias_float.
20706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20707 <libm-alias-float.h>.
20708 (ceilf): Define using libm_alias_float.
20709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20710 <libm-alias-float.h>.
20711 (floorf): Define using libm_alias_float.
20712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20713 <libm-alias-float.h>.
20714 (fmaf): Define using libm_alias_float.
20715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20716 <libm-alias-float.h>.
20717 (lrintf): Define using libm_alias_float.
20718 (llrintf): Likewise.
20719 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20720 <libm-alias-float.h>.
20721 (nearbyintf): Define using libm_alias_float.
20722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20723 <libm-alias-float.h>.
20724 (rintf): Define using libm_alias_float.
20725 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20726 <libm-alias-float.h>.
20727 (truncf): Define using libm_alias_float.
20728 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20729 <libm-alias-float.h>.
20730 (copysignf): Define using libm_alias_float.
20731 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20732 <libm-alias-float.h>.
20733 (fabsf): Define using libm_alias_float.
20734 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20735 <libm-alias-float.h>.
20736 (lrintf): Define using libm_alias_float.
20737 (llrintf): Likewise.
20738 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20739 <libm-alias-float.h>.
20740 (nearbyintf): Define using libm_alias_float.
20741 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20742 <libm-alias-float.h>.
20743 (rintf): Define using libm_alias_float.
20745 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20747 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20748 <libm-alias-double.h>.
20749 (copysign): Define using libm_alias_double.
20750 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20751 <libm-alias-double.h>.
20752 (fabs): Define using libm_alias_double.
20753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20754 Include <libm-alias-double.h>.
20755 (copysign): Define using libm_alias_double.
20756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20757 <libm-alias-double.h>.
20758 (fabs): Define using libm_alias_double.
20759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20760 <libm-alias-double.h>.
20761 (fdim): Define using libm_alias_double.
20762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20763 <libm-alias-double.h>.
20764 (fma): Define using libm_alias_double.
20765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20766 <libm-alias-double.h>.
20767 (llrint): Define using libm_alias_double.
20768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20769 Include <libm-alias-double.h>.
20770 (nearbyint): Define using libm_alias_double.
20771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20772 <libm-alias-double.h>.
20773 (rint): Define using libm_alias_double.
20774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20775 <libm-alias-double.h>.
20776 (fabs): Define using libm_alias_double.
20777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20778 <libm-alias-double.h>.
20779 (llrint): Define using libm_alias_double.
20780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20781 <libm-alias-double.h>.
20782 (nearbyint): Define using libm_alias_double.
20783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20784 <libm-alias-double.h>.
20785 (rint): Define using libm_alias_double.
20786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20787 <libm-alias-double.h>.
20788 (ceil): Define using libm_alias_double.
20789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20790 <libm-alias-double.h>.
20791 (floor): Define using libm_alias_double.
20792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20793 <libm-alias-double.h>.
20794 (fma): Define using libm_alias_double.
20795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20796 <libm-alias-double.h>.
20797 (lrint): Define using libm_alias_double.
20798 (llrint): Likewise.
20799 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20800 <libm-alias-double.h>.
20801 (nearbyint): Define using libm_alias_double.
20802 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20803 <libm-alias-double.h>.
20804 (rint): Define using libm_alias_double.
20805 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20806 <libm-alias-double.h>.
20807 (trunc): Define using libm_alias_double.
20808 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20809 <libm-alias-double.h>.
20810 (copysign): Define using libm_alias_double.
20811 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20812 <libm-alias-double.h>.
20813 (fabs): Define using libm_alias_double.
20814 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20815 <libm-alias-double.h>.
20816 (lrint): Define using libm_alias_double.
20817 (llrint): Likewise.
20818 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20819 <libm-alias-double.h>.
20820 (nearbyint): Define using libm_alias_double.
20821 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20822 <libm-alias-double.h>.
20823 (rint): Define using libm_alias_double.
20826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20828 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20830 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20831 SPARC --disable-multi-arch glibc variants.
20833 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20834 <libm-alias-float.h>.
20835 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20837 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20838 <libm-alias-float.h>.
20839 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20841 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20842 <libm-alias-float.h>.
20843 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20845 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20846 <libm-alias-float.h>.
20847 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20849 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20850 <libm-alias-float.h>.
20851 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20853 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20854 <libm-alias-float.h>.
20855 (ceilf): Define using libm_alias_float.
20856 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20857 <libm-alias-float.h>.
20858 (floorf): Define using libm_alias_float.
20859 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20860 <libm-alias-float.h>.
20861 (fmaf): Define using libm_alias_float.
20862 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20863 <libm-alias-float.h>.
20864 (nearbyintf): Define using libm_alias_float.
20865 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20866 <libm-alias-float.h>.
20867 (rintf): Define using libm_alias_float.
20868 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20869 <libm-alias-float.h>.
20870 (truncf): Define using libm_alias_float.
20871 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20872 (copysignf): Define using libm_alias_float.
20873 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20874 (cosf): Define using libm_alias_float.
20875 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20876 (fabsf): Define using libm_alias_float.
20877 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20878 (fmaxf): Define using libm_alias_float.
20879 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20880 (fminf): Define using libm_alias_float.
20881 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20882 (llrintf): Define using libm_alias_float.
20883 [!__ILP32__] (lrintf): Likewise.
20884 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20885 (sincosf): Define using libm_alias_float.
20886 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20887 (sinf): Define using libm_alias_float.
20888 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20889 (lrintf): Define using libm_alias_float.
20891 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20892 <libm-alias-double.h>.
20893 (atan): Define using libm_alias_double.
20894 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20895 <libm-alias-double.h>.
20896 (ceil): Define using libm_alias_double.
20897 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20898 <libm-alias-double.h>.
20899 (floor): Define using libm_alias_double.
20900 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20901 <libm-alias-double.h>.
20902 (fma): Define using libm_alias_double.
20903 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20904 <libm-alias-double.h>.
20905 (nearbyint): Define using libm_alias_double.
20906 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20907 <libm-alias-double.h>.
20908 (rint): Define using libm_alias_double.
20909 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20910 <libm-alias-double.h>.
20911 (sin): Define using libm_alias_double.
20913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20914 <libm-alias-double.h>.
20915 (tan): Define using libm_alias_double.
20916 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20917 <libm-alias-double.h>.
20918 (trunc): Define using libm_alias_double.
20919 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20920 (copysign): Define using libm_alias_double.
20921 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20922 (fabs): Define using libm_alias_double.
20923 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20924 (fmax): Define using libm_alias_double.
20925 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20926 (fmin): Define using libm_alias_double.
20927 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20928 (llrint): Define using libm_alias_double.
20929 [!__ILP32__] (lrint): Likewise.
20930 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20931 (lrint): Define using libm_alias_double.
20933 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20935 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20936 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20940 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20942 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20943 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20945 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20946 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20948 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20949 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20950 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20951 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20952 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20953 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20955 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20956 (libm-sysdep_routines): Add s_nearbyint-generic and
20957 s_nearbyintf-generic objects.
20958 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20959 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20960 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20961 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20962 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20963 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20965 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20966 Add s_finitef-generic and s_finite-generic objects.
20967 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20968 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20969 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20970 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20971 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20972 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20974 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20975 Add s_isinff-generic and s_isinf-generic objects.
20976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20978 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20979 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20980 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20983 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20984 Add s_isnanf-generic and s_isnan-generic objects.
20985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20992 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20994 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20996 (sysdep_routines): Use sysdep_calls as base.
20997 (libm-sysdep_routines): Add generic rule for symbols shared with
20998 libc. Add s_signbit-generic and s_signbitf-generic objects.
20999 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21000 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21001 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21002 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21003 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21004 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21006 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21008 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21009 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21010 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21011 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21012 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21013 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21014 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21015 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21016 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21017 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21018 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21019 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21020 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21021 libm_alias_float_r.
21022 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21023 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21025 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21026 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21027 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21028 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21029 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21030 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21031 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21032 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21033 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21034 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21036 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21038 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21039 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21040 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21041 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21042 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21043 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21044 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21045 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21046 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21047 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21048 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21049 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21050 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21051 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21052 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21053 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21054 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21055 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21056 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21058 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21059 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21060 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21061 * sysdeps/ia64/fpu/w_lgammaf_main.c
21062 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21063 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21065 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21066 Alexandre Oliva <aoliva@redhat.com>
21069 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21070 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21072 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21074 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21075 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21076 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21077 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21078 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21079 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21080 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21081 instead of “ifdef DIACRIT_BACKWARD”.
21083 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21085 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21086 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21087 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21088 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21089 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21090 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21094 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21097 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21098 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21099 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21100 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21101 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21102 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21104 ($(have-as-vis3) == yes): Remove conditional.
21105 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21115 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21116 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21121 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21122 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21124 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21126 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21127 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21128 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21129 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21130 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21131 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21132 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21133 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21134 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21135 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21136 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21137 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21138 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21139 libm_alias_double_r.
21140 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21142 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21143 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21144 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21145 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21146 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21147 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21148 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21149 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21150 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21151 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21152 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21154 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21156 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21157 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21158 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21159 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21160 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21161 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21162 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21163 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21164 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21165 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21166 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21167 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21168 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21169 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21170 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21171 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21172 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21173 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21175 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21176 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21177 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21178 * sysdeps/ia64/fpu/w_lgamma_main.c
21179 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21180 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21182 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21184 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21185 address of $global$ into %dp register earlier. Use pc-relative
21186 instruction sequence for PIC case.
21188 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21190 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21191 (asinhf): Define using libm_alias_float.
21192 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21193 (atanf): Define using libm_alias_float.
21194 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21195 (cbrtf): Define using libm_alias_float.
21196 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21197 (ceilf): Define using libm_alias_float.
21198 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21199 (copysignf): Define using libm_alias_float.
21200 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21201 (expm1f): Define using libm_alias_float.
21202 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21203 (fabsf): Define using libm_alias_float.
21204 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21205 (floorf): Define using libm_alias_float.
21206 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21207 (fmaxf): Define using libm_alias_float.
21208 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21209 (fminf): Define using libm_alias_float.
21210 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21211 (frexpf): Define using libm_alias_float.
21212 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21213 (llrintf): Define using libm_alias_float.
21214 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21215 (logbf): Define using libm_alias_float.
21216 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21217 (lrintf): Define using libm_alias_float.
21218 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21219 (nearbyintf): Define using libm_alias_float.
21220 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21221 (remquof): Define using libm_alias_float.
21222 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21223 (rintf): Define using libm_alias_float.
21224 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21225 (truncf): Define using libm_alias_float.
21226 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21227 <libm-alias-float.h>.
21228 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21230 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21231 <libm-alias-float.h>.
21232 (expf): Define using libm_alias_float, or libm_alias_float_other
21234 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21235 <libm-alias-float.h>.
21236 (log2f): Define using libm_alias_float, or libm_alias_float_other
21238 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21239 <libm-alias-float.h>.
21240 (logf): Define using libm_alias_float, or libm_alias_float_other
21242 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21243 <libm-alias-float.h>.
21244 (powf): Define using libm_alias_float, or libm_alias_float_other
21246 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21247 <libm-alias-float.h>.
21248 (cosf): Define using libm_alias_float.
21249 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21250 <libm-alias-float.h>.
21251 (sincosf): Define using libm_alias_float.
21252 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21253 <libm-alias-float.h>.
21254 (sinf): Define using libm_alias_float.
21255 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21256 (fmaxf): Define using libm_alias_float.
21257 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21258 (fminf): Define using libm_alias_float.
21259 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21260 <libm-alias-float.h>.
21261 (fmaf): Define using libm_alias_float.
21263 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21264 (asinh): Define using libm_alias_double.
21265 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21266 (atan): Define using libm_alias_double.
21267 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21268 (cbrt): Define using libm_alias_double.
21269 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21270 (ceil): Define using libm_alias_double.
21271 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21272 (copysign): Define using libm_alias_double.
21273 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21274 (expm1): Define using libm_alias_double.
21275 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21276 (fabs): Define using libm_alias_double.
21277 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21278 (fdim): Define using libm_alias_double.
21279 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21280 (floor): Define using libm_alias_double.
21281 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21282 (fmax): Define using libm_alias_double.
21283 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21284 (fmin): Define using libm_alias_double.
21285 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21286 (frexp): Define using libm_alias_double.
21287 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21288 (llrint): Define using libm_alias_double.
21289 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21290 (logb): Define using libm_alias_double.
21291 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21292 (lrint): Define using libm_alias_double.
21293 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21294 (nearbyint): Define using libm_alias_double.
21295 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21296 (remquo): Define using libm_alias_double.
21297 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21298 (rint): Define using libm_alias_double.
21299 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21300 (trunc): Define using libm_alias_double.
21301 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21302 (fmax): Define using libm_alias_double.
21303 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21304 (fmin): Define using libm_alias_double.
21305 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21306 (fma): Define using libm_alias_double.
21308 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21311 * elf/dl-hwcaps.c (ROUND): Removed.
21312 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21313 and ELF_NOTE_NEXT_OFFSET.
21314 * elf/dl-load.c (ROUND): Removed.
21315 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21316 * elf/readelflib.c (ROUND): Removed.
21317 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21318 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21319 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21320 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21322 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21324 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21325 [!__fmaf] (fmaf): Define using libm_alias_float.
21327 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21328 [!__fma] (fma): Define using libm_alias_double.
21329 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21331 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21334 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21335 and implement the collation rules for cs from CLDR on top of that.
21336 * Makefile: Add cs_CZ.UTF-8 to test-input.
21337 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21339 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21341 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21343 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21344 Icarus Sparry <icarus.w.sparry@intel.com>
21346 * benchtests/Makefile:Add BENCHSET to allow subsets of
21347 benchmarks to be run.
21348 * benchtests/README: Add documentation for: Running subsets of
21351 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21353 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21354 range of tests names.
21356 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21357 result from property and remove "max", min" and "mean" from
21358 required properties based on benchtests/bench-skeleton.c.
21360 2017-11-28 Florian Weimer <fweimer@redhat.com>
21363 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21364 due to Internet requirement.
21365 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21367 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21369 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21371 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21372 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21373 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21374 (sysdep_routines): Add memset-ultra1.
21375 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21377 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21378 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21379 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21380 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21381 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21382 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21383 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21384 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21386 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21388 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21389 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21390 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21391 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21392 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21393 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21394 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21396 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21397 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21398 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21399 (sysdep_routines): Add memcpy-ultra1.
21400 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21401 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21403 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21405 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21406 (cfloat_versions): Take function argument without trailing 'f'.
21407 Call libm_alias_float_other.
21408 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21409 * sysdeps/alpha/fpu/cargf.c: Likewise.
21410 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21411 * sysdeps/alpha/fpu/conjf.c: Likewise.
21412 * sysdeps/alpha/fpu/crealf.c: Likewise.
21413 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21414 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21415 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21416 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21417 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21418 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21419 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21420 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21421 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21422 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21423 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21424 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21425 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21426 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21427 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21428 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21429 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21430 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21431 (clog10f): Use libm_alias_float_other.
21432 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21433 (ceilf): Define using libm_alias_float.
21434 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21435 (copysignf): Define using libm_alias_float.
21436 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21437 (fabsf): Define using libm_alias_float.
21438 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21439 (floorf): Define using libm_alias_float.
21440 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21441 (fmaxf): Define using libm_alias_float.
21442 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21443 (fminf): Define using libm_alias_float.
21444 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21445 (lrintf): Define using libm_alias_float.
21446 (llrintf): Likewise.
21447 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21448 (lroundf): Define using libm_alias_float.
21449 (llroundf): Likewise.
21450 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21451 (rintf): Define using libm_alias_float.
21452 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21453 (truncf): Define using libm_alias_float.
21455 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21456 (ceilf): Define using libm_alias_float.
21457 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21458 (floorf): Define using libm_alias_float.
21459 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21460 (fmaf): Define using libm_alias_float.
21461 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21462 (fmaxf): Define using libm_alias_float.
21463 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21464 (fminf): Define using libm_alias_float.
21465 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21466 (llrintf): Define using libm_alias_float.
21467 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21468 (llroundf): Define using libm_alias_float.
21469 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21470 (lrintf): Define using libm_alias_float.
21471 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21472 (lroundf): Define using libm_alias_float.
21473 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21474 <libm-alias-float.h>.
21475 (nearbyintf): Define using libm_alias_float.
21476 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21477 (rintf): Define using libm_alias_float.
21478 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21479 (roundf): Define using libm_alias_float.
21480 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21481 (truncf): Define using libm_alias_float.
21483 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21484 (ceil): Define using libm_alias_double.
21485 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21486 (copysign): Define using libm_alias_double.
21487 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21488 (fabs): Define using libm_alias_double.
21489 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21490 (floor): Define using libm_alias_double.
21491 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21492 (fmax): Define using libm_alias_double.
21493 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21494 (fmin): Define using libm_alias_double.
21495 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21496 (lrint): Define using libm_alias_double.
21497 (llrint): Likewise.
21498 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21499 (lround): Define using libm_alias_double.
21500 (llround): Likewise.
21501 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21502 (rint): Define using libm_alias_double.
21503 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21504 (trunc): Define using libm_alias_double.
21506 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21507 (libm_alias_double_r): Add semicolon after weak_alias call.
21509 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21511 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21512 (ceil): Define using libm_alias_double.
21513 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21514 (floor): Define using libm_alias_double.
21515 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21516 (fma): Define using libm_alias_double.
21517 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21518 (fmax): Define using libm_alias_double.
21519 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21520 (fmin): Define using libm_alias_double.
21521 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21522 (llrint): Define using libm_alias_double.
21523 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21524 (llround): Define using libm_alias_double.
21525 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21526 (lrint): Define using libm_alias_double.
21527 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21528 (lround): Define using libm_alias_double.
21529 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21530 (nearbyint): Define using libm_alias_double.
21531 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21532 (rint): Define using libm_alias_double.
21533 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21534 (round): Define using libm_alias_double.
21535 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21536 (trunc): Define using libm_alias_double.
21538 2017-11-27 Florian Weimer <fweimer@redhat.com>
21540 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21541 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21542 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21543 (tests): Add tst-mlock2.
21544 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21545 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21546 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21547 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21548 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21549 for mlock. Document mlock2.
21551 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21553 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21554 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21556 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21558 * sysdeps/x86/Makeconfig: New file.
21559 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21560 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21561 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21562 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21563 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21564 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21565 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21567 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21568 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21569 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21570 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21571 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21572 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21573 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21574 * manual/math.texi (Mathematics): Document support for _Float64x.
21575 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21576 * stdlib/Versions (GLIBC_2.27): Likewise.
21577 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21578 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21579 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21580 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21581 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21582 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21583 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21584 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21585 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21586 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21587 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21588 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21593 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21594 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21595 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21596 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21597 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21598 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21599 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21600 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21601 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21602 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21603 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21604 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21605 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21606 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21608 2017-11-27 Andreas Schwab <schwab@suse.de>
21610 * elf/Makefile (dl-routines): Add dl-sort-maps.
21611 * elf/dl-sort-maps.c: New file.
21612 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21613 (_dl_sort_maps): Declare.
21614 * elf/dl-fini.c (_dl_sort_fini): Remove.
21615 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21616 * elf/dl-close.c (_dl_close_worker): Likewise.
21617 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21619 * elf/dl-open.c (dl_open_worker): Likewise.
21621 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21623 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21624 using libm_alias_float128.
21625 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21627 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21629 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21630 (setpayloadsigf128): Likewise.
21631 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21633 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21636 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21637 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21638 -mfloat128 to CFLAGS.
21640 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21642 (CFLAGS-libm-test-support-float64x.c): New variable.
21643 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21644 $(f128-loader-link) to gnulib-tests.
21646 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21647 (libm_alias_float128_other_r): If
21648 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21650 (libm_alias_float128_r): Add semicolon after weak_alias call.
21651 * sysdeps/generic/libm-alias-ldouble.h
21652 (libm_alias_ldouble_other_r_f128): New macro.
21653 (libm_alias_ldouble_other_r_f64x): Likewise.
21654 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21655 and libm_alias_ldouble_other_r_f64x.
21656 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21657 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21658 (libm_alias_ldouble_other_r_f128): New macro.
21659 (libm_alias_ldouble_other_r_f64x): Likewise.
21660 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21661 and libm_alias_ldouble_other_r_f64x.
21663 * stdlib/strfroml.c: Always include <stdlib.h>.
21664 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21665 undefine as macro and define as weak alias.
21666 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21667 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21669 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21670 Define and later undefine as macro and define as weak alias.
21672 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21673 Define and later undefine as macro. Define as weak alias if
21675 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21676 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21677 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21678 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21679 Define and later undefine as macro. Define as weak alias if
21681 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21682 Define and later undefine as macro. Define as weak alias if
21684 * sysdeps/ieee754/float128/strtof128_l.c
21685 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21686 Define and later undefine as macro. Define as weak alias if
21688 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21689 Define and later undefine as macro. Define as weak alias if
21691 * sysdeps/ieee754/ldbl-128/strtold_l.c
21692 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21693 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21694 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21695 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21696 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21697 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21698 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21699 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21700 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21701 * sysdeps/ieee754/ldbl-96/strtold_l.c
21702 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21703 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21704 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21705 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21707 * math/test-float64x.h: New file.
21708 * math/Makefile (type-float64x-yes): New variable.
21709 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21711 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21712 function-like macro.
21713 (min_of_type_): Likewise.
21714 (min_of_type_l): Likewise.
21715 (min_of_type_f128): Likewise.
21716 (min_of_type): Pass () as last argument of __MATH_TG.
21718 * stdlib/tst-strtod-round-skeleton.c
21719 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21722 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21723 for combinations of long double with _Float64 and _Float64x.
21725 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21726 (__DECL_SIMD_cosf32): Likewise.
21727 (__DECL_SIMD_cosf64): Likewise.
21728 (__DECL_SIMD_cosf32x): Likewise.
21729 (__DECL_SIMD_cosf64x): Likewise.
21730 (__DECL_SIMD_cosf128x): Likewise.
21731 (__DECL_SIMD_sinf16): Likewise.
21732 (__DECL_SIMD_sinf32): Likewise.
21733 (__DECL_SIMD_sinf64): Likewise.
21734 (__DECL_SIMD_sinf32x): Likewise.
21735 (__DECL_SIMD_sinf64x): Likewise.
21736 (__DECL_SIMD_sinf128x): Likewise.
21737 (__DECL_SIMD_sincosf16): Likewise.
21738 (__DECL_SIMD_sincosf32): Likewise.
21739 (__DECL_SIMD_sincosf64): Likewise.
21740 (__DECL_SIMD_sincosf32x): Likewise.
21741 (__DECL_SIMD_sincosf64x): Likewise.
21742 (__DECL_SIMD_sincosf128x): Likewise.
21743 (__DECL_SIMD_logf16): Likewise.
21744 (__DECL_SIMD_logf32): Likewise.
21745 (__DECL_SIMD_logf64): Likewise.
21746 (__DECL_SIMD_logf32x): Likewise.
21747 (__DECL_SIMD_logf64x): Likewise.
21748 (__DECL_SIMD_logf128x): Likewise.
21749 (__DECL_SIMD_expf16): Likewise.
21750 (__DECL_SIMD_expf32): Likewise.
21751 (__DECL_SIMD_expf64): Likewise.
21752 (__DECL_SIMD_expf32x): Likewise.
21753 (__DECL_SIMD_expf64x): Likewise.
21754 (__DECL_SIMD_expf128x): Likewise.
21755 (__DECL_SIMD_powf16): Likewise.
21756 (__DECL_SIMD_powf32): Likewise.
21757 (__DECL_SIMD_powf64): Likewise.
21758 (__DECL_SIMD_powf32x): Likewise.
21759 (__DECL_SIMD_powf64x): Likewise.
21760 (__DECL_SIMD_powf128x): Likewise.
21762 * stdlib/Versions (libc): Move entries for wcstof128 and
21763 wcstof128_l to ....
21764 * wcsmbs/Versions (libc): ... here.
21765 Include <float128-abi.h>.
21767 2017-11-24 Florian Weimer <fweimer@redhat.com>
21769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21770 bits/mman-shared.h.
21771 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21772 <bits/mman-shared.h>.
21773 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21775 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21776 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21777 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21778 <bits/mman-shared.h>.
21780 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21783 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21784 posix_memalign/free.
21785 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21787 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21790 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21791 and implement the collation rules for pl from CLDR on top of that.
21792 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21793 of locales to be built for testing.
21794 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21796 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21798 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21799 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21800 libm_alias_ldouble_other.
21801 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21802 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21803 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21804 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21805 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21806 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21807 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21808 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21809 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21810 libm_alias_ldouble_r.
21811 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21812 libm_alias_ldouble_other.
21813 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21814 (log10l): Likewise.
21815 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21816 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21817 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21818 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21819 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21820 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21821 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21822 (atan2l): Likewise.
21823 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21824 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21825 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21826 libm_alias_ldouble.
21827 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21829 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21830 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21831 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21833 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21834 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21835 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21836 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21837 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21838 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21839 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21840 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21841 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21842 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21843 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21844 libm_alias_ldouble.
21845 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21846 libm_alias_ldouble_other.
21847 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21848 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21849 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21850 libm_alias_ldouble.
21851 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21852 libm_alias_ldouble_other.
21853 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21854 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21855 * sysdeps/ia64/fpu/w_lgammal_main.c
21856 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21857 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21859 2017-11-23 Florian Weimer <fweimer@redhat.com>
21861 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21862 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21863 alike. Remove freeres marker.
21864 * malloc/arena.c (arena_thread_freeres): Call
21865 tcache_thread_shutdown.
21867 2017-11-23 Florian Weimer <fweimer@redhat.com>
21870 Export nscd hash function as __nss_hash.
21871 * include/nss.h (__nss_hash): Declare.
21872 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21874 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21875 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21877 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21878 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21879 * nss/Makefiles (routines): Add nss_hash.
21880 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21881 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21882 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21883 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21885 2017-11-23 Florian Weimer <fweimer@redhat.com>
21888 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21889 Return error code, not -1.
21890 * signal/tst-sigwait-eintr.c: New file.
21891 * signal/Makefile (tests): Add tst-sigwait-eintr.
21893 2017-11-23 Florian Weimer <fweimer@redhat.com>
21895 Linux: Add memfd_create system call wrapper
21896 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21898 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21899 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21900 [__USE_GNU] (memfd_create): Declare.
21901 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21902 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21903 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21904 * sysdeps/unix/sysv/linux/**.abilist: Update.
21905 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21907 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21909 * localedata/gen-locale.sh: Fix typo in variable name.
21911 * resolv/res_debug.c (p_secstodate): Condition definition on
21912 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21913 directly as __p_secstodate, and as a compat symbol. Do not use
21914 libresolv_hidden_def.
21915 * resolv/resolv.h (p_secstodate): Remove macro and function
21917 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21918 using p_secstodate.
21919 * include/resolv.h (__p_secstodate): Do not use
21920 libresolv_hidden_proto.
21921 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21922 (tests-internal): ... here.
21923 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21924 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21925 and declare and use __p_secstodate and use compat_symbol_reference
21927 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21928 implementation returning 77.
21931 * resolv/res_debug.c: Include <libc-diag.h>.
21932 (p_secstodate): Assert time_t at least as wide as u_long. On
21933 overflow, use integer seconds since the epoch as output, or use
21934 "<overflow>" as output and set errno to EOVERFLOW if integer
21935 seconds since the epoch would be 14 or more characters.
21936 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21938 * resolv/tst-p_secstodate.c: New file.
21939 * resolv/Makefile (tests): Add tst-p_secstodate.
21940 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21942 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21943 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21944 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21946 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21948 * posix/regcomp.c (init_word_char): Add comments.
21950 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21953 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21954 strlen to compute length of ut_user and set trailing NUL byte of
21957 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21960 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21961 using “copy "iso14651_t1"” and then implementing the
21962 collation rules for lv from CLDR on top of that.
21963 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21964 of locales to be built for testing.
21965 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21968 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21970 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21971 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21972 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21973 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21974 [__USE_MISC] (MADV_HWPOISON): New macro.
21975 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21977 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21979 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21980 -Wmissing-braces on GCC 4.9.
21982 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21984 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21985 * sysdeps/s390/s390-32/start.S (_start): Likewise
21986 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21987 (thread_start): Likewise.
21988 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21989 (thread_start): Likewise.
21990 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21991 (__makecontext_ret): Likewise.
21992 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21993 (__makecontext_ret): Likewise.
21995 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21997 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21998 __wcschrnul): Remove attribute_hidden.
22000 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22002 regex: don't assume uint64_t or uint32_t
22003 This avoids -Werror=overflow errors for 32-bit systems in
22004 the 64-bit case. Problem reported by Joseph Myers in:
22005 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22006 Also, when this code is used in Gnulib it ports to platforms
22007 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22008 them, and on some 32-bit compilers there is no uint64_t.
22009 Problem reported by Gianluigi Tiesi in:
22010 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22011 * posix/regcomp.c (init_word_char): Don't assume that the types
22012 uint64_t and uint32_t exist. Adapted from Gnulib patch
22013 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22014 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22016 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22018 * sysdeps/aarch64/memset-reg.h: New file.
22019 * sysdeps/aarch64/memset.S: Use it.
22020 (__memset): Rename to MEMSET macro.
22021 [ZVA_MACRO]: Use zva_macro.
22022 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22023 Add memset_generic and memset_falkor.
22024 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22025 (__libc_ifunc_impl_list): Add memset ifuncs.
22026 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22027 local variable zva_size.
22028 * sysdeps/aarch64/multiarch/memset.c: New file.
22029 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22030 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22031 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22032 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22033 (DCZID_DZP_MASK): New macro.
22034 (DCZID_BS_MASK): Likewise.
22035 (init_cpu_features): Read and set zva_size.
22036 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22037 (struct cpu_features): New member zva_size.
22039 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22040 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22041 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22043 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22044 backwards. Fix timing computation.
22045 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22046 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22047 on memset by N at a time. Fix timing computation.
22049 2017-11-20 Florian Weimer <fweimer@redhat.com>
22051 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22052 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22054 2017-11-19 Florian Weimer <fweimer@redhat.com>
22056 manual: Document mprotect
22057 * manual/memory.texi (Memory Protection): New section.
22058 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22059 documentation of PROT_* flags and reference the Memory Protection
22062 2017-11-19 Florian Weimer <fweimer@redhat.com>
22064 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22065 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22066 (Scatter-Gather): ... to here. Remove misleading comment.
22068 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22070 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22073 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22074 when /proc/<pid>/setgroups does not exist.
22076 2017-11-18 Florian Weimer <fweimer@redhat.com>
22078 * sysdeps/unix/sysv/linux/tst-ttyname.c
22079 (become_root_in_mount_ns): Remove.
22080 (do_in_chroot_1): Call support_enter_mount_namespace.
22081 (do_in_chroot_2): Likewise.
22082 (do_test): Call support_become_root early.
22084 2017-11-18 Florian Weimer <fweimer@redhat.com>
22086 * support/namespace.h (support_enter_mount_namespace): Declare.
22087 * support/support_enter_mount_namespace.c: New file.
22088 * support/Makefile (libsupport-routines): Add
22089 support_enter_mount_namespace.
22091 2017-11-18 Florian Weimer <fweimer@redhat.com>
22093 * support/temp_file.c (support_create_temp_directory): Use
22094 test_dir and do not rely on the presence of the XXXXXX suffix.
22095 * support/temp_file.h (support_create_temp_directory): Update
22097 * support/tst-xreadlink.c (do_test): Adjust.
22098 * support/support_chroot.c (support_chroot_create): Likewise.
22100 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22102 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22104 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22107 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22109 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22110 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22111 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22112 (ceill): Define using libm_alias_ldouble.
22113 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22114 <libm-alias-ldouble.h>.
22115 (copysignl): Define using libm_alias_ldouble.
22116 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22117 (fabsl): Define using libm_alias_ldouble.
22118 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22119 (floorl): Define using libm_alias_ldouble.
22120 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22121 (fmaxl): Define using libm_alias_ldouble.
22122 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22123 (fminl): Define using libm_alias_ldouble.
22124 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22125 (llrintl): Define using libm_alias_ldouble.
22126 (lrintl): Likewise.
22127 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22128 <libm-alias-ldouble.h>.
22129 (nearbyintl): Define using libm_alias_ldouble.
22130 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22131 (truncl): Define using libm_alias_ldouble.
22132 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22133 <libm-alias-ldouble.h>.
22134 (lrintl): Define using libm_alias_ldouble.
22136 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22137 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22138 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22139 (asinhl): Define using libm_alias_ldouble.
22140 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22141 (atanl): Define using libm_alias_ldouble.
22142 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22143 (cbrtl): Define using libm_alias_ldouble.
22144 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22145 (ceill): Define using libm_alias_ldouble.
22146 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22147 (copysignl): Define using libm_alias_ldouble.
22148 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22149 (fabsl): Define using libm_alias_ldouble.
22150 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22151 (floorl): Define using libm_alias_ldouble.
22152 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22153 (fmaxl): Define using libm_alias_ldouble.
22154 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22155 (fminl): Define using libm_alias_ldouble.
22156 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22157 (frexpl): Define using libm_alias_ldouble.
22158 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22159 (llrintl): Define using libm_alias_ldouble.
22160 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22161 (logbl): Define using libm_alias_ldouble.
22162 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22163 (lrintl): Define using libm_alias_ldouble.
22164 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22165 (nearbyintl): Define using libm_alias_ldouble.
22166 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22167 (nextafterl): Define using libm_alias_ldouble.
22168 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22169 (remquol): Define using libm_alias_ldouble.
22170 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22171 (rintl): Define using libm_alias_ldouble.
22172 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22173 (truncl): Define using libm_alias_ldouble.
22174 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22175 (fmaxl): Define using libm_alias_ldouble.
22176 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22177 (fminl): Define using libm_alias_ldouble.
22179 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22180 to C syntax instead of availability and properties of types.
22181 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22182 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22183 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22184 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22185 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22186 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22188 2017-11-17 Florian Weimer <fweimer@redhat.com>
22190 support_become_root: Enable file creation in namespaces.
22191 * support/support_become_root.c (setup_mapping): New function.
22192 (support_become_root): Call it.
22194 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22196 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22199 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22201 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22202 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22204 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22206 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22208 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22211 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22213 * INSTALL: Fix botched up regeneration.
22215 * NEWS: Update sourceare link to https.
22216 * configure.ac: Likewise.
22217 * crypt/md5test-giant.c: Likewise.
22218 * dlfcn/bug-atexit1.c: Likewise.
22219 * dlfcn/bug-atexit2.c: Likewise.
22220 * localedata/README: Likewise.
22221 * malloc/tst-mallocfork.c: Likewise.
22222 * manual/install.texi: Likewise.
22223 * nptl/tst-pthread-getattr.c: Likewise.
22224 * stdio-common/tst-fgets.c: Likewise.
22225 * stdio-common/tst-fwrite.c: Likewise.
22226 * sunrpc/Makefile: Likewise.
22227 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22228 * wcsmbs/tst-mbrtowc2.c: Likewise.
22229 * configure: Regenerate.
22230 * INSTALL: Regenerate.
22232 2017-11-15 Martin Sebor <msebor@redhat.com>
22234 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22235 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22236 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22238 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22241 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22242 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22245 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22246 Defer is_pty check until end of the function.
22247 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22250 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22251 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22252 (ttyname): Likewise.
22253 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22254 (__ttyname_r): Likewise.
22256 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22259 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22261 * manual/terminal.texi (Is It a Terminal):
22262 Mention ENODEV for ttyname and ttyname_r.
22264 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22266 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22267 constant and macro.
22269 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22270 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22271 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22272 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22273 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22274 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22276 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22278 * signal/sigrelse.c (sigrelse): Optimize implementation.
22280 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22281 (__sigpause): Rely on __sigsuspend to implement single thread
22282 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22284 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22286 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22287 kernel version to 4.14.
22289 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22292 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22293 Check if ifname is too long.
22295 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22297 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22299 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22301 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22302 was accidentally lost.
22304 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22306 * localedata/locales/az_IR: Add standard copyright header.
22308 2017-11-15 Florian Weimer <fweimer@redhat.com>
22311 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22312 not just the top one. Output a new "subheaps" statistic.
22314 2017-11-15 Florian Weimer <fweimer@redhat.com>
22317 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22318 under the per-arena lock.
22319 * malloc/Makefile (tests): Add tst-malloc_info.
22320 (tst-malloc_info): Link with libpthread.
22321 * malloc/tst-malloc_info.c: New file.
22323 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22326 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22327 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22328 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22329 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22330 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22331 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22332 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22333 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22334 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22335 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22336 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22337 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22338 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22339 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22340 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22341 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22342 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22343 (__floating_type): Likewise.
22344 (__real_integer_type): Likewise.
22345 (__complex_integer_type): Likewise.
22346 (__expr_is_real): Likewise.
22347 (__tgmath_real_type_sub): Likewise.
22348 (__tgmath_real_type): Likewise.
22349 (__tgmath_complex_type_sub): Likewise.
22350 (__tgmath_complex_type): Likewise.
22351 (__TGMATH_F128): Likewise.
22352 (__TGMATH_CF128): Likewise.
22353 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22355 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22356 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22358 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22360 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22361 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22362 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22363 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22365 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22366 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22368 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22369 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22370 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22372 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22373 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22374 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22378 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22380 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22381 for stpncpy calls for GCC 8.
22382 (test_strncat): Disable -Wstringop-truncation warning for strncat
22383 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22384 strncat call for GCC 7.
22385 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22387 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22390 * string/bug-strncat1.c: Include <libc-diag.h>.
22391 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22393 2017-11-13 Claude Paroz <claude@2xlibre.net>
22396 * localedata/locales/aa_DJ: Improved readibility by replacing
22397 <Uxxxx> sequences in the ASCII printable range by their ASCII
22398 character equivalents.
22399 * localedata/locales/aa_ER: Likewise.
22400 * localedata/locales/aa_ER@saaho: Likewise.
22401 * localedata/locales/aa_ET: Likewise.
22402 * localedata/locales/af_ZA: Likewise.
22403 * localedata/locales/agr_PE: Likewise.
22404 * localedata/locales/ak_GH: Likewise.
22405 * localedata/locales/am_ET: Likewise.
22406 * localedata/locales/anp_IN: Likewise.
22407 * localedata/locales/ar_AE: Likewise.
22408 * localedata/locales/ar_BH: Likewise.
22409 * localedata/locales/ar_DZ: Likewise.
22410 * localedata/locales/ar_EG: Likewise.
22411 * localedata/locales/ar_IN: Likewise.
22412 * localedata/locales/ar_IQ: Likewise.
22413 * localedata/locales/ar_JO: Likewise.
22414 * localedata/locales/ar_KW: Likewise.
22415 * localedata/locales/ar_LB: Likewise.
22416 * localedata/locales/ar_LY: Likewise.
22417 * localedata/locales/ar_MA: Likewise.
22418 * localedata/locales/ar_OM: Likewise.
22419 * localedata/locales/ar_QA: Likewise.
22420 * localedata/locales/ar_SA: Likewise.
22421 * localedata/locales/ar_SD: Likewise.
22422 * localedata/locales/ar_SS: Likewise.
22423 * localedata/locales/ar_SY: Likewise.
22424 * localedata/locales/ar_TN: Likewise.
22425 * localedata/locales/ar_YE: Likewise.
22426 * localedata/locales/as_IN: Likewise.
22427 * localedata/locales/ast_ES: Likewise.
22428 * localedata/locales/ayc_PE: Likewise.
22429 * localedata/locales/az_AZ: Likewise.
22430 * localedata/locales/az_IR: Likewise.
22431 * localedata/locales/be_BY: Likewise.
22432 * localedata/locales/be_BY@latin: Likewise.
22433 * localedata/locales/bem_ZM: Likewise.
22434 * localedata/locales/ber_DZ: Likewise.
22435 * localedata/locales/ber_MA: Likewise.
22436 * localedata/locales/bg_BG: Likewise.
22437 * localedata/locales/bhb_IN: Likewise.
22438 * localedata/locales/bho_IN: Likewise.
22439 * localedata/locales/bi_VU: Likewise.
22440 * localedata/locales/bn_BD: Likewise.
22441 * localedata/locales/bn_IN: Likewise.
22442 * localedata/locales/bo_CN: Likewise.
22443 * localedata/locales/bo_IN: Likewise.
22444 * localedata/locales/br_FR: Likewise.
22445 * localedata/locales/brx_IN: Likewise.
22446 * localedata/locales/bs_BA: Likewise.
22447 * localedata/locales/byn_ER: Likewise.
22448 * localedata/locales/ca_AD: Likewise.
22449 * localedata/locales/ca_ES: Likewise.
22450 * localedata/locales/ca_FR: Likewise.
22451 * localedata/locales/ca_IT: Likewise.
22452 * localedata/locales/ce_RU: Likewise.
22453 * localedata/locales/chr_US: Likewise.
22454 * localedata/locales/cmn_TW: Likewise.
22455 * localedata/locales/crh_UA: Likewise.
22456 * localedata/locales/cs_CZ: Likewise.
22457 * localedata/locales/csb_PL: Likewise.
22458 * localedata/locales/cv_RU: Likewise.
22459 * localedata/locales/cy_GB: Likewise.
22460 * localedata/locales/da_DK: Likewise.
22461 * localedata/locales/de_AT: Likewise.
22462 * localedata/locales/de_BE: Likewise.
22463 * localedata/locales/de_CH: Likewise.
22464 * localedata/locales/de_DE: Likewise.
22465 * localedata/locales/de_IT: Likewise.
22466 * localedata/locales/de_LI: Likewise.
22467 * localedata/locales/de_LU: Likewise.
22468 * localedata/locales/doi_IN: Likewise.
22469 * localedata/locales/dv_MV: Likewise.
22470 * localedata/locales/dz_BT: Likewise.
22471 * localedata/locales/el_CY: Likewise.
22472 * localedata/locales/el_GR: Likewise.
22473 * localedata/locales/en_AG: Likewise.
22474 * localedata/locales/en_AU: Likewise.
22475 * localedata/locales/en_BW: Likewise.
22476 * localedata/locales/en_CA: Likewise.
22477 * localedata/locales/en_DK: Likewise.
22478 * localedata/locales/en_GB: Likewise.
22479 * localedata/locales/en_HK: Likewise.
22480 * localedata/locales/en_IE: Likewise.
22481 * localedata/locales/en_IL: Likewise.
22482 * localedata/locales/en_IN: Likewise.
22483 * localedata/locales/en_NG: Likewise.
22484 * localedata/locales/en_NZ: Likewise.
22485 * localedata/locales/en_PH: Likewise.
22486 * localedata/locales/en_SG: Likewise.
22487 * localedata/locales/en_US: Likewise.
22488 * localedata/locales/en_ZA: Likewise.
22489 * localedata/locales/en_ZM: Likewise.
22490 * localedata/locales/en_ZW: Likewise.
22491 * localedata/locales/eo: Likewise.
22492 * localedata/locales/es_AR: Likewise.
22493 * localedata/locales/es_BO: Likewise.
22494 * localedata/locales/es_CL: Likewise.
22495 * localedata/locales/es_CO: Likewise.
22496 * localedata/locales/es_CR: Likewise.
22497 * localedata/locales/es_CU: Likewise.
22498 * localedata/locales/es_DO: Likewise.
22499 * localedata/locales/es_EC: Likewise.
22500 * localedata/locales/es_ES: Likewise.
22501 * localedata/locales/es_GT: Likewise.
22502 * localedata/locales/es_HN: Likewise.
22503 * localedata/locales/es_MX: Likewise.
22504 * localedata/locales/es_NI: Likewise.
22505 * localedata/locales/es_PA: Likewise.
22506 * localedata/locales/es_PE: Likewise.
22507 * localedata/locales/es_PR: Likewise.
22508 * localedata/locales/es_PY: Likewise.
22509 * localedata/locales/es_SV: Likewise.
22510 * localedata/locales/es_US: Likewise.
22511 * localedata/locales/es_UY: Likewise.
22512 * localedata/locales/es_VE: Likewise.
22513 * localedata/locales/et_EE: Likewise.
22514 * localedata/locales/eu_ES: Likewise.
22515 * localedata/locales/eu_ES@euro: Likewise.
22516 * localedata/locales/fa_IR: Likewise.
22517 * localedata/locales/ff_SN: Likewise.
22518 * localedata/locales/fi_FI: Likewise.
22519 * localedata/locales/fil_PH: Likewise.
22520 * localedata/locales/fo_FO: Likewise.
22521 * localedata/locales/fr_BE: Likewise.
22522 * localedata/locales/fr_CA: Likewise.
22523 * localedata/locales/fr_CH: Likewise.
22524 * localedata/locales/fr_FR: Likewise.
22525 * localedata/locales/fr_LU: Likewise.
22526 * localedata/locales/fur_IT: Likewise.
22527 * localedata/locales/fy_DE: Likewise.
22528 * localedata/locales/fy_NL: Likewise.
22529 * localedata/locales/ga_IE: Likewise.
22530 * localedata/locales/gd_GB: Likewise.
22531 * localedata/locales/gez_ER: Likewise.
22532 * localedata/locales/gez_ET: Likewise.
22533 * localedata/locales/gl_ES: Likewise.
22534 * localedata/locales/gu_IN: Likewise.
22535 * localedata/locales/gv_GB: Likewise.
22536 * localedata/locales/ha_NG: Likewise.
22537 * localedata/locales/hak_TW: Likewise.
22538 * localedata/locales/he_IL: Likewise.
22539 * localedata/locales/hi_IN: Likewise.
22540 * localedata/locales/hif_FJ: Likewise.
22541 * localedata/locales/hne_IN: Likewise.
22542 * localedata/locales/hr_HR: Likewise.
22543 * localedata/locales/hsb_DE: Likewise.
22544 * localedata/locales/ht_HT: Likewise.
22545 * localedata/locales/hu_HU: Likewise.
22546 * localedata/locales/hy_AM: Likewise.
22547 * localedata/locales/i18n: Likewise.
22548 * localedata/locales/ia_FR: Likewise.
22549 * localedata/locales/id_ID: Likewise.
22550 * localedata/locales/ig_NG: Likewise.
22551 * localedata/locales/ik_CA: Likewise.
22552 * localedata/locales/is_IS: Likewise.
22553 * localedata/locales/it_CH: Likewise.
22554 * localedata/locales/it_IT: Likewise.
22555 * localedata/locales/iu_CA: Likewise.
22556 * localedata/locales/ja_JP: Likewise.
22557 * localedata/locales/ka_GE: Likewise.
22558 * localedata/locales/kk_KZ: Likewise.
22559 * localedata/locales/kl_GL: Likewise.
22560 * localedata/locales/kn_IN: Likewise.
22561 * localedata/locales/ko_KR: Likewise.
22562 * localedata/locales/kok_IN: Likewise.
22563 * localedata/locales/ks_IN: Likewise.
22564 * localedata/locales/ks_IN@devanagari: Likewise.
22565 * localedata/locales/ku_TR: Likewise.
22566 * localedata/locales/kw_GB: Likewise.
22567 * localedata/locales/ky_KG: Likewise.
22568 * localedata/locales/lb_LU: Likewise.
22569 * localedata/locales/lg_UG: Likewise.
22570 * localedata/locales/li_BE: Likewise.
22571 * localedata/locales/li_NL: Likewise.
22572 * localedata/locales/lij_IT: Likewise.
22573 * localedata/locales/ln_CD: Likewise.
22574 * localedata/locales/lo_LA: Likewise.
22575 * localedata/locales/lt_LT: Likewise.
22576 * localedata/locales/lv_LV: Likewise.
22577 * localedata/locales/lzh_TW: Likewise.
22578 * localedata/locales/mag_IN: Likewise.
22579 * localedata/locales/mai_IN: Likewise.
22580 * localedata/locales/mg_MG: Likewise.
22581 * localedata/locales/mhr_RU: Likewise.
22582 * localedata/locales/mi_NZ: Likewise.
22583 * localedata/locales/mk_MK: Likewise.
22584 * localedata/locales/ml_IN: Likewise.
22585 * localedata/locales/mn_MN: Likewise.
22586 * localedata/locales/mni_IN: Likewise.
22587 * localedata/locales/mr_IN: Likewise.
22588 * localedata/locales/ms_MY: Likewise.
22589 * localedata/locales/mt_MT: Likewise.
22590 * localedata/locales/my_MM: Likewise.
22591 * localedata/locales/nan_TW: Likewise.
22592 * localedata/locales/nan_TW@latin: Likewise.
22593 * localedata/locales/nb_NO: Likewise.
22594 * localedata/locales/nds_DE: Likewise.
22595 * localedata/locales/nds_NL: Likewise.
22596 * localedata/locales/ne_NP: Likewise.
22597 * localedata/locales/nhn_MX: Likewise.
22598 * localedata/locales/niu_NU: Likewise.
22599 * localedata/locales/niu_NZ: Likewise.
22600 * localedata/locales/nl_AW: Likewise.
22601 * localedata/locales/nl_BE: Likewise.
22602 * localedata/locales/nl_NL: Likewise.
22603 * localedata/locales/nn_NO: Likewise.
22604 * localedata/locales/nr_ZA: Likewise.
22605 * localedata/locales/nso_ZA: Likewise.
22606 * localedata/locales/oc_FR: Likewise.
22607 * localedata/locales/om_ET: Likewise.
22608 * localedata/locales/om_KE: Likewise.
22609 * localedata/locales/or_IN: Likewise.
22610 * localedata/locales/os_RU: Likewise.
22611 * localedata/locales/pa_IN: Likewise.
22612 * localedata/locales/pa_PK: Likewise.
22613 * localedata/locales/pap_AW: Likewise.
22614 * localedata/locales/pap_CW: Likewise.
22615 * localedata/locales/pl_PL: Likewise.
22616 * localedata/locales/ps_AF: Likewise.
22617 * localedata/locales/pt_BR: Likewise.
22618 * localedata/locales/pt_PT: Likewise.
22619 * localedata/locales/quz_PE: Likewise.
22620 * localedata/locales/raj_IN: Likewise.
22621 * localedata/locales/ro_RO: Likewise.
22622 * localedata/locales/ru_RU: Likewise.
22623 * localedata/locales/ru_UA: Likewise.
22624 * localedata/locales/rw_RW: Likewise.
22625 * localedata/locales/sa_IN: Likewise.
22626 * localedata/locales/sat_IN: Likewise.
22627 * localedata/locales/sc_IT: Likewise.
22628 * localedata/locales/sd_IN: Likewise.
22629 * localedata/locales/sd_IN@devanagari: Likewise.
22630 * localedata/locales/se_NO: Likewise.
22631 * localedata/locales/sgs_LT: Likewise.
22632 * localedata/locales/shs_CA: Likewise.
22633 * localedata/locales/si_LK: Likewise.
22634 * localedata/locales/sid_ET: Likewise.
22635 * localedata/locales/sk_SK: Likewise.
22636 * localedata/locales/sl_SI: Likewise.
22637 * localedata/locales/sm_WS: Likewise.
22638 * localedata/locales/so_DJ: Likewise.
22639 * localedata/locales/so_ET: Likewise.
22640 * localedata/locales/so_KE: Likewise.
22641 * localedata/locales/so_SO: Likewise.
22642 * localedata/locales/sq_AL: Likewise.
22643 * localedata/locales/sq_MK: Likewise.
22644 * localedata/locales/sr_ME: Likewise.
22645 * localedata/locales/sr_RS: Likewise.
22646 * localedata/locales/sr_RS@latin: Likewise.
22647 * localedata/locales/ss_ZA: Likewise.
22648 * localedata/locales/st_ZA: Likewise.
22649 * localedata/locales/sv_FI: Likewise.
22650 * localedata/locales/sv_SE: Likewise.
22651 * localedata/locales/sw_KE: Likewise.
22652 * localedata/locales/sw_TZ: Likewise.
22653 * localedata/locales/szl_PL: Likewise.
22654 * localedata/locales/ta_IN: Likewise.
22655 * localedata/locales/ta_LK: Likewise.
22656 * localedata/locales/tcy_IN: Likewise.
22657 * localedata/locales/te_IN: Likewise.
22658 * localedata/locales/tg_TJ: Likewise.
22659 * localedata/locales/th_TH: Likewise.
22660 * localedata/locales/the_NP: Likewise.
22661 * localedata/locales/ti_ER: Likewise.
22662 * localedata/locales/ti_ET: Likewise.
22663 * localedata/locales/tig_ER: Likewise.
22664 * localedata/locales/tk_TM: Likewise.
22665 * localedata/locales/tl_PH: Likewise.
22666 * localedata/locales/tn_ZA: Likewise.
22667 * localedata/locales/to_TO: Likewise.
22668 * localedata/locales/tpi_PG: Likewise.
22669 * localedata/locales/tr_CY: Likewise.
22670 * localedata/locales/tr_TR: Likewise.
22671 * localedata/locales/ts_ZA: Likewise.
22672 * localedata/locales/tt_RU: Likewise.
22673 * localedata/locales/tt_RU@iqtelif: Likewise.
22674 * localedata/locales/ug_CN: Likewise.
22675 * localedata/locales/uk_UA: Likewise.
22676 * localedata/locales/unm_US: Likewise.
22677 * localedata/locales/ur_IN: Likewise.
22678 * localedata/locales/ur_PK: Likewise.
22679 * localedata/locales/uz_UZ: Likewise.
22680 * localedata/locales/uz_UZ@cyrillic: Likewise.
22681 * localedata/locales/ve_ZA: Likewise.
22682 * localedata/locales/vi_VN: Likewise.
22683 * localedata/locales/wa_BE: Likewise.
22684 * localedata/locales/wae_CH: Likewise.
22685 * localedata/locales/wal_ET: Likewise.
22686 * localedata/locales/wo_SN: Likewise.
22687 * localedata/locales/xh_ZA: Likewise.
22688 * localedata/locales/yi_US: Likewise.
22689 * localedata/locales/yo_NG: Likewise.
22690 * localedata/locales/yue_HK: Likewise.
22691 * localedata/locales/yuw_PG: Likewise.
22692 * localedata/locales/zh_CN: Likewise.
22693 * localedata/locales/zh_HK: Likewise.
22694 * localedata/locales/zh_SG: Likewise.
22695 * localedata/locales/zh_TW: Likewise.
22696 * localedata/locales/zu_ZA: Likewise.
22698 2017-11-13 Florian Weimer <fweimer@redhat.com>
22700 * support/next_to_fault.h, support/next_to_fault.c: New files.
22701 * support/Makefile (libsupport-routines): Add next_to_fault.
22702 * resolv/tst-inet_pton.c (struct next_to_fault)
22703 (next_to_fault_allocate, next_to_fault_free): Remove.
22704 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22706 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22708 * elf/dl-support.c: Include <dl-procruntime.c>.
22709 * include/link.h: Include <link_map.h>.
22710 * sysdeps/generic/dl-procruntime.c: New file.
22711 * sysdeps/generic/link_map.h: Likewise.
22712 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22713 the writable ld.so namespace.
22715 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22717 timezone: pacify GCC -Wstringop-truncation
22718 Problem reported by Martin Sebor in:
22719 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22720 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22722 2017-11-12 Florian Weimer <fweimer@redhat.com>
22724 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22726 (tests): Add tst-xreadlink.
22727 * support/support.h (xstrndup): Declare.
22728 * support/xunistd.h (xunlink, xreadlink): Declare.
22729 * support/temp_file.h (support_create_temp_directory): Declare.
22730 * support/temp_file.c (support_create_temp_directory): New function.
22731 * support/support_chroot.c (support_chroot_create): Use it.
22732 * support/xreadlink.c: New file.
22733 * support/xstrndup.c: Likewise.
22734 * support/xunlink.c: Likewise.
22735 * support/tst-xreadlink.c: Likewise.
22737 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22739 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22741 2017-11-11 Florian Weimer <fweimer@redhat.com>
22745 * resolv/res_comp.c (printable_string, binary_hnok)
22746 (binary_leading_dash): New functions.
22747 (res_hnok): Reimplement using these functions and ns_name_pton.
22748 (res_ownok): Likewise.
22749 (res_mailok): Reimplement using printable_string, ns_name_pton and
22751 (res_dnok): Reimplement using printable_string and ns_name_pton.
22752 * resolv/tst-res_hnok.c (tests): Add additional tests.
22753 (LETTERDIGITS, PRINTABLE): Define.
22754 (do_test): Adjust one_char results.
22756 2017-11-11 Florian Weimer <fweimer@redhat.com>
22759 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22760 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22762 2017-11-11 Florian Weimer <fweimer@redhat.com>
22764 * resolv/tst-ns_name_pton.c: New file.
22765 * resolv/Makefile (tests): Add tst-ns_name_pton.
22766 (tst-ns_name_pton): Link against libresolv.
22768 2017-11-11 Florian Weimer <fweimer@redhat.com>
22770 * resolv/tst-res_hnok.c: New file.
22771 * resolv/Makefile (tests): Add tst-res_hnok.
22772 (tst-res_hnok): Link against libresolv.
22774 2017-11-11 Florian Weimer <fweimer@redhat.com>
22776 * resolv/tst-resolv-network.c: Use test framework instead explicit
22779 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22781 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22782 <jmp_buf-macros.h>.
22783 [!_ISOMAC] (STR_HELPER): New.
22784 [!_ISOMAC] (STR): Likewise.
22785 [!_ISOMAC] (TEST_SIZE): Likewise.
22786 [!_ISOMAC] (TEST_ALIGN): Likewise.
22787 [!_ISOMAC] (TEST_OFFSET): Likewise.
22788 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22789 field offsets of jmp_buf as well as sigjmp_buf.
22790 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22791 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22792 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22793 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22794 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22795 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22796 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22797 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22798 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22799 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22801 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22803 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22808 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22809 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22810 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22811 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22812 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22817 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22818 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22819 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22821 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22825 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22827 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22829 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22830 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22831 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22832 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22833 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22835 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22837 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22838 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22839 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22840 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22841 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22842 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22843 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22844 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22845 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22847 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22848 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22849 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22850 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22851 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22852 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22853 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22854 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22855 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22856 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22857 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22858 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22859 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22860 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22861 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22862 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22863 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22864 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22865 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22866 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22867 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22869 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22871 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22873 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22875 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22876 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22877 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22878 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22879 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22880 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22881 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22882 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22883 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22884 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22885 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22887 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22888 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22889 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22890 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22891 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22892 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22893 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22894 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22895 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22896 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22897 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22898 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22899 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22900 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22901 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22902 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22903 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22904 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22905 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22906 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22907 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22908 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22909 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22910 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22911 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22913 * stdlib/tst-strtod.h (F16): New macro.
22919 (IF_FLOAT16): Likewise.
22920 (IF_FLOAT32): Likewise.
22921 (IF_FLOAT64): Likewise.
22922 (IF_FLOAT32X): Likewise.
22923 (IF_FLOAT64X): Likewise.
22924 (IF_FLOAT128X): Likewise.
22925 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22926 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22927 (STRTOD_TEST_FOREACH): Likewise.
22928 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22929 (CHOOSE_f64): Likewise.
22930 (CHOOSE_f32x): Likewise.
22931 (CHOOSE_f64x): Likewise.
22933 2017-11-07 Andreas Schwab <schwab@suse.de>
22935 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22937 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22940 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22942 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22945 2017-11-07 Claude Paroz <claude@2xlibre.net>
22948 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22950 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22952 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22955 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22958 * nptl/allocatestack.c (allocate_stack): Check if
22959 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22960 __PTHREAD_MUTEX_HAVE_PREV is defined.
22961 * nptl/descr.h (pthread): Likewise.
22962 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22964 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22965 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22966 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22967 * sysdeps/nptl/bits/thread-shared-types.h
22968 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22970 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22971 of __WORDSIZE for internal layout.
22972 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22973 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22974 instead of __WORDSIZE whether to use an union for __spins and __list
22976 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22978 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22979 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22981 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22982 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22984 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22985 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22987 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22988 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22990 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22991 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22993 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22994 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22996 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22997 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22999 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23000 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23002 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23003 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23005 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23006 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23008 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23009 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23011 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23012 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23014 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23015 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23017 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23018 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23020 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23021 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23024 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23026 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23027 checks for expected input type size.
23028 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23029 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23031 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23032 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23033 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23034 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23035 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23036 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23037 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23038 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23039 superflous runtime assert check.
23040 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23042 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23044 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23046 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23048 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23050 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23052 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23053 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23054 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23056 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23058 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23060 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23062 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23064 * nptl/pthread_attr_setinheritsched.c
23065 (__pthread_attr_setinheritsched): Likewise.
23066 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23068 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23070 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23071 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23072 __old_pthread_attr_setstack): Likewise.
23073 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23075 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23077 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23079 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23080 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23082 * nptl/tst-typesizes.c: Remove file.
23084 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23085 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23086 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23087 checks for internal pthread_mutex_t offsets.
23088 * sysdeps/aarch64/nptl/pthread-offsets.h
23089 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23090 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23091 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23092 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23093 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23094 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23095 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23096 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23097 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23098 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23099 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23100 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23101 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23102 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23103 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23104 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23105 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23106 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23108 2017-11-07 Florian Weimer <fweimer@redhat.com>
23110 * bits/mman-linux.h: Move ...
23111 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23113 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23116 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23118 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23119 Redefine STRNLEN as __strnlen_power8.
23121 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23123 * signal/sighold.c (sighold): Optimize implementation.
23125 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23126 __NR_rt_sigqueueinfo.
23128 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23130 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23131 assume __NR_rt_sigtimedwait.
23132 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23133 and add LIBC_CANCEL_HANDLED for cancellation marking.
23134 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23136 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23137 (sysdeps_routines): Add memchr_noneon.
23138 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23139 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23140 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23141 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23142 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23143 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23144 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23146 * sysdeps/arm/arm-ifunc.h: New file.
23147 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23148 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23149 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23150 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23151 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23152 (__memcpy_neon): Avoid create hidden alias.
23153 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23154 (__memcpy_vfp): Likewise.
23155 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23156 (sysdep_routines): Add memcpy_arm.
23157 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23159 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23162 * Makerules (make-link-multidir): New.
23163 * config.make.in (multidir): New.
23164 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23165 * configure: Regenerated.
23166 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23167 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23168 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23171 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23174 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23175 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23177 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23179 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23182 2017-11-04 Florian Weimer <fweimer@redhat.com>
23184 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23186 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23188 * math/math.h [__HAVE_DISTINCT_FLOAT16
23189 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23190 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23191 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23192 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23193 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23194 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23195 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23196 (__MATH_TG_F32): New macro.
23197 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23198 (__MATH_TG_F64X): Likewise.
23199 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23200 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23202 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23204 * po/de.po: Update translations.
23205 * po/ru.po: Likewise.
23207 2017-11-03 Florian Weimer <fweimer@redhat.com>
23209 * manual/filesys.texi (Hard Links): Document linkat.
23211 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23213 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23214 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23215 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23216 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23217 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23218 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23219 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23220 the same as _Float128.
23221 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23222 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23223 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23226 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23228 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23230 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23232 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23233 (strtof32x): Likewise.
23234 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23235 (strtof64x): Likewise.
23236 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23237 (strtof128x): Likewise.
23238 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23239 (strfromf16): Likewise.
23240 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23241 (strfromf32): Likewise.
23242 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23243 (strfromf64): Likewise.
23244 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23245 (strfromf32x): Likewise.
23246 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23247 (strfromf64x): Likewise.
23248 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23249 (strfromf128x): Likewise.
23250 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23251 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23252 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23253 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23254 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23255 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23257 2017-11-03 Richard Henderson <rth@twiddle.net>
23259 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23261 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23263 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23265 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23267 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23268 DT_TLSDESC_GOT initialization.
23269 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23270 (_dl_tlsdesc_resolve_hold): Likewise.
23271 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23272 (_dl_tlsdesc_resolve_hold): Likewise.
23273 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23274 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23276 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23278 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23280 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23283 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23284 non-lazily for R_ARM_TLS_DESC.
23286 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23289 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23290 R_ARM_TLS_DESC case.
23291 (elf_machine_lazy_rel): Remove the prelink check.
23293 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23295 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23296 DT_TLSDESC_GOT initialization.
23297 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23298 (_dl_tlsdesc_resolve_rela): Likewise.
23299 (_dl_tlsdesc_resolve_hold): Likewise.
23300 (_dl_tlsdesc_undefweak): Remove ldar.
23301 (_dl_tlsdesc_dynamic): Likewise.
23302 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23303 (_dl_tlsdesc_resolve_rela): Likewise.
23304 (_dl_tlsdesc_resolve_hold): Likewise.
23305 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23306 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23307 (_dl_tlsdesc_resolve_rela): Likewise.
23308 (_dl_tlsdesc_resolve_hold): Likewise.
23310 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23312 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23313 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23315 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23317 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23318 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23320 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23322 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23324 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23325 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23326 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23327 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23328 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23329 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23330 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23331 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23332 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23333 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23334 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23336 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23339 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23340 * localedata/locales/tpi_PG: Add standard header.
23342 2017-11-02 Florian Weimer <fweimer@redhat.com>
23344 test-errno-linux: quotactl can fail with EPERM in containers.
23345 * sysdeps/unix/sysv/linux/test-errno-linux.c
23346 (LIST, LIST_FORWARD): New macros.
23347 (check_error_in_list): New function.
23348 (test_wrp_rv): Accept list of permitted error codes.
23349 (test_wrp_rv2): Remove.
23350 (test_wrp): Call test_wrp_rv with list of error codes.
23351 (test_wrp2): Accept list of error codes.
23352 (do_test): Adjust. Allow EPERM for quotactl.
23354 2017-11-02 Florian Weimer <fweimer@redhat.com>
23356 * stdio-common/bug16.c (do_test): Use array_length.
23357 * stdio-common/errlist.c (_sys_nerr): Likewise.
23358 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23359 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23360 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23361 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23362 (do_test): Use array_length.
23363 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23364 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23365 * stdio-common/tst-printf-round.c (do_test): Likewise.
23366 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23367 (CHECK): Use array_length.
23368 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23369 * stdio-common/tstscanf.c (main): Likewise.
23370 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23372 2017-11-02 Florian Weimer <fweimer@redhat.com>
23374 Add array_length and array_end macros.
23375 * include/array_length.h: New file.
23377 2017-11-02 Florian Weimer <fweimer@redhat.com>
23380 * posix/tst-glob-tilde.c (do_noescape): New variable.
23381 (one_test): Process it.
23382 (do_test): Set do_noescape. Add unescaping test case.
23384 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23387 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23388 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23389 with appropriate macros defined and undefined.
23390 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23391 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23392 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23393 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23394 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23395 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23396 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23397 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23398 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23399 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23402 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23403 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23404 that for long double. Do not condition define and undefine of
23405 _Mdouble_complex_ on [__CFLOAT128].
23407 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23409 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23410 of <sysdeps/generic/sysdep.h>.
23411 (ALIGNARG): Removed.
23412 (ASM_SIZE_DIRECTIVE): Likewise.
23415 (ENTRY_CHK): Likewise.
23416 (END_CHK): Likewise.
23417 (syscall_error): Likewise.
23418 (mcount): Likewise.
23419 (PSEUDO_END): Likewise.
23421 (atom_text_section): Likewise.
23422 * sysdeps/x86/sysdep.h: New file.
23423 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23424 of <sysdeps/generic/sysdep.h>.
23425 (ALIGNARG): Removed.
23426 (ASM_SIZE_DIRECTIVE): Likewise.
23429 (ENTRY_CHK): Likewise.
23430 (END_CHK): Likewise.
23431 (syscall_error): Likewise.
23432 (mcount): Likewise.
23433 (PSEUDO_END): Likewise.
23435 (atom_text_section): Likewise.
23437 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23439 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23440 category of LC_CTYPE set to "i18n:2012".
23441 * localedata/locales/i18n_ctype: Regenerate.
23443 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23445 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23446 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23447 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23448 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23450 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23451 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23452 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23453 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23455 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23458 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23460 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23462 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23464 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23465 (CMPLXF32X): Likewise.
23466 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23467 (CMPLXF64X): Likewise.
23468 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23469 (CMPLXF128X): Likewise.
23472 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23473 (__MATH_EVAL_FMT2): Define to add 0.0f.
23475 2017-10-31 Alan Modra <amodra@gmail.com>
23477 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23493 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23494 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23495 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23496 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23497 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23498 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23499 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23500 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23501 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23502 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23503 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23504 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23505 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23506 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23507 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23508 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23509 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23510 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23511 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23512 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23513 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23514 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23515 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23516 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23517 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23518 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23519 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23520 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23521 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23522 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23523 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23524 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23525 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23526 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23527 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23528 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23529 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23530 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23531 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23532 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23533 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23534 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23535 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23536 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23537 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23538 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23539 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23540 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23541 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23542 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23543 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23544 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23545 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23546 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23547 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23550 include sysdep.h and math_ldbl_opt.h.
23552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23553 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23579 2017-10-31 Alan Modra <amodra@gmail.com>
23581 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23582 string/strncase_l.c, not string/strncase.c.
23583 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23584 (libc_hidden_def): Redefine.
23586 2017-10-31 Alan Modra <amodra@gmail.com>
23588 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23589 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23590 (__strcasecmp): Don't define.
23592 2017-10-31 Alan Modra <amodra@gmail.com>
23594 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23596 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23597 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23598 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23600 2017-10-31 Alan Modra <amodra@gmail.com>
23602 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23605 2017-10-31 Alan Modra <amodra@gmail.com>
23607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23608 Redefine only when SHARED.
23610 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23612 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23613 Include <bits/math-finite.h> with appropriate macros defined and
23615 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23616 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23617 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23618 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23619 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23621 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23622 [!_Mlong_double_] (_Mlong_double_): Likewise.
23623 [!_Mfloat16_] (_Mfloat16_): Likewise.
23624 [!_Mfloat32_] (_Mfloat32_): Likewise.
23625 [!_Mfloat64_] (_Mfloat64_): Likewise.
23626 [!_Mfloat128_] (_Mfloat128_): Likewise.
23627 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23628 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23629 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23630 (_Mdouble_): Define without indirection through those macros.
23631 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23632 [!_Mfloat128_] (_Mfloat128_): Likewise.
23633 [_Mlong_double_] (_Mlong_double_): Likewise.
23634 (_Mdouble_): Define without indirection through those macros.
23635 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23636 not add -D_Mlong_double_=double.
23637 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23638 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23640 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23642 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23644 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23646 * sysdeps/x86/libc-start.c: Reformat.
23648 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23651 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23652 (1): Renamed to ...
23655 (L(Src2)): Likewise.
23656 (L(1)): Renamed to ...
23659 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23661 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23662 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23663 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23664 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23665 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23666 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23667 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23668 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23669 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23670 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23671 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23672 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23673 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23674 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23675 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23676 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23677 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23678 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23679 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23680 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23681 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23682 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23683 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23684 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23685 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23686 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23687 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23688 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23689 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23690 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23691 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23692 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23693 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23694 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23695 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23696 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23697 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23698 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23699 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23700 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23701 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23702 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23703 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23704 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23705 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23706 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23707 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23708 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23709 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23710 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23711 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23712 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23713 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23714 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23715 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23716 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23717 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23718 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23719 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23720 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23721 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23722 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23723 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23724 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23725 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23726 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23728 2017-10-30 Florian Weimer <fweimer@redhat.com>
23730 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23732 * io/tst-mkdirat.c (do_test): Likewise.
23733 * io/tst-mkfifoat.c (do_test): Likewise.
23734 * io/tst-mknodat.c (do_test): Likewise.
23735 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23736 * locale/programs/locale.c (select_dirs): Likewise.
23737 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23738 * posix/bug-glob2.c (my_readdir): Likewise.
23739 * posix/tst-dir.c (main): Likewise.
23740 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23741 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23743 2017-10-30 Florian Weimer <fweimer@redhat.com>
23745 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23748 2017-10-30 Florian Weimer <fweimer@redhat.com>
23750 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23751 Convert to support/test-driver.c.
23752 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23753 New macro parameters.
23754 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23755 * posix/tst-gnuglob.c: New file.
23756 * posix/tst-gnuglob64.c: Likewise.
23757 * posix/Makefile (tests): Add tst-gnuglob64.
23759 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23762 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23763 and use a better translation for March in “mon”.
23764 * localedata/locales/csb_PL: Use more ASCII to improve the
23765 readability of the source.
23767 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23770 * localedata/locales/km_KH: Use ASCII as much
23771 as possible for better readability of the source and
23772 remove useless comments.
23773 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23774 was commented out and apparently wrong anyway because it was
23775 using Lao characters. If Buddhist era should be used
23776 for km_KH, a native speaker should write the correct formaat
23778 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23779 (According to CLDR, the first weekday for Cambodia is Sunday).
23780 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23781 (These were using Lao characters which must be wrong. If we get
23782 the correct data from a native speaker, we could add it back, until
23783 then it is better not to have name_mr and name_mrs at all than
23786 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23788 * locale/loadlocale.c: Correct size of
23789 _nl_value_type_LC_<category> arrays.
23791 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23793 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23794 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23795 with appropriate macros defined and undefined.
23796 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23797 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23798 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23799 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23800 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23802 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23804 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23807 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23809 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23810 with lowercase letters to make it agree with CLDR.
23812 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23815 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23816 first letters of yesstr and nostr in yesexpr and noexpr,
23817 not for the full words.
23818 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23819 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23820 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23821 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23822 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23823 first letters of yesstr and nostr in yesexpr and noexpr,
23824 until now only English was matched in yesexpr and noexpr.
23825 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23826 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23827 fil but not for tl. As tl and fil are very similar, using fil
23828 is probably better than using English.
23830 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23833 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23834 in yesstr and nostr.
23836 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23838 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23839 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23840 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23842 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23844 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23846 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23848 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23849 (SNANF128X): Likewise.
23851 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23852 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23853 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23854 (HUGE_VAL_F32): Likewise.
23855 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23856 (HUGE_VAL_F64): Likewise.
23857 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23858 (HUGE_VAL_F32X): Likewise.
23859 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23860 (HUGE_VAL_F64X): Likewise.
23861 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23862 (HUGE_VAL_F128X): Likewise.
23864 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23866 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23867 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23868 for the br_FR locale.
23870 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23873 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23875 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23877 * locale/programs/record-status.h: Define globals, and function
23878 prototypes. Move function bodies...
23879 * locale/programs/record-status.c: ... to here. New file.
23880 * iconv/Makefile (iconv_prog-modules): Add record-status.
23881 * locale/Makefile (lib-modules): Likewise.
23882 * iconv/iconv_prog.c: Remove verbose.
23883 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23884 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23885 record a warning about ASCII compatibility.
23886 * locale/programs/ld-monetary.c (monetary_finish): If
23887 warn_int_curr_symbol is true then record a warning about the symbol
23888 not being in our ISO 4217 list.
23889 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23890 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23891 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23892 (OPT_NO_WARN): Define.
23893 (OPT_WARN): Define.
23894 (options): Add entry for --no-warnings, and --warnings.
23895 (set_warnings): New function to enable/disable warnings.
23896 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23897 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23898 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23899 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23900 Pass flags to generate_locale.
23901 (generate_locale): Accept new flag argument and pass it to localedef
23903 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23904 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23906 * localedata/Makefile (test-input-data): Use full file name.
23907 * localedata/da_DK.in: Rename to...
23908 * localedata/da_DK.ISO-8859-1.in: ...this.
23909 * localedata/de_DE.in: Rename to...
23910 * localedata/de_DE.ISO-8859-1.in: ...this.
23911 * localedata/en_US.in: Rename to...
23912 * localedata/en_US.ISO-8859-1.in: ...this.
23913 * localedata/fr_FR.in: Rename to...
23914 * localedata/fr_FR.UTF-8.in: ... this.
23915 * localedata/hr_HR.in: Rename to...
23916 * localedata/hr_HR.ISO-8859-2.in: ...this.
23917 * localedata/hu_HU.in: Rename to...
23918 * localedata/hu_HU.UTF-8.in: ...this.
23919 * localedata/si_LK.in: Rename to...
23920 * localedata/si_LK.UTF-8.in: ...this.
23921 * localedata/sv_SE.in: Rename to...
23922 * localedata/sv_SE.ISO-8859-1.in: ...this.
23923 * localedata/tr_TR.in: Rename to...
23924 * localedata/tr_TR.UTF-8.in: ...this.
23925 * localedata/uk_UA.in: Rename to...
23926 * localedata/uk_UA.UTF-8.in: ...this.
23927 * localedata/sort-test.sh: Test file is locale name with the
23930 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23931 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23933 * localedata/locales/i18n_ctype: Regenerate.
23934 * localedata/locales/tr_TR: Likewise.
23935 * localedata/locales/translit_circle: Likewise.
23936 * localedata/locales/translit_cjk_compat: Likewise.
23937 * localedata/locales/translit_combining: Likewise.
23938 * localedata/locales/translit_compat: Likewise.
23939 * localedata/locales/translit_font: Likewise.
23940 * localedata/locales/translit_fraction: Likewise.
23942 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23944 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23945 lxvd2x/stxvd2x with lvx/stvx.
23946 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23948 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23950 * include/alloc_buffer.h: Replace "if if " with "if " in
23952 * sysdeps/mips/memcpy.S: Likkewise.
23953 * sysdeps/mips/memset.S: Likewise.
23954 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23956 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23958 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23961 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23964 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23965 yesexpr and noexpr.
23966 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23967 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23968 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23969 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23970 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23971 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23972 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23974 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23976 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23977 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23978 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23979 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23980 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23981 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23982 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23983 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23984 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23985 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23986 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23987 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23989 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23991 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23992 as possible for better readability of the source.
23993 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23994 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23995 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23996 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23997 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23998 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23999 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24000 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24001 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24002 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24003 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24004 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24005 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24006 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24007 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24008 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24009 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24010 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24011 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24012 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24013 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24014 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24015 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24016 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24017 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24018 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24019 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24020 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24021 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24022 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24023 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24024 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24025 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24026 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24027 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24028 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24029 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24030 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24031 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24032 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24033 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24034 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24035 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24036 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24037 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24038 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24039 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24040 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24041 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24042 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24043 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24044 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24045 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24046 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24047 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24048 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24049 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24050 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24051 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24052 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24053 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24054 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24055 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24056 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24057 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24058 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24059 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24060 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24061 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24062 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24063 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24064 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24065 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24066 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24067 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24068 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24069 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24070 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24071 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24072 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24073 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24074 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24075 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24076 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24077 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24078 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24079 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24080 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24081 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24082 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24083 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24084 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24085 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24086 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24087 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24088 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24089 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24090 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24091 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24092 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24093 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24094 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24095 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24096 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24097 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24098 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24099 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24100 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24101 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24102 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24103 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24104 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24105 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24106 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24107 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24108 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24109 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24110 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24111 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24112 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24113 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24114 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24115 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24116 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24117 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24118 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24119 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24120 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24121 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24122 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24123 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24124 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24125 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24126 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24127 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24128 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24129 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24130 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24131 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24132 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24133 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24134 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24135 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24136 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24137 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24138 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24139 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24140 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24141 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24142 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24143 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24144 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24145 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24146 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24147 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24148 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24149 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24150 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24151 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24152 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24153 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24154 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24155 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24156 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24157 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24158 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24159 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24160 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24161 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24162 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24163 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24164 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24165 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24166 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24168 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24170 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24171 (Use first letters of yesstr and nostr correctly instead of using
24174 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24176 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24177 (Use first letters of yesstr and nostr correctly).
24179 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24181 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24182 also check for the first characters of yesstr and nostr.
24183 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24184 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24186 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24188 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24189 also check for Chinese characters.
24191 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24193 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24194 match also for the contents of yesstr and nostr. As the first letter
24195 of yesstr and nostr is equal, checking only for the first letter
24198 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24200 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24201 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24203 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24205 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24206 of main contributor.
24208 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24210 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24211 instead of using English.
24213 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24215 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24216 by including the first letters of nostr and yesexpr in the regexp.
24217 Also make it more readable by using ASCII where possible.
24219 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24221 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24222 the first letter of nostr in the regexp. It agrees with CLDR now.
24223 Also make it more readable by using ASCII where possible.
24225 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24227 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24228 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24229 these strings contain a U+17D6 (which somewhat looks like a colon)
24230 instead of a real colon to separate the full words for “yes”
24231 and “no” from the single letter responses.
24233 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24235 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24236 it agree with CLDR (include the first letter of yesstr).
24237 Also make it more readable by using ASCII where possible.
24239 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24241 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24242 and improve yesexpr and noexpr. The yesstr and nostr apparently
24243 came from CLDR. And CLDR has a bug there: these strings contain
24244 a U+0903 (which looks like a colon) instead of a real colon
24245 to separate the full words for “yes” and “no” from the single
24248 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24250 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24251 letters of the full yesstr and nostr in yesexpr and noexpr.
24253 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24255 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24256 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24257 * localedata/locales/an_ES: Make source more readable by using ASCII
24260 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24263 * localedata/locales/yuw_PG: New file.
24264 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24265 * locale/iso-639.def: Add Yau (Uruwa).
24267 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24269 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24271 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24273 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24274 (__libc_realloc): Likewise.
24275 (_mid_memalign): Likewise.
24276 (__libc_calloc): Likewise.
24278 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24280 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24281 by adding the generic +1 and -0 as in all other locales.
24282 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24283 day names and make it more readable by using ASCII where possible.
24285 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24287 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24288 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24290 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24292 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24293 WNOHANG in waitpid call.
24295 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24297 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24298 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24300 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24301 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24302 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24303 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24304 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24305 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24306 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24307 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24310 2017-10-23 Michael Collison <michael.collison@arm.com>
24312 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24313 with __builtin_sqrt.
24314 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24315 with __builtin_sqrtf.
24316 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24317 with __builtin_ceil.
24318 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24319 with __builtin_ceilf.
24320 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24321 with __builtin_floor.
24322 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24323 with __builtin_floorf.
24324 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24325 with __builtin_fma.
24326 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24327 with __builtin_fmaf.
24328 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24329 with __builtin_fmax.
24330 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24331 with __builtin_fmaxf.
24332 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24333 with __builtin_fmin.
24334 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24335 with __builtin_fminf.
24336 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24337 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24338 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24339 with builtin_rint and conversion to int.
24340 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24341 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24342 with builtin_llround.
24343 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24344 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24345 with builtin_rint and conversion to long int.
24346 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24347 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24348 with builtin_lround.
24349 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24350 with builtin_lroundf.
24351 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24352 statements with __builtin_nearbyint.
24353 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24354 statements with __builtin_nearbyintf.
24355 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24356 with __builtin_rint.
24357 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24358 with __builtin_rintf.
24359 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24360 with __builtin_round.
24361 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24362 with __builtin_roundf.
24363 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24364 with __builtin_trunc.
24365 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24366 with __builtin_truncf.
24367 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24368 and s_l[l]round[f].c too.
24370 2017-10-23 Alan Modra <amodra@gmail.com>
24372 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24373 Adjust stack after restoring regs. Add missing LR cfi_restore.
24375 2017-10-23 Alan Modra <amodra@gmail.com>
24377 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24378 Move LR save and frame setup/teardown and LR restore to
24379 immediately around memset call. Provide cfi.
24381 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24383 * sysdeps/i386/fpu/e_powf.S: Removed.
24384 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24385 * sysdeps/i386/fpu/w_powf.c: Likewise.
24386 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24387 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24388 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24390 (CFLAGS-e_powf-sse2.c): New.
24391 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24392 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24394 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24396 * sysdeps/i386/fpu/e_log2f.S: Removed.
24397 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24398 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24399 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24400 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24401 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24403 (CFLAGS-e_log2f-sse2.c): New.
24404 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24405 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24407 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24409 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24411 (CFLAGS-e_powf-fma.c): New.
24412 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24413 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24415 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24417 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24419 (CFLAGS-e_log2f-fma.c): New.
24420 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24421 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24423 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24425 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24427 (CFLAGS-e_logf-fma.c): New.
24428 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24429 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24431 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24433 * sysdeps/i386/fpu/e_logf.S: Removed.
24434 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24435 * sysdeps/i386/fpu/w_logf.c: Likewise.
24436 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24437 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24438 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24439 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24441 (CFLAGS-e_logf-sse2.c): New.
24442 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24443 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24445 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24447 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24448 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24449 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24450 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24451 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24453 (CFLAGS-e_exp2f-sse2.c): New.
24454 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24455 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24457 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24459 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24461 (CFLAGS-e_exp2f-fma.c): New.
24462 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24463 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24465 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24467 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24468 * sysdeps/i386/fpu/e_expf.S: Likewise.
24469 * sysdeps/i386/fpu/math_errf.c: Likewise.
24470 * sysdeps/i386/fpu/w_expf.c: Likewise.
24471 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24472 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24473 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24474 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24475 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24476 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24477 Remove e_expf-ia32.
24478 (CFLAGS-e_expf-sse2.c): New.
24479 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24480 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24482 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24484 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24485 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24486 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24487 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24489 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24491 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24492 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24494 (__redirect_expf): This.
24495 (SYMBOL_NAME): Changed to expf.
24496 (__ieee754_expf): Renamed to ...
24498 (__GI___expf): This.
24499 (__ieee754_expf): Add strong_alias.
24500 (__expf_finite): Likewise.
24502 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24504 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24507 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24510 2017-10-21 Florian Weimer <fweimer@redhat.com>
24512 * posix/Makefile (tests): Add tst-glob-tilde.
24513 (tests-special): Add tst-glob-tilde-mem.out
24514 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24515 (tst-glob-tilde-mem.out): Add mtrace check.
24516 * posix/tst-glob-tilde.c: New file.
24518 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24520 * bits/floatn-common.h: New file.
24521 * math/Makefile (headers): Add bits/floatn-common.h.
24522 * bits/floatn.h: Include <bits/floatn-common.h>.
24523 * sysdeps/ia64/bits/floatn.h: Likewise.
24524 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24525 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24526 * sysdeps/powerpc/bits/floatn.h: Likewise.
24527 * sysdeps/x86/bits/floatn.h: Likewise.
24529 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24531 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24532 indicates whether compiler emits an warning for alias for
24533 functions with incompatible types.
24536 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24537 the auxiliary process is terminated by a signal before calling _exit
24540 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24543 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24545 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24546 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24547 and bit_arch_XSAVEC_Usable if needed.
24548 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24549 and bit_arch_Use_dl_runtime_resolve_opt.
24550 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24552 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24553 (bit_arch_Prefer_No_AVX512): Updated.
24554 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24555 (bit_arch_XSAVEC_Usable): New.
24556 (STATE_SAVE_OFFSET): Likewise.
24557 (STATE_SAVE_MASK): Likewise.
24558 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24559 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24560 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24561 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24562 (index_arch_XSAVEC_Usable): New.
24563 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24564 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24565 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24567 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24568 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24569 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24570 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24571 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24572 _dl_runtime_resolve_xsavec.
24573 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24575 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24576 instead of VEC_SIZE.
24577 (REGISTER_SAVE_BND0): Removed.
24578 (REGISTER_SAVE_BND1): Likewise.
24579 (REGISTER_SAVE_BND3): Likewise.
24580 (REGISTER_SAVE_RAX): Always defined to 0.
24582 (_dl_runtime_resolve_avx): Likewise.
24583 (_dl_runtime_resolve_avx_slow): Likewise.
24584 (_dl_runtime_resolve_avx_opt): Likewise.
24585 (_dl_runtime_resolve_avx512): Likewise.
24586 (_dl_runtime_resolve_avx512_opt): Likewise.
24587 (_dl_runtime_resolve_sse): Likewise.
24588 (_dl_runtime_resolve_sse_vex): Likewise.
24590 (_dl_runtime_resolve_fxsave): Likewise.
24591 (USE_XSAVE): Likewise.
24592 (_dl_runtime_resolve_xsave): Likewise.
24593 (USE_XSAVEC): Likewise.
24594 (_dl_runtime_resolve_xsavec): Likewise.
24595 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24597 (_dl_runtime_resolve_avx512_opt): Likewise.
24598 (_dl_runtime_resolve_avx): Likewise.
24599 (_dl_runtime_resolve_avx_opt): Likewise.
24600 (_dl_runtime_resolve_sse): Likewise.
24601 (_dl_runtime_resolve_sse_vex): Likewise.
24602 (_dl_runtime_resolve_fxsave): New.
24603 (_dl_runtime_resolve_xsave): Likewise.
24604 (_dl_runtime_resolve_xsavec): Likewise.
24606 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
24610 * posix/glob.c (__glob): Fix one-byte overflow.
24612 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24614 * malloc/malloc.c (sysdep-cancel.h): Add include.
24616 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24618 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24620 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24622 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24623 (tests): Remove $(objpfx)ga_test depdendency.
24624 * resolv/ga_test.c: Remove file.
24626 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24629 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24630 * localedata/locales/kab_DZ: New file.
24632 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24634 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24635 _dl_relocate_static_pie instead of _dl_start to compute load
24636 address in static PIE.
24638 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24640 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24642 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24645 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24646 * localedata/locales/shn_MM: New file.
24648 2017-10-20 Florian Weimer <fweimer@redhat.com>
24651 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24652 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24653 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24654 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24655 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24656 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24658 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24660 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24662 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24664 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24667 * sysdeps/mips/bits/long-double.h: Move to ....
24668 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24670 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24672 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24674 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24675 H.J. Lu <hongjiu.lu@intel.com>
24678 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24679 GLRO(dl_platform) to NULL.
24680 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24681 (modules-names): Add tst-platformmod-1 and
24682 x86_64/tst-platformmod-2.
24683 (CFLAGS-tst-platform-1.c): New.
24684 (CFLAGS-tst-platformmod-1.c): Likewise.
24685 (CFLAGS-tst-platformmod-2.c): Likewise.
24686 (LDFLAGS-tst-platformmod-2.so): Likewise.
24687 ($(objpfx)tst-platform-1): Likewise.
24688 ($(objpfx)tst-platform-1.out): Likewise.
24689 (tst-platform-1-ENV): Likewise.
24690 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24691 * sysdeps/x86_64/tst-platform-1.c: New file.
24692 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24693 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24695 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24698 * locale/iso-639.def: Add Karbi.
24699 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24700 * localedata/locales/mjw_IN: New file.
24702 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24704 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24705 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24706 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24707 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24708 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24709 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24710 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24712 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24713 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24714 * manual/math.texi (Mathematics): Document additional architecture
24715 support for _Float128.
24716 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24717 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24718 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24719 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24720 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24721 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24722 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24723 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24724 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24725 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24726 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24727 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24728 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24729 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24730 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24732 2017-10-18 Renlin Li <renlin.li@arm.com>
24734 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24735 _DYNAMIC symbol to calculate load address.
24737 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24739 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24740 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24742 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24743 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24745 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24748 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24749 and improve readability by using more ASCII.
24750 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24751 and improve readability by using more ASCII.
24753 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24755 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24756 not all targets support atomics on bool.
24758 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24760 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24761 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24763 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24764 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24765 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24766 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24767 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24768 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24770 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24772 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24775 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24778 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24779 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24780 (do_check_remalloced_chunk): Fix build bug.
24781 (do_check_malloc_state): Add assert that checks arena->top.
24782 (malloc_consolidate): Remove initialization.
24783 (int_mallinfo): Remove call to malloc_consolidate.
24784 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24786 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24788 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24789 (have_fastchunks): Remove.
24790 (clear_fastchunks): Remove.
24791 (set_fastchunks): Remove.
24792 (malloc_state): Add have_fastchunks.
24793 (malloc_init_state): Use have_fastchunks.
24794 (do_check_malloc_state): Remove incorrect invariant checks.
24795 (_int_malloc): Use have_fastchunks.
24796 (_int_free): Likewise.
24797 (malloc_consolidate): Likewise.
24799 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24801 * malloc/malloc.c (tcache_put): Inline.
24802 (tcache_get): Inline.
24804 2017-10-17 Jordi Mallach <jordi@gnu.org>
24806 Aurelien Jarno <aurelien@aurel32.net>
24808 * localedata/locales/ca_ES@valencia: New file.
24809 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24811 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24814 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24817 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24819 * scripts/build-many-glibcs.py (Context.add_all_configs):
24820 Add arm-linux-gnueabihf multiarch extra_glibcs.
24822 * sysdeps/generic/ifunc-init.h: New file.
24823 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24825 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24828 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24829 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24830 * stdlib/tst-strfmon_l.c: adapt test case.
24832 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24834 * sysdeps/generic/float128-abi.h: New file.
24835 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24836 non-__prefixed symbols to ....
24837 * math/Versions: ... here. Include <float128-abi.h>.
24838 * stdlib/Versions ... and here. Include <float128-abi.h>
24840 2017-10-16 Florian Weimer <fweimer@redhat.com>
24842 * version.h (VERSION): Switch to ".9000" as the development
24845 2017-10-16 Florian Weimer <fweimer@redhat.com>
24848 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24849 compat_symbol_reference to access non-default version.
24851 2017-10-16 Florian Weimer <fweimer@redhat.com>
24853 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24855 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24857 * include/shlib-compat.h (compat_symbol_reference): Update
24860 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24862 * math/Makefile (test-types): Add
24863 $(type-float128-$(float128-alias-fcts)).
24864 * math/test-float128.h (TYPE_STR): Define conditional on
24865 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24866 (ULP_IDX): Likewise.
24867 (ULP_I_IDX): Likewise.
24869 * stdlib/strtold.c: Include <bits/floatn.h>
24870 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24871 and later undefine as macro. Define as weak alias if
24873 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24874 and later undefine as macro. Define as weak alias if
24876 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24877 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24878 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24879 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24880 Define and later undefine as macro. Define as weak alias if
24882 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24884 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24885 Define and later undefine as macro. Define as weak alias if
24887 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24888 Define and later undefine as macro. Define as weak alias if
24891 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24893 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24894 record_verbose messages.
24896 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24899 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24900 to silence -O3 -Wall warning with GCC 7.
24902 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24904 * Makeconfig (+link-static-before-libc): Use the first of
24905 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24906 * gmon/Makefile (tests): Add tst-gmon-static.
24907 (tests-static): Likewise.
24908 (CFLAGS-tst-gmon-static.c): New.
24909 (CRT-tst-gmon-static): Likewise.
24910 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24911 (tst-gmon-static-ENV): Likewise.
24912 (tests-special): Likewise.
24913 ($(objpfx)tst-gmon-static.out): Likewise.
24914 (clean-tst-gmon-static-data): Likewise.
24915 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24916 * gmon/tst-gmon-static-gprof.sh: New file.
24917 * gmon/tst-gmon-static.c: Likewise.
24919 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24922 * locale/programs/linereader.c (get_string): Don't warn on
24923 non-symbolic character.
24926 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24930 * locale/programs/record-status.h: New file
24931 * locale/programs/locale.c: Add comment.
24932 * locale/programs/charmap-dir.c: Don't include error.h.
24933 (charmap_opendir): Use record_error.
24934 * locale/programs/charmap.c: Don't include error.h.
24935 (charmap_read): Use record_error, and record_warning.
24936 (parse_charmap): Likewise.
24937 * locale/programs/ld-address.c: Don't include error.h.
24938 (address_finish): Use record_error, and record_warning.
24939 * locale/programs/ld-collate.c: Don't include error.h.
24940 (collate_finish): Use record_error, and record_error_at_line.
24941 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24942 (ctype_class_new): Likewise.
24943 (ctype_map_new): Likewise.
24944 (set_one_default): Likewise.
24945 (set_class_defaults): Likewise.
24946 (translit_flatten): Likewise.
24947 (allocate_arrays): Use record_error, and record_verbose.
24948 * locale/programs/ld-identification.c: Don't include error.h.
24949 (indentation_finish): Use record_error and record_warning.
24950 * locale/programs/ld-measurement.c: Don't include error.h.
24951 (measurement_finish): Use record_error.
24952 * locale/programs/ld-messages.c
24953 (message_finish): Likewise.
24954 * locale/programs/ld-monetary.c
24955 (monetary_finish): Likewise.
24956 * locale/programs/ld-name.c (name_finish): Use record_error
24957 and record_warning.
24958 * locale/programs/ld-numeric.c
24959 (numeric_finish): Use record_error.
24960 * locale/programs/ld-paper.c: Don't include error.h.
24961 (paper_finish): Use record_error.
24962 * locale/programs/ld-telephone.c: Don't include error.h.
24963 (telephone_finish): Use record_error.
24964 * locale/programs/ld-time.c (time_finish): Likewise.
24965 * locale/programs/linereader.h (lr_error): Make inline func.
24966 * locale/programs/localedef.c: Define recorded_warning_count,
24967 and recorded_error_count.
24968 (main): Use record_error. Use recorded_error_count and
24969 recorded_warning_count to issue correct error returns.
24970 (add_to_readlist): Use record_error.
24971 (find_locale): Likewise.
24972 (load_locale): Likewise.
24973 * locale/programs/localedef.h: Remove be_quiet
24974 and WITH_CUR_LOCALE.
24975 * locale/programs/locarchive.c (compare_from_file): Use
24977 * locale/programs/locfile.c (write_locale_data): Use
24979 * locale/programs/repertoire.c: Dont include error.h.
24980 (repertoire_complain): Use record_error.
24981 * localedata/tst-fmon.sh: Expect failures from localedef.
24982 * localedata/tst-locale.sh: Likewise.
24983 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24985 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24986 (REPORTS): Likewise.
24988 (i18n): Rename to...
24989 (i18n_ctype): ...this.
24990 (i18n-report): Rename to...
24991 (i18n_ctype-report): ...this.
24992 * localedata/locales/i18n_ctype: Regenerate.
24993 * localedata/locales/i18n: copy i18n_ctype.
24995 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24997 * stdlib/strfroml.c: Include <bits/floatn.h>.
24998 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24999 Define before include of <stdlib.h> and undefine afterwards, then
25000 define as weak alias.
25002 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25003 Undefine and restore default definition. Use
25004 libm_alias_ldouble_other.
25006 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25009 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25012 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25014 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25015 Assign sym_map to be map for local symbols, as TLS relocations
25016 use sym_map to determine whether the symbol is defined and to
25017 extract the TLS information.
25018 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25019 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25021 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25024 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25025 (math_force_eval): Add powerpc version.
25028 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25030 (do_test): Likewise.
25031 * stdio-common/tst-printf.sh: Likewise.
25032 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25033 ifdef clause in order to set the carry bit right. Replace r0 by
25034 0 without changing the behavior.
25036 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25038 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25039 <libm-alias-ldouble.h>.
25040 (fabsl): Define using libm_alias_ldouble.
25041 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25042 <libm-alias-ldouble.h>.
25043 (fabsl): Define using libm_alias_ldouble.
25045 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25046 Remove conditional code.
25048 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25049 Rename to __clog10_internal_l.
25050 (__clog10_internal_l): Define aliases using
25051 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25054 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25056 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25057 * benchtests/sincosf-inputs: New file.
25058 * benchtests/cosf-inputs: New file.
25059 * benchtests/sinf-inputs: New file.
25061 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25063 * posix/tst-spawn.c (do_test): Wait for both children.
25065 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25068 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25069 tests-pie): Add tst-gmon-pie.
25070 (CFLAGS-tst-gmon-pie.c): New.
25071 (CRT-tst-gmon-pie): Likewise.
25072 (tst-gmon-pie-ENV): Likewise.
25073 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25074 ($(objpfx)tst-gmon-pie.out): Likewise.
25075 (clean-tst-gmon-pie-data): Likewise.
25076 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25077 * gmon/gmon.c [PIC]: Include <link.h>.
25078 [PIC] (callback): New function.
25079 (write_hist): Add an argument for load address. Subtract load
25081 (write_call_graph): Likewise.
25082 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25083 it to write_hist and write_call_graph.
25084 * gmon/tst-gmon-pie.c: New file.
25086 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25088 * math/Makefile (test-types-basic): New variable.
25089 (test-types): Likewise.
25090 (libm-test-support): Use $(test-types) instead of $(types).
25091 (libm-tests-base-normal): Likewise.
25092 (libm-tests-base-finite): Likewise.
25093 (libm-tests-base-inline): Likewise.
25094 (generated): Likewise.
25095 ($(objpfx)libm-test-support-$(t).c): Likewise.
25096 (libm-tests-for-type iterator): Likewise.
25097 (libm-test-support iterator): Likewise.
25098 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25099 (ulp_idx): Use ULP_IDX.
25100 * math/test-ldouble.h: Include <float.h>.
25101 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25102 (ULP_IDX): New macro.
25103 (ULP_I_IDX): Likewise.
25104 * math/test-double.h (ULP_IDX): Likewise.
25105 (ULP_I_IDX): Likewise.
25106 * math/test-float.h (ULP_IDX): Likewise.
25107 (ULP_I_IDX): Likewise.
25108 * math/test-float128.h (ULP_IDX): Likewise.
25109 (ULP_I_IDX): Likewise.
25111 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25113 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25114 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25115 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25116 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25117 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25118 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25119 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25120 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25121 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25122 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25123 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25124 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25125 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25127 (SINGLE_THREAD_BY_GLOBAL): Define.
25128 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25130 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25132 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25134 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25136 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25137 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25141 2017-10-11 Andreas Schwab <schwab@suse.de>
25143 * nis/Makefile (aux): Remove.
25144 * nscd/Makefile (aux): Add nscd_hash.
25145 (nscd-modules): Likewise.
25146 ($(objpfx)nscd): Don't depend on libnsl.
25147 * nscd/nscd_hash.c: New file.
25148 * nscd/nscd_hash.h: Likewise.
25149 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25150 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25151 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25152 instead of <nis/rpcsvc/nis.h>.
25153 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25155 2017-10-11 Florian Weimer <fweimer@redhat.com>
25158 Avoid large NSS buffers with many addresses, aliases.
25159 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25160 using dynarrays and struct alloc_buffer.
25161 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25162 (tst-nss-files-hosts-multi): Link with -ldl.
25163 * nss/tst-nss-files-hosts-multi.c: New file.
25165 2017-10-11 Florian Weimer <fweimer@redhat.com>
25168 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25169 scratch_buffer. Eliminate gotos.
25171 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25173 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25174 libm_alias_ldouble_other.
25175 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25176 undefine and redefine.
25177 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25178 (exp10l): Do not define here.
25179 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25180 (weak_alias): Undefine and redefine.
25181 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25182 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25183 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25184 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25186 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25187 [!__fma] (fma): Define using libm_alias_double.
25188 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25189 [!__fmaf] (fmaf): Define using libm_alias_float.
25190 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25191 (fmal): Define using libm_alias_ldouble.
25193 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25195 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25197 (libm_alias_double_other): Likewise.
25198 (libm_alias_double_r): Use libm_alias_double_other_r.
25199 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25201 (libm_alias_float_other): Likewise.
25202 (libm_alias_float_r): Use libm_alias_float_other_r.
25203 * sysdeps/generic/libm-alias-float128.h
25204 (libm_alias_float128_other_r): New macro.
25205 (libm_alias_float128_other): Likewise.
25206 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25207 * sysdeps/generic/libm-alias-ldouble.h
25208 (libm_alias_ldouble_other_r): New macro.
25209 (libm_alias_ldouble_other): Likewise.
25210 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25211 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25212 (libm_alias_double_other_r): New macro.
25213 (libm_alias_double_other): Likewise.
25214 (libm_alias_double_r): Use libm_alias_double_other_r.
25215 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25216 (libm_alias_ldouble_other_r): New macro.
25217 (libm_alias_ldouble_other): Likewise.
25218 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25219 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25220 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25221 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25222 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25223 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25224 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25225 * math/w_exp2f.c: Use libm_alias_float_other.
25226 * math/w_expf.c: Likewise.
25227 * math/w_log2f.c: Likewise.
25228 * math/w_logf.c: Likewise.
25229 * math/w_powf.c: Likewise.
25230 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25231 [!__exp2f]: Use libm_alias_float_other.
25232 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25233 [!__expf]: Use libm_alias_float_other.
25234 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25235 [!__log2f]: Use libm_alias_float_other.
25236 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25237 [!__logf]: Use libm_alias_float_other.
25238 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25239 [!__powf]: Use libm_alias_float_other.
25241 2017-10-10 Florian Weimer <fweimer@redhat.com>
25243 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25245 (_nss_files_gethostbyname3_r): Call it.
25247 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25249 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25250 error. Remove default definition of declare_mgen_alias.
25251 [!declare_mgen_alias_r]: Likewise.
25252 * sysdeps/generic/math-type-macros-double.h
25253 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25254 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25255 (declare_mgen_alias_r): Likewise.
25256 * sysdeps/generic/math-type-macros-float128.h
25257 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25258 * sysdeps/generic/math-type-macros-ldouble.h
25259 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25260 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25262 (declare_mgen_alias_r_s): Likewise.
25263 (declare_mgen_alias_r): Likewise.
25264 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25265 (lgamma_r): Define using libm_alias_double_r.
25266 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25267 (lgammaf_r): Define using libm_alias_float_r.
25268 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25269 (lgammal_r): Define using libm_alias_ldouble_r.
25270 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25271 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25273 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25275 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25276 extern declaration.
25278 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25280 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25282 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25285 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25286 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25287 * math/Makefile (test-math-cxx11): New test.
25288 * math/test-math-cxx11.cc: New file.
25290 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25292 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25294 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25295 call to allocate the slave pty file descriptor.
25297 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25299 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25300 [!__fma] (fma): Define using libm_alias_double.
25301 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25302 [!__fma] (fma): Define using libm_alias_double.
25304 * sysdeps/ieee754/float128/float128_private.h: Include
25305 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25306 (libm_alias_ldouble_r): Undefine and redefine.
25307 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25308 <libm-alias-ldouble.h>.
25309 (asinhl): Define using libm_alias_ldouble.
25310 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25311 <libm-alias-ldouble.h>.
25312 (atanl): Define using libm_alias_ldouble.
25313 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25314 <libm-alias-ldouble.h>.
25315 (cbrtl): Define using libm_alias_ldouble.
25316 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25317 <libm-alias-ldouble.h>.
25318 (ceill): Define using libm_alias_ldouble.
25319 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25320 <libm-alias-ldouble.h>.
25321 (copysignl): Define using libm_alias_ldouble.
25322 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25323 <libm-alias-ldouble.h>.
25324 (cosl): Define using libm_alias_ldouble.
25325 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25326 <libm-alias-ldouble.h>.
25327 (erfl): Define using libm_alias_ldouble.
25329 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25330 <libm-alias-ldouble.h>.
25331 (expm1l): Define using libm_alias_ldouble.
25332 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25333 <libm-alias-ldouble.h>.
25334 (fabsl): Define using libm_alias_ldouble.
25335 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25336 <libm-alias-ldouble.h>.
25337 (floorl): Define using libm_alias_ldouble.
25338 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25339 <libm-alias-ldouble.h>.
25340 (fmal): Define using libm_alias_ldouble.
25341 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25342 <libm-alias-ldouble.h>.
25343 (frexpl): Define using libm_alias_ldouble.
25344 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25345 libm_alias_ldouble.
25346 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25347 <libm-alias-ldouble.h>.
25348 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25349 libm_alias_ldouble.
25350 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25351 <libm-alias-ldouble.h>.
25352 (getpayloadl): Define using libm_alias_ldouble.
25353 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25354 <libm-alias-ldouble.h>.
25355 (llrintl): Define using libm_alias_ldouble.
25356 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25357 <libm-alias-ldouble.h>.
25358 (llroundl): Define using libm_alias_ldouble.
25359 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25360 <libm-alias-ldouble.h>.
25361 (logbl): Define using libm_alias_ldouble.
25362 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25363 <libm-alias-ldouble.h>.
25364 (lrintl): Define using libm_alias_ldouble.
25365 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25366 <libm-alias-ldouble.h>.
25367 (lroundl): Define using libm_alias_ldouble.
25368 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25369 <libm-alias-ldouble.h>.
25370 (modfl): Define using libm_alias_ldouble.
25371 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25372 <libm-alias-ldouble.h>.
25373 (nearbyintl): Define using libm_alias_ldouble.
25374 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25375 <libm-alias-ldouble.h>.
25376 (nextafterl): Define using libm_alias_ldouble.
25377 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25378 <libm-alias-ldouble.h>.
25379 (nextupl): Define using libm_alias_ldouble.
25380 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25381 <libm-alias-ldouble.h>.
25382 (remquol): Define using libm_alias_ldouble.
25383 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25384 <libm-alias-ldouble.h>.
25385 (rintl): Define using libm_alias_ldouble.
25386 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25387 <libm-alias-ldouble.h>.
25388 (roundevenl): Define using libm_alias_ldouble.
25389 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25390 <libm-alias-ldouble.h>.
25391 (roundl): Define using libm_alias_ldouble.
25392 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25393 using libm_alias_ldouble.
25394 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25395 <libm-alias-ldouble.h>.
25396 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25397 Define using libm_alias_ldouble.
25398 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25399 <libm-alias-ldouble.h>.
25400 (sincosl): Define using libm_alias_ldouble.
25401 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25402 <libm-alias-ldouble.h>.
25403 (sinl): Define using libm_alias_ldouble.
25404 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25405 <libm-alias-ldouble.h>.
25406 (tanhl): Define using libm_alias_ldouble.
25407 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25408 <libm-alias-ldouble.h>.
25409 (tanl): Define using libm_alias_ldouble.
25410 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25411 <libm-alias-ldouble.h>.
25412 (totalorderl): Define using libm_alias_ldouble.
25413 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25414 <libm-alias-ldouble.h>.
25415 (totalordermagl): Define using libm_alias_ldouble.
25416 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25417 <libm-alias-ldouble.h>.
25418 (truncl): Define using libm_alias_ldouble.
25419 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25420 libm_alias_ldouble.
25421 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25422 libm_alias_ldouble.
25423 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25424 <libm-alias-ldouble.h>.
25425 (weak_alias): Do not undefine and redefine.
25426 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25427 (copysignl): Define with long_double_symbol only if [IS_IN
25429 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25430 <libm-alias-ldouble.h>.
25431 (weak_alias): Do not undefine and redefine.
25432 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25433 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25434 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25435 <libm-alias-ldouble.h>.
25436 (weak_alias): Do not undefine and redefine.
25437 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25438 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25439 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25440 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25441 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25442 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25443 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25444 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25445 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25446 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25447 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25448 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25449 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25450 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25451 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25452 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25453 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25454 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25456 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25457 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25458 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25459 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25460 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25461 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25462 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25464 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25467 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25468 (tcache_thread_freeres): Set tcache_shutting_down before
25469 freeing the tcache.
25470 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25471 * malloc/tst-malloc-tcache-leak.c: New file.
25473 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25475 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25476 back to powerpc32 file.
25477 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25478 (memrchr): Add __memrchr_power8 to ifunc list.
25479 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25480 extra bytes for unaligned inputs.
25482 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25484 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25485 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25486 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25487 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25488 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25490 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25492 * sysdeps/arm/libm-test-ulps: Update.
25494 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25495 <libm-alias-ldouble.h>.
25496 (asinhl): Define using libm_alias_ldouble.
25497 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25498 <libm-alias-ldouble.h>.
25499 (cbrtl): Define using libm_alias_ldouble.
25500 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25501 <libm-alias-ldouble.h>.
25502 (copysignl): Define using libm_alias_ldouble.
25503 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25504 <libm-alias-ldouble.h>.
25505 (cosl): Define using libm_alias_ldouble.
25506 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25507 <libm-alias-ldouble.h>.
25508 (erfl): Define using libm_alias_ldouble.
25510 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25511 <libm-alias-ldouble.h>.
25512 (fmal): Define using libm_alias_ldouble.
25513 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25514 <libm-alias-ldouble.h>.
25515 (frexpl): Define using libm_alias_ldouble.
25516 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25517 libm_alias_ldouble.
25518 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25519 <libm-alias-ldouble.h>.
25520 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25521 libm_alias_ldouble.
25522 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25523 <libm-alias-ldouble.h>.
25524 (getpayloadl): Define using libm_alias_ldouble.
25525 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25526 <libm-alias-ldouble.h>.
25527 (llrintl): Define using libm_alias_ldouble.
25528 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25529 <libm-alias-ldouble.h>.
25530 (llroundl): Define using libm_alias_ldouble.
25531 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25532 <libm-alias-ldouble.h>.
25533 (lrintl): Define using libm_alias_ldouble.
25534 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25535 <libm-alias-ldouble.h>.
25536 (lroundl): Define using libm_alias_ldouble.
25537 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25538 <libm-alias-ldouble.h>.
25539 (modfl): Define using libm_alias_ldouble.
25540 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25541 <libm-alias-ldouble.h>.
25542 (nextupl): Define using libm_alias_ldouble.
25543 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25544 <libm-alias-ldouble.h>.
25545 (remquol): Define using libm_alias_ldouble.
25546 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25547 <libm-alias-ldouble.h>.
25548 (roundevenl): Define using libm_alias_ldouble.
25549 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25550 <libm-alias-ldouble.h>.
25551 (roundl): Define using libm_alias_ldouble.
25552 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25553 using libm_alias_ldouble.
25554 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25555 <libm-alias-ldouble.h>.
25556 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25557 <libm-alias-ldouble.h>.
25558 (setpayloadsigl): Define using libm_alias_ldouble.
25559 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25560 <libm-alias-ldouble.h>.
25561 (sincosl): Define using libm_alias_ldouble.
25562 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25563 <libm-alias-ldouble.h>.
25564 (sinl): Define using libm_alias_ldouble.
25565 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25566 <libm-alias-ldouble.h>.
25567 (tanhl): Define using libm_alias_ldouble.
25568 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25569 <libm-alias-ldouble.h>.
25570 (tanl): Define using libm_alias_ldouble.
25571 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25572 <libm-alias-ldouble.h>.
25573 (totalorderl): Define using libm_alias_ldouble.
25574 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25575 <libm-alias-ldouble.h>.
25576 (totalordermagl): Define using libm_alias_ldouble.
25577 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25578 libm_alias_ldouble.
25579 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25580 libm_alias_ldouble.
25582 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25584 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25586 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25587 (__libc_ifunc_impl_list): Likewise.
25588 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25589 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25591 * benchtests/bench-memmove-walk.c: New file.
25592 * benchtests/Makefile (string-benchset): Add it.
25594 * benchtests/bench-memset-walk.c: New file.
25595 * benchtests/Makefile (string-benchset): Add it.
25597 * benchtests/bench-memcpy-walk.c: New file.
25598 * benchtests/Makefile (string-benchset): Add it.
25600 2017-10-05 Florian Weimer <fweimer@redhat.com>
25602 nscd: Eliminate compilation time dependency in the build output.
25603 * nscd/nscd_stat.c (STATDATA_VERSION)
25604 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25605 (STATDATA_VERSION_FULL): New macro definitions.
25606 (compilation): Remove.
25607 (struct statdata): Adjust version member.
25608 (send_stats): Set version from STATDATA_VERSION_FULL.
25609 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25611 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25613 * configure.ac (--enable-add-ons): Remove option.
25614 (machine): Do not mention add-ons in comment.
25615 (LIBC_PRECONFIGURE): Likewise.
25616 (add_ons): Remove variable and sanity checks and logic to locate
25618 (add_ons_automatic): Remove variable.
25619 (configured_add_ons): Likewise.
25620 (add_ons_sfx): Likewise.
25621 (add_ons_pfx): Likewise.
25622 (add_on_subdirs): Likewise.
25623 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25624 consideration of add-ons in Implies handling.
25625 (sysdeps_add_ons): Likewise.
25626 * configure: Regenerated.
25627 * libidn/configure.ac: Remove.
25628 * libidn/configure: Likewise.
25629 * sysdeps/unix/inet/configure.ac: New file.
25630 * sysdeps/unix/inet/configure: New generated file.
25631 * sysdeps/unix/inet/Subdirs: Add libidn.
25632 * Makeconfig (sysdeps-srcdirs): Remove variable.
25633 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25634 ($(common-objpfx)config.status): Do not depend on add-on files.
25635 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25637 (all-subdirs): Do not include $(add-on-subdirs).
25638 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25639 * config.make.in (add-ons): Remove variable.
25640 (add-on-subdirs): Likewise.
25641 (sysdeps-add-ons): Likewise.
25642 * manual/Makefile (add-chapters): Remove.
25643 ($(objpfx)texis): Do not depend on $(add-chapters).
25644 (nonexamples): Do not handle $(add-chapters).
25645 (examples): Do not handle $(add-ons).
25646 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25648 * manual/install.texi (Installation): Do not mention add-ons.
25649 (--enable-add-ons): Do not document configure option.
25650 * INSTALL: Regenerated.
25651 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25652 * manual/maint.texi (Hierarchy Conventions): Do not mention
25654 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25656 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25658 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25659 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25661 2017-10-05 Andreas Schwab <schwab@suse.de>
25664 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25665 (_IO_flush_all_lockp): Always lock list_all_lock.
25666 (_IO_flush_all_linebuffered): Likewise.
25667 (_IO_unbuffer_all): Likewise.
25669 2017-10-05 Florian Weimer <fweimer@redhat.com>
25672 Do not flush stdio streams on abort.
25673 * stdlib/abort.c (fflush): Remove macro definition.
25674 (abort): Remove stages related to stdio flushing.
25676 2017-10-05 Florian Weimer <fweimer@redhat.com>
25678 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25680 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25682 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25684 2017-10-05 Florian Weimer <fweimer@redhat.com>
25686 * support/support_format_hostent.c (support_format_hostent): Add
25687 more error information for NETDB_INTERNAL.
25689 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25691 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25692 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25693 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25694 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25695 AC_DEFINE if multi-arch is enabled.
25696 * sysdeps/i386/configure: Regenerated.
25698 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25700 * Makeconfig (+link-static-before-libc): Use
25701 $(DEFAULT-LDFLAGS-$(@F)).
25702 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25703 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25704 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25706 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25708 * elf/Makefile (tests): Add tst-main1.
25709 (modules-names): Add tst-main1mod.
25710 ($(objpfx)tst-main1): New.
25711 (CRT-tst-main1): Likewise.
25712 (LDFLAGS-tst-main1): Likewise.
25713 (LDLIBS-tst-main1): Likewise.
25714 (tst-main1mod.so-no-z-defs): Likewise.
25715 * elf/tst-main1.c: New file.
25716 * elf/tst-main1mod.c: Likewise.
25718 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25720 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25722 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25724 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25725 (fma): Define using libm_alias_double.
25726 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25727 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25729 (fmal): Do not define as compat symbol here.
25730 * sysdeps/alpha/fpu/s_fma.c: New file.
25732 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25734 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25736 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25739 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25741 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25743 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25744 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25745 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25746 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25748 Include <math_ldbl_opt.h>
25749 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25751 (compat_symbol): Undefine and redefine.
25752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25754 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25755 (compat_symbol): Undefine and redefine.
25756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25757 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25758 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25759 GLIBC_2_1 for libm.
25760 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25761 GLIBC_2.0 copysignl symbol.
25762 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25763 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25765 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25767 2017-10-04 Florian Weimer <fweimer@redhat.com>
25769 * scripts/check-local-headers.sh: Ignore nspr4 header file
25770 directory in addition to nspr.
25772 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25775 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25776 * configure: Regenerate.
25777 * crypt/Makefile (nss-cpp-flags): New variable.
25778 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25779 (CPPFLAGS-md5-crypt.c): Use it.
25780 * scripts/check-local-headers.sh: Ignore nspr header file
25783 2017-10-04 Andreas Schwab <schwab@suse.de>
25785 * nis/Makefile (services): Remove compat.
25786 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25787 ($(objpfx)libnss_compat.so): Remove rule.
25788 * nis/Versions (libnss_compat): Remove.
25789 * nss/Makefile (services): Add compat.
25790 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25791 * nss/Versions (libnss_compat): Define.
25792 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25793 Don't include <rpc/types.h>. Replace bool_t by bool.
25794 * nss/nss_compat/compat-initgroups.c: Likewise.
25795 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25796 instead of <rpcsrv/ypclnt.h>.
25797 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25798 yp_get_default_domain.
25799 * nss/nss_compat/compat-pwd.c: Likewise.
25800 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25801 yp_get_default_domain.
25802 * nss/nss_compat/nisdomain.c: New file.
25803 * nss/nss_compat/nisdomain.h: Likewise.
25805 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25808 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25809 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25811 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25814 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25815 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25817 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25819 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25820 "movl main@GOTOFF(%ebx), %eax".
25822 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25824 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25825 allow undefined _DYNAMIC in PIE libc.a.
25826 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25829 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25831 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25834 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25836 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25839 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25841 * math/test-math-iscanonical.cc (error): Replace bool with int.
25843 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25845 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25846 (modf): Define using libm_alias_double, only if [!__modf].
25847 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25848 <libm-alias-double.h>.
25849 (modf): Define using libm_alias_double, only if [!__modf].
25850 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25851 compat symbol here.
25852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25853 (weak_alias): Do not undefine and redefine.
25854 (strong_alias): Likewise.
25855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25856 (weak_alias): Likewise.
25857 (strong_alias): Likewise.
25859 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25860 (logb): Define using libm_alias_double, only if [!__logb].
25861 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25862 <libm-alias-double.h>.
25863 (logb): Define using libm_alias_double, only if [!__logb].
25864 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25866 (weak_alias): Do not undefine and redefine.
25867 (strong_alias): Likewise.
25868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25869 (weak_alias): Likewise.
25870 (strong_alias): Likewise.
25872 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25874 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25875 Check SHARED instead PIC.
25877 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25879 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25880 [!__fmaf] (fmaf): Define using libm_alias_float.
25882 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25883 (frexp): Define using libm_alias_double.
25884 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25885 <libm-alias-double.h>.
25886 (frexp): Define using libm_alias_double.
25887 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25888 compat symbol here.
25890 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25893 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25894 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25895 (CFLAGS-test-math-iscanonical.cc): New variable.
25896 * math/test-math-iscanonical.cc: New file.
25897 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25898 Provide a C++ implementation based on function overloading,
25899 rather than using __MATH_TG, which uses C-only builtins.
25900 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25902 * sysdeps/powerpc/powerpc64le/Makefile
25903 (CFLAGS-test-math-iscanonical.cc): New variable.
25905 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25907 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25908 (ceil): Define using libm_alias_double.
25909 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25910 (floor): Define using libm_alias_double.
25911 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25912 <libm-alias-double.h>.
25913 (llround): Define using libm_alias_double.
25914 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25915 <libm-alias-double.h>.
25916 (lround): Define using libm_alias_double.
25917 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25918 <libm-alias-double.h>.
25919 (nearbyint): Define using libm_alias_double.
25920 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25921 <libm-alias-double.h>.
25922 (remquo): Define using libm_alias_double.
25923 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25924 (rint): Define using libm_alias_double.
25925 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25926 (round): Define using libm_alias_double.
25927 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25928 (trunc): Define using libm_alias_double.
25929 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25930 <libm-alias-double.h>.
25931 (ceil): Define using libm_alias_double.
25932 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25933 <libm-alias-double.h>.
25934 (floor): Define using libm_alias_double.
25935 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25936 <libm-alias-double.h>.
25937 (llround): Define using libm_alias_double.
25938 [_LP64] (lround): Likewise.
25939 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25940 <libm-alias-double.h>.
25941 [!_LP64] (lround): Define using libm_alias_double.
25942 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25943 <libm-alias-double.h>.
25944 (nearbyint): Define using libm_alias_double.
25945 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25946 <libm-alias-double.h>.
25947 (remquo): Define using libm_alias_double.
25948 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25949 <libm-alias-double.h>.
25950 (rint): Define using libm_alias_double.
25951 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25952 <libm-alias-double.h>.
25953 (round): Define using libm_alias_double.
25954 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25955 <libm-alias-double.h>.
25956 (trunc): Define using libm_alias_double.
25957 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25958 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25959 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25960 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25961 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25962 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25963 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25964 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25965 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25967 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25969 * math/w_remainder.c: New file.
25970 * math/w_remainderf.c: New file.
25971 * math/w_remainderl.c: New file.
25973 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25975 * elf/rtld.c (BOOTSTRAP_MAP): New.
25976 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25977 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25979 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25981 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25984 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25986 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25987 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25988 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25989 rtld_hidden_data_ver): Define to empty.
25990 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25991 __assert_perror_fail): Likewise.
25992 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25993 (__rewinddir): Likewise.
25994 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25995 (__profile_frequency): Likewise.
25996 * include/setjmp.h (__sigsetjmp): Likewise.
25997 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25998 __libc_sigaction): Likewise.
25999 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26000 not set hidden attribute.
26001 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26002 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26003 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26004 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26005 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26006 __fxstatat64): Likewise.
26007 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26008 (__uname): Likewise.
26009 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26010 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26011 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26012 (NO_RTLD_HIDDEN): Set.
26013 * sysdeps/mach/hurd/configure: Refresh.
26014 * config.h.in: Refresh.
26016 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26018 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26019 (atan): Define using libm_alias_double.
26020 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26021 (tan): Define using libm_alias_double.
26022 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26023 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26025 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26026 define as weak alias of __atan. Do not define any aliases if
26028 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26029 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26030 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26031 as weak alias of __tan. Do not define any aliases if [__tan].
26032 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26033 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26034 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26036 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26037 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26038 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26039 and define as weak alias of __atan.
26040 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26042 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26043 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26044 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26045 define as weak alias of __tan.
26047 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26049 * math/w_lgamma.c: New file.
26050 * math/w_lgammaf.c: New file.
26051 * math/w_lgammal.c: New file.
26053 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26055 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26056 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26057 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26058 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26059 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26060 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26061 * sysdeps/i386/fpu/w_log2f.c: New file.
26062 * sysdeps/i386/fpu/w_logf.c: New file.
26063 * sysdeps/i386/fpu/w_powf.c: New file.
26064 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26065 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26066 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26068 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26069 H.J. Lu <hongjiu.lu@intel.com>
26071 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26072 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26073 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26074 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26075 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26077 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26078 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26079 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26080 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26081 * sysdeps/i386/fpu/w_exp2f.c: New file.
26082 * sysdeps/i386/fpu/w_expf.c: New file.
26083 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26084 * sysdeps/x86_64/fpu/w_expf.c: New file.
26086 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26088 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26091 * math/w_log2f.c: New file.
26092 * math/w_logf.c: New file.
26093 * math/w_powf.c: New file.
26094 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26095 * math/w_logf_compat.c (__logf_compat): Likewise.
26096 * math/w_powf_compat.c (__powf_compat): Likewise.
26097 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26098 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26099 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26100 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26101 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26102 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26103 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26104 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26105 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26106 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26107 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26108 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26109 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26110 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26111 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26120 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26121 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26122 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26123 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26124 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26129 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26130 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26131 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26133 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26135 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26136 (sysdep_routines): Add memrchr_power8.
26137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26138 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26139 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26141 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26142 (memrchr): Add __memrchr_power8 to ifunc list.
26143 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26145 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26148 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26149 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26151 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26152 (__posix_fallocate64_l64): Likewise.
26154 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26157 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26158 (__sched_setaffinity_new): Add libc_hidden_proto and
26161 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26164 * include/glob.h (__glob64): Add libc_hidden_proto.
26165 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26168 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26171 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26174 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26177 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26179 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26182 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26185 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26188 * csu/version.c (__libc_print_version): Add attribute_hidden.
26190 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26193 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26195 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26198 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26200 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26203 * nscd/nscd_helper.c (__nis_hash): New prototype.
26205 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26208 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26209 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26211 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26212 * termios/tcgetattr.c (__tcgetattr): Likewise.
26214 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26217 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26218 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26219 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26220 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26221 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26223 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26226 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26228 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26231 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26232 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26234 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26237 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26239 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26242 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26243 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26245 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26248 * include/ifreq.h: New file.
26249 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26250 (__ifreq): Likewise.
26251 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26252 (__ifreq): Likewise.
26254 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26257 * include/idna.h: New file.
26258 * inet/getnameinfo.c: Include <idna.h> instead of
26260 (__idna_to_unicode_lzlz): Removed.
26261 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26263 (__idna_to_ascii_lz): Removed.
26264 (__idna_to_unicode_lzlz): Likewise.
26266 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26269 * include/plural-exp.h: New file.
26270 * intl/plural-exp.c: Include <plural-exp.h> instead of
26273 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26276 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26277 "getsourcefilter.h".
26278 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26279 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26280 "getsourcefilter.h".
26281 (__get_sol): Removed.
26283 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26286 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26288 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26290 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26293 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26296 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26299 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26301 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26304 * include/search.h (__tdestroy): Add libc_hidden_proto.
26305 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26307 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26310 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26312 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26315 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26318 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26321 * include/signal.h (__kill): Add libc_hidden_proto.
26322 (__sigblock): Likewise.
26323 (__sigprocmask): Likewise.
26324 (__sigaltstack): Likewise.
26325 * signal/kill.c (__kill): Add libc_hidden_def.
26326 * signal/sigblock.c (__sigblock): Likewise.
26327 * signal/sigprocmask.c (__sigprocmask): Likewise.
26328 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26329 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26330 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26331 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26332 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26334 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26336 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26337 (__sigprocmask): Likewise.
26338 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26340 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26341 (__sigprocmask): Likewise.
26342 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26345 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26348 * include/string.h (__strsep): Add libc_hidden_proto.
26349 * string/strsep.c (__strsep): Add libc_hidden_def.
26351 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26354 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26356 (__spawni): Likewise.
26358 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26361 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26362 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26365 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26368 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26370 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26373 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26374 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26375 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26376 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26377 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26379 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26380 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26382 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26385 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26386 (__dcigettext): Likewise.
26388 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26391 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26393 (__get_nprocs): Likewise.
26394 (__get_phys_pages): Likewise.
26395 (__get_avphys_pages): Likewise.
26396 (__get_child_max): Add attribute_hidden.
26397 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26398 (__get_nprocs): Likewise.
26399 (__get_phys_pages): Likewise.
26400 (__get_avphys_pages): Likewise.
26401 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26403 (__get_nprocs): Likewise.
26404 (__get_phys_pages): Likewise.
26405 (__get_avphys_pages): Likewise.
26406 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26408 (__get_nprocs_conf): Likewise.
26409 (__get_phys_pages): Likewise.
26410 (__get_avphys_pages): Likewise.
26412 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26415 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26417 (__netlink_close): Likewise.
26418 (__netlink_free_handle): Likewise.
26419 (__netlink_request): Likewise.
26421 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26424 * include/rpc/rpc.h (__rpc_thread_variables): Add
26426 (__rpc_thread_svc_cleanup): Likewise.
26427 (__rpc_thread_clnt_cleanup): Likewise.
26428 (__rpc_thread_key_cleanup): Likewise.
26430 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26433 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26434 (__writev): Likewise.
26435 * misc/readv.c (__readv): Add libc_hidden_def.
26436 * misc/writev.c (__writev): Likewise.
26437 * sysdeps/posix/readv.c (__readv): Likewise.
26438 * sysdeps/posix/writev.c (__writev): Likewise.
26439 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26440 (__readv): Likewise.
26441 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26442 (__writev): Likewise.
26444 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26447 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26448 (__regcomp): Add libc_hidden_proto.
26449 (__regexec): Likewise.
26450 (__regfree): Likewise.
26451 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26452 (__regfree): Likewise.
26453 * posix/regexec.c (__regexec): Likewise.
26455 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26458 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26459 (__getutent): Likewise.
26460 (__getutid): Likewise.
26461 (__getutline): Likewise.
26462 (__pututline): Likewise.
26463 (__getutent_r): Likewise.
26464 (__getutid_r): Likewise.
26465 (__getutline_r): Likewise.
26466 (__utmpname): Add attribute_hidden.
26467 (__setutent): Likewise.
26468 (__endutent): Likewise.
26469 * login/getutent.c (__getutent): Add libc_hidden_def.
26470 * login/getutent_r.c (__getutent_r): Likewise.
26471 (__pututline): Likewise.
26472 * login/getutid.c (__getutid): Likewise.
26473 * login/getutid_r.c (__getutid_r): Likewise.
26474 * login/getutline.c (__getutline): Likewise.
26475 * login/getutline_r.c (__getutline_r): Likewise.
26476 * login/updwtmp.c (__updwtmp): Likewise.
26478 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26481 * include/dirent.h (__opendir): Always add attribute_hidden.
26482 (__fdopendir): Likewise.
26483 (__closedir): Likewise.
26484 (__readdir): Likewise.
26485 (__readdir64): Add libc_hidden_proto.
26486 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26487 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26488 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26489 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26492 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26495 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26496 * include/netdb.h (__gethostbyaddr_r): Likewise.
26497 (__gethostbyname_r): Likewise.
26498 (__gethostbyname2_r): Likewise.
26499 (__getnetbyaddr_r): Likewise.
26500 (__getnetbyname_r): Likewise.
26501 (__getservbyname_r): Likewise.
26502 (__getservbyport_r): Likewise.
26503 (__getprotobyname_r): Likewise.
26504 (__getprotobynumber_r): Likewise.
26505 (__getnetgrent_r): Likewise.
26506 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26507 (__getrpcbynumber_r): Likewise.
26508 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26510 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26513 * include/stdio.h (__fcloseall): Add attribute_hidden.
26514 (__getline): Likewise.
26515 (__path_search): Likewise.
26516 (__gen_tempname): Likewise.
26517 (__libc_message): Likewise.
26518 (__flockfile): Likewise.
26519 (__funlockfile): Likewise.
26520 (__fxprintf): Likewise.
26521 (__fxprintf_nocancel): Likewise.
26523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26526 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26527 (__sgetsgent_r): Likewise.
26529 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26532 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26533 (__statfs64): Likewise.
26534 (__fstatfs64): Likewise.
26535 * include/sys/statvfs.h (__statvfs64): Likewise.
26536 (__fstatvfs64): Likewise.
26537 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26538 (__statfs_filesize_max): Likewise.
26539 (__statfs_symlinks): Likewise.
26540 (__statfs_chown_restricted): Likewise.
26542 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26545 * include/time.h (__tzstring): Add attribute_hidden.
26546 (__tzfile_read): Likewise.
26547 (__tzfile_compute): Likewise.
26548 (__tzfile_default): Likewise.
26549 (__tzset_parse_tz): Likewise.
26550 (__offtime): Likewise.
26551 (__asctime_r): Likewise.
26552 (__tzset): Likewise.
26553 (__tz_convert): Likewise.
26554 (__getdate_r): Likewise.
26555 (__getclktck): Likewise.
26557 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26560 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26561 (__nscd_unmap): Likewise.
26562 (__nscd_cache_search): Likewise.
26563 (__nscd_get_nl_timestamp): Likewise.
26564 (__nscd_getpwnam_r): Likewise.
26565 (__nscd_getpwuid_r): Likewise.
26566 (__nscd_getgrnam_r): Likewise.
26567 (__nscd_getgrgid_r): Likewise.
26568 (__nscd_gethostbyname_r): Likewise.
26569 (__nscd_gethostbyname2_r): Likewise.
26570 (__nscd_gethostbyaddr_r): Likewise.
26571 (__nscd_getai): Likewise.
26572 (__nscd_getgrouplist): Likewise.
26573 (__nscd_getservbyname_r): Likewise.
26574 (__nscd_getservbyport_r): Likewise.
26575 (__nscd_innetgr): Likewise.
26576 (__nscd_setnetgrent): Likewise.
26578 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26581 * include/gmp.h: Declare internal functions only if _ISOMAC is
26583 (__mpn_extract_double): Add attribute_hidden.
26584 (__mpn_extract_long_double): Likewise.
26585 (__mpn_extract_float128): Likewise.
26586 (__mpn_construct_float): Likewise.
26587 (__mpn_construct_double): Likewise.
26588 (__mpn_construct_long_double): Likewise.
26589 (__mpn_construct_float128): Likewise.
26590 (mpn_add_1): Likewise.
26591 (mpn_addmul_1): Likewise.
26592 (mpn_add_n): Likewise.
26593 (mpn_cmp): Likewise.
26594 (mpn_divrem): Likewise.
26595 (mpn_lshift): Likewise.
26596 (mpn_mul): Likewise.
26597 (mpn_mul_1): Likewise.
26598 (mpn_rshift): Likewise.
26599 (mpn_sub_1): Likewise.
26600 (mpn_submul_1): Likewise.
26601 (mpn_sub_n): Likewise.
26603 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26606 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26607 (__wcscat): Likewise.
26608 (__btowc): Likewise.
26609 (__wcrtomb): Likewise.
26610 (__mbsrtowcs): Likewise.
26611 (__wcsrtombs): Likewise.
26612 (__mbsnrtowcs): Likewise.
26613 (__wcsnrtombs): Likewise.
26614 (__wcsncpy): Likewise.
26615 (__wcpncpy): Likewise.
26616 (__wmemcpy): Likewise.
26617 (__wmempcpy): Likewise.
26618 (__wmemmove): Likewise.
26619 (__wcschrnul): Likewise.
26620 (__vfwscanf): Likewise.
26621 (__vswprintf): Likewise.
26622 (__fwprintf): Likewise.
26623 (__vfwprintf): Likewise.
26625 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26628 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26629 (__getgrgid_r): Likewise.
26630 (__getgrnam_r): Likewise.
26631 * include/pwd.h (__getpwuid_r): Likewise.
26632 (__getpwnam_r): Likewise.
26633 (__fgetpwent_r): Likewise.
26634 * include/shadow.h (__getspnam_r): Likewise.
26635 (__sgetspent_r): Likewise.
26636 (__fgetspent_r): Likewise.
26638 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26641 * include/unistd.h (__access): Add attribute_hidden.
26642 (__lseek64): Likewise.
26643 (__libc_pread64): Likewise.
26644 (__pipe2): Likewise.
26645 (__sleep): Likewise.
26646 (__chdir): Likewise.
26647 (__fchdir): Likewise.
26648 (__getcwd): Likewise.
26649 (__rmdir): Likewise.
26650 (__execvpe): Likewise.
26651 (__execve): Likewise.
26652 (__setsid): Likewise.
26653 (__getuid): Likewise.
26654 (__geteuid): Likewise.
26655 (__getgid): Likewise.
26656 (__getegid): Likewise.
26657 (__getgroups): Likewise.
26658 (__group_member): Likewise.
26659 (__ttyname_r): Likewise.
26660 (__isatty): Likewise.
26661 (__readlink): Likewise.
26662 (__unlink): Likewise.
26663 (__gethostname): Likewise.
26664 (__profil): Likewise.
26665 (__getdtablesize): Likewise.
26667 (__ftruncate): Likewise.
26668 (__ftruncate64): Likewise.
26670 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26673 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26674 * argp/argp-fs-xinl.c: Likewise.
26675 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26676 * argp/argp-parse.c: Include <argp.h>.
26677 * argp/argp-xinl.c: Likewise.
26678 * include/argp-fmtstream.h: New file.
26679 * include/argp.h (__argp_error): Add attribute_hidden.
26680 (__argp_failure): Likewise.
26681 (__argp_input): Likewise.
26682 (__argp_state_help): Likewise.
26684 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26687 * include/wchar.h (____wcstof_l_internal): New prototype.
26688 (____wcstod_l_internal): Likewise.
26689 (____wcstold_l_internal): Likewise.
26690 (____wcstol_l_internal): Likewise.
26691 (____wcstoul_l_internal): Likewise.
26692 (____wcstoll_l_internal): Likewise.
26693 (____wcstoull_l_internal): Likewise.
26694 (____wcstof128_l_internal): Likewise.
26695 * sysdeps/ieee754/float128/wcstof128.c
26696 (____wcstof128_l_internal): Removed.
26697 * sysdeps/ieee754/float128/wcstof128_l.c
26698 (____wcstof128_l_internal): Likewise.
26699 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26700 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26701 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26702 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26703 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26704 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26705 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26706 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26707 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26708 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26710 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26713 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26714 instead of <sys/statvfs.h>.
26715 (__internal_statvfs): Removed.
26716 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26717 instead of <sys/statvfs.h>.
26718 (__internal_statvfs64): Removed.
26719 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26720 "internal_statvfs.h" instead of <sys/statvfs.h>.
26721 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26722 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26723 instead of <sys/statvfs.h>.
26724 (__internal_statvfs): Removed.
26725 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26726 instead of <sys/statvfs.h>.
26727 (__internal_statvfs64): Removed.
26729 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26732 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26733 (__gconv_close): Likewise.
26734 (__gconv): Likewise.
26735 (__gconv_find_transform): Likewise.
26736 (__gconv_lookup_cache): Likewise.
26737 (__gconv_compare_alias_cache): Likewise.
26738 (__gconv_load_cache): Likewise.
26739 (__gconv_get_path): Likewise.
26740 (__gconv_close_transform): Likewise.
26741 (__gconv_release_cache): Likewise.
26742 (__gconv_find_shlib): Likewise.
26743 (__gconv_release_shlib): Likewise.
26744 (__gconv_get_builtin_trans): Likewise.
26745 (__gconv_compare_alias): Likewise.
26746 * include/dlfcn.h (_dlerror_run): Likewise.
26747 * include/stdio.h (__fortify_fail_abort): Likewise.
26748 * include/time.h (__tz_compute): Likewise.
26749 (__strptime_internal): Likewise.
26750 * intl/gettextP.h (_nl_find_domain): Likewise.
26751 (_nl_load_domain): Likewise.
26752 (_nl_find_msg): Likewise.
26753 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26754 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26755 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26756 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26757 (__gai_find_request): Likewise.
26758 (__gai_remove_request): Likewise.
26759 (__gai_notify): Likewise.
26760 (__gai_notify_only): Likewise.
26761 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26762 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26763 (_dl_non_dynamic_init): Likewise.
26764 (_dl_aux_init): Likewise.
26765 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26766 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26768 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26769 (__wcsmbs_clone_conv): Likewise.
26770 (__wcsmbs_named_conv): Likewise.
26772 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26775 * include/stdlib.h (__random): Add attribute_hidden.
26776 (__random_r): Likewise.
26777 (__srandom_r): Likewise.
26778 (__initstate_r): Likewise.
26779 (__setstate_r): Likewise.
26780 (__erand48_r): Likewise.
26781 (__nrand48_r): Likewise.
26782 (__jrand48_r): Likewise.
26783 (__srand48_r): Likewise.
26784 (__seed48_r): Likewise.
26785 (__lcong48_r): Likewise.
26786 (__drand48_iterate): Likewise.
26787 (__setenv): Likewise.
26788 (__unsetenv): Likewise.
26789 (__clearenv): Likewise.
26790 (__ptsname_r): Likewise.
26791 (__posix_openpt): Likewise.
26792 (__add_to_environ): Likewise.
26793 (__realpath): Add libc_hidden_proto.
26794 (__ecvt_r): Likewise.
26795 (__fcvt_r): Likewise.
26796 (__qecvt_r): Likewise.
26797 (__qfcvt_r): Likewise.
26798 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26799 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26801 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26804 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26805 * include/time.h (__mktime_internal): Likewise.
26806 * libio/iolibio.h (__fopen_internal): Likewise.
26808 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26810 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26812 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26813 Correct offset used to restore PIC register.
26815 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26818 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26819 code to load address of __getcontext_ret when generating PIC code.
26821 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26823 * elf/Makefile (tests-static-internal): Add
26824 tst-tls1-static-non-pie.
26825 (LDFLAGS-tst-tls1-static-non-pie): New.
26826 * elf/tst-tls1-static-non-pie.c: New file.
26828 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26830 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26831 (asinh): Define using libm_alias_double.
26832 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26833 (cbrt): Define using libm_alias_double.
26834 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26835 <libm-alias-double.h>.
26836 (copysign): Define using libm_alias_double.
26837 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26838 (erf): Define using libm_alias_double.
26840 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26841 (expm1): Define using libm_alias_double.
26842 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26843 (fabs): Define using libm_alias_double.
26844 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26846 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26847 <libm-alias-double.h>.
26848 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26850 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26851 <libm-alias-double.h>.
26852 (getpayload): Define using libm_alias_double.
26853 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26854 <libm-alias-double.h>.
26855 (llrint): Define using libm_alias_double.
26856 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26857 (lrint): Define using libm_alias_double.
26858 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26859 <libm-alias-double.h>.
26860 (nextup): Define using libm_alias_double.
26861 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26862 <libm-alias-double.h>.
26863 (roundeven): Define using libm_alias_double.
26864 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26866 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26867 <libm-alias-double.h>.
26868 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26869 using libm_alias_double.
26870 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26871 (cos): Define using libm_alias_double.
26873 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26874 <libm-alias-double.h>.
26875 (sincos): Define using libm_alias_double.
26876 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26877 (tanh): Define using libm_alias_double.
26878 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26879 <libm-alias-double.h>.
26880 (totalorder): Define using libm_alias_double.
26881 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26882 <libm-alias-double.h>.
26883 (totalordermag): Define using libm_alias_double.
26884 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26886 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26888 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26889 <libm-alias-double.h>.
26890 (getpayload): Define using libm_alias_double.
26891 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26892 <libm-alias-double.h>.
26893 (roundeven): Define using libm_alias_double.
26894 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26895 <libm-alias-double.h>.
26896 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26897 <libm-alias-double.h>.
26898 (totalorder): Define using libm_alias_double.
26899 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26900 <libm-alias-double.h>.
26901 (totalordermag): Define using libm_alias_double.
26902 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26903 libc compat symbol here.
26904 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26905 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26906 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26907 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26908 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26909 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26910 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26911 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26912 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26913 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26915 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26917 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26918 _dl_relocate_static_pie instead of _dl_start to compute load
26919 address in static PIE. Return 0 if _DYNAMIC is undefined for
26922 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26924 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26925 _DYNAMIC is undefined for static executable.
26927 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26929 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26931 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26935 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26937 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26938 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26939 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26940 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26941 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26942 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26943 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26944 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26945 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26946 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26947 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26948 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26949 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26950 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26951 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26952 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26953 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26955 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26957 * math/bits/cmathcalls.h (cimag): Remove inline.
26958 (creal): Remove inline.
26959 (conj): Remove inline.
26961 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26963 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26964 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26965 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26966 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26967 (issignalingf_inline): Likewise.
26968 (POWF_LOG2_TABLE_BITS): Likewise.
26969 (POWF_LOG2_POLY_ORDER): Likewise.
26970 (POWF_SCALE_BITS): Likewise.
26971 (POWF_SCALE): Likewise.
26972 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26973 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26974 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26976 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26978 * math/Makefile (type-float-routines): Add e_log2f_data.
26979 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26980 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26981 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26982 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26983 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26984 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26985 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26987 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26989 * math/Makefile (type-float-routines): Add e_logf_data.
26990 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26991 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26992 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26993 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26994 * sysdeps/i386/fpu/e_logf_data.c: New file.
26995 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26996 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26998 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27000 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27001 undefined _DYNAMIC in PIE libc.a.
27002 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27005 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27007 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27008 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27009 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27010 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27011 (__signbit): Remove.
27012 (__signbitl): Remove.
27013 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27014 (__signbit): Remove.
27015 (__signbitl): Remove.
27016 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27017 (__signbit): Remove.
27018 (__signbitl): Remove.
27019 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27020 (__signbit): Remove.
27021 (__signbitl): Remove.
27022 * sysdeps/tile/bits/mathinline.h: Delete file.
27023 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27024 (__signbit): Remove.
27025 (__signbitl): Remove.
27027 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27029 * math/math.h: Improve handling of C99 isgreater macros.
27030 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27031 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27032 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27033 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27034 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27036 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27038 * sysdeps/aarch64/libm-test-ulps: Update.
27040 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27043 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27044 math_opt_barrier on argument when doing arithmetic on it.
27045 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27046 Likewise. Use math_force_eval not math_opt_barrier after
27048 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27049 math_opt_barrier on argument when doing arithmetic on it.
27050 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27053 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27055 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27057 (__freeifaddrs): Likewise.
27059 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27061 * include/dirent.h (__dirfd): New declaration.
27062 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27064 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27065 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27066 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27067 * include/unistd.h (__revoke): New declaration.
27068 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27070 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27071 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27073 * include/dirent.h (__seekdir): New declaration.
27074 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27075 redefine as weak alias.
27076 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27078 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27079 and use libc_hidden_def on them.
27080 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27082 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27083 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27084 instead of getifaddrs and freeifaddrs.
27086 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27089 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27090 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27091 (__dso_handle): Remove declaration.
27092 * dlfcn/tstatexit.c (__dso_handle): Removed.
27093 (main): Don't check __dso_handle.
27094 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27095 (main): Don't check __dso_handle.
27096 * include/dso_handle.h: New file.
27097 * malloc/mtrace.c: Include <dso_handle.h>.
27098 (mtrace): Pass __dso_handle directly.
27099 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27100 (__dso_handle): Remove declaration.
27101 (__pthread_atfork): Pass __dso_handle directly.
27102 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27103 (__dso_handle): Removed.
27104 * posix/wordexp-test.c: Include <dso_handle.h>.
27105 (__dso_handle): Remove declaration.
27106 (__app_register_atfork): Pass __dso_handle directly.
27107 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27108 (__dso_handle): Remove declaration.
27109 (at_quick_exit): Pass __dso_handle directly.
27110 * stdlib/atexit.c: Include <dso_handle.h>.
27111 (__dso_handle): Remove declaration.
27112 (atexit): Pass __dso_handle directly.
27113 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27114 (__dso_handle): Removed.
27116 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27118 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27121 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27123 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27124 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27125 values to correct default value for given type.
27127 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27130 * elf/Makefile (tests): Add tst-debug1.
27131 ($(objpfx)tst-debug1): New.
27132 ($(objpfx)tst-debug1.out): Likewise.
27133 ($(objpfx)tst-debug1mod1.so): Likewise.
27134 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27135 with p_filesz == 0.
27136 * elf/tst-debug1.c: New file.
27138 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27140 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27141 Define using __ifunc.
27143 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27145 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27148 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27151 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27153 2017-09-26 Florian Weimer <fweimer@redhat.com>
27155 * resolv/Makefile (tests-internal): Fix typo in comment.
27157 2017-09-26 Florian Weimer <fweimer@redhat.com>
27159 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27161 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27163 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27164 Use an union instead of a max_align_t array for __space,
27165 so that __space is the same size on all platforms.
27166 * malloc/scratch_buffer_grow_preserve.c
27167 (__libc_scratch_buffer_grow_preserve): Likewise.
27170 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27172 * posix/Makefile (routines): Add glob-lstat-compat and
27173 glob64-lstat-compat.
27174 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27175 * posix/glob-lstat-compat.c: New file.
27176 * posix/glob64-lstat-compat.c: Likewise.
27177 * posix/tst-glob_lstat_compat.c: Likewise.
27178 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27179 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27180 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27181 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27183 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27184 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27185 * posix/glob.c (glob_lstat): New function.
27186 (glob): Rename to __glob and add versioned symbol to 2.27.
27187 (glob_in_dir): Use glob_lstat.
27188 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27189 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27190 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27192 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27193 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27194 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27195 gl_lstat on glob call.
27196 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27197 and glob64 symbols.
27198 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27199 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27200 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27201 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27202 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27203 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27204 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27205 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27206 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27207 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27208 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27209 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27212 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27214 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27215 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27216 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27217 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27218 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27221 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27222 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27223 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27225 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27227 * configure.ac (AS): Require binutils 2.25 or later.
27228 * configure: Regenerated.
27230 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27233 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27236 2017-09-25 DJ Delorie <dj@redhat.com>
27239 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27242 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27244 * sysdeps/ieee754/dbl-64/sincos32.h
27245 [SINCCOS32_H]: Remove define.
27246 [SINCOS32_H]: Define.
27248 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27250 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27252 * math/w_exp2f.c: New file.
27253 * math/w_expf.c: New file.
27254 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27255 * math/w_expf_compat.c (__expf_compat): Likewise.
27256 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27257 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27258 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27259 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27260 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27261 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27262 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27263 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27264 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27265 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27266 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27267 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27268 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27269 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27278 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27279 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27280 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27281 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27282 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27287 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27288 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27289 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27291 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27293 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27294 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27295 (roundtoint, converttoint): Likewise.
27296 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27297 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27298 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27299 * sysdeps/ieee754/flt-32/math_config.h: New file.
27300 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27301 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27302 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27303 * sysdeps/i386/fpu/math_errf.c: New file.
27304 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27305 * sysdeps/ia64/fpu/math_errf.c: New file.
27306 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27307 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27309 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27311 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27312 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27313 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27314 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27315 to make sure that these symbols are defined.
27316 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27318 (__need_NULL): Do not define.
27319 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27321 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27322 CMGROUP_MAX, cmsgcred): Do not define.
27323 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27325 * bits/socket.h: Likewise.
27326 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27327 __gettimeofday instead of gettimeofday.
27328 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27329 instead of settimeofday.
27331 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27333 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27334 (asinhf): Define using libm_alias_float.
27335 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27336 (atanf): Define using libm_alias_float.
27337 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27338 (cbrtf): Define using libm_alias_float.
27339 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27340 (ceilf): Define using libm_alias_float.
27341 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27342 <libm-alias-float.h>.
27343 (copysignf): Define using libm_alias_float.
27344 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27345 (cosf): Define using libm_alias_float.
27346 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27347 (erff): Define using libm_alias_float.
27349 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27350 (expm1f): Define using libm_alias_float.
27351 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27352 (fabsf): Define using libm_alias_float.
27353 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27354 (floorf): Define using libm_alias_float.
27355 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27356 (frexpf): Define using libm_alias_float.
27357 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27359 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27360 <libm-alias-float.h>.
27361 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27363 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27364 <libm-alias-float.h>.
27365 (getpayloadf): Define using libm_alias_float.
27366 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27367 <libm-alias-float.h>.
27368 (llrintf): Define using libm_alias_float.
27369 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27370 <libm-alias-float.h>.
27371 (llroundf): Define using libm_alias_float.
27372 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27373 (logbf): Define using libm_alias_float.
27374 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27375 (lrintf): Define using libm_alias_float.
27376 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27377 (lroundf): Define using libm_alias_float.
27378 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27379 (modff): Define using libm_alias_float.
27380 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27381 <libm-alias-float.h>.
27382 (nearbyintf): Define using libm_alias_float.
27383 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27384 <libm-alias-float.h>.
27385 (nextafterf): Define using libm_alias_float.
27386 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27387 <libm-alias-float.h>.
27388 (nextupf): Define using libm_alias_float.
27389 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27390 <libm-alias-float.h>.
27391 (remquof): Define using libm_alias_float.
27392 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27393 (rintf): Define using libm_alias_float.
27394 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27395 <libm-alias-float.h>.
27396 (roundevenf): Define using libm_alias_float.
27397 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27398 (roundf): Define using libm_alias_float.
27399 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27400 using libm_alias_float.
27401 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27402 <libm-alias-float.h>.
27403 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27404 Define using libm_alias_float.
27405 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27406 <libm-alias-float.h>.
27407 (sincosf): Define using libm_alias_float.
27408 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27409 (sinf): Define using libm_alias_float.
27410 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27411 (tanf): Define using libm_alias_float.
27412 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27413 (tanhf): Define using libm_alias_float.
27414 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27415 <libm-alias-float.h>.
27416 (totalorderf): Define using libm_alias_float.
27417 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27418 <libm-alias-float.h>.
27419 (totalordermagf): Define using libm_alias_float.
27420 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27421 (truncf): Define using libm_alias_float.
27422 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27424 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27427 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27430 math/math.h: Let fpclassify use the builtin in C++ mode, even
27431 when optimazing for size.
27433 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27435 * csu/Makefile (generated): Do not add version-info.h.
27436 (before-compile): Likewise.
27437 (all-Banner-files): Remove variable.
27438 ($(objpfx)version-info.h): Remove rule.
27439 * csu/version.c (banner): Do not include "version-info.h".
27440 * libidn/Banner: Remove.
27441 * manual/contrib.texi (Simon Josefsson): New entry.
27443 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27445 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27446 Remove conditionals on LDBL_MANT_DIG.
27447 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27448 (__ieee754_lgammal_r): Likewise.
27450 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27452 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27454 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27455 _Float128 and L(). Replace _Float128 with long double and L(x)
27456 with xL, throughout the file.
27457 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27458 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27459 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27460 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27462 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27464 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27465 sysdeps/ieee754/ldbl-128ibm.
27466 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27467 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27468 of including it. Keep _Float128 and L() intact. These will be
27469 reviewed by a separate patch.
27470 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27471 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27472 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27473 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27475 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27478 (__finitef128): Define to __redirect___finitef128.
27479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27480 (__isinff128): Define to __redirect___isinff128.
27481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27482 (__isnanf128): Define to __redirect___isnanf128.
27484 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27486 * sysdeps/powerpc/powerpc64le/Makefile
27487 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27488 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27490 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27491 Carlos O'Donell <carlos@redhat.com>
27494 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27495 * stdlib/test-dlclose-exit-race.c: New file.
27496 * stdlib/test-dlclose-exit-race-helper.c: New file.
27497 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27499 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27501 * crypt/Banner: Remove file.
27502 * nptl/Banner: Likewise.
27503 * resolv/Banner: Likewise.
27504 * soft-fp/Banner: Likewise.
27505 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27506 ($(objpfx)version.d): Remove dependency on banner.h.
27507 ($(objpfx)version.os): Likewise.
27508 * nptl/version.c (banner): Do not include banner.h.
27509 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27510 Jelinek and BIND code.
27512 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27513 Carlos O'Donell <carlos@redhat.com>
27515 * support/xdlfcn.h: New file.
27516 * support/xdlfcn.c: New file.
27517 * support/Makefile (libsupport-routines): Add xdlfcn.
27518 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27520 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27523 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27524 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27525 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27526 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27527 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27528 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27529 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27530 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27532 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27533 Ricky Zhou <rickyz@google.com>
27534 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27537 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27539 (__new_exitfn): Fail registration when we finished at_exit processing.
27540 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27541 * stdlib/on_exit.c (__on_exit): Likewise.
27542 * stdlib/exit.c (__exit_funcs_done): New variable.
27543 (__run_exit_handlers): Use __exit_funcs_lock.
27544 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27546 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27547 (test-cxa_atexit-race, test-on_exit-race): New tests.
27548 * stdlib/test-atexit-race-common.c: New file.
27549 * stdlib/test-atexit-race.c: New file.
27550 * stdlib/test-at_quick_exit-race.c: New file.
27551 * stdlib/test-cxa_atexit-race.c: New file.
27552 * stdlib/test-on_exit-race.c: New file.
27554 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27556 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27557 * benchtests/exp2f-inputs: Copy of expf-inputs.
27558 * benchtests/log2f-inputs: Copy of logf-inputs.
27560 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27562 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27563 Explicitly take address of first element of array arguments in
27564 call to INLINE_SYSCALL.
27566 2017-09-19 Andreas Schwab <schwab@suse.de>
27569 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27571 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27573 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27574 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27575 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27576 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27577 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27578 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27579 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27580 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27581 * posix/Makefile (tests): Add tst-fexecve.
27582 * posix/tst-fexecve.c: New file.
27584 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27586 * benchtests/Makefile: Add logf benchmark.
27587 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27589 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27591 * benchtests/Makefile: Add expf benchmark.
27592 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27594 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27596 * csu/Makefile: Add -funwind-tables to libc-start.c.
27597 * debug/Makefile: Add -funwind-tables to backtrace.c.
27598 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27599 * sysdeps/arm/Makefile: Likewise.
27600 * sysdeps/i386/Makefile: Likewise.
27601 * sysdeps/m68k/Makefile: Likewise.
27602 * sysdeps/mips/Makefile: Likewise.
27603 * sysdeps/nios2/Makefile: Likewise.
27604 * sysdeps/sh/Makefile: Likewise.
27605 * sysdeps/sparc/Makefile: Likewise.
27607 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27609 * benchtests/Makefile (bench-math): Add trunc and truncf.
27610 (CFLAGS-bench-trunc.c): New variable.
27611 (CFLAGS-bench-truncf.c): Likewise.
27612 * benchtests/trunc-inputs: New file.
27613 * benchtests/truncf-inputs: Likewise.
27615 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27617 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27619 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27621 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27622 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27624 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27625 (exp10l): Define as weak alias.
27626 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27627 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27629 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27630 (remainderl): Define as weak alias.
27632 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27633 (fmal): Define using libm_alias_ldouble.
27634 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27635 (acoshl): Define using libm_alias_ldouble.
27636 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27637 (acosl): Define using libm_alias_ldouble.
27638 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27639 (asinl): Define using libm_alias_ldouble.
27640 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27641 (atan2l): Define using libm_alias_ldouble.
27642 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27643 (atanhl): Define using libm_alias_ldouble.
27644 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27645 (coshl): Define using libm_alias_ldouble.
27646 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27647 (exp10l): Define using libm_alias_ldouble.
27648 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27649 (exp2l): Define using libm_alias_ldouble.
27650 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27651 (expl): Define using libm_alias_ldouble.
27652 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27653 (fmodl): Define using libm_alias_ldouble.
27654 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27655 (hypotl): Define using libm_alias_ldouble.
27656 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27657 (j0l): Define using libm_alias_ldouble.
27659 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27660 (j1l): Define using libm_alias_ldouble.
27662 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27663 (jnl): Define using libm_alias_ldouble.
27665 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27666 (log10l): Define using libm_alias_ldouble.
27667 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27668 (log2l): Define using libm_alias_ldouble.
27669 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27670 (logl): Define using libm_alias_ldouble.
27671 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27672 (powl): Define using libm_alias_ldouble.
27673 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27674 (remainderl): Define using libm_alias_ldouble.
27675 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27676 (sinhl): Define using libm_alias_ldouble.
27677 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27678 (sqrtl): Define using libm_alias_ldouble.
27679 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27680 (tgammal): Define using libm_alias_ldouble.
27681 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27682 (exp10l): Do not use long_double_symbol here.
27683 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27684 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27685 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27686 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27687 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27688 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27689 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27690 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27691 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27692 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27693 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27694 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27695 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27696 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27697 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27698 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27699 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27700 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27701 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27702 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27703 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27704 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27706 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27708 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27709 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27711 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27713 * io/read.c (read): Add libc_hidden_weak.
27714 * sysdeps/mach/hurd/read.c (read): Likewise.
27715 * io/write.c (write): Likewise.
27716 * sysdeps/mach/hurd/write.c (write): Likewise.
27717 * io/pread64.c (__pread64): Likewise.
27718 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27719 * posix/pread64.c (__pread64): Add libc_hidden_def.
27721 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27723 * benchtests/scripts/compare_strings.py: New option -g.
27724 (draw_graph): Print a message that a graph is being generated.
27725 (process_results): Generate graph only if -g is passed.
27726 (main): Process option -g.
27728 * benchtests/scripts/compare_strings.py (process_results):
27729 Better spacing for output.
27731 * benchtests/scripts/compare_strings.py: Use argparse.
27732 * benchtests/README: Document existence of compare_strings.py.
27734 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27736 * math/s_fma.c: Include <libm-alias-double.h>.
27737 (fma): Define using libm_alias_double.
27738 * math/s_nextafter.c: Include <libm-alias-double.h>.
27739 (nextafter): Define using libm_alias_double.
27740 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27741 (acos): Define using libm_alias_double.
27742 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27743 (aocsh): Define using libm_alias_double.
27744 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27745 (asin): Define using libm_alias_double.
27746 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27747 (atan2): Define using libm_alias_double.
27748 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27749 (atanh): Define using libm_alias_double.
27750 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27751 (cosh): Define using libm_alias_double.
27752 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27753 (exp10): Define using libm_alias_double.
27754 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27755 (exp2): Define using libm_alias_double.
27756 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27757 (exp): Define using libm_alias_double.
27758 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27759 (fmod): Define using libm_alias_double.
27760 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27761 (hypot): Define using libm_alias_double.
27762 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27763 (j0): Define using libm_alias_double.
27765 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27766 (j1): Define using libm_alias_double.
27768 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27769 (jn): Define using libm_alias_double.
27771 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27772 (log10): Define using libm_alias_double.
27773 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27774 (log2): Define using libm_alias_double.
27775 * math/w_log_compat.c: Include <libm-alias-double.h>.
27776 (log): Define using libm_alias_double.
27777 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27778 (pow): Define using libm_alias_double.
27779 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27780 (remainder): Define using libm_alias_double.
27781 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27782 (sinh): Define using libm_alias_double.
27783 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27784 (sqrt): Define using libm_alias_double.
27785 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27786 (tgamma): Define using libm_alias_double.
27787 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27788 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27789 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27790 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27791 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27792 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27793 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27794 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27795 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27796 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27797 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27798 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27799 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27800 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27801 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27802 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27803 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27804 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27805 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27806 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27807 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27808 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27809 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27810 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27811 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27813 * math/e_acoshl.c: Remove.
27814 * math/e_acosl.c: Likewise.
27815 * math/e_asinl.c: Likewise.
27816 * math/e_atan2l.c: Likewise.
27817 * math/e_atanhl.c: Likewise.
27818 * math/e_coshl.c: Likewise.
27819 * math/e_expl.c: Likewise.
27820 * math/e_fmodl.c: Likewise.
27821 * math/e_gammal_r.c: Likewise.
27822 * math/e_hypotl.c: Likewise.
27823 * math/e_j0l.c: Likewise.
27824 * math/e_j1l.c: Likewise.
27825 * math/e_jnl.c: Likewise.
27826 * math/e_lgammal_r.c: Likewise.
27827 * math/e_log10l.c: Likewise.
27828 * math/e_log2l.c: Likewise.
27829 * math/e_logl.c: Likewise.
27830 * math/e_powl.c: Likewise.
27831 * math/e_rem_pio2l.c: Likewise.
27832 * math/e_sinhl.c: Likewise.
27833 * math/e_sqrtf128.c: Likewise.
27834 * math/e_sqrtl.c: Likewise.
27835 * math/k_cosl.c: Likewise.
27836 * math/k_sinl.c: Likewise.
27837 * math/k_tanl.c: Likewise.
27838 * math/s_asinhl.c: Likewise.
27839 * math/s_atanl.c: Likewise.
27840 * math/s_cbrtl.c: Likewise.
27841 * math/s_erfl.c: Likewise.
27842 * math/s_expm1l.c: Likewise.
27843 * math/s_log1pl.c: Likewise.
27844 * math/s_tanhl.c: Likewise.
27846 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27849 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27850 [$(subdir) = math] (sysdep_calls): New variable. Has the
27851 previous contents of sysdep_routines, but re-sorted..
27852 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27854 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27855 defined in sysdep_calls and replace by the respective m_* names.
27856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27857 (compat_symbol): Undefine to avoid duplicated compat symbols in
27860 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27862 * math/s_fmaf.c: Include <libm-alias-float.h>.
27863 (fmaf): Define using libm_alias_float.
27864 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27865 (acosf): Define using libm_alias_float.
27866 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27867 (acoshf): Define using libm_alias_float.
27868 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27869 (asinf): Define using libm_alias_float.
27870 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27871 (atan2f): Define using libm_alias_float.
27872 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27873 (atanhf): Define using libm_alias_float.
27874 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27875 (coshf): Define using libm_alias_float.
27876 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27877 (exp10f): Define using libm_alias_float.
27878 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27879 (fmodf): Define using libm_alias_float.
27880 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27881 (hypotf): Define using libm_alias_float.
27882 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27883 (j0f): Define using libm_alias_float.
27885 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27886 (j1f): Define using libm_alias_float.
27888 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27889 (jnf): Define using libm_alias_float.
27891 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27892 (log10f): Define using libm_alias_float.
27893 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27894 (log2f): Define using libm_alias_float.
27895 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27896 (logf): Define using libm_alias_float.
27897 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27898 (powf): Define using libm_alias_float.
27899 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27900 (remainderf): Define using libm_alias_float.
27901 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27902 (sinhf): Define using libm_alias_float.
27903 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27904 (sqrtf): Define using libm_alias_float.
27905 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27906 (tgammaf): Define using libm_alias_float.
27908 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27910 * include/math.h (roundeven): Change hidden_proto call to
27912 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27914 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27915 (y0): Rename to __y0 and define as weak alias.
27916 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27917 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27919 (y0f): Rename to __y0f and define as weak alias.
27920 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27922 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27923 (y1): Rename to __y1 and define as weak alias.
27924 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27925 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27927 (y1f): Rename to __y1f and define as weak alias.
27928 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27930 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27931 (yn): Rename to __yn and define as weak alias.
27932 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27933 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27935 (ynf): Rename to __ynf and define as weak alias.
27936 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27937 (fromfp): Define as weak alias.
27938 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27939 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27940 (fromfpx): Define as weak alias.
27941 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27942 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27943 __getpayload and define as weak alias.
27944 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27945 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27946 __roundeven and define as weak alias.
27947 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27948 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27950 (setpayload): Define as weak alias.
27951 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27952 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27954 (setpayloadsig): Define as weak alias.
27955 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27956 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27957 __totalorder and define as weak alias.
27958 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27959 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27960 to __totalordermag and define as weak alias.
27961 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27962 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27963 (ufromfp): Define as weak alias.
27964 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27965 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27967 (ufromfpx): Define as weak alias.
27968 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27969 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27970 Rename to __getpayload and define as weak alias.
27971 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27972 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27973 Rename to __roundeven and define as weak alias.
27974 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27975 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27976 Rename to __totalorder and define as weak alias.
27977 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27978 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27979 (totalordermag): Rename to __totalordermag and define as weak
27981 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27982 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27984 (__roundevenl): Likewise.
27985 (__totalorderl): Likewise.
27986 (__totalordermagl): Likewise
27987 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27989 (fromfpf128): Define as weak alias.
27990 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27992 (fromfpxf128): Define as weak alias.
27993 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27995 (setpayloadf128): Define as weak alias.
27996 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27997 __setpayloadsigf128.
27998 (setpayloadsigf128): Define as weak alias.
27999 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28001 (ufromfpf128): Define as weak alias.
28002 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28004 (ufromfpxf128): Define as weak alias.
28005 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28006 (fromfpf): Define as weak alias.
28007 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28009 (fromfpxf): Define as weak alias.
28010 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28011 __getpayloadf and define as weak alias.
28012 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28013 __roundevenf and define as weak alias.
28014 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28016 (setpayloadf): Define as weak alias.
28017 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28019 (setpayloadsigf): Define as weak alias.
28020 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28021 __totalorderf and define as weak alias.
28022 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28023 Rename to __totalordermagf and define as weak alias.
28024 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28026 (ufromfpf): Define as weak alias.
28027 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28029 (ufromfpxf): Define as weak alias.
28030 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28032 (fromfpl): Define as weak alias.
28033 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28035 (fromfpxl): Define as weak alias.
28036 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28037 to __getpayloadl and define as weak alias.
28038 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28039 __roundevenl and define as weak alias.
28040 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28042 (setpayloadl): Define as weak alias.
28043 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28045 (setpayloadsigl): Define as weak alias.
28046 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28047 to __totalorderl and define as weak alias.
28048 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28049 Rename to __totalordermagl and define as weak alias.
28050 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28052 (ufromfpl): Define as weak alias.
28053 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28055 (ufromfpxl): Define as weak alias.
28056 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28058 (fromfpl): Define as weak alias.
28059 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28061 (fromfpxl): Define as weak alias.
28062 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28063 Rename to __getpayloadl and define as weak alias.
28064 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28065 to __roundevenl and define as weak alias. Call __roundeven
28066 instead of roundeven.
28067 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28069 (setpayloadl): Define as weak alias.
28070 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28072 (setpayloadsigl): Define as weak alias.
28073 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28074 Rename to __totalorderl and define as weak alias.
28075 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28076 Rename to __totalordermagl and define as weak alias.
28077 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28079 (ufromfpl): Define as weak alias.
28080 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28082 (ufromfpxl): Define as weak alias.
28083 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28085 (fromfpl): Define as weak alias.
28086 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28088 (fromfpxl): Define as weak alias.
28089 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28090 __getpayloadl and define as weak alias.
28091 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28092 __roundevenl and define as weak alias.
28093 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28095 (setpayloadl): Define as weak alias.
28096 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28098 (setpayloadsigl): Define as weak alias.
28099 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28100 __totalorderl and define as weak alias.
28101 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28102 Rename to __totalordermagl and define as weak alias.
28103 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28105 (ufromfpl): Define as weak alias.
28106 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28108 (ufromfpxl): Define as weak alias.
28110 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28112 * benchtests/bench-string.h (realloc_bufs): New function.
28113 (test_init): Call it.
28114 * benchtests/bench-memset-large.c (do_test): Likewise.
28115 * benchtests/bench-memset.c (do_test): Likewise.
28117 * benchtests/bench-memset-large.c: Print output in JSON
28119 * benchtests/bench-memset.c: Likewise.
28121 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28124 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28125 * iconvdata/Makefile: Add IBM858.
28126 * iconvdata/gconv-modules: Likewise.
28127 * iconvdata/tst-tables.sh: Likewise.
28128 * iconvdata/ibm858.c: New file.
28129 * localedata/charmaps/IBM858: Likewise.
28131 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28134 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28135 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28137 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28140 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28141 and add tel_int_fmt.
28143 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28145 * sysdeps/generic/libm-alias-float128.h: New file.
28146 * sysdeps/generic/math-type-macros-float128.h: Include
28147 <libm-alias-float128.h>.
28148 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28150 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28152 * sysdeps/generic/libm-alias-ldouble.h: New file.
28153 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28154 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28155 * sysdeps/generic/math-type-macros-ldouble.h: Include
28156 <libm-alias-ldouble.h>.
28157 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28158 libm_alias_ldouble.
28160 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28162 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28163 * math/w_exp_compat.c: ... here.
28164 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28165 * math/w_expf_compat.c: ... here.
28166 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28167 * math/w_expl_compat.c: ... here.
28168 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28169 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28170 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28171 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28173 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28175 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28177 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28179 (ldexpl): Only define as compat symbol for libc, not libm.
28180 (scalbnl): Define as compat symbol for libc here.
28181 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28182 define for [IS_IN (libc)].
28183 (__ldexpl_2): Remove alias.
28184 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28185 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28186 name in long_double_symbol call.
28187 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28188 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28189 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28190 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28191 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28193 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28194 Define as compat symbol.
28196 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28198 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28199 * sysdeps/unix/sysv/linux/alpha/Makefile
28200 [$(subdir) = csu] (sysdep_routines): Remove rule.
28202 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28204 * sysdeps/generic/libm-alias-double.h: New file.
28205 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28206 * sysdeps/generic/math-type-macros-double.h: Include
28207 <libm-alias-double.h>.
28208 [declare_mgen_alias] (declare_mgen_alias): Define to use
28210 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28211 (M_LIBM_NEED_COMPAT): Remove macro.
28212 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28213 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28214 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28216 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28217 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28218 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28219 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28220 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28221 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28222 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28223 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28224 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28225 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28226 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28227 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28228 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28229 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28230 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28231 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28232 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28233 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28234 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28235 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28236 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28237 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28238 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28239 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28240 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28241 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28242 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28243 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28244 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28246 (declare_mgen_alias): New macro.
28247 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28248 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28250 (M_LIBM_NEED_COMPAT): Remove macro.
28251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28252 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28253 <first-versions.h>.
28254 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28255 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28257 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28259 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28260 (declare_mgen_alias_2): Remove.
28261 * sysdeps/generic/math-type-macros-double.h
28262 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28264 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28266 (ldexp): Define with declare_mgen_alias.
28267 (scalbn): Likewise.
28269 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28271 * grp/initgroups.c: Include config.h.
28272 (DEFAULT_CONFIG): New macro.
28273 (internal_getgrouplist): Use DEFAULT_CONFIG.
28274 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28275 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28276 (DEFAULT_DEFCONFIG): New macro.
28277 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28278 * nss/grp-lookup.c: Include config.h
28279 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28280 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28281 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28282 * manual/nss.texi: Update default values section.
28284 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28287 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28289 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28290 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28291 Handle MathVec_Prefer_No_AVX512.
28292 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28293 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28296 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28298 * posix/sched_primax.c (__sched_get_priority_max): Add
28300 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28301 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28302 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28303 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28304 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28305 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28306 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28307 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28310 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28312 * sysdeps/generic/libm-alias-float.h: New file.
28313 * sysdeps/generic/math-type-macros-float.h: Include
28314 <libm-alias-float.h>.
28315 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28317 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28320 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28321 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28322 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28323 (HWCAP_IMPORTANT): Likewise.
28324 (HWCAP_X86_64): New enum.
28325 (HWCAP_X86_AVX512_1): Updated.
28326 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28327 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28328 (modules-names): Add x86_64/tst-x86_64mod-1.
28329 (LDFLAGS-tst-x86_64mod-1.so): New.
28330 ($(objpfx)tst-x86_64-1): Likewise.
28331 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28332 (tst-x86_64-1-clean): Likewise.
28333 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28334 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28336 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28338 * po/sv.po: Update translations.
28339 * po/fr.po: Likewise.
28341 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28343 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28345 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28347 * elf/rtld-Rules: Fix $(error) use.
28349 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28352 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28353 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28354 * localedata/locales/bn_BD: “Bengali” was still used in some
28355 comments. Change it to “Bangla”.
28357 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28359 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28361 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28363 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28364 thunderx2t99p1 to list of cpu names.
28365 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28366 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28368 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28370 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28371 Use strcmp instead of tunable_is_name.
28373 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28375 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28376 (F_GET_RW_HINT): New macro.
28377 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28378 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28379 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28380 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28381 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28382 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28383 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28384 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28385 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28387 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28388 (F_ADD_SEALS): New macro.
28389 [__USE_GNU] (F_GET_SEALS): Likewise.
28390 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28391 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28392 [__USE_GNU] (F_SEAL_GROW): Likewise.
28393 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28395 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28397 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28398 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28399 * posix/glob_internal.h (__glob_pattern_type):
28400 * posix/glob.c (glob):
28401 * posix/glob_pattern_p.c (__glob_pattern_p):
28404 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28405 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28406 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28407 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28408 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28410 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28411 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28412 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28413 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28414 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28415 * sysdeps/wordsize-64/glob.c: Likewise.
28416 * sysdeps/wordsize-64/glob64.c: Likewise.
28417 * sysdeps/wordsize-64/globfree.c: Likewise.
28418 * sysdeps/wordsize-64/globfree64.c: Likewise.
28419 * sysdeps/unix/sysv/linux/glob.c: New file.
28420 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28421 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28422 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28423 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28424 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28425 adds !GLOB_NO_OLD_VERSION as an extra condition.
28426 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28427 using relative path instead of absolute one.
28428 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28429 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28430 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28431 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28432 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28433 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28436 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28437 (glob): Use the same scratch buffer for both getlogin_r and
28438 getpwnam_r. Don’t require preallocation of the login name. This
28439 simplifies storage allocation, and corrects the handling of
28443 * posix/glob.c (glob): Port recent patches to platforms
28444 lacking getpwnam_r.
28445 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28446 returns an error number rather than setting errno.
28448 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28449 instead of GCC extension.
28450 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28451 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28452 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28456 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28457 * posix/bug-glob1.c: Remove file.
28458 * posix/tst-glob_symlinks.c: New file.
28459 * posix/glob.c (__lstat64): New macro.
28460 (is_dir): New function.
28461 (glob, glob_in_dir): Match symlinks even if they are dangling.
28462 (link_stat, link_exists_p): Remove. All uses removed.
28466 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28467 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28472 * posix/Makefile (routines): Add globfree, globfree64, and
28474 * posix/flexmember.h: New file.
28475 * posix/glob_internal.h: Likewise.
28476 * posix/glob_pattern_p.c: Likewise.
28477 * posix/globfree.c: Likewise.
28478 * posix/globfree64.c: Likewise.
28479 * sysdeps/gnu/globfree64.c: Likewise.
28480 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28481 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28482 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28483 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28484 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28485 * sysdeps/wordsize-64/globfree.c: Likewise.
28486 * sysdeps/wordsize-64/globfree64.c: Likewise.
28487 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28488 [NDEBUG): Remove comments.
28489 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28490 (dirent_type): New type. Use uint_fast8_t not
28491 uint8_t, as C99 does not require uint8_t.
28492 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28493 (struct readdir_result): Use dirent_type. Do not define skip_entry
28494 unless it is needed; this saves a byte on platforms lacking d_ino.
28495 (readdir_result_type, readdir_result_skip_entry):
28496 New functions, replacing ...
28497 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28498 these functions, which were removed. This makes the callers
28499 easier to read. All callers changed.
28500 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28501 (size_add_wrapv, glob_use_alloca): New static functions.
28502 (glob, glob_in_dir): Check for size_t overflow in several places,
28503 and fix some size_t checks that were not quite right.
28504 Remove old code using SHELL since Bash no longer
28506 (glob, prefix_array): Separate MS code better.
28507 (glob_in_dir): Remove old Amiga and VMS code.
28508 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28510 (glob_in_dir): Do not rely on undefined behavior in accessing
28511 struct members beyond their bounds. Use a flexible array member
28513 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28514 0/1. Caller changed.
28515 (glob): Fix memory leaks.
28516 * posix/glob64 (globfree64): Move to separate file.
28517 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28518 (globfree64): Remove hidden alias.
28519 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28521 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28523 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28525 Move compat code to separate file.
28526 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28529 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28531 * resolv/tst-resolv-qtypes.c (domain): Changed to
28532 "const char domain[] =".
28534 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28536 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28539 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28540 (TCP_MD5SIG_EXT): Likewise.
28541 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28542 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28543 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28545 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28547 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28549 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28551 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28554 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28556 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28558 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28559 before assuming that the file is empty. Avoid testing buffer content
28562 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28565 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28567 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28569 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28571 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28573 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28575 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28577 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28580 2017-09-06 Florian Weimer <fweimer@redhat.com>
28582 * malloc/dynarray_emplace_enlarge.c
28583 (__libc_dynarray_emplace_enlarge): Add missing else.
28585 2017-09-06 Florian Weimer <fweimer@redhat.com>
28588 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28589 case of failure to obtain the global conf object.
28591 2017-09-06 Florian Weimer <fweimer@redhat.com>
28594 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28595 dynarray allocation failure.
28597 2017-09-06 Florian Weimer <fweimer@redhat.com>
28599 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28600 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28601 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28603 (response): Call them. Add 'p', '6' flag processing.
28604 (test_reverse): New function.
28605 (test_get2_any): Call it.
28606 (test_no_inet6): Add 'p' test.
28607 (test_inet6): Likewise.
28609 2017-09-06 Florian Weimer <fweimer@redhat.com>
28611 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28612 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28614 (test_gai): Adjust query names. Add additional tests.
28615 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28616 test_get2. Adjust query names. Add additional tests.
28617 (test_no_inet6): New function, extracted from threadfunc.
28618 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28619 Add additional tests.
28621 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28624 * localedata/unicode-gen/utf8_gen.py: Set the width for
28625 characters with Prepended_Concatenation_Mark property to 1
28626 * localedata/charmaps/UTF-8: Updated using the improved script.
28628 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28631 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28632 use the range notation for all ranges of neighbouring characters
28633 with the same width.
28635 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28637 * sysdeps/generic/math-type-macros-double.h: Include
28638 <math-svid-compat.h>.
28639 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28640 * sysdeps/generic/math-type-macros-float.h: Include
28641 <math-svid-compat.h>.
28642 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28643 * sysdeps/generic/math-type-macros-ldouble.h: Include
28644 <math-svid-compat.h>.
28645 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28646 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28648 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28649 * math/w_acosf_compat.c: Likewise.
28650 * math/w_acosh_compat.c: Likewise.
28651 * math/w_acoshf_compat.c: Likewise.
28652 * math/w_acoshl_compat.c: Likewise.
28653 * math/w_acosl_compat.c: Likewise.
28654 * math/w_asin_compat.c: Likewise.
28655 * math/w_asinf_compat.c: Likewise.
28656 * math/w_asinl_compat.c: Likewise.
28657 * math/w_atan2_compat.c: Likewise.
28658 * math/w_atan2f_compat.c: Likewise.
28659 * math/w_atan2l_compat.c: Likewise.
28660 * math/w_atanh_compat.c: Likewise.
28661 * math/w_atanhf_compat.c: Likewise.
28662 * math/w_atanhl_compat.c: Likewise.
28663 * math/w_cosh_compat.c: Likewise.
28664 * math/w_coshf_compat.c: Likewise.
28665 * math/w_coshl_compat.c: Likewise.
28666 * math/w_exp10_compat.c: Likewise.
28667 * math/w_exp10f_compat.c: Likewise.
28668 * math/w_exp10l_compat.c: Likewise.
28669 * math/w_exp2_compat.c: Likewise.
28670 * math/w_exp2f_compat.c: Likewise.
28671 * math/w_exp2l_compat.c: Likewise.
28672 * math/w_fmod_compat.c: Likewise.
28673 * math/w_fmodf_compat.c: Likewise.
28674 * math/w_fmodl_compat.c: Likewise.
28675 * math/w_hypot_compat.c: Likewise.
28676 * math/w_hypotf_compat.c: Likewise.
28677 * math/w_hypotl_compat.c: Likewise.
28678 * math/w_j0_compat.c: Likewise.
28679 * math/w_j0f_compat.c: Likewise.
28680 * math/w_j0l_compat.c: Likewise.
28681 * math/w_j1_compat.c: Likewise.
28682 * math/w_j1f_compat.c: Likewise.
28683 * math/w_j1l_compat.c: Likewise.
28684 * math/w_jn_compat.c: Likewise.
28685 * math/w_jnf_compat.c: Likewise.
28686 * math/w_jnl_compat.c: Likewise.
28687 * math/w_lgamma_r_compat.c: Likewise.
28688 * math/w_lgammaf_r_compat.c: Likewise.
28689 * math/w_lgammal_r_compat.c: Likewise.
28690 * math/w_log10_compat.c: Likewise.
28691 * math/w_log10f_compat.c: Likewise.
28692 * math/w_log10l_compat.c: Likewise.
28693 * math/w_log2_compat.c: Likewise.
28694 * math/w_log2f_compat.c: Likewise.
28695 * math/w_log2l_compat.c: Likewise.
28696 * math/w_log_compat.c: Likewise.
28697 * math/w_logf_compat.c: Likewise.
28698 * math/w_logl_compat.c: Likewise.
28699 * math/w_pow_compat.c: Likewise.
28700 * math/w_powf_compat.c: Likewise.
28701 * math/w_powl_compat.c: Likewise.
28702 * math/w_remainder_compat.c: Likewise.
28703 * math/w_remainderf_compat.c: Likewise.
28704 * math/w_remainderl_compat.c: Likewise.
28705 * math/w_sinh_compat.c: Likewise.
28706 * math/w_sinhf_compat.c: Likewise.
28707 * math/w_sinhl_compat.c: Likewise.
28708 * math/w_sqrt_compat.c: Likewise.
28709 * math/w_sqrtf_compat.c: Likewise.
28710 * math/w_sqrtl_compat.c: Likewise.
28711 * math/w_tgamma_compat.c: Likewise.
28712 * math/w_tgammaf_compat.c: Likewise.
28713 * math/w_tgammal_compat.c: Likewise.
28714 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28715 [LIBM_SVID_COMPAT].
28716 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28717 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28718 [LIBM_SVID_COMPAT].
28719 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28720 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28721 [LIBM_SVID_COMPAT].
28722 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28723 * sysdeps/i386/fpu/w_sqrt.c: New file.
28724 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28725 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28726 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28727 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28728 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28729 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28730 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28731 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28732 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28733 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28734 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28735 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28736 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28737 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28738 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28739 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28740 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28741 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28742 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28743 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28744 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28745 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28746 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28747 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28748 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28749 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28750 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28751 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28752 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28753 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28754 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28755 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28756 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28757 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28758 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28759 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28760 * sysdeps/ia64/fpu/w_log.c: Likewise.
28761 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28762 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28763 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28764 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28765 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28766 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28767 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28768 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28769 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28770 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28771 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28772 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28773 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28774 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28775 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28776 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28777 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28778 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28779 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28780 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28781 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28782 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28783 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28784 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28785 [LIBM_SVID_COMPAT].
28786 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28787 * sysdeps/ieee754/k_standard.c: Likewise.
28788 * sysdeps/ieee754/k_standardf.c: Likewise.
28789 * sysdeps/ieee754/k_standardl.c: Likewise.
28790 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28791 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28792 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28793 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28794 long_double_symbol call on [LIBM_SVID_COMPAT].
28795 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28796 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28797 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28798 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28799 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28800 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28801 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28802 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28803 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28804 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28805 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28806 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28807 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28808 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28809 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28810 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28811 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28812 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28813 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28814 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28815 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28816 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28818 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28820 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28821 * malloc/tst-mallocstate.c: Convert from test-skeleton
28822 to test-driver. Ifdef code using TEST_COMPAT macro.
28823 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28824 * math/test-matherr.c: Likewise.
28826 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28829 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28830 comparing word with byte-swapped constant.
28832 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28835 * locale/iso-639.def: add Miskito.
28836 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28837 * localedata/locales/miq_NI: New file.
28839 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28842 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28843 (__mkdir): Likewise.
28844 * io/chmod.c (__chmod): Add libc_hidden_def.
28845 * io/mkdir.c (__mkdir): Likewise.
28846 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28847 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28848 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28849 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28851 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28853 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28857 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28858 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28860 2017-09-04 Florian Weimer <fweimer@redhat.com>
28862 * math/math.h: Issue warning if log is defined.
28864 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28866 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28867 kernel version to 4.13.
28869 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28871 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28872 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28874 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28875 just <bits/types.h>.
28876 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28877 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28878 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28879 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28880 * misc/preadv2.c: Include <errno.h>.
28881 * misc/preadv64v2.c: Include <errno.h>.
28882 * misc/pwritev2.c: Include <errno.h>.
28883 * misc/pwritev64v2.c: Include <errno.h>.
28884 * sysdeps/posix/preadv2.c: Include <errno.h>.
28885 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28886 Fix <unistd.h> inclusion.
28887 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28888 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28889 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28890 __strtoul_internal): New functions.
28891 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28892 * sysdeps/posix/system.c: Include <sigsetops.h>.
28893 * sysdeps/mach/hurd/i386/Makefile
28894 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28895 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28896 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28897 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28898 __feraiseexcept_renamed to feraiseexcept instead of
28899 __GI_feraiseexcept.
28900 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28901 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28902 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28903 RWF_NOWAIT): Define to 0 if undefined already.
28904 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28906 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28907 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28909 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28911 * manual/math.texi (pow10): Do not document.
28912 (pow10f): Likewise.
28913 (pow10l): Likewise.
28914 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28915 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28916 * math/libm-test-exp10.inc (pow10_test): Remove.
28917 (do_test): Do not call pow10.
28918 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28919 [NO_LONG_DOUBLE] (pow10l): Likewise.
28920 * math/w_exp10f_compat.c (pow10f): Likewise.
28921 * math/w_exp10l_compat.c (pow10l): Likewise.
28922 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28923 (pow10): Make into compat symbol.
28924 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28925 (pow10f): Make into compat symbol.
28926 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28927 (pow10l): Make into compat symbol.
28928 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28930 (CFLAGS-nldbl-pow10.c): Remove variable..
28931 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28932 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28933 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28934 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28935 Undefine and redefine.
28936 (pow10l): Make into compat symbol.
28937 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28938 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28939 * sysdeps/arm/libm-test-ulps: Likewise.
28940 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28941 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28942 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28943 * sysdeps/microblaze/libm-test-ulps: Likewise.
28944 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28945 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28946 * sysdeps/nios2/libm-test-ulps: Likewise.
28947 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28948 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28949 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28950 * sysdeps/sh/libm-test-ulps: Likewise.
28951 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28952 * sysdeps/tile/libm-test-ulps: Likewise.
28953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28955 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28957 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28959 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28961 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28962 "../ChangeLog.old/ChangeLog.8".
28963 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28964 "../ChangeLog.old/ChangeLog.14".
28966 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28968 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28971 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28973 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28975 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28977 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28978 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28980 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28982 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28983 32 atexit handlers.
28985 2017-09-01 Zack Weinberg <zackw@panix.com>
28987 * math/math.h (HUGE_VAL): Improve commentary.
28989 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28990 Andreas Schwab <schwab@suse.de>
28993 * include/stdio.h (__gen_tempfd): New function.
28994 * stdio-common/Makefile (routines): Add gentempfd.
28995 * stdio-common/gentempfd.c: New file.
28996 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28997 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28998 unnamed file first.
29000 2017-09-01 Florian Weimer <fweimer@redhat.com>
29004 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29005 result to determine success or failure, not the errno value.
29006 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29007 (tst-nss-files-hosts-erange): Link with -ldl.
29008 * nss/tst-nss-files-hosts-erange.c: New file.
29009 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29010 (do_test): Add NO_DATA tests.
29011 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29012 (do_test): Call it.
29014 2017-09-01 Florian Weimer <fweimer@redhat.com>
29017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29018 coming from gethostbyname2_r.
29020 2017-09-01 Florian Weimer <fweimer@redhat.com>
29022 * support/namespace.h (struct support_chroot_configuration): Add
29024 (struct support_chroot): Add path_hosts, path_host_conf.
29025 * support/support_chroot.c (write_file): New function.
29026 (support_chroot_create): Call it to process /etc/resolv.conf,
29027 /etc/hosts, /etc/host.conf.
29028 (support_chroot_free): Update.
29030 2017-09-01 Florian Weimer <fweimer@redhat.com>
29032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29033 status indicates it is set.
29035 2017-09-01 Florian Weimer <fweimer@redhat.com>
29038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29039 function lookup failures more reliable.
29041 2017-09-01 Florian Weimer <fweimer@redhat.com>
29043 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29044 (getcanonname): Likewise.
29045 (gaih_inet): Likewise.
29047 2017-09-01 Florian Weimer <fweimer@redhat.com>
29049 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29050 (getcanonname): Likewise.
29051 (gaih_inet): Likewise.
29053 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29054 Richard Henderson <rth@twiddle.net>
29056 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29057 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29058 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29059 (IREG_SIZE, OREG_SIZE): New macros.
29060 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29061 (IREG_SIZE, OREG_SIZE): New macros.
29062 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29063 (IREG_SIZE): New macro.
29064 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29065 (IREG_SIZE): New macro.
29066 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29068 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29069 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29070 (__CONCATX): Handle exceptions correctly on large values that may
29072 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29073 Initialize if not already set.
29074 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29076 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29078 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29079 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29081 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29083 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29085 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29087 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29089 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29091 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29093 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29094 (NO_CANCELLATION): Likewise.
29095 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29097 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29099 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29101 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29102 (NO_CANCELLATION): Likewise.
29103 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29104 (NO_CANCELLATION): Likewise.
29105 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29107 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29109 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29111 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29113 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29115 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29116 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29118 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29120 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29123 2017-08-31 Florian Weimer <fweimer@redhat.com>
29125 * include/libc-symbols.h (internal_function): Remove.
29127 2017-08-31 Florian Weimer <fweimer@redhat.com>
29129 * stdlib/fmtmsg.c (internal_addseverity): Remove
29132 2017-08-31 Florian Weimer <fweimer@redhat.com>
29134 * stdio-common/printf_fp.c (group_number): Remove
29136 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29138 2017-08-31 Florian Weimer <fweimer@redhat.com>
29140 * posix/fnmatch.c (internal_function): Remove definition.
29141 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29142 * posix/regcomp.c (peek_token, init_word_char)
29143 (duplicate_node_closure, fetch_token, peek_token)
29144 (peek_token_bracket, build_range_exp, build_collating_symbol):
29146 * posix/regex_internal.c (re_string_construct_common)
29147 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29148 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29149 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29150 (re_string_translate_buffer, re_string_reconstruct)
29151 (re_string_peek_byte_case, re_string_fetch_byte_case)
29152 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29153 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29154 (re_node_set_add_intersect, re_node_set_init_union)
29155 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29156 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29157 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29158 (re_acquire_state_context): Likewise.
29159 * posix/regex_internal.h (internal_function): Remove definition.
29160 (re_string_realloc_buffers, build_wcs_buffer)
29161 (build_wcs_upper_buffer, build_upper_buffer)
29162 (re_string_translate_buffer, re_string_context_at)
29163 (re_string_char_size_at, re_string_wchar_at)
29164 (re_string_elem_size_at): Likewise.
29165 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29166 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29167 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29168 (re_search_internal, re_search_2_stub, re_search_stub)
29169 (re_copy_regs, prune_impossible_nodes, check_matching)
29170 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29171 (free_fail_stack_return, sift_states_iter_mb)
29172 (sift_states_backward, build_sifted_states)
29173 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29174 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29175 (check_subexp_limits, sift_states_bkref, merge_state_array)
29176 (find_recover_state, transit_state, merge_state_with_log)
29177 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29178 (transit_state_mb, transit_state_bkref, get_subexp)
29179 (get_subexp_sub, find_subexp_node, check_arrival)
29180 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29181 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29182 (check_node_accept_bytes, find_collation_sequence_value)
29183 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29184 (acquire_init_state_context, check_halt_node_context)
29185 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29186 (sub_epsilon_src_nodes): Likewise.
29187 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29188 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29189 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29190 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29191 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29192 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29193 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29194 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29195 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29196 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29197 (PREADV): Likewise.
29198 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29199 (PREADV): Likewise.
29200 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29201 (PWRITEV): Likewise.
29202 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29203 (PWRITEV): Likewise.
29204 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29205 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29207 2017-08-31 Florian Weimer <fweimer@redhat.com>
29209 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29210 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29211 Remove internal_function.
29212 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29213 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29214 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29215 (__deallocate_stack, __libc_pthread_init)
29216 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29217 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29218 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29220 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29221 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29222 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29224 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29225 (__pthread_mutex_unlock_usercnt): Likewise.
29227 2017-08-31 Florian Weimer <fweimer@redhat.com>
29229 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29230 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29231 (fts_safe_changedir): Remove internal_function.
29232 * io/ftw.c (internal_function): Remove definition.
29233 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29235 2017-08-31 Florian Weimer <fweimer@redhat.com>
29237 * inet/deadline.c (__deadline_current_time)
29238 (__deadline_from_timeval, __deadline_to_ms): Remove
29240 * inet/getnameinfo.c (nrl_domainname): Likewise.
29241 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29242 * inet/inet6_option.c (add_pad): Likewise.
29243 * inet/net-internal.h (__deadline_current_time)
29244 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29245 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29246 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29247 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29249 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29251 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29252 include <bits/nan.h>.
29253 * math/Makefile (headers): Remove bits/nan.h.
29254 * bits/nan.h: Remove.
29255 * sysdeps/ieee754/bits/nan.h: Likewise.
29256 * sysdeps/mips/bits/nan.h: Likewise.
29258 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29259 not include <bits/inf.h>.
29260 * math/Makefile (headers): Remove bits/inf.h.
29261 * bits/inf.h: Remove.
29262 * sysdeps/ieee754/bits/inf.h: Likewise.
29264 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29265 bits/huge_vall.h or bits/huge_val_flt128.h.
29266 (HUGE_VAL): Define directly here.
29267 [__USE_ISOC99] (HUGE_VALF): Likewise.
29268 [__USE_ISOC99] (HUGE_VALL): Likewise.
29269 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29270 (HUGE_VAL_F128): Likewise.
29271 * math/Makefile (headers): Remove bits/huge_val.h,
29272 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29273 * bits/huge_val.h: Remove.
29274 * bits/huge_val_flt128.h: Likewise.
29275 * bits/huge_valf.h: Likewise.
29276 * bits/huge_vall.h: Likewise.
29277 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29278 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29279 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29280 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29281 * sysdeps/sh/bits/huge_val.h: Likewise.
29282 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29283 * sysdeps/x86/bits/huge_vall.h: Likewise.
29285 2017-08-31 Florian Weimer <fweimer@redhat.com>
29287 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29289 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29291 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29292 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29293 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29294 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29295 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29296 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29297 * elf/dl-libc.c (dlerror_run): Likewise.
29298 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29299 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29300 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29301 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29303 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29304 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29305 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29306 * elf/dl-profile.c (_dl_start_profile): Likewise.
29307 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29308 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29310 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29311 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29312 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29313 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29314 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29315 (_dl_allocate_tls_storage): Likewise.
29316 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29317 (_dl_check_all_versions): Likewise.
29318 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29319 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29320 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29321 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29322 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29323 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29324 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29325 internal_function from __dl_start.
29326 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29327 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29328 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29329 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29330 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29331 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29332 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29333 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29334 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29335 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29336 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29337 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29338 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29339 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29340 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29342 (struct rtld_global_ro): Remove internal_function from the
29343 _dl_lookup_symbol_x member.
29344 (_dl_symbol_value): Remove. No longer defined anywhere.
29345 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29347 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29348 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29349 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29350 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29351 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29352 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29353 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29354 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29355 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29356 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29357 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29358 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29360 2017-08-31 Florian Weimer <fweimer@redhat.com>
29362 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29363 Remove internal_function.
29364 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29366 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29369 2017-08-31 Florian Weimer <fweimer@redhat.com>
29371 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29372 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29373 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29375 2017-08-31 Florian Weimer <fweimer@redhat.com>
29377 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29378 (__gai_enqueue_request): Remove internal_function.
29379 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29380 (__gai_remove_request, __gai_notify, __gai_notify_only)
29381 (__gai_sigqueue): Likewise.
29382 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29383 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29384 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29385 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29388 2017-08-31 Florian Weimer <fweimer@redhat.com>
29390 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29391 * include/dirent.h (__opendirat, __getdents, __getdents64)
29392 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29393 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29394 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29395 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29397 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29399 2017-08-31 Florian Weimer <fweimer@redhat.com>
29401 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29403 (GETCWD_RETURN_TYPE): Likewise.
29405 2017-08-31 Florian Weimer <fweimer@redhat.com>
29407 * include/time.h (__tz_compute, __strptime_internal): Remove
29409 * time/strptime_l.c (__strptime_internal): Likewise.
29410 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29412 2017-08-31 Florian Weimer <fweimer@redhat.com>
29414 * iconv/gconv.c (__gconv): Remove internal_function.
29415 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29416 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29417 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29418 (__gconv_release_cache): Likewise.
29419 * iconv/gconv_close.c (__gconv_close): Likewise.
29420 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29421 (read_conf_file, __gconv_get_path): Likewise.
29422 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29423 (__gconv_release_step, gen_steps, increment_counter)
29424 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29425 (__gconv_close_transform, free_modules_db): Likewise.
29426 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29428 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29429 (__gconv_find_transform, __gconv_lookup_cache)
29430 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29431 (__gconv_close_transform, __gconv_release_cache)
29432 (__gconv_loaded_object, __gconv_release_shlib)
29433 (__gconv_compare_alias): Likewise.
29434 * iconv/gconv_open.c (__gconv_open): Likewise.
29435 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29436 * iconv/iconvconfig.c (add_module): Likewise.
29437 * intl/dcigettext.c (plural_lookup, guess_category_value)
29438 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29439 * intl/eval-plural.h (plural_eval): Likewise.
29440 * intl/finddomain.c (_nl_find_domain): Likewise.
29441 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29442 (_nl_load_domain, _nl_find_msg): Likewise.
29443 (internal_function): Remove definition.
29444 * intl/loadinfo.h (internal_function): Likewise.
29445 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29447 * intl/localealias.c (internal_function): Remove definition.
29448 (read_alias_file): Remove internal_function.
29449 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29450 * intl/plural-exp.h (internal_function): Remove definition.
29451 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29453 * intl/plural.c: Regenerate.
29454 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29455 * locale/coll-lookup.c (__collidx_table_lookup)
29456 (__collseq_table_lookup): Likewise.
29457 * locale/coll-lookup.h (__collidx_table_lookup)
29458 (__collseq_table_lookup): Likewise.
29459 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29460 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29461 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29462 (_nl_unload_locale): Likewise.
29463 * locale/localeinfo.h (struct __locale_data): Remove
29464 internal_function from cleanup member.
29465 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29466 (_nl_remove_locale, _nl_load_locale_from_archive)
29467 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29468 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29469 (_nl_cleanup_time): Remove internal_function.
29470 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29471 (_nl_parse_alt_digit): Likewise.
29472 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29473 (_nl_select_era_entry): Likewise.
29474 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29475 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29476 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29477 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29478 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29480 2017-08-31 Florian Weimer <fweimer@redhat.com>
29482 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29483 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29484 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29485 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29487 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29488 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29489 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29490 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29492 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29494 2017-08-31 Florian Weimer <fweimer@redhat.com>
29496 * misc/getttyent.c (skip, value): Remove internal_function.
29497 * misc/syslog.c (openlog_internal): Likewise.
29498 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29500 2017-08-31 Florian Weimer <fweimer@redhat.com>
29502 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29503 (__nss_rewrite_field): Remove internal_function.
29504 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29505 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29506 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29507 * nss/nsswitch.c (nss_parse_file, nss_getline)
29508 (nss_parse_service_list, nss_new_service): Likewise.
29509 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29510 * nss/valid_field.c (__nss_valid_field): Likewise.
29511 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29513 2017-08-31 Florian Weimer <fweimer@redhat.com>
29515 * malloc/arena.c (__malloc_fork_lock_parent)
29516 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29517 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29518 internal_function from defintions.
29519 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29520 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29521 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29522 internal_function from declarations.
29523 * malloc/malloc.c (internal_function): Do not define.
29524 (mem2mem_check): Remove internal_function from declaration.
29525 (munmap_chunk, mremap_chunk): Remove internal_function.
29526 * malloc/mtrace.c (tr_where): Likewise.
29528 2017-08-31 Florian Weimer <fweimer@redhat.com>
29530 * include/rpc/pmap_clnt.h (__get_socket): Remove
29532 * sunrpc/auth_des.c (synchronize): Likewise.
29533 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29534 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29535 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29536 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29537 (key_call): Likewise.
29538 * sunrpc/pm_getport.c (__get_socket): Likewise.
29539 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29540 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29541 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29542 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29543 (invalidate): Likewise.
29544 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29545 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29546 (set_input_fragment, get_input_bytes): Likewise.
29548 2017-08-31 Florian Weimer <fweimer@redhat.com>
29550 * malloc/malloc.c (_int_free): Remove locked variable and related
29553 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29556 * Makerules (build-module-helper-objlist): Filter out
29557 $(elf-objpfx)sofini.os.
29558 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29561 2017-08-31 Florian Weimer <fweimer@redhat.com>
29563 * libio/fcloseall.c: Assume weak_alias is defined.
29564 * libio/feof.c: Likewise.
29565 * libio/fileno.c: Likewise.
29566 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29567 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29569 (_IO_file_open): Call __open directly.
29570 (_IO_new_file_sync): Assume ESPIPE is defined.
29571 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29572 (_IO_new_file_write): Call __write directly.
29573 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29574 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29575 * libio/genops.c: Assume _LIBC is defined.
29576 (save_for_backup): Remove internal_function.
29577 * libio/getc.c: Assume weak_alias is defined.
29578 * libio/getwc.c: Likewise.
29579 * libio/iofclose.c: Assume _LIBC is defined.
29580 * libio/iofdopen.c: Likewise.
29581 (_IO_fcntl): Remove macro definition.
29582 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29583 Call __fcntl directly.
29584 * libio/iofflush.c: Assume weak_alias is defined.
29585 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29587 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29588 * libio/iofgets.c: Likewise.
29589 * libio/iofopen.c: Assume _LIBC is defined.
29590 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29591 * libio/iofputs.c: Assume weak_alias is defined.
29592 * libio/iofread.c: Likewise.
29593 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29594 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29595 * libio/ioftell.c: Assume weak_alias is defined.
29596 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29597 * libio/iofwide.c: Assume _LIBC is defined.
29598 (_IO_fwide): Drop SHARED conditional because it is implied by
29600 * libio/iofwrite.c: Assume weak_alias is defined.
29601 * libio/iogetdelim.c: Likewise.
29602 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29603 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29604 (_IO_getwline): Call __wmemcpy directly.
29605 * libio/iopopen.c: Assume _LIBC is defined.
29606 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29607 (_IO_close): Remove macro definitions.
29608 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29610 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29612 * libio/ioputs.c: Assume weak_alias is defined.
29613 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29614 * libio/iosetbuffer.c: Assume weak_alias is defined.
29615 * libio/iosetvbuf.c: Likewise.
29616 * libio/ioungetc.c: Likewise.
29617 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29618 libc_hidden_def, libc_hidden_weak, NULL are defined.
29619 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29620 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29622 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29624 (_IO_old_file_init_internal): Drop SHARED conditional because it
29625 is implied by SHLIB_COMPAT.
29626 (_IO_old_file_fopen): Call __open directly.
29627 (_IO_old_file_sync): Assume ESPIPE is defined.
29628 (_IO_old_file_write): Call __write directly.
29629 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29630 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29631 Call __fcntl directly.
29632 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29633 (_IO_old_fgetpos): Assume EIO is defined.
29634 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29635 (_IO_old_fgetpos64): Assume EIO is defined.
29636 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29637 (_IO_old_fsetpos): Assume EIO is defined.
29638 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29639 (_IO_old_fsetpos64): Assume EIO is defined.
29640 * libio/oldiopopen.c: Assume _LIBC is defined.
29641 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29642 (_IO_close): Remove macro definitions.
29643 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29645 (_IO_old_proc_close): Call __close, __waitpid directly.
29646 * libio/put.c: Assume weak_alias is defined.
29647 * libio/stdfiles.c: Assume _LIBC is defined.
29648 * libio/stdio.c: Likewise.
29649 * libio/wfileops.c: Likewise.
29650 (_IO_wfile_sync): Assume ESPIPE is defined.
29651 * libio/wgenops.c: Assume _LIBC is defined.
29652 (save_for_wbackup): Remove internal_function.
29654 2017-08-31 Florian Weimer <fweimer@redhat.com>
29656 * malloc/malloc.c (top_check): Change return type to void. Remove
29658 * malloc/hooks.c (top_check): Likewise.
29659 (malloc_check, realloc_check, memalign_check): Adjust.
29661 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29664 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29665 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29666 sigcontext and namespace requirements.
29667 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29668 * sysdeps/m68k/sys/ucontext.h: Likewise.
29669 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29670 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29671 <bits/sigcontext.h>.
29672 (__ctx): Define earlier.
29673 (mcontext_t): Define structure contents rather than using struct
29675 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29676 __glibc_reserved1 instead of __reserved.
29677 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29678 <bits/sigcontext.h>.
29679 (__ctx): Define earlier.
29680 (mcontext_t): Define structure contents rather than using struct
29682 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29683 mcontext_t instead of struct sigcontext.
29684 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29685 <bits/sigcontext.h>.
29686 (__ctx): Define earlier.
29687 (mcontext_t): Define structure contents rather than using struct
29689 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29690 <bits/sigcontext.h>.
29691 (__ctx): Define earlier.
29692 (mcontext_t): Define structure contents rather than using struct
29694 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29695 mcontext_t instead of struct sigcontext.
29696 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29697 mcontext_t instead of struct sigcontext.
29698 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29699 <bits/sigcontext.h>.
29700 (__ctx): New macro.
29701 (struct __ia64_fpreg_mcontext): New type.
29702 (mcontext_t): Define structure contents rather than using struct
29704 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29705 (uc_sigmask): Define using __ctx.
29706 (uc_stack): Likewise.
29707 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29708 <bits/sigcontext.h>.
29709 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29710 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29711 <bits/sigcontext.h>.
29712 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29713 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29714 <bits/sigcontext.h>.
29715 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29716 <bits/sigcontext.h>.
29717 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29718 <bits/sigcontext.h>.
29719 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29720 <bits/sigcontext.h>.
29721 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29722 <bits/sigcontext.h>.
29723 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29724 <bits/sigcontext.h>.
29725 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29726 <bits/sigcontext.h>.
29727 (__ctx): Define earlier.
29728 (mcontext_t): Define structure contents rather than using struct
29730 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29731 <bits/sigcontext.h>. Include <bits/types.h>.
29732 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29733 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29734 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29735 (test-xfail-UNIX98/signal.h/conform): Likewise.
29736 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29737 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29738 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29739 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29740 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29741 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29742 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29743 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29744 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29746 2017-08-30 Florian Weimer <fweimer@redhat.com>
29748 * malloc/dynarray_emplace_enlarge.c
29749 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29750 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29751 * malloc/tst-dynarray.c (test_long_overflow): New function.
29752 (do_test): Call it.
29754 2017-08-30 Florian Weimer <fweimer@redhat.com>
29756 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29757 (set_arena_corrupt): Remove definitions.
29758 (mtrim): Do not check for corrupt arena.
29759 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29762 2017-08-30 Florian Weimer <fweimer@redhat.com>
29765 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29767 (ptmalloc_init): Do not set or use check_action.
29768 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29769 call to malloc_printerr. Remove return statement.
29770 (free_check): Likewise. Remove arena unlock.
29771 (top_check): Update comment. Adjust call to malloc_printerr.
29772 Remove heap repair code.
29773 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29774 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29775 (sysmalloc): Adjust call to malloc_printerr.
29776 (munmap_chunk, __libc_realloc): Likewise. Remove return
29778 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29779 Remove errout label and corresponding gotos.
29780 (_int_free): Likewise. Remove arena unlock.
29781 (do_set_mallopt_check): Do not set check_action.
29782 (malloc_printerr): Adjust parameter list. Do not mark arena as
29784 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29786 * manual/probes.texi (Memory Allocation Probes): Remove
29787 memory_mallopt_check_action.
29789 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29791 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29792 Use pointer to uint64_t instead of long int for sp.
29794 2017-08-30 Florian Weimer <fweimer@redhat.com>
29797 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29798 without printing a backtrace. Do not leak any information in the
29800 * manual/memory.texi (Heap Consistency Checking): Update.
29801 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29803 2017-08-30 Florian Weimer <fweimer@redhat.com>
29805 Do not scale NPTL tests with available number of CPUs.
29806 * nptl/tst-cond16.c (count): Set to constant value of 8.
29807 * nptl/tst-cond18.c (count): Likewise.
29809 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29812 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29813 Define to take a second argument that is a macro that
29814 concatentates a suffix, not the suffix itself.
29815 (__CONCAT_d): New macro.
29816 (__CONCAT_f): Likewise.
29817 (__CONCAT_l): Likewise.
29819 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29821 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29824 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29825 Aurelien Jarno <aurelien@aurel32.net>
29826 Maciej W. Rozycki <macro@imgtec.com>
29829 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29830 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29831 `mips16-syscall6' and `mips16-syscall7'.
29832 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29833 (CFLAGS-mips16-syscall7.c): Remove.
29834 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29835 Remove `__mips16_syscall5', `__mips16_syscall6' and
29836 `__mips16_syscall7'.
29837 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29838 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29839 `__mips_syscall_return'.
29840 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29841 (__mips16_syscall1): Likewise.
29842 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29843 (__mips16_syscall2): Likewise.
29844 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29845 (__mips16_syscall3): Likewise.
29846 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29847 (__mips16_syscall4): Likewise.
29848 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29850 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29852 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29854 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29855 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29856 `__mips16_syscall5'. Remove prototype.
29857 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29858 `__mips16_syscall6'. Remove prototype.
29859 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29860 `__mips16_syscall7'. Remove prototype.
29861 (__nomips16, __mips16_syscall_return): Move to...
29862 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29863 (__nomips16, __mips_syscall_return): ... here.
29864 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29865 `__mips16_syscall_return' to `__mips_syscall_return'.
29866 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29867 `internal_syscall##nr'.
29868 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29869 `internal_syscall##nr'.
29870 (FORCE_FRAME_POINTER): Remove.
29871 (__mips_syscall5): New prototype.
29872 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29873 (__mips_syscall6): New prototype.
29874 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29875 (__mips_syscall7): New prototype.
29876 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29877 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29878 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29879 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29880 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29881 (sysdep_routines): Add libc-do-syscall.
29882 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29883 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29885 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29888 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29889 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29890 (advise_stack_range): New function.
29891 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29892 stack non required to advise_stack_range at allocatestack.c
29894 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29896 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29898 2017-08-29 Florian Weimer <fweimer@redhat.com>
29901 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29902 __end_fct. Mangle __end_fct after setting it to NULL.
29903 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29904 (modules-names, modules-names-tests): Add
29905 tst-gconv-init-failure-mod.
29906 (gconv-modules): New target.
29907 (tst-gconv-init-failure-mod.so): Link against libsupport.
29908 (tst-gconv-init-failure): Depend on gconv-modules,
29909 tst-gconv-init-failure-mod.so.
29910 * iconv/tst-gconv-init-failure-mod.c: New file.
29911 * iconv/tst-gconv-init-failure.c: Likewise.
29912 * iconv/test-gconv-modules: Likewise.
29914 2017-08-29 Florian Weimer <fweimer@redhat.com>
29917 * iconv/gconv_db.c (free_derivation): Remove redundant
29919 (gen_steps): Unconditionally mangle __btowc_fct after
29921 (increment_counter): Likewise. Do not call init_fct for internal
29924 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29927 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29928 (_MSUF_): Remove macro.
29929 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29931 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29932 (__REDIRFROM_X): New macro.
29933 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29935 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29936 (__REDIRTO_X): Likewise.
29937 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29939 (__MATH_REDIRCALL_2): Likewise.
29940 (__MATH_REDIRCALL_INTERNAL): Likewise.
29941 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29942 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29943 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29944 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29945 * math/test-finite-macros.c: New file.
29946 * math/Makefile (tests): Add test-finite-macros.
29947 (CFLAGS-test-finite-macros.c): New variable.
29949 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29950 Jeff Law <law@redhat.com>
29953 Mangle NULL pointers in iconv/gconv.
29954 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29955 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29956 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29957 is non-NULL before demangling the end_fct. Check for NULL
29958 end_fct after demangling.
29959 (__gconv_release_step): Demangle the end_fct before checking
29960 it for NULL. Remove assert on __shlibc_handle != NULL.
29961 (gen_steps): Don't check btowc_fct for NULL before mangling.
29962 Demangle init_fct before checking for NULL.
29963 (increment_counter): Likewise.
29964 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29965 end_fct for NULL before mangling.
29966 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29969 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29972 * locale/iso-639.def: add Morisyen.
29974 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29977 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29978 (iszero): New C++ implementation that does not use
29979 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29980 signaling nans are enabled, since __builtin_types_compatible_p
29981 is a C-only feature.
29982 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29983 defined, include ieee754_float128.h for access to the union and
29984 member ieee854_float128.ieee.
29985 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29986 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29987 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29988 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29989 options of test-math-zero on powerpc64le.
29991 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29993 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29994 Change double to float.
29996 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29998 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30000 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30001 conditional code; define contents only for [LIBM_SVID_COMPAT].
30003 2017-08-28 Florian Weimer <fweimer@redhat.com>
30005 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30006 (abi-lp64_be-options): Remove.
30007 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30008 (abi-hard-options): Likewise.
30009 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30010 (abi-o32_hard-options, abi-o32_soft_2008-options)
30011 (abi-o32_hard_2008-options, abi-n32_soft-options)
30012 (abi-n32_hard-options, abi-n32_soft_2008-options)
30013 (abi-n32_hard_2008-options, abi-n64_soft-options)
30014 (abi-n64_hard-options, abi-n64_soft_2008-options)
30015 (abi-n64_hard_2008-options): Likewise.
30016 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30017 (abi-64-v1-options, abi-64-v2-options): Likewise.
30018 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30019 (abi-64-options): Likewise.
30020 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30021 (abi-64-options): Likewise.
30022 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30023 (abi-64-options): Likewise.
30024 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30025 (abi-64-options, abi-x32-options): Likewise.
30027 2017-08-28 Florian Weimer <fweimer@redhat.com>
30029 Store supported list of SYS_* system calls in the source tree.
30030 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30031 (bits/syscall.h): Generate from list file.
30032 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30033 [$(subdir) = misc] (tests): Add tst-syscall-list.
30034 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30035 [$(subdir) = misc] (tst-syscall-list-macros.list)
30036 [$(subdir) = misc] (tst-syscall-list-nr.list)
30037 (tst-syscall-list-sys.list): Helper targets for new
30038 tst-syscall-list test.
30039 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30040 tst-syscall-list.sh.
30041 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30042 target. Do not include bits/syscall.d.
30043 [$(subdir) = misc] (generated): Do not update.
30044 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30045 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30046 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30047 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30049 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30051 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30052 (tst-cxa_atexit, tst-on_exit): Likewise.
30053 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30054 tst-cxa_atexit, and tst-on_exit.
30055 * stdlib/tst-atexit-common.c: New file.
30056 * stdlib/tst-atexit.c: New file.
30057 * stdlib/tst-at_quick_exit.c: New file.
30058 * stdlib/tst-cxa_atexit.c: New file.
30059 * stdlib/tst-on_exit.c: New file.
30061 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30063 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30064 * mach/stack_chk_fail_local.c: New file.
30065 * hurd/stack_chk_fail_local.c: New file.
30066 * mach/Machrules ($(interface-library)-routines): Add
30067 stack_chk_fail_local.
30068 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30069 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30070 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30071 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30072 * hurd/Makefile (CFLAGS-hurdstartup.o,
30073 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30075 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30077 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30078 (index_cpu_*, index_arch_*): Removed.
30080 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30082 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30083 Use uint64_t instead of unsigned long.
30085 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30087 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30088 [__HAVE_DISTINCT_FLOAT128].
30090 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30091 of <bits/math-finite.h>.
30092 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30093 inclusion of <bits/math-finite.h>.
30094 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30095 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30096 __NO_LONG_DOUBLE_MATH].
30097 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30098 (__MATH_REDIRCALL_2): Likewise.
30099 (__MATH_REDIRCALL_INTERNAL): Likewise.
30100 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30101 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30102 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30116 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30117 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30118 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30119 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30121 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30122 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30123 w_sqrtf_compat-ppc32.
30125 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30127 * math/math.h [defined __cplusplus] (issignaling): In the long
30128 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30129 is not defined. Call __issignaling, otherwise.
30131 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30133 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30134 syscall definitions and replace __builtin_expect with __glibc_likely.
30135 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30137 (SYSCALL_CANCELLABLE): Removedefinition
30138 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30140 (PSEUDO_END): Likewise.
30141 [IS_IN (libpthread)] (CENABLE): Likewise.
30142 [IS_IN (libpthread)] (CDISABLE): Likewise.
30143 [IS_IN (libc)] (CENABLE): Likewise.
30144 [IS_IN (libc)] (CENABLE): Likewise.
30145 [IS_IN (librt)] (CDISABLE): Likewise.
30146 [IS_IN (librt)] (CDISABLE): Likewise.
30147 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30148 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30150 (PSEUDO_END): Likewise.
30151 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30152 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30153 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30154 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30155 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30156 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30157 (CENABLE): Likewise.
30158 (CDISABLE): Likewise.
30159 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30160 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30162 (PSEUDO_END): Likewise.
30163 [IS_IN (libpthread)] (CENABLE): Likewise.
30164 [IS_IN (libpthread)] (CDISABLE): Likewise.
30165 [IS_IN (libc)] (CENABLE): Likewise.
30166 [IS_IN (libc)] (CENABLE): Likewise.
30167 [IS_IN (librt)] (CDISABLE): Likewise.
30168 [IS_IN (librt)] (CDISABLE): Likewise.
30169 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30170 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30172 (PSEUDO_END): Likewise.
30173 [IS_IN (libpthread)] (CENABLE): Likewise.
30174 [IS_IN (libpthread)] (CDISABLE): Likewise.
30175 [IS_IN (libc)] (CENABLE): Likewise.
30176 [IS_IN (libc)] (CENABLE): Likewise.
30177 [IS_IN (librt)] (CDISABLE): Likewise.
30178 [IS_IN (librt)] (CDISABLE): Likewise.
30179 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30180 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30182 (PSEUDO_END): Likewise.
30183 [IS_IN (libpthread)] (CENABLE): Likewise.
30184 [IS_IN (libpthread)] (CDISABLE): Likewise.
30185 [IS_IN (libc)] (CENABLE): Likewise.
30186 [IS_IN (libc)] (CENABLE): Likewise.
30187 [IS_IN (librt)] (CDISABLE): Likewise.
30188 [IS_IN (librt)] (CDISABLE): Likewise.
30189 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30190 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30192 (PSEUDO_END): Likewise.
30193 [IS_IN (libpthread)] (CENABLE): Likewise.
30194 [IS_IN (libpthread)] (CDISABLE): Likewise.
30195 [IS_IN (libc)] (CENABLE): Likewise.
30196 [IS_IN (libc)] (CENABLE): Likewise.
30197 [IS_IN (librt)] (CDISABLE): Likewise.
30198 [IS_IN (librt)] (CDISABLE): Likewise.
30199 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30200 * sysdeps/unix/sysv/linux/m68k/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/microblaze/sysdep-cancel.h (PSEUDO): Remove
30212 (PSEUDO_END): Likewise.
30213 [IS_IN (libpthread)] (CENABLE): Likewise.
30214 [IS_IN (libpthread)] (CDISABLE): Likewise.
30215 [IS_IN (libc)] (CENABLE): Likewise.
30216 [IS_IN (libc)] (CENABLE): Likewise.
30217 [IS_IN (librt)] (CDISABLE): Likewise.
30218 [IS_IN (librt)] (CDISABLE): Likewise.
30219 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30220 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30222 (PSEUDO_END): Likewise.
30223 [IS_IN (libpthread)] (CENABLE): Likewise.
30224 [IS_IN (libpthread)] (CDISABLE): Likewise.
30225 [IS_IN (libc)] (CENABLE): Likewise.
30226 [IS_IN (libc)] (CENABLE): Likewise.
30227 [IS_IN (librt)] (CDISABLE): Likewise.
30228 [IS_IN (librt)] (CDISABLE): Likewise.
30229 (SINGLE_THREAD_P): Likewise.
30230 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30232 (PSEUDO_END): Likewise.
30233 [IS_IN (libpthread)] (CENABLE): Likewise.
30234 [IS_IN (libpthread)] (CDISABLE): Likewise.
30235 [IS_IN (libc)] (CENABLE): Likewise.
30236 [IS_IN (libc)] (CENABLE): Likewise.
30237 [IS_IN (librt)] (CDISABLE): Likewise.
30238 [IS_IN (librt)] (CDISABLE): Likewise.
30239 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30240 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30242 (PSEUDO_END): Likewise.
30243 [IS_IN (libpthread)] (CENABLE): Likewise.
30244 [IS_IN (libpthread)] (CDISABLE): Likewise.
30245 [IS_IN (libc)] (CENABLE): Likewise.
30246 [IS_IN (libc)] (CENABLE): Likewise.
30247 [IS_IN (librt)] (CDISABLE): Likewise.
30248 [IS_IN (librt)] (CDISABLE): Likewise.
30249 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30250 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30251 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30252 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30253 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30255 (PSEUDO_END): Likewise.
30256 [IS_IN (libpthread)] (CENABLE): Likewise.
30257 [IS_IN (libpthread)] (CDISABLE): Likewise.
30258 [IS_IN (libc)] (CENABLE): Likewise.
30259 [IS_IN (libc)] (CENABLE): Likewise.
30260 [IS_IN (librt)] (CDISABLE): Likewise.
30261 [IS_IN (librt)] (CDISABLE): Likewise.
30262 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30263 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30265 (PSEUDO_END): Likewise.
30266 [IS_IN (libpthread)] (CENABLE): Likewise.
30267 [IS_IN (libpthread)] (CDISABLE): Likewise.
30268 [IS_IN (libc)] (CENABLE): Likewise.
30269 [IS_IN (libc)] (CENABLE): Likewise.
30270 [IS_IN (librt)] (CDISABLE): Likewise.
30271 [IS_IN (librt)] (CDISABLE): Likewise.
30272 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30273 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30275 (PSEUDO_END): Likewise.
30276 [IS_IN (libpthread)] (CENABLE): Likewise.
30277 [IS_IN (libpthread)] (CDISABLE): Likewise.
30278 [IS_IN (libc)] (CENABLE): Likewise.
30279 [IS_IN (libc)] (CENABLE): Likewise.
30280 [IS_IN (librt)] (CDISABLE): Likewise.
30281 [IS_IN (librt)] (CDISABLE): Likewise.
30282 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30283 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30284 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30285 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30286 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30288 (PSEUDO_END): Likewise.
30289 [IS_IN (libpthread)] (CENABLE): Likewise.
30290 [IS_IN (libpthread)] (CDISABLE): Likewise.
30291 [IS_IN (libc)] (CENABLE): Likewise.
30292 [IS_IN (libc)] (CENABLE): Likewise.
30293 [IS_IN (librt)] (CDISABLE): Likewise.
30294 [IS_IN (librt)] (CDISABLE): Likewise.
30295 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30296 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30298 (PSEUDO_END): Likewise.
30299 [IS_IN (libpthread)] (CENABLE): Likewise.
30300 [IS_IN (libpthread)] (CDISABLE): Likewise.
30301 [IS_IN (libc)] (CENABLE): Likewise.
30302 [IS_IN (libc)] (CENABLE): Likewise.
30303 [IS_IN (librt)] (CDISABLE): Likewise.
30304 [IS_IN (librt)] (CDISABLE): Likewise.
30305 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30307 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30309 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30311 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30313 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30315 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30318 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30319 middle and outer with size_t instead of int. Repleace %d and
30320 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30321 "MAX (outer, nchars - 64)" to support unsigned outer and
30322 nchars. Also exit loop when outer == 0.
30324 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30326 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30327 * include/signal.h (__sigsuspend_nocancel): Likewise.
30328 * include/time.h (__nanosleep_nocancel): Likewise.
30329 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30330 * login/utmp_file.c: Include non cancellable syscall header.
30331 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30334 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30336 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30337 .byte sequences with AVX512F instructions.
30338 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30339 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30340 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30341 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30343 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30346 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30347 Steve Ellcey <sellcey@cavium.com>
30349 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30350 Use PTR_REG macro in cmp instruction.
30352 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30354 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30355 Change the return type of the ifunc resolver to match the return
30356 type of the target function.
30358 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30360 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30361 (preadv64): Likewise.
30362 (pwrite64(: Likewise.
30363 (pwritev64): Likewise.
30365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30366 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30367 (LOAD_ARGS_0): Likewise.
30368 (LOAD_ARGS_1): Likewise.
30369 (LOAD_ARGS_2): Likewise.
30370 (LOAD_ARGS_3): Likewise.
30371 (LOAD_ARGS_4): Likewise.
30372 (LOAD_ARGS_5): Likewise.
30373 (LOAD_ARGS_6): Likewise.
30374 (LOAD_REGS_0): Likewise.
30375 (LOAD_REGS_1): Likewise.
30376 (LOAD_REGS_2): Likewise.
30377 (LOAD_REGS_3): Likewise.
30378 (LOAD_REGS_4): Likewise.
30379 (LOAD_REGS_5): Likewise.
30380 (LOAD_REGS_6): Likewise.
30381 (ASM_ARGS_0): Likewise.
30382 (ASM_ARGS_1): Likewise.
30383 (ASM_ARGS_2): Likewise.
30384 (ASM_ARGS_3): Likewise.
30385 (ASM_ARGS_4): Likewise.
30386 (ASM_ARGS_5): Likewise.
30387 (ASM_ARGS_6): Likewise.
30388 (LOAD_ARGS_TYPES_1): Likewise.
30389 (LOAD_ARGS_TYPES_2): Likewise.
30390 (LOAD_ARGS_TYPES_3): Likewise.
30391 (LOAD_ARGS_TYPES_4): Likewise.
30392 (LOAD_ARGS_TYPES_5): Likewise.
30393 (LOAD_ARGS_TYPES_6): Likewise.
30394 (LOAD_REGS_TYPES_1): Likewise.
30395 (LOAD_REGS_TYPES_2): Likewise.
30396 (LOAD_REGS_TYPES_3): Likewise.
30397 (LOAD_REGS_TYPES_4): Likewise.
30398 (LOAD_REGS_TYPES_5): Likewise.
30399 (LOAD_REGS_TYPES_6): Likewise.
30400 (TYPEFY): New define.
30401 (ARGIFY): Likewise.
30402 (internal_syscall0): Likewise.
30403 (internal_syscall1): Likewise.
30404 (internal_syscall2): Likewise.
30405 (internal_syscall3): Likewise.
30406 (internal_syscall4): Likewise.
30407 (internal_syscall5): Likewise.
30408 (internal_syscall6): Likewise.
30409 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30410 (INTERNAL_SYSCALL_NCS): Remove define.
30411 (internal_syscall1): Add define.
30413 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30415 * math/w_remainder_compat.c: Remove duplicate inclusion of
30416 math-svid-compat.h.
30417 * math/w_remainderf_compat.c: Likewise.
30418 * math/w_remainderl_compat.c: Likewise.
30420 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30424 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30427 * math/tgmath.h (__floating_type): Simplify definitions.
30428 (__real_integer_type): New macro.
30429 (__complex_integer_type): Likewise.
30430 (__expr_is_real): Likewise.
30431 (__tgmath_real_type_sub): Update comment to describe handling of
30433 (__tgmath_complex_type_sub): New macro.
30434 (__tgmath_complex_type): Likewise.
30435 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30436 (__TGMATH_CF128): Use __expr_is_real.
30437 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30439 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30440 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30441 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30444 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30446 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30448 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30450 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30453 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30454 nanosleep_not_cancel with __nanosleep_nocancel.
30455 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30456 (__nanosleep_nocancel): New macro.
30457 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30459 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30461 (__nanosleep_nocancel): New prototype.
30463 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30464 pause_not_cancel with __pause_nocancel.
30465 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30466 (__pause_nocancel): New macro.
30467 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30469 (__pause_nocancel): New prototype.
30470 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30472 2017-08-22 Martin Sebor <msebor@redhat.com>
30474 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30475 to return a pointer to the same type as the target function.
30477 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30481 * include/printf.h (__printf_fphex): Add attribute_hidden.
30482 (__guess_grouping): New prototype.
30483 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30484 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30485 libc_hidden_proto and libc_hidden_def.
30486 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30487 (__vstrfmon_l): Remove the third argument passed to
30490 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30492 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30493 definition for issignaling that does not rely on __MATH_TG,
30494 since __MATH_TG uses __builtin_types_compatible_p, which is only
30495 available in C mode.
30496 (CFLAGS-test-math-issignaling.cc): New variable.
30497 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30498 * math/test-math-issignaling.cc: New test for C++ implementation
30499 of type-generic issignaling.
30500 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30501 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30502 options of test-math-issignaling on powerpc64le.
30504 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30506 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30508 (hidden_proto): Likewise.
30509 (hidden_tls_proto): Likewise.
30510 (__hidden_proto): Likewise.
30512 2017-08-22 Florian Weimer <fweimer@redhat.com>
30514 math: Statically link tests of internal functionality.
30515 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30517 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30518 (gmp-objs): Remove assignment.
30519 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30521 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30524 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30526 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30528 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30531 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30532 variable definitions above inclusion of ../Rules.
30534 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30536 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30537 case calling __builtin_unreachable.
30539 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30541 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30542 __waitpid_nocancel.
30543 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30544 (__waitpid_nocancel): New macro.
30545 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30547 (__waitpid_nocancel): Replace macro with a function.
30548 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30551 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30553 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30554 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30556 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30557 __writev_nocancel_nostatus.
30558 (write_call_graph): Likewise.
30559 (write_bb_counts): Likewise.
30560 * resolv/herror.c (herror): Likewise.
30561 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30563 (__writev_nocancel_nostatus): New macro.
30564 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30566 (__writev_nocancel_nostatus): New function.
30568 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30571 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30573 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30575 (hidden_proto): Likewise.
30576 (hidden_tls_proto): Likewise.
30577 (__hidden_proto): Likewise.
30580 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30581 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30590 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30591 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30592 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30593 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30594 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30595 GLIBC_2.0 sqrtl symbol.
30597 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30598 [__USE_MISC] (_LIB_VERSION): Likewise.
30599 [__USE_MISC] (struct exception): Likewise.
30600 [__USE_MISC] (matherr): Likewise.
30601 [__USE_MISC] (DOMAIN): Likewise.
30602 [__USE_MISC] (SING): Likewise.
30603 [__USE_MISC] (OVERFLOW): Likewise.
30604 [__USE_MISC] (UNDERFLOW): Likewise.
30605 [__USE_MISC] (TLOSS): Likewise.
30606 [__USE_MISC] (PLOSS): Likewise.
30607 [__USE_MISC] (HUGE): Likewise.
30608 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30609 * math/math-svid-compat.h: New file.
30610 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30612 * include/math.h [!_ISOMAC] (__matherr): Remove.
30613 * manual/arith.texi (FP Exceptions): Do not document matherr.
30614 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30615 (tests-internal): New variable.
30616 (install-lib): Do not add libieee.a.
30617 (non-lib.a): Likewise.
30618 (extra-objs): Do not add libieee.a and ieee-math.o.
30619 (CPPFLAGS-s_lib_version.c): Remove variable.
30620 ($(objpfx)libieee.a): Remove rule.
30621 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30622 * math/ieee-math.c: Remove.
30623 * math/libm-test-support.c (matherr): Remove.
30624 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30625 and license notices. Include <math-svid-compat.h> and
30627 (matherr): Undefine as macro. Use compat_symbol_reference.
30628 (_LIB_VERSION): Likewise.
30629 * math/test-matherr-2.c: New file.
30630 * math/test-matherr-3.c: Likewise.
30631 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30633 (__kernel_standard_f): Likewise.
30634 (__kernel_standard_l): Likewise.
30635 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30636 <math_private.h>. Include <math-svid-compat.h>.
30637 (_LIB_VERSION): Undefine as macro.
30638 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30639 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30640 [LIBM_SVID_COMPAT], use compat_symbol.
30641 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30642 <math_private.h>. Include <math-svid-compat.h>.
30643 (matherr): Undefine as macro.
30644 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30646 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30647 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30648 compat_symbol_reference.
30649 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30650 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30651 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30652 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30653 (MATHERR_D): Remove declaration.
30654 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30655 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30656 [LIBM_BUILD] (pmatherrf): Likewise.
30657 [LIBM_BUILD] (pmatherr): Likewise.
30658 [LIBM_BUILD] (pmatherrl): Likewise.
30659 (DOMAIN): Likewise.
30661 (OVERFLOW): Likewise.
30662 (UNDERFLOW): Likewise.
30665 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30666 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30668 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30669 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30671 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30672 * math/w_acos_compat.c: Likewise.
30673 * math/w_acosf_compat.c: Likewise.
30674 * math/w_acosh_compat.c: Likewise.
30675 * math/w_acoshf_compat.c: Likewise.
30676 * math/w_acoshl_compat.c: Likewise.
30677 * math/w_acosl_compat.c: Likewise.
30678 * math/w_asin_compat.c: Likewise.
30679 * math/w_asinf_compat.c: Likewise.
30680 * math/w_asinl_compat.c: Likewise.
30681 * math/w_atan2_compat.c: Likewise.
30682 * math/w_atan2f_compat.c: Likewise.
30683 * math/w_atan2l_compat.c: Likewise.
30684 * math/w_atanh_compat.c: Likewise.
30685 * math/w_atanhf_compat.c: Likewise.
30686 * math/w_atanhl_compat.c: Likewise.
30687 * math/w_cosh_compat.c: Likewise.
30688 * math/w_coshf_compat.c: Likewise.
30689 * math/w_coshl_compat.c: Likewise.
30690 * math/w_exp10_compat.c: Likewise.
30691 * math/w_exp10f_compat.c: Likewise.
30692 * math/w_exp10l_compat.c: Likewise.
30693 * math/w_exp2_compat.c: Likewise.
30694 * math/w_exp2f_compat.c: Likewise.
30695 * math/w_exp2l_compat.c: Likewise.
30696 * math/w_fmod_compat.c: Likewise.
30697 * math/w_fmodf_compat.c: Likewise.
30698 * math/w_fmodl_compat.c: Likewise.
30699 * math/w_hypot_compat.c: Likewise.
30700 * math/w_hypotf_compat.c: Likewise.
30701 * math/w_hypotl_compat.c: Likewise.
30702 * math/w_j0_compat.c: Likewise.
30703 * math/w_j0f_compat.c: Likewise.
30704 * math/w_j0l_compat.c: Likewise.
30705 * math/w_j1_compat.c: Likewise.
30706 * math/w_j1f_compat.c: Likewise.
30707 * math/w_j1l_compat.c: Likewise.
30708 * math/w_jn_compat.c: Likewise.
30709 * math/w_jnf_compat.c: Likewise.
30710 * math/w_jnl_compat.c: Likewise.
30711 * math/w_lgamma_main.c: Likewise.
30712 * math/w_lgamma_r_compat.c: Likewise.
30713 * math/w_lgammaf_main.c: Likewise.
30714 * math/w_lgammaf_r_compat.c: Likewise.
30715 * math/w_lgammal_main.c: Likewise.
30716 * math/w_lgammal_r_compat.c: Likewise.
30717 * math/w_log10_compat.c: Likewise.
30718 * math/w_log10f_compat.c: Likewise.
30719 * math/w_log10l_compat.c: Likewise.
30720 * math/w_log2_compat.c: Likewise.
30721 * math/w_log2f_compat.c: Likewise.
30722 * math/w_log2l_compat.c: Likewise.
30723 * math/w_log_compat.c: Likewise.
30724 * math/w_logf_compat.c: Likewise.
30725 * math/w_logl_compat.c: Likewise.
30726 * math/w_pow_compat.c: Likewise.
30727 * math/w_powf_compat.c: Likewise.
30728 * math/w_powl_compat.c: Likewise.
30729 * math/w_remainder_compat.c: Likewise.
30730 * math/w_remainderf_compat.c: Likewise.
30731 * math/w_remainderl_compat.c: Likewise.
30732 * math/w_scalb_compat.c: Likewise.
30733 * math/w_scalbf_compat.c: Likewise.
30734 * math/w_scalbl_compat.c: Likewise.
30735 * math/w_sinh_compat.c: Likewise.
30736 * math/w_sinhf_compat.c: Likewise.
30737 * math/w_sinhl_compat.c: Likewise.
30738 * math/w_sqrt_compat.c: Likewise.
30739 * math/w_sqrtf_compat.c: Likewise.
30740 * math/w_sqrtl_compat.c: Likewise.
30741 * math/w_tgamma_compat.c: Likewise.
30742 * math/w_tgammaf_compat.c: Likewise.
30743 * math/w_tgammal_compat.c: Likewise.
30744 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30745 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30746 * sysdeps/ieee754/k_standard.c: Likewise.
30747 * sysdeps/ieee754/k_standardf.c: Likewise.
30748 * sysdeps/ieee754/k_standardl.c: Likewise.
30749 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30750 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30751 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30752 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30753 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30754 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30755 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30756 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30757 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30762 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30763 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30764 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30765 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30767 2017-08-21 Florian Weimer <fweimer@redhat.com>
30770 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30771 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30772 Move before inclusion of ../Rules.
30774 2017-08-21 Florian Weimer <fweimer@redhat.com>
30777 * assert/assert.h (assert): Use static_cast (bool) for C++.
30778 Use the ternary operator in the warning branch for GNU C.
30779 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30780 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30781 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30782 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30783 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30785 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30788 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30789 (__syscall_clock_gettime): Add attribute_hidden.
30790 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30791 (__start_context): Likewise.
30793 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30795 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30797 (hidden_proto): Likewise.
30798 (hidden_tls_proto): Likewise.
30799 (__hidden_proto): Likewise.
30801 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30803 * include/libc-symbols.h (attribute_hidden): Enable hidden
30804 visibility in libc.a compiled with PIE.
30806 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30809 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30810 Add attribute_hidden.
30812 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30815 * Makerules (all-nonlib): Add $(others-extras).
30816 * catgets/Makefile (others-extras): New.
30817 * elf/Makefile (others-extras): Likewise.
30818 * nss/Makefile (others-extras): Likewise.
30820 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30823 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30824 * elf/dl-open.c: Include <libc-internal.h>.
30825 (__libc_multiple_libcs): Removed.
30826 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30828 * include/libc-internal.h (__libc_multiple_libcs): New.
30829 * misc/sbrk.c: Include <libc-internal.h>.
30830 (__libc_multiple_libcs): Removed.
30832 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30835 * grp/initgroups.c (__nss_group_database): Removed.
30836 (__nss_initgroups_database): Likewise.
30837 * nscd/gai.c (__nss_hosts_database): Likewise.
30838 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30839 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30840 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30841 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30842 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30843 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30845 * nss/nsswitch.c (__nss_database_custom): Define only if
30846 USE_NSCD is defined.
30847 (__nss_configure_lookup): Use __nss_database_custom only if
30848 USE_NSCD is defined.
30849 * nss/nsswitch.h (__nss_database_custom): Declare only if
30850 USE_NSCD is defined. Add attribute_hidden.
30851 (__nss_setent): Add attribute_hidden.
30852 (__nss_endent): Likewise.
30853 (__nss_getent_r): Likewise.
30854 (__nss_getent): Likewise.
30855 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30857 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30860 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30861 libc_hidden_proto and libc_hidden_def.
30863 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30866 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30867 Add libc_hidden_proto.
30868 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30869 Add libc_hidden_def.
30871 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30874 * gmon/Makefile (routines): Remove bb_init_func and
30876 (elide-routines.os): Removed.
30877 * gmon/bb_exit_func.c: Likewise.
30878 * gmon/bb_init_func.c: Likewise.
30879 * include/sys/gmon.h (__bb): Likewise.
30880 (__bb_init_func): Likewise.
30881 (__bb_exit_func): Likewise.
30882 * sysdeps/alpha/bb_init_func.S: Likewise.
30884 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30886 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30887 * include/setjmp.h (____longjmp_chk): Here. Add
30890 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30893 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30895 (__strspn_sse2): Likewise.
30897 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30899 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30900 (close_not_cancel_no_status): Likewise.
30901 (__close_nocancel): New macro.
30902 (__close_nocancel_nostatus): Likewise.
30903 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30905 (close_not_cancel): Likewise.
30906 (close_not_cancel_no_status): Likewise.
30907 (__close_nocancel): New prototype.
30908 (__close_nocancel_nostatus): New function.
30909 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30910 * catgets/open_catalog.c (__open_catalog): Replace
30911 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30912 * gmon/gmon.c (write_gmon): Likewise.
30913 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30914 * intl/loadmsgcat.c (close): Likewise.
30915 * io/ftw.c (open_dir_stream): Likewise.
30916 (ftw_startup): Likewise.
30917 * libio/fileops.c (_IO_file_open): Likewise.
30918 (_IO_file_close_mmap): Likewise.
30919 (_IO_file_close): Likewise.
30920 * libio/iopopen.c (_IO_dup2): Likewise.
30921 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30922 * locale/loadlocale.c (_nl_load_locale): Likewise.
30923 * login/utmp_file.c (pututline_file): Likewise.
30924 (endutent_file): Likewise.
30925 * misc/daemon.c (daemon): Likewise.
30926 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30927 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30928 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30929 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30930 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30931 * nscd/nscd_helper.c (open_socket): Likewise.
30932 (__nscd_open_socket): Likewise.
30933 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30934 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30935 (__nscd_innetgr): Likewise.
30936 * nss/nss_db/db-open.c (internal_setent): Likewise.
30937 * resolv/res-close.c (__res_iclose): Likewise.
30938 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30939 * sysdeps/posix/closedir.c (__closedir): Likewise.
30940 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30941 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30942 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30943 (opendir_tail): Likewise.
30944 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30945 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30946 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30947 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30948 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30949 (gethostid): Likewise.
30950 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30951 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30953 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30954 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30955 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30956 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30958 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30959 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30960 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30962 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30963 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30965 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30967 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30968 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30969 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30972 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30973 (openat_not_cancel_3): Likewise.
30974 (openat64_not_cancel_3): Likewise).
30975 (openat_not_cancel_3): Likewise).
30976 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30978 (openat_not_cancel_3): Likewise.
30979 (openat64_not_cancel): Likewise.
30980 (openat64_not_cancel_3): Likewise.
30981 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30982 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30983 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30984 __open{64}_nocancel.
30985 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30986 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30987 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30989 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30992 * include/argz.h (__argz_create_sep): New function prototype.
30993 (__argz_append): Likewise.
30994 (__argz_add): Likewise.
30995 (__argz_add_sep): Likewise.
30996 (__argz_delete): Likewise.
30997 (__argz_insert): Likewise.
30998 (__argz_replace): Likewise.
30999 * string/argz.h (__argz_create_sep): Removed.
31000 (__argz_append): Likewise.
31001 (__argz_add): Likewise.
31002 (__argz_add_sep): Likewise.
31003 (__argz_delete): Likewise.
31004 (__argz_insert): Likewise.
31005 (__argz_replace): Likewise.
31007 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31009 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31010 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31011 (GNU_PROPERTY_STACK_SIZE): Likewie.
31012 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31013 (GNU_PROPERTY_LOPROC): Likewise.
31014 (GNU_PROPERTY_HIPROC): Likewise.
31015 (GNU_PROPERTY_LOUSER): Likewise.
31016 (GNU_PROPERTY_HIUSER): Likewise.
31017 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31018 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31019 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31020 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31021 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31022 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31023 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31024 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31025 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31026 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31027 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31028 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31029 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31030 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31031 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31032 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31033 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31034 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31035 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31036 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31037 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31038 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31039 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31041 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31043 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31046 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31049 * math/math.h (isinf): Check if in C or C++ mode before using
31050 __builtin_types_compatible_p, since this is a C mode feature.
31052 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31054 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31055 (__write_nocancel): New macro.
31056 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31057 Rewrite as a function prototype.
31058 (write_not_cancel): Remove macro.
31059 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31060 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31061 (write_gmon): Likewise.
31062 * libio/fileops.c (_IO_new_file_write): Likewise.
31063 * login/utmp_file.c (pututline_file): Likewise.
31064 (updwtmp_file): Likewise.
31065 * stdio-common/psiginfo.c (psiginfo): Likewise.
31066 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31067 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31068 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31070 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31073 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31074 (__read_nocancel): New macro.
31075 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31077 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31079 (__read_nocancel): New prototype.
31080 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31081 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31082 with __read_nocancel.
31083 * intl/loadmsgcat.c (read): Likewise.
31084 * libio/fileops.c (_IO_file_read): Likewise.
31085 * locale/loadlocale.c (_nl_load_locale): Likewise.
31086 * login/utmp_file.c (getutent_r_file): Likewise.
31087 (internal_getut_r): Likewise.
31088 (getutline_r_file): Likewise.
31089 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31090 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31091 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31092 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31094 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31095 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31096 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31098 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31100 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31102 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31104 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31106 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31109 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31110 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31113 2017-08-17 DJ Delorie <dj@redhat.com>
31115 * bug17079.c: Update to new test harness.
31116 * test-digits-dots.c: Likewise.
31117 * test-netdb.c: Likewise.
31118 * tst-field.c: Likewise.
31119 * tst-nss-getpwent.c: Likewise.
31120 * tst-nss-static.c: Likewise.
31121 * tst-nss-test1.c: Likewise.
31122 * tst-nss-test2.c: Likewise.
31123 * tst-nss-test3.c: Likewise.
31124 * tst-nss-test4.c: Likewise.
31125 * tst-nss-test5.c: Likewise.
31127 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31129 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31130 (open_not_cancel_2): Likewise.
31131 (open_nocancel): New macro.
31132 (open64_nocancel): Likewise.
31133 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31134 (open_not_cancel_2): Likewise.
31135 (__open_nocancel): New prototype.
31136 (__open64_nocancel): Likewise.
31137 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31139 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31140 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31141 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31142 with __open_nocancel.
31143 * csu/check_fds.c (check_one_fd): Likewise.
31144 * gmon/gmon.c (write_gmon): Likewise.
31145 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31146 * intl/loadmsgcat.c (open): Likewise.
31147 * libio/fileops.c (_IO_file_open): Likewise.
31148 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31149 * locale/loadlocale.c (_nl_load_locale): Likewise.
31150 * login/utmp_file.c (setutent_file): Likewise.
31151 * misc/daemon.c (daemon): Likewise.
31152 * nss/nss_db/db-open.c (internal_setent): Likewise.
31153 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31154 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31155 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31156 (__opendir): Likewise.
31157 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31158 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31159 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31160 (gethostid): Likewise.
31161 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31162 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31164 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31165 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31166 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31167 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31169 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31171 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31173 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31175 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31177 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31179 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31180 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31182 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31184 * benchtests/bench-skeleton.c (main): Add support for
31185 latency benchmarking.
31186 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31188 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31190 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31191 the startup object.
31193 2017-08-17 Florian Weimer <fweimer@redhat.com>
31195 * include/sys/socket.h (__opensock): Remove internal_function.
31196 * socket/opensock.c (__opensock): Likewise.
31197 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31199 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31202 * signal/bits/types/__sigval_t.h: New file.
31203 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31204 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31205 and define sigval_t using __sigval_t.
31206 * include/bits/types/__sigval_t.h: New file.
31207 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31208 instead of <bits/types/__sigval_t.h>.
31209 (struct sigevent): Use __sigval_t instead of sigval_t.
31210 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31211 instead of <bits/types/__sigval_t.h>.
31212 (siginfo_t): Use __sigval_t instead of sigval_t.
31213 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31214 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31215 (struct sigevent): Use __sigval_t instead of sigval_t.
31216 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31217 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31218 (siginfo_t): Use __sigval_t instead of sigval_t.
31219 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31221 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31223 * NEWS: Remove "[Add new features here]" for 2.27.
31225 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31227 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31230 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31232 * NEWS: Mention x86-64 FMA optimization.
31234 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31237 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31239 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31240 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31241 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31243 2017-08-16 Andreas Schwab <schwab@suse.de>
31247 * elf/ldd.bash.in: Never run file directly.
31249 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31252 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31253 (L(SP_INF_0)): Likewise.
31255 2017-08-15 Florian Weimer <fweimer@redhat.com>
31257 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31260 2017-08-15 Florian Weimer <fweimer@redhat.com>
31262 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31263 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31264 BROKEN_THREAD_SIGNALS code.
31265 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31266 request_list): Remove caller_pid member used for
31267 BROKEN_THREAD_SIGNALS.
31268 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31269 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31270 Remove BROKEN_THREAD_SIGNALS support.
31271 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31272 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31274 2017-08-15 Florian Weimer <fweimer@redhat.com>
31276 * gmon/Makefile (tests): Add tst-gmon.
31277 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31279 (tests-special): Add tst-gmon-prof.out.
31280 (tst-gmon.out): Depend on clean-tst-gmon-data.
31281 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31282 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31283 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31285 * aclocal.m4 (GPROF): Set and substitute.
31286 * config.amke.in (GPROF): Set.
31287 * configure: Regenerate.
31289 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31291 * elf/elf.h A (NT_PPC_TAR): New macro.
31292 (NT_PPC_PPR): Likewise.
31293 (NT_PPC_DSCR): Likewise.
31294 (NT_PPC_EBB): Likewise.
31295 (NT_PPC_PMU): Likewise.
31296 (NT_PPC_TM_CGPR): Likewise.
31297 (NT_PPC_TM_CFPR): Likewise.
31298 (NT_PPC_TM_CVMX): Likewise.
31299 (NT_PPC_TM_CVSX): Likewise.
31300 (NT_PPC_TM_SPR): Likewise.
31301 (NT_PPC_TM_CTAR): Likewise.
31302 (NT_PPC_TM_CPPR): Likewise.
31303 (NT_PPC_TM_CDSCR): Likewise.
31305 2017-08-15 Florian Weimer <fweimer@redhat.com>
31307 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31308 regparm (2) instead of internal_function.
31309 (_MCOUNT_DECL): Adjust.
31311 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31313 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31314 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31316 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31318 * conform/data/sys/wait.h-data (si_value): Do not expect for
31321 2017-08-14 Florian Weimer <fweimer@redhat.com>
31324 NSS: Create stubs for accidentally exported lookup functions.
31325 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31326 Remove declaration.
31327 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31328 (ether_hostton): Call __nss_ethers_lookup2 instead.
31329 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31330 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31331 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31332 (setup): Call __nss_netgroup_lookup2 instead.
31333 * nss/Makefile (routines): Add compat-lookup.
31334 * nss/Versions (GLIBC_2.27): Add symbol version.
31335 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31336 (DB_COMPAT_FCT): Remove.
31337 * nss/compat-lookup.c: New file.
31338 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31339 from databases.def.
31340 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31341 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31342 (netname2user): Call __nss_publickey_lookup2 instead.
31343 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31344 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31347 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31348 Sergei Trofimovich <slyfox@inbox.ru>
31351 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31352 Rename to MMAP2_PAGE_UNIT.
31353 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31354 __OFF_T_MATCHES_OFF64_T is not defined.
31355 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31357 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31358 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31360 2017-08-14 Florian Weimer <fweimer@redhat.com>
31362 i386: Do not set internal_function.
31363 * config.h.in (USE_REGPARMS, internal_function): Remove.
31364 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31365 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31367 2017-08-14 Florian Weimer <fweimer@redhat.com>
31369 * elf/dl-init.c (_dl_init): Remove internal_function.
31370 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31371 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31373 2017-08-14 Florian Weimer <fweimer@redhat.com>
31375 * elf/rtld.c (_dl_start): Remove internal_function.
31376 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31379 2017-08-14 Florian Weimer <fweimer@redhat.com>
31381 * elf/dl-fini.c (_dl_fini): Remove internal_function
31382 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31384 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31386 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31387 (bit_cpu_SHSTK): Likewise.
31388 (index_cpu_IBT): Likewise.
31389 (index_cpu_SHSTK): Likewise.
31390 (reg_IBT): Likewise.
31391 (reg_SHSTK): Likewise.
31392 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31393 Handle index_cpu_IBT and index_cpu_SHSTK.
31395 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31398 * po/fr.po: Fix spelling mistake.
31400 2017-08-13 Florian Weimer <fweimer@redhat.com>
31402 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31403 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31404 (_dl_catch_error, _dl_receive_error): Likewise.
31405 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31406 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31407 (_dl_deallocate_tls): Likewise.
31408 * include/dlfcn.h (_dl_addr): Likewise.
31409 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31410 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31411 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31414 2017-08-13 Florian Weimer <fweimer@redhat.com>
31416 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31417 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31419 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31421 2017-08-13 Florian Weimer <fweimer@redhat.com>
31423 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31425 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31426 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31427 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31428 internal_function from _dl_make_stack_executable_hook member.
31429 (_dl_make_stack_executable): Remove internal_function.
31430 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31432 * sysdeps/unix/sysv/linux/dl-execstack.c
31433 (_dl_make_stack_executable): Likewise.
31435 2017-08-13 Florian Weimer <fweimer@redhat.com>
31437 * sysdeps/unix/sysv/linux/netlinkaccess.h
31438 (__netlink_assert_response): Remove internal_function.
31439 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31440 (__netlink_assert_response): Likewise.
31442 2017-08-13 Florian Weimer <fweimer@redhat.com>
31444 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31446 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31448 2017-08-13 Florian Weimer <fweimer@redhat.com>
31450 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31452 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31453 * inet/netgroup.h (__internal_setnetgrent)
31454 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31455 * inet/getnetgrent_r.c (__internal_setnetgrent)
31456 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31457 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31458 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31459 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31460 * nss/nsswitch.h (db_lookup_function): Likewise.
31462 2017-08-13 Florian Weimer <fweimer@redhat.com>
31464 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31465 Remove internal_function.
31466 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31467 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31468 message argument on the stack.
31469 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31472 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31474 Adapt test case data to the changes in the thousands
31478 * localedata/tst-langinfo.sh: Adapt test case data.
31479 * stdlib/tst-strfmon_l.c: Likewise.
31480 * stdlib/tst-strtod4.c: Likewise.
31481 * stdlib/tst-strtod5i.c: Likewise.
31483 2017-08-11 Florian Weimer <fweimer@redhat.com>
31486 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31487 Suppress pedantic warning resulting from statement expression.
31488 (__ASSERT_FUNCTION): Add missing __extension__.
31490 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31492 * benchtests/bench-memmove-large.c: Print output in JSON
31494 * benchtests/bench-memmove.c: Likewise.
31496 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31497 * benchtests/bench-memchr.c (do_one_test): Likewise.
31498 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31499 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31500 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31501 * benchtests/bench-memmove.c (do_one_test): Likewise.
31502 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31503 * benchtests/bench-memset.c (do_one_test): Likewise.
31504 * benchtests/bench-string.h (test_init): Remove memsets.
31506 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31509 (Computing the Width of an Integer Data Type): Rename section to
31510 "Width of an Integer Type". Remove inaccurate statement regarding
31511 lack of C language facilities for determining width of integer
31512 types, and reorder content to improve flow and context of
31515 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31517 * lang.texi (va_copy): Change standard from ISO to C99.
31518 (__va_copy): Add standard and header annotation.
31519 Update description for clarity of origins and current use.
31521 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31524 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31525 xssqrtqp requires operands to be in Vector Registers
31526 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31527 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31528 (__ieee754_sqrtf128): Likewise.
31530 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31532 * sysdeps/aarch64/memcmp.S (memcmp):
31533 Rewrite of optimized memcmp.
31535 2017-08-10 Florian Weimer <fweimer@redhat.com>
31537 Introduce ld.so exceptions.
31538 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31539 (_dl_exception_create, _dl_exception_create_format)
31540 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31541 (_dl_catch_exception): Declare.
31542 (_dl_catch_error): Update comment.
31543 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31544 errstring, malloced members with exception member.
31545 (_dl_out_of_memory): Remove.
31546 (fatal_error): New function, extracted from _dl_signal_error.
31547 (_dl_signal_exception, _dl_signal_cexception): New functions.
31548 (_dl_signal_error): Call _dl_exception_create to allocate an
31550 (_dl_catch_exception): New function, based on _dl_catch_error.
31551 (_dl_catch_error): Implement using _dl_catch_exception.
31552 * elf/dl-exception.c: New file.
31553 * elf/Makefile (dl-routines): Add dl-exception.
31554 (elide-routines.os): Likewise.
31555 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31556 _dl_exception_create_format, _dl_exception_free.
31557 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31558 _dl_signal_exception.
31559 * elf/dl-lookup.c (make_string): Remove.
31560 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31561 _dl_signal_cexception, _dl_exception_free.
31562 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31563 _dl_signal_exception.
31564 * elf/dl-sym.c (do_sym): Likewise.
31565 * elf/dl-version.c (make_string): Remove.
31566 (match_symbol): Use _dl_exception_create_format,
31567 _dl_signal_cexception, _dl_exception_free.
31568 (_dl_check_map_versions): Likewise.
31569 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31570 _dl_catch_exception.
31571 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31572 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31573 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31574 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31575 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31576 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31577 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31578 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31580 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31587 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31588 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31589 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31591 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31593 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31595 2017-08-10 Florian Weimer <fweimer@redhat.com>
31597 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31598 attribute_hidden, internal_function.
31599 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31602 2017-08-10 Florian Weimer <fweimer@redhat.com>
31604 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31605 function which calls __builtin_unreachable.
31607 2017-08-10 Mike FABIAN <mfabian@redhat.com>
31609 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31610 Indian monetary formatting
31611 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31614 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31616 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31617 Fix typo in comment.
31620 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31621 PTRACE_SEIZE_DEVEL): Remove.
31622 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31623 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31624 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31625 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31626 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31628 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31630 * posix/bits/types.h (__qaddr_t): Remove.
31633 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31634 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31636 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31637 (ucontext_t): Use __ctx with uc_flags.
31638 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31639 (__ctxt): Likewise.
31640 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31642 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31643 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31645 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31646 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31648 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31650 (ucontext_t): Use __ctx with uc_flags.
31651 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31652 (ucontext_t): Use __ctx with uc_flags.
31653 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31654 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31655 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31656 (ucontext_t): Use __ctx with uc_flags.
31657 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31658 undefine further down.
31659 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31661 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31662 undefine further down.
31663 (ucontext_t): Use __ctx with uc_flags.
31664 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31665 undefine further down.
31666 (ucontext_t): Use __ctx with uc_flags.
31667 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31668 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31669 Rename uc_pad to __glibc_reserved1.
31670 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31671 undefine further down.
31672 (ucontext_t): Use __ctx with uc_flags.
31673 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31675 (ucontext_t): Use __ctx with uc_flags.
31676 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31677 __ctx with uc_flags.
31678 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31679 (ucontext_t): Use __ctx with uc_flags.
31680 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31681 __ctx with uc_flags.
31683 2017-08-09 Florian Weimer <fweimer@redhat.com>
31686 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31687 before early return.
31689 2017-08-09 Andreas Schwab <schwab@suse.de>
31692 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31696 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31697 tst-compat-forwarder.
31698 (modules-names): Add tst-compat-forwarder-mod.
31699 ($(objpfx)tst-compat-forwarder): Depend on
31700 $(objpfx)tst-compat-forwarder-mod.so.
31701 * nptl/tst-compat-forwarder.c: New file.
31702 * nptl/tst-compat-forwarder-mod.c: New file.
31704 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31706 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31709 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31710 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31712 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31714 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31715 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31716 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31717 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31719 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31722 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31725 * manual/setjmp.texi (getcontex): Document uc_stack value
31726 compatibility differences.
31728 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31730 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31731 (old_malloc_hook): Likewise.
31732 (old_memalign_hook): Likewise.
31733 (old_realloc_hook): Likewise.
31734 (struct hdr): Likewise.
31736 (freehook): Likewise.
31737 (mallochook): Likewise.
31738 (memalignhook): Likewise.
31739 (reallochook): Likewise.
31740 (mprobe): Likewise.
31741 * malloc/mtrace.c (mallwatch): Likewise.
31742 (tr_old_free_hook): Likewise.
31743 (tr_old_malloc_hook): Likewise.
31744 (tr_old_realloc_hook): Likewise.
31745 (tr_old_memalign_hook): Likewise.
31746 (tr_where): Likewise.
31747 (lock_and_info): Likewise.
31748 (tr_freehook): Likewise.
31749 (tr_mallochook): Likewise.
31750 (tr_reallochook): Likewise.
31751 (tr_memalignhook): Likewise.
31752 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31753 * misc/mmap.c (__mmap): Likewise.
31754 * misc/mmap64.c (__mmap64): Likewise.
31755 * misc/mprotect.c (__mprotect): Likewise.
31756 * misc/msync.c (msync): Likewise.
31757 * misc/munmap.c (__munmap): Likewise.
31758 * posix/posix_madvise.c (posix_madvise): Likewise.
31759 * socket/send.c (__send): Likewise.
31760 * socket/sendto.c (__sendto): Likewise.
31761 * socket/setsockopt.c (__setsockopt): Likewise.
31762 * string/memcmp.c (__ptr_t): Remove macro.
31763 (MEMCMP): Use void * instead of ptr_t.
31764 * string/memrchr.c (__ptr_t): Remove macro.
31765 (__memrchr): Use void * instead of ptr_t.
31766 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31767 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31768 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31769 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31770 * sysdeps/mach/msync.c (msync): Likewise.
31771 * sysdeps/mach/munmap.c (__munmap): Likewise.
31772 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31774 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31775 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31776 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31777 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31778 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31779 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31780 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31781 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31783 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31784 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31785 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31786 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31787 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31788 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31789 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31790 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31791 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31793 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31794 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31795 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31796 (MEMCMP): Use void * instead of ptr_t.
31797 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31798 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31800 2017-08-08 Florian Weimer <fweimer@redhat.com>
31802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31805 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31808 * csu/libc-tls.c: Include <startup.h> first.
31809 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31810 * elf/dl-tunables.c: Include <startup.h> first.
31811 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31812 * sysdeps/generic/startup.h: New file.
31813 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31814 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31815 (I386_USE_SYSENTER): New. Defined to 0.
31817 2017-08-08 Andreas Schwab <schwab@suse.de>
31820 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31821 * nptl/pt-system.c (system): Likewise.
31823 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31826 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31828 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31829 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31830 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31831 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31832 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31833 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31834 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31836 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31839 * bits/sigaction.h (struct sigaction): Define sa_handler and
31840 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31841 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31842 [__USE_XOPEN_EXTENDED].
31843 (SA_RESTART): Likewise.
31844 (SA_NODEFER): Likewise.
31845 (SA_RESETHAND): Likewise.
31846 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31847 (struct sigaction): Define sa_handler and sa_sigaction using union
31848 also for [__USE_XOPEN_EXTENDED].
31849 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31850 [__USE_XOPEN_EXTENDED].
31851 (SA_RESTART): Likewise.
31852 (SA_NODEFER): Likewise.
31853 (SA_RESETHAND): Likewise.
31854 * sysdeps/unix/sysv/linux/bits/sigaction.h
31855 (struct sigaction): Define sa_handler and sa_sigaction using union
31856 also for [__USE_XOPEN_EXTENDED].
31857 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31858 [__USE_XOPEN_EXTENDED].
31859 (SA_RESTART): Likewise.
31860 (SA_NODEFER): Likewise.
31861 (SA_RESETHAND): Likewise.
31862 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31863 (struct sigaction): Define sa_handler and sa_sigaction using union
31864 also for [__USE_XOPEN_EXTENDED].
31865 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31866 [__USE_XOPEN_EXTENDED].
31867 (SA_RESTART): Likewise.
31868 (SA_NODEFER): Likewise.
31869 (SA_RESETHAND): Likewise.
31870 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31871 (struct sigaction): Define sa_handler and sa_sigaction using union
31872 also for [__USE_XOPEN_EXTENDED].
31873 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31874 [__USE_XOPEN_EXTENDED].
31875 (SA_RESTART): Likewise.
31876 (SA_NODEFER): Likewise.
31877 (SA_RESETHAND): Likewise.
31878 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31879 (struct sigaction): Define sa_handler and sa_sigaction using union
31880 also for [__USE_XOPEN_EXTENDED].
31881 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31882 [__USE_XOPEN_EXTENDED].
31883 (SA_RESTART): Likewise.
31884 (SA_NODEFER): Likewise.
31885 (SA_RESETHAND): Likewise.
31886 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31887 (struct sigaction): Define sa_handler and sa_sigaction using union
31888 also for [__USE_XOPEN_EXTENDED].
31889 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31890 [__USE_XOPEN_EXTENDED].
31891 (SA_RESTART): Likewise.
31892 (SA_NODEFER): Likewise.
31893 (SA_RESETHAND): Likewise.
31894 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31895 (struct sigaction): Define sa_handler and sa_sigaction using union
31896 also for [__USE_XOPEN_EXTENDED].
31897 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31898 [__USE_XOPEN_EXTENDED].
31899 (SA_RESTART): Likewise.
31900 (SA_NODEFER): Likewise. Define directly rather than as alias.
31901 (SA_RESETHAND): Likewise.
31902 (SA_INTERRUPT): Define only for [__USE_MISC].
31903 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31904 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31906 (SA_STACK): Define only for [__USE_MISC].
31907 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31908 (struct sigaction): Define sa_handler and sa_sigaction using union
31909 also for [__USE_XOPEN_EXTENDED].
31910 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31911 [__USE_XOPEN_EXTENDED].
31912 (SA_RESTART): Likewise.
31913 (SA_NODEFER): Likewise.
31914 (SA_RESETHAND): Likewise.
31915 (SA_NOPTRACE): Define only for [__USE_MISC].
31917 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31918 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31919 (struct catalog_info): Likewise.
31920 * inet/htontest.c (lo): Likewise.
31922 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31923 * inet/inet_net.c (inet_network): Likewise.
31924 * inet/inet_netof.c (inet_netof): Likewise.
31925 * inet/rcmd.c (__ivaliduser): Likewise.
31926 (iruserok): Likewise.
31927 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31928 * locale/programs/locale-spec.c (locale_special): Likewise.
31929 * nis/nis_findserv.c (struct findserv_req): Likewise.
31930 (__nis_findfastest_with_timeout): Likewise.
31931 * nss/test-netdb.c (test_network): Likewise.
31932 * resolv/inet_neta.c (inet_neta): Likewise.
31933 * resolv/ns_date.c (ns_datetosecs): Likewise.
31934 (SECS_PER_DAY): Likewise.
31935 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31937 * resolv/res_comp.c (__putlong): Likewise.
31938 (__putshort): Likewise.
31939 (_getlong): Likewise.
31940 (_getshort): Likewise.
31941 * resolv/res_debug.c (p_time): Likewise.
31942 (precsize_ntoa): Likewise.
31943 (precsize_aton): Likewise.
31944 (latlon2ul): Likewise.
31945 (loc_aton): Likewise.
31946 (loc_ntoa): Likewise.
31947 * resolv/res_hconf.c (struct netaddr): Likewise.
31948 (_res_hconf_reorder_addrs): Likewise.
31949 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31950 (clnttcp_control): Likewise.
31951 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31952 (clntudp_control): Likewise.
31953 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31954 (clntunix_control): Likewise.
31955 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31956 * sunrpc/rpc/auth.h (union des_block): Likewise.
31957 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31958 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31959 (xdrrec_create): Likewise.
31960 (xdrrec_endofrecord): Likewise.
31961 (flush_out): Likewise.
31962 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31963 (xdrstdio_putlong): Likewise.
31964 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31967 * misc/sys/cdefs.h (__long_double_t): Remove.
31968 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31969 instead of __long_double_t,
31970 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31972 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31974 * benchtests/scripts/compare_strings.py: Avoid display error when
31975 running on a text terminal.
31977 * benchtests/scripts/compare_strings.py (main): Add an
31978 optional -base option.
31979 (process_results): New argument base_func.
31981 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31983 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31984 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31986 2017-08-07 Andreas Schwab <schwab@suse.de>
31988 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31989 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31990 * intl/Makefile ($(objpfx)tst-gettext.out)
31991 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31992 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31993 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31994 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31995 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31996 * posix/Makefile ($(objpfx)globtest.out)
31997 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31998 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31999 ($(objpfx)tst-printf.out): Likewise.
32000 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32001 ($(objpfx)tst-setcontext3.out): Likewise.
32003 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32005 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32006 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32007 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32008 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32009 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32011 (CFLAGS-doasin-fma.c): New.
32012 (CFLAGS-dosincos-fma.c): Likewise.
32013 (CFLAGS-e_asin-fma.c): Likewise.
32014 (CFLAGS-e_atan2-fma.c): Likewise.
32015 (CFLAGS-e_exp-fma.c): Likewise.
32016 (CFLAGS-e_log-fma.c): Likewise.
32017 (CFLAGS-e_pow-fma.c): Likewise.
32018 (CFLAGS-halfulp-fma.c): Likewise.
32019 (CFLAGS-mpa-fma.c): Likewise.
32020 (CFLAGS-mpatan-fma.c): Likewise.
32021 (CFLAGS-mpatan2-fma.c): Likewise.
32022 (CFLAGS-mpexp-fma.c): Likewise.
32023 (CFLAGS-mplog-fma.c): Likewise.
32024 (CFLAGS-mpsqrt-fma.c): Likewise.
32025 (CFLAGS-mptan-fma.c): Likewise.
32026 (CFLAGS-s_atan-fma.c): Likewise.
32027 (CFLAGS-sincos32-fma.c): Likewise.
32028 (CFLAGS-slowexp-fma.c): Likewise.
32029 (CFLAGS-slowpow-fma.c): Likewise.
32030 (CFLAGS-s_sin-fma.c): Likewise.
32031 (CFLAGS-s_tan-fma.c): Likewise.
32032 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32033 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32034 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32035 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32036 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32037 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32038 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32039 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32040 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32041 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32042 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32043 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32044 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32045 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32046 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32047 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32048 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32049 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32050 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32051 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32052 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32053 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32054 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32055 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32056 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32057 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32058 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32059 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32060 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32061 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32062 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32064 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32066 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32067 (min_of_type_f): New macro.
32068 (min_of_type_): Likewise.
32069 (min_of_type_l): Likewise.
32070 (min_of_type_f128): Likewise.
32071 (min_of_type): Define using __MATH_TG and taking an expression
32073 (math_check_force_underflow): Pass expression instead of type to
32075 (math_check_force_underflow_nonneg): Likewise.
32077 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32079 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32080 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32081 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32083 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32085 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32086 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32087 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32088 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32089 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32090 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32091 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32092 memmove_chk-nonshared and memset_chk-nonshared
32093 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32094 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32095 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32096 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32097 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32098 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32099 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32100 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32101 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32102 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32103 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32104 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32105 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32106 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32107 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32108 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32109 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32110 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32111 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32112 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32113 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32114 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32115 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32116 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32117 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32118 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32119 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32120 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32121 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32122 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32123 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32124 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32125 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32126 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32127 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32128 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32129 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32130 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32131 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32132 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32133 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32134 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32135 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32136 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32137 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32138 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32139 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32140 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32141 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32142 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32143 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32144 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32145 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32146 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32147 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32148 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32149 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32150 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32151 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32152 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32153 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32154 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32155 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32156 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32157 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32158 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32159 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32160 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32161 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32162 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32163 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32164 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32165 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32166 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32167 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32168 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32169 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32170 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32171 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32172 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32173 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32174 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32175 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32176 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32177 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32178 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32179 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32180 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32181 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32182 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32183 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32184 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32185 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32186 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32187 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32188 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32189 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32190 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32191 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32192 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32193 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32194 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32195 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32196 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32197 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32198 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32199 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32200 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32202 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32204 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32205 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32206 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32207 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32208 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32209 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32210 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32211 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32212 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32213 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32214 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32215 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32216 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32217 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32218 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32219 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32220 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32221 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32222 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32223 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32224 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32225 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32226 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32227 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32228 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32229 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32230 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32231 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32232 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32233 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32234 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32235 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32236 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32237 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32238 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32239 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32240 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32241 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32242 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32243 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32244 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32245 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32246 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32247 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32248 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32249 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32250 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32251 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32252 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32253 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32254 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32255 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32256 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32257 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32258 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32259 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32260 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32261 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32262 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32264 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32265 Don't include <sysdep.h> nor <init-arch.h>.
32266 (_ZGVbN2v_cos): Removed.
32267 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32269 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32270 Don't include <sysdep.h> nor <init-arch.h>.
32271 (_ZGVdN4v_cos): Removed.
32272 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32274 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32275 Don't include <sysdep.h> nor <init-arch.h>.
32276 (_ZGVeN8v_cos): Removed.
32277 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32279 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32280 Don't include <sysdep.h> nor <init-arch.h>.
32281 (_ZGVbN2v_exp): Removed.
32282 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32284 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32285 Don't include <sysdep.h> nor <init-arch.h>.
32286 (_ZGVdN4v_exp): Removed.
32287 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32289 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32290 Don't include <sysdep.h> nor <init-arch.h>.
32291 (_ZGVeN8v_exp): Removed.
32292 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32294 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32295 Don't include <sysdep.h> nor <init-arch.h>.
32296 (_ZGVbN2v_log): Removed.
32297 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32299 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32300 Don't include <sysdep.h> nor <init-arch.h>.
32301 (_ZGVdN4v_log): Removed.
32302 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32304 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32305 Don't include <sysdep.h> nor <init-arch.h>.
32306 (_ZGVeN8v_log): Removed.
32307 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32309 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32310 Don't include <sysdep.h> nor <init-arch.h>.
32311 (_ZGVbN2vv_pow): Removed.
32312 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32314 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32315 Don't include <sysdep.h> nor <init-arch.h>.
32316 (_ZGVdN4vv_pow): Removed.
32317 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32319 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32320 Don't include <sysdep.h> nor <init-arch.h>.
32321 (_ZGVeN8vv_pow): Removed.
32322 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32324 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32325 Don't include <sysdep.h> nor <init-arch.h>.
32326 (_ZGVbN2v_sin): Removed.
32327 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32329 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32330 Don't include <sysdep.h> nor <init-arch.h>.
32331 (_ZGVbN4v_sin): Removed.
32332 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32334 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32335 Don't include <sysdep.h> nor <init-arch.h>.
32336 (_ZGVbN8v_sin): Removed.
32337 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32339 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32340 Don't include <sysdep.h> nor <init-arch.h>.
32341 (_ZGVbN2vvv_sincos): Removed.
32342 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32344 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32345 Don't include <sysdep.h> nor <init-arch.h>.
32346 (_ZGVdN4vvv_sincos): Removed.
32347 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32349 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32350 Don't include <sysdep.h> nor <init-arch.h>.
32351 (_ZGVeN8vvv_sincos): Removed.
32352 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32354 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32355 Don't include <sysdep.h> nor <init-arch.h>.
32356 (_ZGVeN16v_cosf): Removed.
32357 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32359 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32360 Don't include <sysdep.h> nor <init-arch.h>.
32361 (_ZGVbN4v_cosf): Removed.
32362 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32364 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32365 Don't include <sysdep.h> nor <init-arch.h>.
32366 (_ZGVdN8v_cosf): Removed.
32367 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32369 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32370 Don't include <sysdep.h> nor <init-arch.h>.
32371 (_ZGVeN16v_expf): Removed.
32372 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32374 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32375 Don't include <sysdep.h> nor <init-arch.h>.
32376 (_ZGVbN4v_expf): Removed.
32377 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32379 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32380 Don't include <sysdep.h> nor <init-arch.h>.
32381 (_ZGVdN8v_expf): Removed.
32382 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32384 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32385 Don't include <sysdep.h> nor <init-arch.h>.
32386 (_ZGVeN16v_logf): Removed.
32387 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32389 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32390 Don't include <sysdep.h> nor <init-arch.h>.
32391 (_ZGVbN4v_logf): Removed.
32392 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32394 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32395 Don't include <sysdep.h> nor <init-arch.h>.
32396 (_ZGVdN8v_logf): Removed.
32397 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32399 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32400 Don't include <sysdep.h> nor <init-arch.h>.
32401 (_ZGVeN16vv_powf): Removed.
32402 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32404 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32405 Don't include <sysdep.h> nor <init-arch.h>.
32406 (_ZGVbN4vv_powf): Removed.
32407 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32409 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32410 Don't include <sysdep.h> nor <init-arch.h>.
32411 (_ZGVdN8vv_powf): Removed.
32412 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32414 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32415 Don't include <sysdep.h> nor <init-arch.h>.
32416 (_ZGVeN16vvv_sincosf): Removed.
32417 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32419 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32420 Don't include <sysdep.h> nor <init-arch.h>.
32421 (_ZGVbN4vvv_sincosf): Removed.
32422 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32424 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32425 Don't include <sysdep.h> nor <init-arch.h>.
32426 (_ZGVdN8vvv_sincosf): Removed.
32427 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32429 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32430 Don't include <sysdep.h> nor <init-arch.h>.
32431 (_ZGVeN16v_sinf): Removed.
32432 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32434 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32435 Don't include <sysdep.h> nor <init-arch.h>.
32436 (_ZGVbN4v_sinf): Removed.
32437 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32439 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32440 Don't include <sysdep.h> nor <init-arch.h>.
32441 (_ZGVdN8v_sinf): Removed.
32443 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32445 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32446 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32447 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32448 s_rint-sse4_1 and s_rintf-sse4_1.
32449 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32450 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32451 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32452 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32453 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32454 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32455 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32456 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32457 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32458 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32459 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32460 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32462 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32463 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32464 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32465 (__ceilf): Removed.
32466 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32467 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32468 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32469 (__floor): Removed.
32470 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32471 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32472 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32473 (__floorf): Removed.
32474 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32475 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32476 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32477 (__nearbyint): Removed.
32478 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32479 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32480 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32481 (__nearbyintf): Removed.
32482 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32483 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32484 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32486 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32487 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32488 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32489 (__rintf): Removed.
32491 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32493 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32494 SHARED. Avoid dynamic relocation against main in static PIE.
32496 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32499 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32500 (LDFLAGS-tst-prelink): Likewise.
32502 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32504 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32505 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32506 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32507 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32508 (INTERNAL_SYSCALL_NCS): Likewise.
32509 (LOADARGS_1): Likewise.
32510 (LOADARGS_5): Likewise.
32511 (RESTOREARGS_1): Likewise.
32512 (RESTOREARGS_5): Likewise.
32514 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32516 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32517 (MEMPCPY_SYMBOL): Likewise.
32518 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32519 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32522 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32523 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32525 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32526 (__hidden_ver1): Don't use in libc.a.
32527 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32528 (__mempcpy): Don't create a weak alias in libc.a.
32529 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32531 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32532 (__hidden_ver1): Don't use in libc.a.
32534 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32536 * config.make.in (have-insert): New.
32537 * configure.ac (libc_cv_insert): New. Set to yes if linker
32538 supports INSERT in linker script.
32539 (AC_SUBST(libc_cv_insert): New.
32540 * configure: Regenerated.
32541 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32542 if $(have-insert) == yes.
32544 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32546 * elf/Makefile (tests): Add vismain only if
32547 $(have-protected-data) == yes.
32548 (tests-pie): Likewise.
32550 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32553 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32554 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32556 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32559 * sysdeps/i386/i586/memset.S
32560 (__memset_zero_constant_len_parameter): Removed.
32561 * sysdeps/i386/i686/memset.S
32562 (__memset_zero_constant_len_parameter): Likewise.
32563 * sysdeps/i386/i686/multiarch/memset_chk.S
32564 (__memset_zero_constant_len_parameter): Likewise.
32565 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32568 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32570 * stdlib/getentropy.c (getentropy): Change return type to int.
32572 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32574 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32576 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32578 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32580 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32581 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32583 (ieee_float_shape_type): Likewise.
32584 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32585 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32586 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32587 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32588 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32589 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32590 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32591 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32592 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32594 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32595 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32596 (__ieee754_yn): Likewise.
32597 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32598 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32599 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32601 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32602 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32603 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32604 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32605 (__erfc): Likewise.
32606 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32607 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32608 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32609 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32610 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32611 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32613 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32614 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32615 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32616 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32617 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32618 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32619 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32620 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32621 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32622 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32623 (__issignaling): Likewise.
32624 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32625 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32626 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32628 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32629 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32630 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32631 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32633 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32635 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32636 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32637 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32638 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32639 (__erfcf): Likewise.
32640 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32641 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32642 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32643 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32645 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32646 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32648 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32649 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32650 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32651 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32652 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32653 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32654 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32655 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32657 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32659 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32661 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32662 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32664 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32666 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32667 (__ieee754_ynl): Likewise.
32668 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32669 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32671 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32673 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32674 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32675 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32677 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32678 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32679 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32680 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32681 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32682 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32683 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32684 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32686 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32687 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32688 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32690 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32691 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32692 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32693 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32694 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32695 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32697 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32701 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32703 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32704 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32705 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32706 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32707 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32708 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32709 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32711 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32713 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32714 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32716 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32717 (__ieee754_remainderl): Likewise.
32718 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32719 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32720 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32721 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32723 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32724 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32726 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32727 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32728 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32729 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32730 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32731 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32733 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32734 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32735 (__ieee754_y0l): Likewise.
32738 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32739 (__ieee754_y1l): Likewise.
32742 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32743 (__ieee754_ynl): Likewise.
32744 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32745 (__ieee754_lgammal_r): Likewise.
32746 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32748 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32749 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32750 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32751 (__erfcl): Likewise.
32752 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32753 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32755 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32756 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32757 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32758 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32759 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32760 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32761 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32763 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32764 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32765 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32766 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32767 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32769 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32770 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32772 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32773 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32774 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32775 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32776 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32778 2017-08-03 Florian Weimer <fweimer@redhat.com>
32781 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32782 on memory allocation failure.
32784 2017-08-03 Alan Modra <amodra@gmail.com>
32786 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32787 tst-tlsopt-powerpc.c with function name change and no test harness.
32788 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32789 Call tls_get_addr_opt_test.
32790 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32791 (modules-names): Add mod-tlsopt-powerpc.
32792 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32793 (tst-tlsopt-powerpc): Depend on .so.
32794 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32795 define. Expand use in TLS_GD and TLS_LD.
32797 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32799 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32801 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32803 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32806 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32807 comparing size with that of double.
32808 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32809 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32810 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32811 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32812 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32813 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32814 unsigned __int128 types.
32816 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32818 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32819 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32820 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32821 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32822 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32824 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32826 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32828 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32830 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32832 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32833 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32834 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32835 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32836 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32837 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32838 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32840 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32843 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32844 bit-field expressions passed to sizeof or typeof.
32845 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32846 (__TGMATH_F128): Likewise.
32847 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32848 (__TGMATH_CF128): Likewise.
32849 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32850 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32851 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32852 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32853 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32854 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32855 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32856 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32857 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32858 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32859 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32860 (__TGMATH_UNARY_IMAG): Likewise.
32861 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32862 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32863 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32865 (define_vars_for_type): Handle bit_field type specially.
32866 (Tests.__init__): Declare structure with bit-field element.
32868 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32871 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32872 (MEMCPY_CHK): Define only if SHARED is defined.
32873 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32875 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32878 See ChangeLog.18 for earlier changes.